This commit is contained in:
sjl
2024-11-11 15:40:49 +08:00
parent f05369556c
commit 0797ea046f
13 changed files with 97 additions and 70 deletions

View File

@@ -52,7 +52,7 @@
<el-form-item label='数据统计类型' :label-width='140' prop='statMethod'>
<el-select v-model="selectedStatMethods" multiple placeholder="请选择数据统计类型">
<el-option
v-for="item in dictStore.getDictData('Event_Type')"
v-for="item in dictStore.getDictData('stat_Method')"
:key="item.value"
:label="item.name"
:value="item.code"

View File

@@ -125,7 +125,7 @@
prop: 'statMethod',
label: '数据统计类型',
width: 250,
enum: dictStore.getDictData('Event_Type'),
enum: dictStore.getDictData('stat_Method'),
fieldNames: { label: 'name', value: 'code' },
render: (scope) => {
// 假设 statMethod 是一个数组,包含多个 'code' 值