设备基础管理
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template #operation>
|
||||
<el-button type='primary' @click='addMenu' icon='el-icon-plus'>新增字典</el-button>
|
||||
<el-button :icon="Plus" type="primary" @click="addMenu" class="ml10">新增字典</el-button>
|
||||
</template>
|
||||
</TableHeader>
|
||||
<Table ref='tableRef' />
|
||||
@@ -56,6 +56,9 @@ import Table from '@/components/table/index.vue'
|
||||
import TableHeader from '@/components/table/header/index.vue'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import PopupDictionary from './popupDictionary.vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { delCsDictData } from '@/api/system-boot/csDictData'
|
||||
import { Plus } from '@element-plus/icons-vue'
|
||||
|
||||
defineOptions({
|
||||
name: 'govern/manage/basic/dictionary'
|
||||
@@ -109,6 +112,11 @@ const tableStore = new TableStore({
|
||||
title: '确定删除吗?'
|
||||
},
|
||||
click: row => {
|
||||
delCsDictData(row.id).then((res) => {
|
||||
console.warn(res)
|
||||
ElMessage.success(res.message)
|
||||
tableStore.index()
|
||||
})
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user