From 4983e4225c991be5af4e5ec7a93f9de60dad5bcd Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Fri, 26 Aug 2022 20:04:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B8=E9=85=B8=E6=A3=80=E6=B5=8B=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sys/icvaccineprarmeter-add-or-update.vue | 17 ++++--- .../modules/sys/icvaccineprarmeter-check.vue | 45 ++++++++++++++----- src/views/modules/sys/icvaccineprarmeter.vue | 17 ++++--- 3 files changed, 57 insertions(+), 22 deletions(-) diff --git a/src/views/modules/sys/icvaccineprarmeter-add-or-update.vue b/src/views/modules/sys/icvaccineprarmeter-add-or-update.vue index 7c52db1e9..7527c1d79 100644 --- a/src/views/modules/sys/icvaccineprarmeter-add-or-update.vue +++ b/src/views/modules/sys/icvaccineprarmeter-add-or-update.vue @@ -5,7 +5,7 @@
- + {{ $t('cancel') }} - {{ $t('confirm') }} + {{ $t('confirm') }}
@@ -310,7 +310,8 @@ note: '', checkState: '0', checkReason: '', - } + }, + isLook: false } }, computed: { @@ -417,7 +418,12 @@ this.getHouseList() }, methods: { - async init (row) { + async init (row,isLook) { + if(isLook){ + this.isLook = true + }else{ + this.isLook = false + } if (row) { this.dataForm.id = row.id } @@ -510,7 +516,8 @@ async loadGrid () { const url = "/gov/org/customergrid/gridoption" let params = { - agencyId: this.agencyId + agencyId: this.agencyId, + purpose: 'addorupdate' } const { data, code, msg } = await requestPost(url, params) if (code === 0) { diff --git a/src/views/modules/sys/icvaccineprarmeter-check.vue b/src/views/modules/sys/icvaccineprarmeter-check.vue index fefd848f0..a21e361b4 100644 --- a/src/views/modules/sys/icvaccineprarmeter-check.vue +++ b/src/views/modules/sys/icvaccineprarmeter-check.vue @@ -67,11 +67,17 @@ prop="householdType" label-width="150px" style="display: block"> - - + + + + - - + + + + @@ -206,7 +219,7 @@ v-model="dataForm.note" disabled> - +
@@ -280,6 +293,14 @@ export default { }, isAdd: '', unitId: '', + household: [ + { value: '0', label: '户籍' }, + { value: '1', label: '外来' }, + ], + isVaccinationOption: [ + { value: '0', label: '否' }, + { value: '1', label: '是' }, + ], // 审核 formShow: false, agencyObj: {} @@ -423,7 +444,7 @@ export default { computed: { dataRule () { return { - + } }, diff --git a/src/views/modules/sys/icvaccineprarmeter.vue b/src/views/modules/sys/icvaccineprarmeter.vue index cc6d02fe6..6000b8d82 100644 --- a/src/views/modules/sys/icvaccineprarmeter.vue +++ b/src/views/modules/sys/icvaccineprarmeter.vue @@ -201,12 +201,12 @@ - + @@ -436,6 +436,13 @@ export default { this.$message.success("操作失败!"); } }, + + async handleLook(rowIndex) { + this.formTitle = "查看"; + this.checkVisible = true; + await nextTick(); + this.$refs.add_parameter.init(this.dataList[rowIndex],true); + }, handleClearVillage() { this.dataForm.buildId = '' this.dataForm.homeId = '' @@ -488,7 +495,7 @@ export default { this.$http .post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId, - purpose: 'query' + purpose: 'addorupdate' }) .then(({ data: res }) => { if (res.code !== 0) {