数据比对
This commit is contained in:
@@ -5,17 +5,10 @@
|
|||||||
<ai-search-bar bottomBorder>
|
<ai-search-bar bottomBorder>
|
||||||
<template #left>
|
<template #left>
|
||||||
<ai-select
|
<ai-select
|
||||||
v-model="search.riskStatus"
|
v-model="search.status"
|
||||||
clearable
|
|
||||||
placeholder="请选择风险状态"
|
|
||||||
:selectList="dict.getDict('EP_riskStatus')"
|
|
||||||
@change="search.current = 1, getList()">
|
|
||||||
</ai-select>
|
|
||||||
<ai-select
|
|
||||||
v-model="search.source"
|
|
||||||
clearable
|
clearable
|
||||||
placeholder="请选择数据来源"
|
placeholder="请选择数据来源"
|
||||||
:selectList="dict.getDict('EP_source')"
|
:selectList="dict.getDict('EP_datacContrastStatis')"
|
||||||
@change="search.current = 1, getList()">
|
@change="search.current = 1, getList()">
|
||||||
</ai-select>
|
</ai-select>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
@@ -34,7 +27,7 @@
|
|||||||
placeholder="选择结束日期"
|
placeholder="选择结束日期"
|
||||||
@change="search.current = 1, getList()">
|
@change="search.current = 1, getList()">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
<ai-download :instance="instance" url="/app/appepidemicpreventionregisterinfo/export" :params="search" fileName="返乡报备" :disabled="tableData.length == 0">
|
<ai-download :instance="instance" url="/app/appepidemicpreventiondatamatch/export" :params="search" fileName="数据比对" :disabled="tableData.length == 0">
|
||||||
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
||||||
</ai-download>
|
</ai-download>
|
||||||
</template>
|
</template>
|
||||||
@@ -59,10 +52,9 @@
|
|||||||
:current.sync="search.current"
|
:current.sync="search.current"
|
||||||
:size.sync="search.size"
|
:size.sync="search.size"
|
||||||
@getList="getList">
|
@getList="getList">
|
||||||
<el-table-column slot="options" width="140px" fixed="right" label="操作" align="center">
|
<el-table-column slot="options" width="100px" fixed="right" label="操作" align="center">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="table-options">
|
<div class="table-options">
|
||||||
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
|
|
||||||
<el-button type="text" @click="remove(row.id)">删除</el-button>
|
<el-button type="text" @click="remove(row.id)">删除</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -87,43 +79,45 @@
|
|||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
name: '',
|
name: '',
|
||||||
gatewayId: '',
|
|
||||||
status: '',
|
|
||||||
riskStatus: '',
|
|
||||||
arriveAreaId: '',
|
arriveAreaId: '',
|
||||||
queryBeginTime: '',
|
queryBeginTime: '',
|
||||||
queryEndTime: '',
|
queryEndTime: '',
|
||||||
infoType: 1,
|
status: ''
|
||||||
source: ''
|
|
||||||
},
|
},
|
||||||
info: {},
|
info: {},
|
||||||
colConfigs: [
|
colConfigs: [
|
||||||
{ prop: 'name', label: '姓名' },
|
{ prop: 'name', label: '姓名' },
|
||||||
{ prop: 'phone', align: 'center', label: '手机号码' },
|
{ prop: 'phone', align: 'center', label: '手机号码' },
|
||||||
{ prop: 'startTime', align: 'center', label: '出发时间' },
|
{ prop: 'startTime', align: 'center', label: '所属地区' },
|
||||||
{ prop: 'startAreaName', align: 'center', label: '出发地区' },
|
{ prop: 'arriveTime', align: 'center', label: '抵平时间' },
|
||||||
|
{ prop: 'startAreaName', align: 'center', label: '途径卡口' },
|
||||||
{
|
{
|
||||||
prop: 'arriveTime',
|
prop: 'arriveTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
label: '抵平时间'
|
label: '出发地址'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'arriveAreaName',
|
prop: 'arriveAreaName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
label: '到达地区'
|
label: '核酸日期'
|
||||||
},
|
},
|
||||||
{ prop: 'source',
|
{ prop: 'source',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
label: '数据来源',
|
label: '检测结果',
|
||||||
formart: v => this.dict.getLabel('EP_source', v) },
|
formart: v => this.dict.getLabel('EP_source', v) },
|
||||||
{
|
{
|
||||||
prop: 'riskStatus',
|
prop: 'riskStatus',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
label: '风险状态',
|
label: '导入时间',
|
||||||
formart: v => this.dict.getLabel('EP_riskStatus', v)
|
formart: v => this.dict.getLabel('EP_riskStatus', v)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prop: 'status',
|
||||||
|
align: 'center',
|
||||||
|
label: '数据状态',
|
||||||
|
formart: v => this.dict.getLabel('EP_datacContrastStatis', v)
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
ids: [],
|
|
||||||
tableData: [],
|
tableData: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -137,7 +131,7 @@
|
|||||||
this.instance.post(`/app/appdvcpconfig/getCorpArea`).then(res => {
|
this.instance.post(`/app/appdvcpconfig/getCorpArea`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.search.arriveAreaId = res.data
|
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()
|
this.getList()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -146,7 +140,7 @@
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getList () {
|
getList () {
|
||||||
this.instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, {
|
this.instance.post(`/app/appepidemicpreventiondatamatch/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
...this.search,
|
...this.search,
|
||||||
arriveAreaId: this.search.arriveAreaId,
|
arriveAreaId: this.search.arriveAreaId,
|
||||||
@@ -166,15 +160,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
toDetail (id) {
|
|
||||||
this.$emit('change', {
|
|
||||||
type: 'Detail',
|
|
||||||
params: {
|
|
||||||
id: id || ''
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
changeArea () {
|
changeArea () {
|
||||||
this.search.current = 1
|
this.search.current = 1
|
||||||
|
|
||||||
@@ -185,10 +170,9 @@
|
|||||||
|
|
||||||
remove(id) {
|
remove(id) {
|
||||||
this.$confirm('确定删除该数据?').then(() => {
|
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) {
|
if (res.code == 0) {
|
||||||
this.$message.success('删除成功!')
|
this.$message.success('删除成功!')
|
||||||
this.getTotalInfo()
|
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user