From 37ecc1245e5899a279a1f324586c5fcba75e8665 Mon Sep 17 00:00:00 2001
From: ZhaoTongYao <531131322@qq.com>
Date: Thu, 28 Jul 2022 19:04:52 +0800
Subject: [PATCH 1/5] 11
---
.../rent/rentcontractinfo-add-or-update.vue | 721 ++++++++++++++----
.../rent/rentcontractinfo-look-or-check.vue | 386 ++++++++++
.../plugins/rent/rentcontractreview.vue | 39 +-
.../modules/plugins/rent/upload-image.vue | 130 ++++
4 files changed, 1119 insertions(+), 157 deletions(-)
create mode 100644 src/views/modules/plugins/rent/rentcontractinfo-look-or-check.vue
create mode 100644 src/views/modules/plugins/rent/upload-image.vue
diff --git a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
index 7dae7f23b..be27c8e0e 100644
--- a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
+++ b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
@@ -1,79 +1,202 @@
-
+
-
-
房屋信息
+ @keyup.enter.native="dataFormSubmitHandle()" label-width="100px">
+
房屋信息
-
+
+
+
+
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
居住成员信息
+
居住成员信息
+ 添加成员
+
{{scope.$index+1}}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
![]()
-
+
-
+
-
-
![]()
-
+
- 合同信息
+ 合同信息
出租人信息
-
-
+
+
-
-
+
+
-
-
-
+
+
-
+
-
+
-
-
-
+
+
-
- {{ $t('cancel') }}
- {{ $t('checkBTGBtn') }}
- {{ $t('checkTGBtn') }}
+ {{ $t('cancel') }}
+ 提交
-
-
-
-
diff --git a/src/views/modules/plugins/rent/rentcontractinfo-look-or-check.vue b/src/views/modules/plugins/rent/rentcontractinfo-look-or-check.vue
new file mode 100644
index 000000000..7dae7f23b
--- /dev/null
+++ b/src/views/modules/plugins/rent/rentcontractinfo-look-or-check.vue
@@ -0,0 +1,386 @@
+
+
+
+
+
房屋信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
居住成员信息
+
+
+
+ {{scope.$index+1}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+ 合同信息
+ 出租人信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 承租人信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 合同内容
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('cancel') }}
+ {{ $t('checkBTGBtn') }}
+ {{ $t('checkTGBtn') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/rent/rentcontractreview.vue b/src/views/modules/plugins/rent/rentcontractreview.vue
index c003e5a8a..ae7c5eefc 100644
--- a/src/views/modules/plugins/rent/rentcontractreview.vue
+++ b/src/views/modules/plugins/rent/rentcontractreview.vue
@@ -139,11 +139,19 @@
{{ $t('query') }}
- {{ $t('add') }}
+ {{ $t('add') }}
+
+ 新增
+
@@ -172,8 +180,9 @@
- 登记
- {{ $t('lookBtn') }}
+ 登记
+ {{ $t('lookBtn') }}
+ 修改
@@ -189,13 +198,15 @@
-
+
+
+
From d05d4aba10ce33894dfd620854656ae3e160dc92 Mon Sep 17 00:00:00 2001
From: ZhaoTongYao <531131322@qq.com>
Date: Thu, 28 Jul 2022 19:20:48 +0800
Subject: [PATCH 2/5] 11111
---
.../plugins/rent/rentcontractinfo-add-or-update.vue | 8 ++++----
src/views/modules/plugins/rent/rentcontractreview.vue | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
index be27c8e0e..cb6b40eb1 100644
--- a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
+++ b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
@@ -490,7 +490,7 @@ export default {
e.forEach(item => {
let ob = {
fileType: '3',
- fileUrl: item.response.data.url
+ fileUrl: item.response ? item.response.data.url : item.url
}
this.dataForm.tenantList[rowIndex].idCardImgList.push(ob)
})
@@ -503,7 +503,7 @@ export default {
e.forEach(item => {
let ob = {
fileType: '0',
- fileUrl: item.response.data.url
+ fileUrl: item.response ? item.response.data.url : item.url
}
this.dataForm.tenantList[rowIndex].imgList.push(ob)
})
@@ -771,8 +771,8 @@ export default {
if (!valid) {
return false
}
- const url = this.dataForm.flag == 'edit' ? '/pli/power/rentContractInfo/savePc' : '/pli/power/rentContractInfo/updatePc'
- this.$http[!this.dataForm.id ? 'post' : 'put'](url, this.dataForm).then(({ data: res }) => {
+ const url = this.dataForm.flag == 'edit' ? '/pli/power/rentContractInfo/updatePc' : '/pli/power/rentContractInfo/savePc'
+ this.$http['post'](url, this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
diff --git a/src/views/modules/plugins/rent/rentcontractreview.vue b/src/views/modules/plugins/rent/rentcontractreview.vue
index ae7c5eefc..6a7346967 100644
--- a/src/views/modules/plugins/rent/rentcontractreview.vue
+++ b/src/views/modules/plugins/rent/rentcontractreview.vue
@@ -182,7 +182,7 @@
登记
{{ $t('lookBtn') }}
- 修改
+ 修改
From f160be8293ee59214ef8b9f4bf9e486bb02f304c Mon Sep 17 00:00:00 2001
From: wanggongfeng <1305282856@qq.com>
Date: Fri, 29 Jul 2022 13:42:06 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E5=90=88=E5=90=8C=E5=AE=A1=E6=A0=B8PC?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../rent/rentcontractinfo-add-or-update.vue | 65 ++++++++++++++++---
1 file changed, 57 insertions(+), 8 deletions(-)
diff --git a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
index cb6b40eb1..25e575a6f 100644
--- a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
+++ b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
@@ -28,9 +28,11 @@
-
+
+
+
@@ -226,13 +230,34 @@
合同内容
-
+
+
+
-
+
+
+
-
+
+
+
@@ -807,3 +832,27 @@ export default {
}
}
+
From 852e2d1fd8cc3e73283adbfabbc3eaaf0806bc79 Mon Sep 17 00:00:00 2001
From: wanggongfeng <1305282856@qq.com>
Date: Fri, 29 Jul 2022 14:04:06 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E5=90=88=E5=90=8C=E5=AE=A1=E6=A0=B8PC?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../rent/rentcontractinfo-add-or-update.vue | 29 ++++++++++++-------
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
index 25e575a6f..0af88a842 100644
--- a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
+++ b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
@@ -95,19 +95,20 @@
-
+
-
居住成员信息
- 添加成员
-
+
居住成员信息
+
+
添加成员
+
-
+
{{scope.$index+1}}
-
+
@@ -117,7 +118,7 @@
-
+
@@ -132,7 +133,7 @@
-
+
-
+
+
+
+ 删除
+
+
合同信息
@@ -270,7 +276,7 @@
{{ $t('cancel') }}
- 提交
+ 提交
@@ -547,6 +553,9 @@ export default {
})
}
},
+ deleteMember(index){
+ this.dataForm.tenantList.splice(index, 1)
+ },
addMember () {
let ob = {
id: '',
From 9ff563d84d68f8348ad28bac7d601b576f2e795f Mon Sep 17 00:00:00 2001
From: wanggongfeng <1305282856@qq.com>
Date: Fri, 29 Jul 2022 17:39:32 +0800
Subject: [PATCH 5/5] =?UTF-8?q?=E5=90=88=E5=90=8C=E5=AE=A1=E6=A0=B8PC?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/plugins/rent/rentcontractinfo-add-or-update.vue | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
index 0af88a842..54d12f13b 100644
--- a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
+++ b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
@@ -115,7 +115,11 @@
-
+
+
+
+
+