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 @@
+