diff --git a/project/pingchang/apps/AppGeneralElection/components/electionAdd.vue b/project/pingchang/apps/AppGeneralElection/components/electionAdd.vue index 114bdbff..f0408cba 100644 --- a/project/pingchang/apps/AppGeneralElection/components/electionAdd.vue +++ b/project/pingchang/apps/AppGeneralElection/components/electionAdd.vue @@ -49,8 +49,8 @@ :isMultiple="true" dialogTitle="选择" @selectPerson="selectPerson" class="aipersonselect"> diff --git a/project/pingchang/apps/AppHealthReport/components/Detail.vue b/project/pingchang/apps/AppHealthReport/components/Detail.vue index 325ffa2c..1b5d7b68 100644 --- a/project/pingchang/apps/AppHealthReport/components/Detail.vue +++ b/project/pingchang/apps/AppHealthReport/components/Detail.vue @@ -41,6 +41,13 @@ + + + @@ -56,6 +63,8 @@ + + @@ -72,6 +81,52 @@ + + + + + {{ reportInfo.temperature }}℃ + + + {{ $dict.getLabel('epidemicTouchInFourteen', reportInfo.contactPatients) }} + + + {{ reportInfo.healthName }} + + + + + + {{ reportInfo.nucleicAcidDate && reportInfo.nucleicAcidDate.split(' ')[0] }} + + + {{ $dict.getLabel('EP_nucleicAcidResult', reportInfo.nucleicAcidResult) }} + + + {{ $dict.getLabel('EP_jkmType', reportInfo.jkmType) }} + + + {{ $dict.getLabel('EP_vaccinationCount', reportInfo.vaccinationCount) }} + + + + + + + + @@ -92,6 +147,8 @@ isShow: false, currIndex: 0, isLoading: false, + riskDisposalInfo: {}, + reportInfo: {}, tableData: [], colConfigs1: [ {prop: 'createTime', label: '上报日期', align: 'center' }, @@ -124,7 +181,9 @@ this.isLoading = true if (this.params && this.params.id) { this.id = this.params.id - this.getInfo(this.params.id) + this.dict.load(['EP_vaccinationCount', 'EP_jkmType', 'epidemicTouchInFourteen', 'EP_healthType']).then(() => { + this.getInfo(this.params.id) + }) } }, @@ -133,6 +192,12 @@ this.instance.post(`/app/appepidemicpreventionhealthreportinfo/userDetailById?id=${id}`).then(res => { if (res.code === 0) { this.info = res.data + + if (res.data.handleLogs && res.data.handleLogs.length) { + this.riskDisposalInfo = res.data.handleLogs.filter(v => v.riskRelief).length ? res.data.handleLogs.filter(v => !v.riskRelief)[0] : {} + + this.info.handleLogs = res.data.handleLogs.filter(v => !v.riskRelief) + } } this.isLoading = false @@ -141,6 +206,37 @@ }) }, + toDetail (row) { + this.reportInfo = row + this.isShow = true + let healthName = '' + this.reportInfo.isHealth = false + row.health.split(',').forEach(v => { + if (v > 0) { + this.reportInfo.isHealth = true + } + healthName = healthName + this.dict.getLabel('EP_healthType', v) + }) + this.reportInfo.healthName = healthName + // this.instance.post(`/app/appepidemichealthreport/queryDetailById?id=${id}`).then(res => { + // if (res.code === 0) { + // this.reportInfo = res.data + // this.reportInfo.checkPhoto = JSON.parse(res.data.checkPhoto) + // let healthName = '' + // this.reportInfo.isHealth = false + // res.data.health.split(',').forEach(v => { + // if (v > 0) { + // this.reportInfo.isHealth = true + // } + // healthName = healthName + this.dict.getLabel('epidemicRecentHealth', v) + // }) + // this.reportInfo.healthName = healthName + + // this.isShow = true + // } + // }) + }, + cancel () { this.$emit('change', { type: 'List', diff --git a/project/pingchang/apps/AppHomeReport/components/Detail.vue b/project/pingchang/apps/AppHomeReport/components/Detail.vue index 5d25e5a3..fa084093 100644 --- a/project/pingchang/apps/AppHomeReport/components/Detail.vue +++ b/project/pingchang/apps/AppHomeReport/components/Detail.vue @@ -162,8 +162,6 @@ 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.info.travelTypeNames = res.data.travelType.split(',').map(v => { return this.dict.getLabel('EP_travelType', v) }).join(',') diff --git a/project/pingchang/apps/AppOrganizationChange/AppOrganizationChange.vue b/project/pingchang/apps/AppOrganizationChange/AppOrganizationChange.vue new file mode 100644 index 00000000..f8b5b88b --- /dev/null +++ b/project/pingchang/apps/AppOrganizationChange/AppOrganizationChange.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/project/pingchang/apps/AppOrganizationChange/components/List.vue b/project/pingchang/apps/AppOrganizationChange/components/List.vue new file mode 100644 index 00000000..cb6079d5 --- /dev/null +++ b/project/pingchang/apps/AppOrganizationChange/components/List.vue @@ -0,0 +1,191 @@ + + + + + diff --git a/project/pingchang/apps/AppOrganizationChange/components/addChange.vue b/project/pingchang/apps/AppOrganizationChange/components/addChange.vue new file mode 100644 index 00000000..e69de29b diff --git a/project/pingchang/apps/AppOrganizationChange/components/history.vue b/project/pingchang/apps/AppOrganizationChange/components/history.vue new file mode 100644 index 00000000..a109a175 --- /dev/null +++ b/project/pingchang/apps/AppOrganizationChange/components/history.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/project/pingchang/apps/AppOrganizationChange/components/moment.vue b/project/pingchang/apps/AppOrganizationChange/components/moment.vue new file mode 100644 index 00000000..cf98bad6 --- /dev/null +++ b/project/pingchang/apps/AppOrganizationChange/components/moment.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file