diff --git a/project/pingchang/apps/AppDataComparison/components/List.vue b/project/pingchang/apps/AppDataComparison/components/List.vue index de74cddd..cf7e016d 100644 --- a/project/pingchang/apps/AppDataComparison/components/List.vue +++ b/project/pingchang/apps/AppDataComparison/components/List.vue @@ -5,17 +5,10 @@ @@ -59,10 +52,9 @@ :current.sync="search.current" :size.sync="search.size" @getList="getList"> - + @@ -87,43 +79,45 @@ current: 1, size: 10, name: '', - gatewayId: '', - status: '', - riskStatus: '', arriveAreaId: '', queryBeginTime: '', queryEndTime: '', - infoType: 1, - source: '' + status: '' }, info: {}, colConfigs: [ { prop: 'name', label: '姓名' }, { prop: 'phone', align: 'center', label: '手机号码' }, - { prop: 'startTime', align: 'center', label: '出发时间' }, - { prop: 'startAreaName', align: 'center', label: '出发地区' }, + { prop: 'startTime', align: 'center', label: '所属地区' }, + { prop: 'arriveTime', align: 'center', label: '抵平时间' }, + { prop: 'startAreaName', align: 'center', label: '途径卡口' }, { prop: 'arriveTime', align: 'center', - label: '抵平时间' + label: '出发地址' }, { prop: 'arriveAreaName', align: 'center', - label: '到达地区' + label: '核酸日期' }, { prop: 'source', align: 'center', - label: '数据来源', + label: '检测结果', formart: v => this.dict.getLabel('EP_source', v) }, { prop: 'riskStatus', align: 'center', - label: '风险状态', + label: '导入时间', formart: v => this.dict.getLabel('EP_riskStatus', v) + }, + { + prop: 'status', + align: 'center', + label: '数据状态', + formart: v => this.dict.getLabel('EP_datacContrastStatis', v) } ], - ids: [], tableData: [], total: 0, loading: false, @@ -137,7 +131,7 @@ this.instance.post(`/app/appdvcpconfig/getCorpArea`).then(res => { if (res.code == 0) { this.search.arriveAreaId = res.data - this.dict.load(['EP_riskLevel', 'EP_handleType', 'modeType', 'EP_riskStatus', 'EP_source']).then(() => { + this.dict.load(['EP_datacContrastStatis', 'EP_handleType', 'modeType', 'EP_riskStatus', 'EP_source']).then(() => { this.getList() }) } @@ -146,7 +140,7 @@ methods: { getList () { - this.instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, { + this.instance.post(`/app/appepidemicpreventiondatamatch/list`, null, { params: { ...this.search, arriveAreaId: this.search.arriveAreaId, @@ -166,15 +160,6 @@ }) }, - toDetail (id) { - this.$emit('change', { - type: 'Detail', - params: { - id: id || '' - } - }) - }, - changeArea () { this.search.current = 1 @@ -185,10 +170,9 @@ remove(id) { this.$confirm('确定删除该数据?').then(() => { - this.instance.post(`/app/appepidemicpreventionregisterinfo/delete?id=${id}`).then(res => { + this.instance.post(`/app/appepidemicpreventiondatamatch/delete?ids=${id}`).then(res => { if (res.code == 0) { this.$message.success('删除成功!') - this.getTotalInfo() this.getList() } })