From 95a16814d152a219363ba1b2ac0b7442b62c2d2b Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 2 Aug 2023 15:07:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E,=E7=BC=96=E8=BE=91,=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E4=BD=BF=E7=94=A8=E4=B8=80=E4=B8=AA=E7=BB=84=E4=BB=B6?= =?UTF-8?q?/=E6=99=BA=E8=83=BD=E6=90=9C=E7=B4=A2=E6=88=BF=E5=B1=8B?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=81=94=E8=B0=83/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resiDisability/addForm.vue | 117 ++++++++++++++---- .../resiDisability/resiDisability.vue | 24 ++-- src/views/modules/cpts/base/index.vue | 1 + src/views/modules/shequ/chaxun.vue | 7 +- src/views/modules/shequ/cpts/smatr-rules.vue | 56 ++++----- 5 files changed, 140 insertions(+), 65 deletions(-) diff --git a/src/views/modules/base/residentManagement/resiDisability/addForm.vue b/src/views/modules/base/residentManagement/resiDisability/addForm.vue index 02a5dc9aa..85b3e3e00 100644 --- a/src/views/modules/base/residentManagement/resiDisability/addForm.vue +++ b/src/views/modules/base/residentManagement/resiDisability/addForm.vue @@ -13,10 +13,10 @@ > -
- 姓名: - {{ formData.name || "--" }} -
+
+ 姓名: + {{ formData.name || "--" }} +
-
- +
+ 联系电话: + {{ formData.mobile || "--" }} +
+ - +
+ 证件类型: + {{ formData.idTypeName || "--" }} +
+
- +
+ 证件号: + {{ formData.idNum || "--" }} +
+ - +
+ 性别: + {{ formData.gender?formData.gender=='1'?'男':formData.gender=='2'?'女':'--':'--' }} +
+ +
- +
+ 本地户籍: + {{ formData.localResidenceFlag?formData.localResidenceFlag=='1'?'是':formData.localResidenceFlag=='0'?'否':'--':'--' }} +
+ - +
+ 户籍地址: + {{ formData.placeOfDomicile || "--" }} +
+ - +
+ 现居地址: + {{ formData.currentResidence || "--" }} +
+ - +
+ 残疾类别: + {{ formData.disabilityCategoryName || "--" }} +
+
- +
+ 残疾级别: + {{ formData.disabilityLevelName || "--" }} +
+ - +
+ 残疾证号: + {{ formData.disabilityNum || "--" }} +
+
- +
+ 低保: + {{ formData.subsistenceAllowanceFlag?formData.subsistenceAllowanceFlag=='1'?'是':formData.subsistenceAllowanceFlag=='0'?'否':'--':'--' }} +
+ - +
+ 退休金额: + {{ formData.retirementAmount || "--" }} +
+
- +
+ 月收入: + {{ formData.monthIncome || "--" }} +
+ - +
+ 联系人: + {{ formData.contactName || "--" }} +
+
- +
+ 联系电话: + {{ formData.contactMobile || "--" }} +
+ - +
+ 备注: + {{ formData.remark || "--" }} +
+ - - + --> @@ -473,12 +473,11 @@ import nextTick from "dai-js/tools/nextTick"; import { mapGetters } from "vuex"; import axios from "axios"; import addForm from "./addForm"; -import detailForm from "./detailForm"; -// import editForm from "./editForm"; +// import detailForm from "./detailForm"; export default { - // editForm - components: { addForm, detailForm }, + // detailForm + components: { addForm }, data() { let endDisabledDate = (time) => { @@ -521,7 +520,7 @@ export default { subsistenceAllowanceFlag: null, monthIncome: null, contactName: "", - contactMobile:null, + contactMobile: null, remark: "", }, pageNo: 1, @@ -536,7 +535,7 @@ export default { showAdd: false, showEdit: false, - showDetail: false, + // showDetail: false, formType: "add", addDiaTitle: "新增", detailDiaTitle: "详情", @@ -604,12 +603,16 @@ export default { this.addDiaTitle = "新增"; this.formType = "add"; this.showAdd = true; - }, // 查看详情触发事件 async handleDetail(row) { - this.detailDiaTitle = "详情"; + this.addDiaTitle = "详情"; this.showDetail = true; + this.formType = "add"; + this.showAdd = true; + this.$nextTick(() => { + this.$refs.ref_add_form.initForm("detail", row); + }); }, // 详情弹出框取消事件 diaDetailClose() { @@ -628,7 +631,6 @@ export default { this.showAdd = false; this.showDetail = false; this.showEdit = false; - }, // 新增弹出框组件确定事件 handleOk() { diff --git a/src/views/modules/cpts/base/index.vue b/src/views/modules/cpts/base/index.vue index 531d1a3ab..346906b04 100644 --- a/src/views/modules/cpts/base/index.vue +++ b/src/views/modules/cpts/base/index.vue @@ -33,6 +33,7 @@
+