From a5170b9d9ebba9b8aeae6a035e9257ae1d334bee Mon Sep 17 00:00:00 2001
From: xyq <392009588@qq.com>
Date: Wed, 8 Mar 2023 09:02:52 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E6=89=8B=E6=9C=BA?=
=?UTF-8?q?=E7=AB=AF=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../homestead/circulation/circulationAdd.vue | 22 +++++++++
.../circulation/circulationDetail.vue | 45 +++++++++++++++++--
.../circulation/circulationModify.vue | 36 +++++++++++++--
3 files changed, 95 insertions(+), 8 deletions(-)
diff --git a/src/views/yinnong/homestead/circulation/circulationAdd.vue b/src/views/yinnong/homestead/circulation/circulationAdd.vue
index 5dac0e13..f0c94249 100644
--- a/src/views/yinnong/homestead/circulation/circulationAdd.vue
+++ b/src/views/yinnong/homestead/circulation/circulationAdd.vue
@@ -116,6 +116,17 @@
{{item.sqrxm}}
+
+
+
+
+
@@ -271,6 +282,10 @@
+
+
+
+
@@ -338,6 +353,7 @@
currentDate: new Date(),
circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"},
mapShow: false,
+ hhMapShow:false,
};
},
created() {
@@ -423,6 +439,12 @@
this.$refs.zjdProductResh.drawingLyPaceCountryDarw();
},1000);
},
+ hhMapLook(){
+ this.hhMapShow = true;
+ setTimeout(() => {
+ this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw();
+ },1000);
+ },
onConfirmXb(data){
this.xb = data.text;
this.circulation.xb = data.value;
diff --git a/src/views/yinnong/homestead/circulation/circulationDetail.vue b/src/views/yinnong/homestead/circulation/circulationDetail.vue
index 789df8b7..22c6befa 100644
--- a/src/views/yinnong/homestead/circulation/circulationDetail.vue
+++ b/src/views/yinnong/homestead/circulation/circulationDetail.vue
@@ -127,7 +127,17 @@
-
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
@@ -341,6 +357,7 @@
currentDate: new Date(),
circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"},
mapShow: false,
+ hhMapShow:false,
};
},
created() {
@@ -365,7 +382,7 @@
},
getDetail(){
getLz(this.$route.query.id).then(response => {
- this.landStatus = "4";
+
if(response.data.houseOwnership === "1"){
this.shyqxmShow = true;
this.sfjtjjzzShow=true;
@@ -409,6 +426,11 @@
});
this.circulation = response.data;
+ if(response.data.lzfs === "04" || response.data.lzfs === "05"){
+ this.landStatus = "4";
+ }else {
+ this.landStatus = "1";
+ }
});
},
onConfirmLzfs(value) {
@@ -446,6 +468,12 @@
this.$refs.zjdProductResh.drawingLyPaceCountryDarw();
},1000);
},
+ hhMapLook(){
+ this.hhMapShow = true;
+ setTimeout(() => {
+ this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw();
+ },1000);
+ },
onConfirmXb(data){
this.xb = data.text;
this.circulation.xb = data.value;
@@ -624,6 +652,15 @@
this.circulation.lzjsrq = this.getNowFormatDate(value).substr(0,10);
this.showlzjsrq = false;
}, //流转结束时间
+ goAdd(){
+ homeLzAdd(this.circulation).then(response => {
+ if(response.code = 200){
+ this.$toast.success('保存成功');
+ this.back();
+
+ }
+ });
+ },
back() {
setTimeout(() => this.$router.back(-1), 1000)
},
diff --git a/src/views/yinnong/homestead/circulation/circulationModify.vue b/src/views/yinnong/homestead/circulation/circulationModify.vue
index 8e8e65d7..6bb30a16 100644
--- a/src/views/yinnong/homestead/circulation/circulationModify.vue
+++ b/src/views/yinnong/homestead/circulation/circulationModify.vue
@@ -127,7 +127,17 @@
-
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
@@ -341,6 +357,7 @@
currentDate: new Date(),
circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"},
mapShow: false,
+ hhMapShow:false,
};
},
created() {
@@ -365,7 +382,7 @@
},
getDetail(){
getLz(this.$route.query.id).then(response => {
- this.landStatus = "4";
+
if(response.data.houseOwnership === "1"){
this.shyqxmShow = true;
this.sfjtjjzzShow=true;
@@ -409,6 +426,11 @@
});
this.circulation = response.data;
+ if(response.data.lzfs === "04" || response.data.lzfs === "05"){
+ this.landStatus = "4";
+ }else {
+ this.landStatus = "1";
+ }
});
},
onConfirmLzfs(value) {
@@ -446,6 +468,12 @@
this.$refs.zjdProductResh.drawingLyPaceCountryDarw();
},1000);
},
+ hhMapLook(){
+ this.hhMapShow = true;
+ setTimeout(() => {
+ this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw();
+ },1000);
+ },
onConfirmXb(data){
this.xb = data.text;
this.circulation.xb = data.value;