99629e02 by 杨威

楼盘表缺失项

1 parent 61212483
...@@ -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,//添加户数
......
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
61 }, 61 },
62 created() {}, 62 created() {},
63 mounted() { 63 mounted() {
64 this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44; 64 // this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44;
65 }, 65 },
66 computed: {}, 66 computed: {},
67 watch: {}, 67 watch: {},
......
...@@ -255,9 +255,10 @@ ...@@ -255,9 +255,10 @@
255 <tr> 255 <tr>
256 <th>数据缺失项</th> 256 <th>数据缺失项</th>
257 <th>套数</th> 257 <th>套数</th>
258 <th>面积</th>
258 </tr> 259 </tr>
259 <tr 260 <tr
260 v-for="(item, index) in fwytList" 261 v-for="(item, index) in qsxList"
261 :key="index" 262 :key="index"
262 class="cp" 263 class="cp"
263 @click="handleChoosedH(item.bsms,item.color)" 264 @click="handleChoosedH(item.bsms,item.color)"
...@@ -267,8 +268,9 @@ ...@@ -267,8 +268,9 @@
267 >{{ item.name }} 268 >{{ item.name }}
268 </td> 269 </td>
269 <td>{{ item.ts }}</td> 270 <td>{{ item.ts }}</td>
271 <td>0</td>
270 </tr> 272 </tr>
271 <tr v-show="fwytList.length < 1"> 273 <tr v-show="qsxList.length < 1">
272 <td colspan="3" class="tac">暂无数据</td> 274 <td colspan="3" class="tac">暂无数据</td>
273 </tr> 275 </tr>
274 </table> 276 </table>
...@@ -353,7 +355,7 @@ import addZdy from "./zdy/index"; ...@@ -353,7 +355,7 @@ import addZdy from "./zdy/index";
353 import addCh from "./ch/index"; 355 import addCh from "./ch/index";
354 import editCinfo from "./c/index"; 356 import editCinfo from "./c/index";
355 import lpbContent from "./lpbContent/index"; 357 import lpbContent from "./lpbContent/index";
356 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit,batchDelete} from "@api/lpb"; 358 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit,batchDelete,getLpbQsxtj} from "@api/lpb";
357 import xxxx from '../xxxx/index' 359 import xxxx from '../xxxx/index'
358 360
359 export default { 361 export default {
...@@ -449,6 +451,7 @@ export default { ...@@ -449,6 +451,7 @@ export default {
449 ], 451 ],
450 fwxzList: [], 452 fwxzList: [],
451 fwytList: [], 453 fwytList: [],
454 qsxList:[],
452 legendToggleFlag: false, 455 legendToggleFlag: false,
453 lpbContentHight: "", 456 lpbContentHight: "",
454 lpbContentwidth: "", 457 lpbContentwidth: "",
...@@ -910,7 +913,7 @@ export default { ...@@ -910,7 +913,7 @@ export default {
910 } 913 }
911 }); 914 });
912 }, 915 },
913 // 获取房屋用途和房屋性质统计数据 916 // 获取房屋用途和房屋性质及缺失项统计数据
914 getLpbFwytAndQlxz(){ 917 getLpbFwytAndQlxz(){
915 let data = { 918 let data = {
916 zrzbsm: this.$store.state.zrzbsm, 919 zrzbsm: this.$store.state.zrzbsm,
...@@ -935,6 +938,30 @@ export default { ...@@ -935,6 +938,30 @@ export default {
935 } 938 }
936 } 939 }
937 }); 940 });
941 getLpbQsxtj(data).then((res) => {
942 if (res.code === 200) {
943 this.qsxList = [
944 {
945 name:'坐落',
946 bsms:res.result.zl.bsms,
947 color:'#2591FD',
948 ts:res.result.zl.bsms.length
949 },
950 {
951 name:'分层分户图',
952 bsms:res.result.fcfht.bsms,
953 color:'#2591FD',
954 ts:res.result.fcfht.bsms.length
955 },
956 {
957 name:'室号',
958 bsms:res.result.shbw.bsms,
959 color:'#2591FD',
960 ts:res.result.shbw.bsms.length
961 }
962 ]
963 }
964 });
938 } 965 }
939 }, 966 },
940 computed: {}, 967 computed: {},
......