From 45f5df284feeba4ca646d17d9787dc4a23da4acd Mon Sep 17 00:00:00 2001 From: hbao Date: Wed, 4 Aug 2021 18:05:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=97=E8=A1=A8=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=85=A8=E9=83=A8=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homestead/index.vue | 44 +++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/src/views/homestead/index.vue b/src/views/homestead/index.vue index 85396bb4..0ba2c127 100644 --- a/src/views/homestead/index.vue +++ b/src/views/homestead/index.vue @@ -54,6 +54,7 @@ items.xzqk == '待流转待盘活' ? 'dlzdph' : '', items.xzqk == '已流转' ? 'ylz' : '', items.xzqk == '待流转' ? 'dlz' : '', + items.xzqk == '已流转待盘活' ? 'ylzdph' : '', ]" > {{ items.xzqk }} @@ -1394,13 +1395,13 @@ export default { $("#drawRemove").trigger("click"); $("#drawReset").trigger("click"); this.coordinateList = ""; - getHouse(houseInfoList.id).then((res) => { - if (res.code == 200) { - this.farmhouseStatus=0; - this.houseInfoList.frontHouse =res.data.frontHouse; - this.houseInfoList.behindHouse =res.data.behindHouse; - } - }) + // getHouse(houseInfoList.id).then((res) => { + // if (res.code == 200) { + // this.farmhouseStatus=0; + // this.houseInfoList.frontHouse =res.data.frontHouse; + // this.houseInfoList.behindHouse =res.data.behindHouse; + // } + // }) this.switchLoad(); } }); @@ -1502,14 +1503,18 @@ export default { this.coordinateList = ""; this.$toast("新建农地信息成功"); //查询图层 - getLand(landInfoList.id).then((res) => { - console.log(res.data.frontland); - if (res.code == 200) { - this.farmhouseStatus=1; - this.landInfoList.frontland =res.data.frontland; - this.landInfoList.behindland =res.data.behindland; - } - }) + // if(landInfoList.id !=null){ + // console.log(landInfoList.id ); + // getLand(landInfoList.id).then((res) => { + // console.log(res); + // console.log(res.data.frontland); + // if (res.code == 200) { + // this.farmhouseStatus=1; + // this.landInfoList.frontland =res.data.frontland; + // this.landInfoList.behindland =res.data.behindland; + // } + // }) + // } //列表更新 this.switchLoad(); } @@ -3244,21 +3249,21 @@ export default { } .name_text { font-size: 28px; - flex: 1; + flex: 0.5; overflow: hidden; /*超出部分隐藏*/ white-space: nowrap; /*不换行*/ text-overflow: ellipsis; /*超出部分文字以...显示*/ } .square_text { font-size: 28px; - flex: 0.8; + flex: 0.4; } .operation_mian { flex: 0 0 150px; .describe { font-size: 20px; - padding: 6px 12px; + padding: 6px 5px; float: right; color: #fff; border-radius: 30px; @@ -3278,6 +3283,9 @@ export default { &.dlz { background: rgb(255, 232, 76); } + &.ylzdph { + background: rgb(228, 30, 100); + } } } }