3269ef39 by 焦泽平

提交

1 parent 7cea3fc6
...@@ -109,6 +109,18 @@ export function getLpbFwytAndQlxz (data) { ...@@ -109,6 +109,18 @@ export function getLpbFwytAndQlxz (data) {
109 }) 109 })
110 } 110 }
111 /** 111 /**
112 * 楼盘表 获取楼盘表缺失项统计
113 * zrzbsm 自然幢标识码 ,
114 * scyclx 实测预测类型 0预测,1实测
115 */
116 export function getLpbQsxtj (data) {
117 return request({
118 url: 'fw/lpb/getLpbQsxtj?zrzbsm='+data.zrzbsm+'&scyclx='+data.scyclx,
119 method: 'get',
120 data:data
121 })
122 }
123 /**
112 * 楼盘表 添加层 124 * 楼盘表 添加层
113 // "cbsm": "63147d2d9766db01ead0cd53f23de908",//层标识码 125 // "cbsm": "63147d2d9766db01ead0cd53f23de908",//层标识码
114 // "hcount": 3,//添加户数 126 // "hcount": 3,//添加户数
......
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
257 <th>套数</th> 257 <th>套数</th>
258 </tr> 258 </tr>
259 <tr 259 <tr
260 v-for="(item, index) in fwytList" 260 v-for="(item, index) in qsxList"
261 :key="index" 261 :key="index"
262 class="cp" 262 class="cp"
263 @click="handleChoosedH(item.bsms,item.color)" 263 @click="handleChoosedH(item.bsms,item.color)"
...@@ -268,9 +268,7 @@ ...@@ -268,9 +268,7 @@
268 </td> 268 </td>
269 <td>{{ item.ts }}</td> 269 <td>{{ item.ts }}</td>
270 </tr> 270 </tr>
271 <tr v-show="fwytList.length < 1"> 271
272 <td colspan="3" class="tac">暂无数据</td>
273 </tr>
274 </table> 272 </table>
275 </div> 273 </div>
276 </div> 274 </div>
...@@ -326,7 +324,7 @@ import addZdy from "./zdy/index"; ...@@ -326,7 +324,7 @@ import addZdy from "./zdy/index";
326 import addCh from "./ch/index"; 324 import addCh from "./ch/index";
327 import editCinfo from "./c/index"; 325 import editCinfo from "./c/index";
328 import lpbContent from "./lpbContent/index"; 326 import lpbContent from "./lpbContent/index";
329 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit,batchDelete} from "@api/lpb"; 327 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz,getLpbQsxtj,batchCommit,batchDelete} from "@api/lpb";
330 import xxxx from '../xxxx/index' 328 import xxxx from '../xxxx/index'
331 329
332 export default { 330 export default {
...@@ -422,6 +420,7 @@ export default { ...@@ -422,6 +420,7 @@ export default {
422 ], 420 ],
423 fwxzList: [], 421 fwxzList: [],
424 fwytList: [], 422 fwytList: [],
423 qsxList:[],
425 legendToggleFlag: false, 424 legendToggleFlag: false,
426 lpbContentHight: "", 425 lpbContentHight: "",
427 lpbContentwidth: "", 426 lpbContentwidth: "",
...@@ -446,6 +445,7 @@ export default { ...@@ -446,6 +445,7 @@ export default {
446 this.getDyztBsmList(); 445 this.getDyztBsmList();
447 //获取房屋用途统计数据 446 //获取房屋用途统计数据
448 this.getLpbFwytAndQlxz(); 447 this.getLpbFwytAndQlxz();
448 this.getLpbQsxtj();
449 // 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6 449 // 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6
450 setTimeout(() => { 450 setTimeout(() => {
451 this.lpbContentwidth = this.$store.state.contentWidth - 34 - 6; 451 this.lpbContentwidth = this.$store.state.contentWidth - 34 - 6;
...@@ -572,6 +572,7 @@ export default { ...@@ -572,6 +572,7 @@ export default {
572 //获取图例数据 572 //获取图例数据
573 this.getDyztBsmList(); 573 this.getDyztBsmList();
574 this.getLpbFwytAndQlxz(); 574 this.getLpbFwytAndQlxz();
575 this.getLpbQsxtj();
575 //重新渲染楼盘表 576 //重新渲染楼盘表
576 this.$refs.lpbContent.dataChange(); 577 this.$refs.lpbContent.dataChange();
577 }, 578 },
...@@ -697,6 +698,7 @@ export default { ...@@ -697,6 +698,7 @@ export default {
697 this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,this.scyclx); 698 this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,this.scyclx);
698 this.getDyztBsmList(); 699 this.getDyztBsmList();
699 this.getLpbFwytAndQlxz(); 700 this.getLpbFwytAndQlxz();
701 this.getLpbQsxtj();
700 //改变楼盘表子组件的key值,重新渲染 702 //改变楼盘表子组件的key值,重新渲染
701 // this.time = new Date().getTime(); 703 // this.time = new Date().getTime();
702 }, 704 },
...@@ -869,7 +871,33 @@ export default { ...@@ -869,7 +871,33 @@ export default {
869 } 871 }
870 } 872 }
871 }); 873 });
874 },
875 //获取楼盘表缺失项统计
876 getLpbQsxtj(){
877 let data = {
878 zrzbsm: this.$store.state.zrzbsm,
879 scyclx: this.scyclx,
880 };
881 getLpbQsxtj(data).then((res) => {
882 if (res.code === 200) {
883 this.qsxList = res.result;
884 // this.fwxzList = res.result.qlxz;
885 if(this.qsxList.length>0){
886 this.qsxList.forEach(item=>{
887 item.color = "#2591FD";
888 item.ts = item.hcount;
889 })
890 }
891 // if(this.fwxzList.length>0){
892 // this.fwxzList.forEach(item=>{
893 // item.color = "#2591FD";
894 // item.ts = item.bsms.length
895 // })
896 // }
897 }
898 });
872 } 899 }
900
873 }, 901 },
874 computed: {}, 902 computed: {},
875 destroyed() { 903 destroyed() {
...@@ -907,7 +935,7 @@ export default { ...@@ -907,7 +935,7 @@ export default {
907 box-sizing: border-box; 935 box-sizing: border-box;
908 padding: 20px 0; 936 padding: 20px 0;
909 background-color: #ffffff; 937 background-color: #ffffff;
910 margin-bottom: 15px; 938 margin-bottom: 10px;
911 position: relative; 939 position: relative;
912 .searchContent { 940 .searchContent {
913 margin-left: 62px; 941 margin-left: 62px;
......