|
@ -339,16 +339,8 @@ export default { |
|
|
idCard: '', |
|
|
idCard: '', |
|
|
username: '', |
|
|
username: '', |
|
|
mobile: '', |
|
|
mobile: '', |
|
|
outCode: '', |
|
|
isInoculate: '' |
|
|
outStreet: '', |
|
|
|
|
|
returnState: '', |
|
|
|
|
|
startTime: '', |
|
|
|
|
|
endTime: '', |
|
|
|
|
|
isInoculate: '', |
|
|
|
|
|
age: '', |
|
|
|
|
|
company: '' |
|
|
|
|
|
}, |
|
|
}, |
|
|
ageArr: [], |
|
|
|
|
|
companyArr: [], |
|
|
companyArr: [], |
|
|
publicPath: process.env.BASE_URL, |
|
|
publicPath: process.env.BASE_URL, |
|
|
pickerBeginDateBefore: { |
|
|
pickerBeginDateBefore: { |
|
@ -367,13 +359,7 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
ids: [], |
|
|
|
|
|
options: [], |
|
|
options: [], |
|
|
outStreetArr: [], |
|
|
|
|
|
returnStateArr: [ |
|
|
|
|
|
{ dictValue: 1, dictName: '在本地' }, |
|
|
|
|
|
{ dictValue: 2, dictName: '在外地' } |
|
|
|
|
|
], |
|
|
|
|
|
inoculateStateArr: [ |
|
|
inoculateStateArr: [ |
|
|
{ dictValue: '0', dictName: '未接种' }, |
|
|
{ dictValue: '0', dictName: '未接种' }, |
|
|
{ dictValue: '10', dictName: '接种中' }, |
|
|
{ dictValue: '10', dictName: '接种中' }, |
|
@ -382,17 +368,6 @@ export default { |
|
|
{ dictValue: '1', dictName: '第一针' }, |
|
|
{ dictValue: '1', dictName: '第一针' }, |
|
|
{ dictValue: '2', dictName: '第二针' } |
|
|
{ dictValue: '2', dictName: '第二针' } |
|
|
], |
|
|
], |
|
|
ageStateArr: [ |
|
|
|
|
|
{ dictValue: '0', dictName: '0-18岁' }, |
|
|
|
|
|
{ dictValue: '1', dictName: '19-19岁' }, |
|
|
|
|
|
{ dictValue: '2', dictName: '20-29岁' }, |
|
|
|
|
|
{ dictValue: '3', dictName: '30-39岁' }, |
|
|
|
|
|
{ dictValue: '4', dictName: '40-49岁' }, |
|
|
|
|
|
{ dictValue: '5', dictName: '50-59岁' }, |
|
|
|
|
|
{ dictValue: '6', dictName: '60-69岁' }, |
|
|
|
|
|
{ dictValue: '7', dictName: '70-79岁' }, |
|
|
|
|
|
{ dictValue: '8', dictName: '80岁以上' } |
|
|
|
|
|
], |
|
|
|
|
|
companyStateArr: [], |
|
|
companyStateArr: [], |
|
|
exportTemplate: false, |
|
|
exportTemplate: false, |
|
|
uploeadLoeading: false, |
|
|
uploeadLoeading: false, |
|
@ -411,22 +386,8 @@ export default { |
|
|
AddOrUpdate, |
|
|
AddOrUpdate, |
|
|
InfoDetail |
|
|
InfoDetail |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
|
|
|
ids: function (val) { |
|
|
|
|
|
if (val.length === 0) { |
|
|
|
|
|
this.dataForm.outCode = '' |
|
|
|
|
|
} else { |
|
|
|
|
|
this.dataForm.outCode = this.ids[val.length - 1] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
beforeGetDataListSearch () { |
|
|
beforeGetDataListSearch () { |
|
|
if (this.ageArr.length > 0) { |
|
|
|
|
|
this.dataForm.age = this.ageArr.toString() |
|
|
|
|
|
} else { |
|
|
|
|
|
this.dataForm.age = '' |
|
|
|
|
|
} |
|
|
|
|
|
if (this.companyArr.length > 0) { |
|
|
if (this.companyArr.length > 0) { |
|
|
this.dataForm.company = this.companyArr.toString() |
|
|
this.dataForm.company = this.companyArr.toString() |
|
|
} else { |
|
|
} else { |
|
@ -442,12 +403,6 @@ export default { |
|
|
this.$refs.infoDetail.init() |
|
|
this.$refs.infoDetail.init() |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 获取乡镇下拉信息(传参:4代表查“街道”) |
|
|
|
|
|
getDailyTypeArrInfo () { |
|
|
|
|
|
this.$http.get(`/sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { |
|
|
|
|
|
this.outStreetArr = res |
|
|
|
|
|
}).catch(() => { }) |
|
|
|
|
|
}, |
|
|
|
|
|
getcompantyOptions () { |
|
|
getcompantyOptions () { |
|
|
this.$http |
|
|
this.$http |
|
|
.get(`/sys/vaccinecompany/getCompantyList`) |
|
|
.get(`/sys/vaccinecompany/getCompantyList`) |
|
@ -486,14 +441,6 @@ export default { |
|
|
} |
|
|
} |
|
|
}).catch(() => { }) |
|
|
}).catch(() => { }) |
|
|
}, |
|
|
}, |
|
|
// 乡镇取值变化事件 |
|
|
|
|
|
selectModel (event) { |
|
|
|
|
|
this.outStreetArr.find((item) => { |
|
|
|
|
|
if (item.dictValue === event) { |
|
|
|
|
|
this.dataForm.outStreet = item.dictValue |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
getOptions () { |
|
|
getOptions () { |
|
|
this.$http |
|
|
this.$http |
|
|
.get(`/sys/select/getSysArea`) |
|
|
.get(`/sys/select/getSysArea`) |
|
@ -565,15 +512,6 @@ export default { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
returnStateFormat (row, column) { |
|
|
|
|
|
if (row.returnState === 1 || row.returnState === '1') { |
|
|
|
|
|
return '在本地' |
|
|
|
|
|
} else if (row.returnState === 2 || row.returnState === '2') { |
|
|
|
|
|
return '在外地' |
|
|
|
|
|
} else { |
|
|
|
|
|
return '' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
showRegistFormat (row, column) { |
|
|
showRegistFormat (row, column) { |
|
|
if (row.isInoculate === 0) { |
|
|
if (row.isInoculate === 0) { |
|
|
return '否' |
|
|
return '否' |
|
@ -581,18 +519,6 @@ export default { |
|
|
return '是' |
|
|
return '是' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
returnriskGradeFormat (row, column) { |
|
|
|
|
|
// 1:低风险,2:中风险,3:高风险 |
|
|
|
|
|
if (row.riskGrade === 1 || row.riskGrade === '1') { |
|
|
|
|
|
return '低风险' |
|
|
|
|
|
} else if (row.returnState === 2 || row.returnState === '2') { |
|
|
|
|
|
return '中风险' |
|
|
|
|
|
} else if (row.returnState === 3 || row.returnState === '3') { |
|
|
|
|
|
return '高风险' |
|
|
|
|
|
} else { |
|
|
|
|
|
return '' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
// 打开导出弹框 |
|
|
// 打开导出弹框 |
|
|
exports () { |
|
|
exports () { |
|
|
this.dialogVisibleExcel = true |
|
|
this.dialogVisibleExcel = true |
|
|