diff --git a/packages/conv/AppReportAiWill/components/Detail.vue b/packages/conv/AppReportAiWill/components/Detail.vue index 63df74e0..c0504260 100644 --- a/packages/conv/AppReportAiWill/components/Detail.vue +++ b/packages/conv/AppReportAiWill/components/Detail.vue @@ -12,31 +12,34 @@ @@ -141,6 +169,7 @@ currIndex: 0, isLoading: false, tableData: [], + communityInfo: {}, colConfigs: [ {prop: 'name', label: '姓名', align: 'center' }, {prop: 'phone', label: '手机号', align: 'center'} @@ -153,8 +182,7 @@ this.isLoading = true if (this.params && this.params.id) { this.id = this.params.id - this.$dict.load(['EP_riskLevel', 'EP_handleType', 'EP_registerPersonType', 'EP_highRiskIndustries', 'EP_travelType', 'yesOrNo', 'EP_handoverObject', - 'EP_handleType', 'EP_quarantineAddress', 'EP_homeStatus', 'EP_quarantineStrategy', 'EP_controlMethod', 'EP_handoverMethod', 'EP_abnormalType']).then(() => { + this.$dict.load(['EP_handleType', 'EP_registerPersonType', 'EP_highRiskIndustries', 'EP_travelType', 'yesOrNo', 'EP_handoverObject', 'EP_quarantineAddress', 'EP_homeStatus', 'EP_quarantineStrategy', 'EP_controlMethod', 'EP_handoverMethod', 'EP_abnormalType']).then(() => { this.getInfo(this.params.id) }) } @@ -165,8 +193,9 @@ this.instance.post(`/app/appepidemicpreventionregisterinfo/queryDetailById?id=${id}`).then(res => { if (res.code === 0) { this.info = res.data - this.info.checkPhoto = res.data.checkPhoto ? JSON.parse(res.data.checkPhoto) : [] + this.communityInfo = res.data.riskDisposalList.filter(v => !!v.communityHandleType).length ? res.data.riskDisposalList.filter(v => !!v.communityHandleType)[0] : {} + this.info.riskDisposalList = res.data.riskDisposalList.filter(v => !v.communityHandleType) this.info.travelTypeNames = res.data.travelType.split(',').map(v => { return this.dict.getLabel('EP_travelType', v) }).join(',') diff --git a/project/pingchang/apps/AppBayonetRegistration/components/List.vue b/project/pingchang/apps/AppBayonetRegistration/components/List.vue index 750dd70f..ba75e999 100644 --- a/project/pingchang/apps/AppBayonetRegistration/components/List.vue +++ b/project/pingchang/apps/AppBayonetRegistration/components/List.vue @@ -46,7 +46,7 @@ placeholder="选择结束日期" @change="search.current = 1, getList()"> - + 导出 @@ -139,7 +139,16 @@ }, computed: { - ...mapState(['user']) + ...mapState(['user']), + + params () { + return { + ...this.search, + arriveAreaId: this.search.arriveAreaId, + queryBeginTime: this.search.queryBeginTime ? this.search.queryBeginTime + ' 00:00:00' : '', + queryEndTime: this.search.queryEndTime ? this.search.queryEndTime + ' 23:59:59' : '' + } + } }, created () { diff --git a/project/pingchang/apps/AppDataComparison/components/List.vue b/project/pingchang/apps/AppDataComparison/components/List.vue index db8d016b..24bd8ed5 100644 --- a/project/pingchang/apps/AppDataComparison/components/List.vue +++ b/project/pingchang/apps/AppDataComparison/components/List.vue @@ -33,7 +33,7 @@ 导入 - + 导出 @@ -50,6 +50,7 @@