|
|
@ -280,19 +280,19 @@ |
|
|
|
import mixinViewModule from '@/mixins/view-module' |
|
|
|
import AddOrUpdate from './epidemicreportuserinfo-add-or-update' |
|
|
|
import InfoDetail from './epidemicreportuserinfoDetail' |
|
|
|
import qs from "qs"; |
|
|
|
import Cookies from "js-cookie"; |
|
|
|
import qs from 'qs' |
|
|
|
import Cookies from 'js-cookie' |
|
|
|
export default { |
|
|
|
mixins: [mixinViewModule], |
|
|
|
data () { |
|
|
|
return { |
|
|
|
mixinViewModuleOptions: { |
|
|
|
getDataListURL: '/sys/epidemicuserinfo/page', |
|
|
|
getDataListURL: 'sys/epidemicuserinfo/page', |
|
|
|
getDataListIsPage: true, |
|
|
|
deleteURL: '/sys/epidemicuserinfo', |
|
|
|
deleteURL: 'sys/epidemicuserinfo', |
|
|
|
deleteIsBatch: true, |
|
|
|
exportURL: '/sys/epidemicuserinfo/export', |
|
|
|
exportErrorInfoURL: '/sys/epidemicusererror/export' |
|
|
|
exportURL: 'sys/epidemicuserinfo/export', |
|
|
|
exportErrorInfoURL: 'sys/epidemicusererror/export' |
|
|
|
}, |
|
|
|
dataForm: { |
|
|
|
id: '', |
|
|
@ -402,13 +402,13 @@ export default { |
|
|
|
}, |
|
|
|
// 获取乡镇下拉信息(传参:4代表查“街道”) |
|
|
|
getDailyTypeArrInfo () { |
|
|
|
this.$http.get(`/sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { |
|
|
|
this.$http.get(`sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { |
|
|
|
this.outStreetArr = res |
|
|
|
}).catch(() => { }) |
|
|
|
}, |
|
|
|
getcompantyOptions () { |
|
|
|
this.$http |
|
|
|
.get(`/sys/vaccinecompany/getCompantyList`) |
|
|
|
.get(`sys/vaccinecompany/getCompantyList`) |
|
|
|
.then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
@ -428,7 +428,7 @@ export default { |
|
|
|
}, |
|
|
|
getOptions () { |
|
|
|
this.$http |
|
|
|
.get(`/sys/select/getSysArea`) |
|
|
|
.get(`sys/select/getSysArea`) |
|
|
|
.then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
@ -475,13 +475,13 @@ export default { |
|
|
|
this.$message({ |
|
|
|
type: 'success', |
|
|
|
message: '下载成功' |
|
|
|
}); |
|
|
|
}) |
|
|
|
}).catch(() => { |
|
|
|
this.$message({ |
|
|
|
type: 'info', |
|
|
|
message: '已取消下载' |
|
|
|
}); |
|
|
|
}); |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.$message.error(response.msg) |
|
|
|
} |
|
|
@ -507,7 +507,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
showRegistFormat (row, column) { |
|
|
|
if (row.isInoculate == 0) { |
|
|
|
if (row.isInoculate === 0) { |
|
|
|
return '否' |
|
|
|
} else { |
|
|
|
return '是' |
|
|
@ -527,7 +527,7 @@ export default { |
|
|
|
}, |
|
|
|
// 打开导出弹框 |
|
|
|
exports () { |
|
|
|
this.dialogVisibleExcel = true; |
|
|
|
this.dialogVisibleExcel = true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|