99629e02 by 杨威

楼盘表缺失项

1 parent 61212483
......@@ -109,6 +109,18 @@ export function getLpbFwytAndQlxz (data) {
})
}
/**
* 楼盘表 获取缺失项数据
* zrzbsm 自然幢标识码 ,
* scyclx 实测预测类型 0预测,1实测
*/
export function getLpbQsxtj (data) {
return request({
url: '/fw/lpb/getLpbQsxtj?zrzbsm='+data.zrzbsm+'&scyclx='+data.scyclx,
method: 'get',
data:data
})
}
/**
* 楼盘表 添加层
// "cbsm": "63147d2d9766db01ead0cd53f23de908",//层标识码
// "hcount": 3,//添加户数
......
......@@ -61,7 +61,7 @@ export default {
},
created() {},
mounted() {
this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44;
// this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44;
},
computed: {},
watch: {},
......
......@@ -255,9 +255,10 @@
<tr>
<th>数据缺失项</th>
<th>套数</th>
<th>面积</th>
</tr>
<tr
v-for="(item, index) in fwytList"
v-for="(item, index) in qsxList"
:key="index"
class="cp"
@click="handleChoosedH(item.bsms,item.color)"
......@@ -267,8 +268,9 @@
>{{ item.name }}
</td>
<td>{{ item.ts }}</td>
<td>0</td>
</tr>
<tr v-show="fwytList.length < 1">
<tr v-show="qsxList.length < 1">
<td colspan="3" class="tac">暂无数据</td>
</tr>
</table>
......@@ -353,7 +355,7 @@ import addZdy from "./zdy/index";
import addCh from "./ch/index";
import editCinfo from "./c/index";
import lpbContent from "./lpbContent/index";
import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit,batchDelete} from "@api/lpb";
import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit,batchDelete,getLpbQsxtj} from "@api/lpb";
import xxxx from '../xxxx/index'
export default {
......@@ -449,6 +451,7 @@ export default {
],
fwxzList: [],
fwytList: [],
qsxList:[],
legendToggleFlag: false,
lpbContentHight: "",
lpbContentwidth: "",
......@@ -910,7 +913,7 @@ export default {
}
});
},
// 获取房屋用途和房屋性质统计数据
// 获取房屋用途和房屋性质及缺失项统计数据
getLpbFwytAndQlxz(){
let data = {
zrzbsm: this.$store.state.zrzbsm,
......@@ -935,6 +938,30 @@ export default {
}
}
});
getLpbQsxtj(data).then((res) => {
if (res.code === 200) {
this.qsxList = [
{
name:'坐落',
bsms:res.result.zl.bsms,
color:'#2591FD',
ts:res.result.zl.bsms.length
},
{
name:'分层分户图',
bsms:res.result.fcfht.bsms,
color:'#2591FD',
ts:res.result.fcfht.bsms.length
},
{
name:'室号',
bsms:res.result.shbw.bsms,
color:'#2591FD',
ts:res.result.shbw.bsms.length
}
]
}
});
}
},
computed: {},
......