|
|
|
@ -112,43 +112,43 @@ export default { |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "5%", |
|
|
|
width: "8%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "10%", |
|
|
|
width: "12%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "10%", |
|
|
|
width: "17%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "15%", |
|
|
|
width: "18%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "15%", |
|
|
|
width: "8%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "10%", |
|
|
|
width: "8%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "15%", |
|
|
|
width: "10%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "10%", |
|
|
|
width: "8%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "10%", |
|
|
|
width: "8%", |
|
|
|
}, |
|
|
|
{ |
|
|
|
align: "center", |
|
|
|
width: "10%", |
|
|
|
width: "8%", |
|
|
|
}, |
|
|
|
], |
|
|
|
header: ["序号", "姓名", "手机号", "证件号", "来源地", "来曹事由", "48小时核酸", "来曹时间", "七天内旅居", "隔离状态", "操作"], |
|
|
|
@ -265,8 +265,8 @@ export default { |
|
|
|
this.$refs.pieChart.showLoading() |
|
|
|
} |
|
|
|
|
|
|
|
// const url = "/epmetuser/tripreport/emphasisTripPieDetail"; |
|
|
|
const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/tripreport/emphasisTripPieDetail"; |
|
|
|
const url = "/epmetuser/tripreport/emphasisTripPieDetail"; |
|
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/tripreport/emphasisTripPieDetail"; |
|
|
|
let params = { |
|
|
|
code: this.code, |
|
|
|
|
|
|
|
@ -275,16 +275,16 @@ export default { |
|
|
|
const { data, code, msg } = await requestPost(url, params); |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
let dataTemp = [ |
|
|
|
{ total: 50, dangerLevelName: '低风险', color: '#fac858', dangerLevel: '0' }, |
|
|
|
{ total: 20, dangerLevelName: '中风险', color: '#fc8452', dangerLevel: '1' }, |
|
|
|
{ total: 20, dangerLevelName: '高风险', color: '#ee6666', dangerLevel: '2' }, |
|
|
|
] |
|
|
|
// let dataTemp = [ |
|
|
|
// { total: 50, dangerLevelName: '低风险', color: '#fac858', dangerLevel: '0' }, |
|
|
|
// { total: 20, dangerLevelName: '中风险', color: '#fc8452', dangerLevel: '1' }, |
|
|
|
// { total: 20, dangerLevelName: '高风险', color: '#ee6666', dangerLevel: '2' }, |
|
|
|
// ] |
|
|
|
|
|
|
|
this.pieData = [] |
|
|
|
this.pieTotal = 0 |
|
|
|
|
|
|
|
dataTemp.forEach(element => { |
|
|
|
data.forEach(element => { |
|
|
|
this.pieTotal = this.pieTotal + element.total |
|
|
|
let color = '' |
|
|
|
if (element.dangerLevel === '2') { |
|
|
|
@ -415,8 +415,8 @@ export default { |
|
|
|
//加载组织数据 |
|
|
|
async getTable () { |
|
|
|
|
|
|
|
// const url = "/epmetuser/tripreport/list"; |
|
|
|
const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/tripreport/list"; |
|
|
|
const url = "/epmetuser/tripreport/list"; |
|
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/tripreport/list"; |
|
|
|
let params = { |
|
|
|
code: this.code, |
|
|
|
dangerLevel: this.dangerLevel, |
|
|
|
@ -437,11 +437,11 @@ export default { |
|
|
|
item.mobile ? item.mobile : '', |
|
|
|
item.idCard ? item.idCard : '', |
|
|
|
item.sourceAddress ? item.sourceAddress : '', |
|
|
|
item.describe ? item.describe : '', |
|
|
|
item.natOutcome ? item.natOutcome : '', |
|
|
|
item.arriveDate ? item.arriveDate : 0, |
|
|
|
item.sojournHistory ? item.sojournHistory : '', |
|
|
|
item.isolateType ? item.isolateType : '', |
|
|
|
item.describeContent ? item.describeContent : '', |
|
|
|
item.natOutComeName ? item.natOutComeName : '', |
|
|
|
item.arriveDate ? item.arriveDate : '', |
|
|
|
item.sojournHistoryName ? item.sojournHistoryName : '', |
|
|
|
item.isolateTypeName ? item.isolateTypeName : '', |
|
|
|
{ type: "operate", list: ["查看"] }, |
|
|
|
]; |
|
|
|
}); |
|
|
|
|