diff --git a/project/pidu/app/AppGoods/components/List.vue b/project/pidu/app/AppGoods/components/List.vue index c40281bf..4758d59d 100644 --- a/project/pidu/app/AppGoods/components/List.vue +++ b/project/pidu/app/AppGoods/components/List.vue @@ -59,8 +59,8 @@ + @@ -162,7 +217,8 @@ {prop: 'createTime', label: '创建时间', align: 'center'}, {prop: 'createUserName', label: '记录人', align: 'center' } ], - tabList: ['基本信息', '风险处置'] + tabList: ['基本信息', '风险处置'], + dictList: [] } }, @@ -174,9 +230,24 @@ this.getInfo(this.params.id) }) } + + this.getDictList() }, methods: { + getDictList () { + this.instance.post(`/app/appepidemicpreventiongateway/list?size=10000¤t=1`).then(res => { + if (res.code == 0) { + this.dictList = res.data.records.map(v => { + return { + dictName: v.name, + dictValue: v.id + } + }) + } + }) + }, + getInfo (id) { this.instance.post(`/app/appepidemicpreventionregisterinfo/queryDetailById?id=${id}`).then(res => { if (res.code === 0) {