From 0ec5009cf5337324b4c8ce58df9362c08ca4146c Mon Sep 17 00:00:00 2001 From: xyq <392009588@qq.com> Date: Mon, 9 Jan 2023 15:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sunVillage_info/homestead/application.js | 8 +++++++- .../homeApplication/proposerLite.vue | 14 ++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/api/sunVillage_info/homestead/application.js b/src/api/sunVillage_info/homestead/application.js index 0e98f786..6003d59a 100644 --- a/src/api/sunVillage_info/homestead/application.js +++ b/src/api/sunVillage_info/homestead/application.js @@ -197,7 +197,13 @@ export function submitEndWLHT(id) { method: 'post', }) } - +// 获取用地建房申请状态信息 +export function getHomeapplyydjfsqStatus(id) { + return request({ + url: '/home/mobile/homeApplyStatus/' + id, + method: 'get' + }) +} //查询当前登录账号坐标 export function getQueryLand(id) { return request({ diff --git a/src/views/sunVillage_info/homeApplication/proposerLite.vue b/src/views/sunVillage_info/homeApplication/proposerLite.vue index 3653b242..8af3121f 100644 --- a/src/views/sunVillage_info/homeApplication/proposerLite.vue +++ b/src/views/sunVillage_info/homeApplication/proposerLite.vue @@ -1329,7 +1329,7 @@ -
+
住房
竣工
验收
内容
@@ -1765,7 +1765,7 @@ import HomeApplyUploadComp from "@/components/home/HomeApplyUploadComp"; import HouseLocationPlanComp from "@/components/house/HouseLocationPlanComp"; import FieldSelect from "@/components/form/FieldSelect"; -import { listHomeapplytype,getQueryLand, saveHomeBaseInfo , getHomeMembers , allInformationWLHT, checkDuplicateBuilding, checkDuplicateBuildingQuery, customSubmitWLHT, submitStartWLHT, updateStart, submitEndWLHT, getWorkflow ,selectProposerNh} from "@/api/sunVillage_info/homestead/application"; +import { getHomeapplyydjfsqStatus,listHomeapplytype,getQueryLand, saveHomeBaseInfo , getHomeMembers , allInformationWLHT, checkDuplicateBuilding, checkDuplicateBuildingQuery, customSubmitWLHT, submitStartWLHT, updateStart, submitEndWLHT, getWorkflow ,selectProposerNh} from "@/api/sunVillage_info/homestead/application"; import CommonMap from "@/components/house/CommonMap"; import FieldDatePicker from "@/components/form/FieldDatePicker"; import FieldRadio from "@/components/form/FieldRadio"; @@ -1832,6 +1832,7 @@ export default { deptId:null, sysFarmer:JSON.parse(Cookies.get('user')), showZjddm:null, + region:null, showZjdzk:false, // 当前显示流程 selectedTabName: 0, @@ -2071,13 +2072,17 @@ export default { this.getDicts("building_type").then(response => { this.jflxColumns = response.data; }); + getHomeapplyydjfsqStatus(this.id).then(response => { + this.region = response.data.region; + }); listHomeapplytype({deptId: JSON.parse(Cookies.get('user')).deptId}).then(response => { let _this = this; _this.tytzList = response.rows; }); + + this.getDetail(); this.getFormIntent(); this.getLandCoord(); - this.getDetail(); }, methods: { guidProduct(){ @@ -2101,6 +2106,7 @@ export default { if(this.id) { allInformationWLHT(this.id).then(response => { + console.info(this.region) this.init(response.data); for (let i = 0; i < this.tytzList.length; i++) { //_this.infoList[i].push({text: response.rows[i].name, value: response.rows[i].code}); @@ -2195,7 +2201,7 @@ export default { }, // 全局初始化 init(value) { - console.log(sessionStorage); + console.log(this.isYiLong()); const role = this.$store.getters.roles; this.currentUserRole = role[0]; console.log("当前用户角色: " + role);