| @@ -116,6 +116,17 @@ | |||||
| {{item.sqrxm}} | {{item.sqrxm}} | ||||
| </van-cell> | </van-cell> | ||||
| </div> | </div> | ||||
| <van-field | |||||
| v-model="circulation.zjddm" | |||||
| v-if="circulation.lzfs =='03'" | |||||
| readonly | |||||
| label="宅基地代码" | |||||
| input-align="right" | |||||
| > | |||||
| <template #button> | |||||
| <van-icon name="../../../../../static/images/22.png" color="#539FFD" size="20" @click="hhMapLook"/> | |||||
| </template> | |||||
| </van-field> | |||||
| <!-- <van-popup v-model="showZrfdbmc" position="bottom">--> | <!-- <van-popup v-model="showZrfdbmc" position="bottom">--> | ||||
| <!-- <van-picker--> | <!-- <van-picker--> | ||||
| <!-- show-toolbar--> | <!-- show-toolbar--> | ||||
| @@ -271,6 +282,10 @@ | |||||
| <van-dialog v-model="mapShow" show-cancel-button> | <van-dialog v-model="mapShow" show-cancel-button> | ||||
| <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.shyqrxm" :landStatus="landStatus" :deptId="sysFarmer.deptId" @closeMoule="closeMoule"></MapGisObtainTc> | <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.shyqrxm" :landStatus="landStatus" :deptId="sysFarmer.deptId" @closeMoule="closeMoule"></MapGisObtainTc> | ||||
| </van-dialog> | </van-dialog> | ||||
| <van-dialog v-if="circulation.lzfs =='03'" v-model="hhMapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdZrfProductResh" :shqrxm="circulation.zrfdbxm" :landStatus="landStatus" :deptId="sysFarmer.deptId"></MapGisObtainTc> | |||||
| </van-dialog> | |||||
| <div style="padding: 16px 0;"> | <div style="padding: 16px 0;"> | ||||
| <van-row> | <van-row> | ||||
| <van-col span="24" align="center"> | <van-col span="24" align="center"> | ||||
| @@ -338,6 +353,7 @@ | |||||
| currentDate: new Date(), | currentDate: new Date(), | ||||
| circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, | circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, | ||||
| mapShow: false, | mapShow: false, | ||||
| hhMapShow:false, | |||||
| }; | }; | ||||
| }, | }, | ||||
| created() { | created() { | ||||
| @@ -423,6 +439,12 @@ | |||||
| this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); | this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); | ||||
| },1000); | },1000); | ||||
| }, | }, | ||||
| hhMapLook(){ | |||||
| this.hhMapShow = true; | |||||
| setTimeout(() => { | |||||
| this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw(); | |||||
| },1000); | |||||
| }, | |||||
| onConfirmXb(data){ | onConfirmXb(data){ | ||||
| this.xb = data.text; | this.xb = data.text; | ||||
| this.circulation.xb = data.value; | this.circulation.xb = data.value; | ||||
| @@ -127,7 +127,17 @@ | |||||
| <!-- @cancel="showZrfdbmc = false"--> | <!-- @cancel="showZrfdbmc = false"--> | ||||
| <!-- />--> | <!-- />--> | ||||
| <!-- </van-popup>--> | <!-- </van-popup>--> | ||||
| <van-field | |||||
| v-model="circulation.zjddm" | |||||
| v-if="circulation.lzfs =='03'" | |||||
| readonly | |||||
| label="宅基地代码" | |||||
| input-align="right" | |||||
| > | |||||
| <template #button> | |||||
| <van-icon name="../../../../../static/images/22.png" color="#539FFD" size="20" @click="hhMapLook"/> | |||||
| </template> | |||||
| </van-field> | |||||
| <field-select | <field-select | ||||
| readonly | readonly | ||||
| v-model="circulation.zrfdbzjlx" | v-model="circulation.zrfdbzjlx" | ||||
| @@ -271,8 +281,14 @@ | |||||
| <van-field label="村集体意见" v-model="circulation.suyqryj" placeholder="请输入内容" input-align="right" label-width="auto"/> | <van-field label="村集体意见" v-model="circulation.suyqryj" placeholder="请输入内容" input-align="right" label-width="auto"/> | ||||
| <van-field label="备注" v-model="circulation.bz" placeholder="请输入备注" input-align="right" label-width="auto"/> | <van-field label="备注" v-model="circulation.bz" placeholder="请输入备注" input-align="right" label-width="auto"/> | ||||
| </div> | </div> | ||||
| <van-dialog v-model="mapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.shyqrxm" :landStatus="landStatus" :deptId="sysFarmer.deptId" @closeMoule="closeMoule"></MapGisObtainTc> | |||||
| <van-dialog v-if="circulation.lzfs == '01' || circulation.lzfs == '02'" v-model="mapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.zrfdbxm" :landStatus="landStatus" :deptId="sysFarmer.deptId"></MapGisObtainTc> | |||||
| </van-dialog> | |||||
| <van-dialog v-else v-model="mapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.shyqrxm" :landStatus="landStatus" :deptId="sysFarmer.deptId"></MapGisObtainTc> | |||||
| </van-dialog> | |||||
| <van-dialog v-show="circulation.lzfs == '03'" v-model="hhMapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdZrfProductResh" :shqrxm="circulation.zrfdbxm" :landStatus="landStatus" :deptId="sysFarmer.deptId"></MapGisObtainTc> | |||||
| </van-dialog> | </van-dialog> | ||||
| <div style="padding: 16px 0;"> | <div style="padding: 16px 0;"> | ||||
| <van-row> | <van-row> | ||||
| @@ -341,6 +357,7 @@ | |||||
| currentDate: new Date(), | currentDate: new Date(), | ||||
| circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, | circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, | ||||
| mapShow: false, | mapShow: false, | ||||
| hhMapShow:false, | |||||
| }; | }; | ||||
| }, | }, | ||||
| created() { | created() { | ||||
| @@ -365,7 +382,7 @@ | |||||
| }, | }, | ||||
| getDetail(){ | getDetail(){ | ||||
| getLz(this.$route.query.id).then(response => { | getLz(this.$route.query.id).then(response => { | ||||
| this.landStatus = "4"; | |||||
| if(response.data.houseOwnership === "1"){ | if(response.data.houseOwnership === "1"){ | ||||
| this.shyqxmShow = true; | this.shyqxmShow = true; | ||||
| this.sfjtjjzzShow=true; | this.sfjtjjzzShow=true; | ||||
| @@ -409,6 +426,11 @@ | |||||
| }); | }); | ||||
| this.circulation = response.data; | this.circulation = response.data; | ||||
| if(response.data.lzfs === "04" || response.data.lzfs === "05"){ | |||||
| this.landStatus = "4"; | |||||
| }else { | |||||
| this.landStatus = "1"; | |||||
| } | |||||
| }); | }); | ||||
| }, | }, | ||||
| onConfirmLzfs(value) { | onConfirmLzfs(value) { | ||||
| @@ -446,6 +468,12 @@ | |||||
| this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); | this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); | ||||
| },1000); | },1000); | ||||
| }, | }, | ||||
| hhMapLook(){ | |||||
| this.hhMapShow = true; | |||||
| setTimeout(() => { | |||||
| this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw(); | |||||
| },1000); | |||||
| }, | |||||
| onConfirmXb(data){ | onConfirmXb(data){ | ||||
| this.xb = data.text; | this.xb = data.text; | ||||
| this.circulation.xb = data.value; | this.circulation.xb = data.value; | ||||
| @@ -624,6 +652,15 @@ | |||||
| this.circulation.lzjsrq = this.getNowFormatDate(value).substr(0,10); | this.circulation.lzjsrq = this.getNowFormatDate(value).substr(0,10); | ||||
| this.showlzjsrq = false; | this.showlzjsrq = false; | ||||
| }, //流转结束时间 | }, //流转结束时间 | ||||
| goAdd(){ | |||||
| homeLzAdd(this.circulation).then(response => { | |||||
| if(response.code = 200){ | |||||
| this.$toast.success('保存成功'); | |||||
| this.back(); | |||||
| } | |||||
| }); | |||||
| }, | |||||
| back() { | back() { | ||||
| setTimeout(() => this.$router.back(-1), 1000) | setTimeout(() => this.$router.back(-1), 1000) | ||||
| }, | }, | ||||
| @@ -127,7 +127,17 @@ | |||||
| <!-- @cancel="showZrfdbmc = false"--> | <!-- @cancel="showZrfdbmc = false"--> | ||||
| <!-- />--> | <!-- />--> | ||||
| <!-- </van-popup>--> | <!-- </van-popup>--> | ||||
| <van-field | |||||
| v-model="circulation.zjddm" | |||||
| v-if="circulation.lzfs =='03'" | |||||
| readonly | |||||
| label="宅基地代码" | |||||
| input-align="right" | |||||
| > | |||||
| <template #button> | |||||
| <van-icon name="../../../../../static/images/22.png" color="#539FFD" size="20" @click="hhMapLook"/> | |||||
| </template> | |||||
| </van-field> | |||||
| <field-select | <field-select | ||||
| readonly | readonly | ||||
| v-model="circulation.zrfdbzjlx" | v-model="circulation.zrfdbzjlx" | ||||
| @@ -271,8 +281,14 @@ | |||||
| <van-field label="村集体意见" v-model="circulation.suyqryj" placeholder="请输入内容" input-align="right" label-width="auto"/> | <van-field label="村集体意见" v-model="circulation.suyqryj" placeholder="请输入内容" input-align="right" label-width="auto"/> | ||||
| <van-field label="备注" v-model="circulation.bz" placeholder="请输入备注" input-align="right" label-width="auto"/> | <van-field label="备注" v-model="circulation.bz" placeholder="请输入备注" input-align="right" label-width="auto"/> | ||||
| </div> | </div> | ||||
| <van-dialog v-model="mapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.shyqrxm" :landStatus="landStatus" :deptId="sysFarmer.deptId" @closeMoule="closeMoule"></MapGisObtainTc> | |||||
| <van-dialog v-if="circulation.lzfs == '01' || circulation.lzfs == '02'" v-model="mapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.zrfdbxm" :landStatus="landStatus" :deptId="sysFarmer.deptId"></MapGisObtainTc> | |||||
| </van-dialog> | |||||
| <van-dialog v-else v-model="mapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.shyqrxm" :landStatus="landStatus" :deptId="sysFarmer.deptId"></MapGisObtainTc> | |||||
| </van-dialog> | |||||
| <van-dialog v-show="circulation.lzfs == '03'" v-model="hhMapShow" show-cancel-button> | |||||
| <MapGisObtainTc ref="zjdZrfProductResh" :shqrxm="circulation.zrfdbxm" :landStatus="landStatus" :deptId="sysFarmer.deptId"></MapGisObtainTc> | |||||
| </van-dialog> | </van-dialog> | ||||
| <div style="padding: 16px 0;"> | <div style="padding: 16px 0;"> | ||||
| <van-row> | <van-row> | ||||
| @@ -341,6 +357,7 @@ | |||||
| currentDate: new Date(), | currentDate: new Date(), | ||||
| circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, | circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, | ||||
| mapShow: false, | mapShow: false, | ||||
| hhMapShow:false, | |||||
| }; | }; | ||||
| }, | }, | ||||
| created() { | created() { | ||||
| @@ -365,7 +382,7 @@ | |||||
| }, | }, | ||||
| getDetail(){ | getDetail(){ | ||||
| getLz(this.$route.query.id).then(response => { | getLz(this.$route.query.id).then(response => { | ||||
| this.landStatus = "4"; | |||||
| if(response.data.houseOwnership === "1"){ | if(response.data.houseOwnership === "1"){ | ||||
| this.shyqxmShow = true; | this.shyqxmShow = true; | ||||
| this.sfjtjjzzShow=true; | this.sfjtjjzzShow=true; | ||||
| @@ -409,6 +426,11 @@ | |||||
| }); | }); | ||||
| this.circulation = response.data; | this.circulation = response.data; | ||||
| if(response.data.lzfs === "04" || response.data.lzfs === "05"){ | |||||
| this.landStatus = "4"; | |||||
| }else { | |||||
| this.landStatus = "1"; | |||||
| } | |||||
| }); | }); | ||||
| }, | }, | ||||
| onConfirmLzfs(value) { | onConfirmLzfs(value) { | ||||
| @@ -446,6 +468,12 @@ | |||||
| this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); | this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); | ||||
| },1000); | },1000); | ||||
| }, | }, | ||||
| hhMapLook(){ | |||||
| this.hhMapShow = true; | |||||
| setTimeout(() => { | |||||
| this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw(); | |||||
| },1000); | |||||
| }, | |||||
| onConfirmXb(data){ | onConfirmXb(data){ | ||||
| this.xb = data.text; | this.xb = data.text; | ||||
| this.circulation.xb = data.value; | this.circulation.xb = data.value; | ||||