Browse Source

fix:分组管理逻辑补充

deploy-dev
xuziqiang 4 months ago
parent
commit
dac2e095e1
  1. 1
      hx-ai-intelligent/src/view/equipmentManage/group/edit.vue
  2. 1
      hx-ai-intelligent/src/view/equipmentManage/group/editCal.vue
  3. 5
      hx-ai-intelligent/src/view/equipmentManage/group/editGroup.vue

1
hx-ai-intelligent/src/view/equipmentManage/group/edit.vue

@ -45,6 +45,7 @@
const clearData = () => { const clearData = () => {
dataSource.value = []; dataSource.value = [];
targetKeys.value = []; targetKeys.value = [];
currentId.value = '';
}; };
const toggle = () => { const toggle = () => {
visible.value = !visible.value; visible.value = !visible.value;

1
hx-ai-intelligent/src/view/equipmentManage/group/editCal.vue

@ -45,6 +45,7 @@
const clearData = () => { const clearData = () => {
dataSource.value = []; dataSource.value = [];
targetKeys.value = []; targetKeys.value = [];
currentId.value = '';
}; };
const toggle = () => { const toggle = () => {
visible.value = !visible.value; visible.value = !visible.value;

5
hx-ai-intelligent/src/view/equipmentManage/group/editGroup.vue

@ -16,8 +16,8 @@
<template #addonAfter="data"> <template #addonAfter="data">
<template v-if="data.field === 'groupName'"> <template v-if="data.field === 'groupName'">
<div class="iconOP"> <div class="iconOP">
<EditOutlined v-if="inputDisabled" @click="editGroup" /> <EditOutlined title="编辑" v-if="inputDisabled" @click="editGroup" />
<CheckOutlined v-else @click="add" /> <CheckOutlined title="保存" v-else @click="add" />
</div> </div>
</template> </template>
</template> </template>
@ -161,6 +161,7 @@
() => [ () => [
createVNode(DeleteOutlined, { createVNode(DeleteOutlined, {
style: { color: 'red', cursor: 'pointer' }, style: { color: 'red', cursor: 'pointer' },
title: '删除',
// onClick: () => delGroup(record.id), // onClick: () => delGroup(record.id),
}), }),
], ],

Loading…
Cancel
Save