From a71e7372294b275ef37683980e6d315871e9c651 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 17 Oct 2023 14:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A5=BC=E9=95=BF=E5=8D=95=E5=85=83=E9=95=BF?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=A0=B8=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../residentManagement/louzhang/addForm.vue | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/views/modules/base/residentManagement/louzhang/addForm.vue b/src/views/modules/base/residentManagement/louzhang/addForm.vue index 25f67077e..b3baf1307 100644 --- a/src/views/modules/base/residentManagement/louzhang/addForm.vue +++ b/src/views/modules/base/residentManagement/louzhang/addForm.vue @@ -5,7 +5,8 @@
- 所属组织: + 所属组织: + {{ formData.agencyName || "--" }}
@@ -56,7 +57,7 @@
类型: - {{ formData.dormitoryName || "--" }} + {{ formData.idTypeName || "--" }}
@@ -71,7 +72,7 @@
管理范围: - {{ formData.rangeName || "--" }} + {{ formData.rangeString =='null;'?'--':formData.rangeString}}
@@ -104,10 +105,7 @@ let loading; // 加载动画 export default { props: { - formType: { - type: String, - default: "add", - }, + source: { //展示来源:manage 管理平台 visiual 可视化平台 type: String, @@ -142,8 +140,8 @@ export default { }, dormitoryTypeList, - categorizedResiId: '' - + categorizedResiId: '', + formType: '' }; }, @@ -159,6 +157,7 @@ export default { methods: { async initForm(type, row) { + console.log(type); this.formType = type; if (this.formType === 'add') { @@ -321,8 +320,8 @@ export default { const url = this.formType === "edit" ? "/actual/base/resiCategorized/buildingUnitChief/update" - : this.formData == 'add' ? "/actual/base/resiCategorized/buildingUnitChief/create" : ''; - + : this.formType == 'add' ? "/actual/base/resiCategorized/buildingUnitChief/create" : ''; + console.log(url,'+++++++++++++++++++++++++++++++++++++++'); if (url) { const { data, code, msg } = await requestPost(url, this.formData); if (code === 0) {