master
吴普建 11 months ago
parent a0b0a69ab5
commit 62c1b69dd4

@ -247,21 +247,21 @@ const columns: Ref<DataTableColumns<DataType>> = ref([
width: 300, width: 300,
render: row => { render: row => {
return [ return [
<n-badge color="rgba(82, 196, 26,0.9)" class="mr-18px mb-2" v-model:value={row.totalEquipment}> // <n-badge color="rgba(82, 196, 26,0.9)" class="mr-18px mb-2" v-model:value={row.totalEquipment}>
<n-button // <n-button
size="small" // size="small"
type="warning" // type="warning"
onClick={() => { // onClick={() => {
router.push({ // router.push({
name: 'device_pointInspection_groupEquipment', // name: 'device_pointInspection_groupEquipment',
query: { id: row.id, groupForm: JSON.stringify(row) } // query: { id: row.id, groupForm: JSON.stringify(row) }
}); // });
}} // }}
> // >
<icon-tdesign-edit class="mr-2" /> // <icon-tdesign-edit class="mr-2" />
分配设 //
</n-button> // </n-button>
</n-badge>, // </n-badge>,
useEditBtn(() => { useEditBtn(() => {
handleEdit(row); handleEdit(row);
}, 'small'), }, 'small'),

Loading…
Cancel
Save