指标字典

This commit is contained in:
sjl
2024-11-05 14:15:56 +08:00
parent 64ae879aee
commit 1f22234b45
7 changed files with 37 additions and 56 deletions

View File

@@ -24,7 +24,7 @@
<script setup lang='tsx' name='dict'>
import {CirclePlus, Delete, EditPen, Download, View} from '@element-plus/icons-vue'
import {Dict} from '@/api/system/dictionary/interface'
import {type Dict} from '@/api/system/dictionary/interface'
import {ProTableInstance, ColumnProps} from '@/components/ProTable/interface'
import PqPopup from '@/views/system/dictionary/dictPq/components/pqPopup.vue'
import {useDictStore} from '@/stores/modules/dict'
@@ -50,9 +50,9 @@
prop: 'dataType',
label: '数据模型',
width: 180,
search: {
el: 'select',
},
enum: dictStore.getDictData('High_Cate'),
search: { el: 'select', props: { filterable: true } },
fieldNames: { label: 'name', value: 'code' },
},
{
prop: 'name',