This commit is contained in:
sjl
2024-11-11 11:09:20 +08:00
parent 50bebf451d
commit 3526432052
11 changed files with 351 additions and 64 deletions

View File

@@ -6,7 +6,7 @@
<el-form-item label='数据模型' :label-width='140' prop='dataType'>
<el-select v-model="formContent.dataType" clearable placeholder="请选择数据模型">
<el-option
v-for="item in dictStore.getDictData('High_Cate')"
v-for="item in dictStore.getDictData('Cs_Data_Type')"
:key="item.id"
:label="item.name"
:value="item.code"
@@ -25,7 +25,7 @@
<el-form-item label='相别' :label-width='140' prop='phase'>
<el-select v-model="formContent.phase" clearable placeholder="请选择相别">
<el-option
v-for="item in dictStore.getDictData('High_Cate')"
v-for="item in dictStore.getDictData('phase')"
:key="item.id"
:label="item.name"
:value="item.code"
@@ -65,7 +65,7 @@
<el-form-item label='报表数据来源' :label-width='140' prop='resourcesId'>
<el-select v-model="formContent.resourcesId" clearable placeholder="请选择报表数据来源">
<el-option
v-for="item in dictStore.getDictData('Dev_Series')"
v-for="item in dictStore.getDictData('Data_Day')"
:key="item.id"
:label="item.name"
:value="item.code"
@@ -75,7 +75,7 @@
<el-form-item label='数据表表名' :label-width='140' prop='classId'>
<el-select v-model="formContent.classId" clearable placeholder="请选择数据表表名">
<el-option
v-for="item in dictStore.getDictData('High_Cate')"
v-for="item in dictStore.getDictData('Data')"
:key="item.id"
:label="item.name"
:value="item.code"
@@ -91,7 +91,7 @@
<el-form-item label='超标判断方式' :label-width='140' prop='formula'>
<el-select v-model="formContent.formula" clearable placeholder="请选择超标判断方式">
<el-option
v-for="item in dictStore.getDictData('formula')"
v-for="item in dictStore.getDictData('Limit_Value_Judgment')"
:key="item.id"
:label="item.name"
:value="item.code"

View File

@@ -50,7 +50,7 @@
prop: 'dataType',
label: '数据模型',
width: 180,
enum: dictStore.getDictData('High_Cate'),
enum: dictStore.getDictData('Cs_Data_Type'),
search: { el: 'select', props: { filterable: true } },
fieldNames: { label: 'name', value: 'code' },
},
@@ -90,7 +90,7 @@
prop: 'phase',
label: '相别',
width: 180,
enum: dictStore.getDictData('High_Cate'),
enum: dictStore.getDictData('phase'),
fieldNames: { label: 'name', value: 'code' },
},
{
@@ -156,7 +156,7 @@
prop: 'classId',
label: '数据表表名',
width: 180,
enum: dictStore.getDictData('High_Cate'),
enum: dictStore.getDictData('Data'),
fieldNames: { label: 'name', value: 'code' },
},
@@ -164,7 +164,7 @@
prop: 'resourcesId',
label: '报表数据来源',
width: 180,
enum: dictStore.getDictData('Dev_Series'),
enum: dictStore.getDictData('Data_Day'),
fieldNames: { label: 'name', value: 'code' },
render: (scope) => {
const codes = scope.row.resourcesId;
@@ -175,7 +175,7 @@
prop: 'operation',
label: '操作',
fixed: 'right',
width: 330,
minWidth: 200,
},
])