This commit is contained in:
yanran200730
2022-01-26 14:24:31 +08:00
parent 8d8bb29f13
commit 7a9acdb7c1

View File

@@ -7,7 +7,7 @@
v-model="search.status"
@change="search.current = 1, getList()"
placeholder="发布状态"
:selectList="dict.getDict('questionnaireStatus')">
:selectList="dict.getDict('cwpStatus')">
</ai-select>
<el-button type="primary" @click="toEdit('')">添加大屏</el-button>
<el-button type="primary" @click="toAddData">数据源管理</el-button>
@@ -67,7 +67,7 @@
{ prop: 'name', label: '模板名称' },
{ prop: 'createUserName', align: 'center', label: '创建人' },
{ prop: 'description', align: 'center', label: '描述' },
{ prop: 'status', align: 'center', label: '状态', formart: v => v === '1' ? '已开启' : '未开启' },
{ prop: 'status', align: 'center', label: '状态', formart: v => this.dict.getLabel('cwpStatus', v) },
{ prop: 'createTime', align: 'center', label: '创建时间' }
],
tableData: [],
@@ -78,7 +78,7 @@
created () {
this.dict.load('questionnaireStatus').then(() => {
this.dict.load('cwpStatus').then(() => {
this.getList()
})
},