Merge remote-tracking branch 'origin/master'
Showing
2 changed files
with
46 additions
and
6 deletions
... | @@ -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> |
... | @@ -353,7 +351,7 @@ import addZdy from "./zdy/index"; | ... | @@ -353,7 +351,7 @@ import addZdy from "./zdy/index"; |
353 | import addCh from "./ch/index"; | 351 | import addCh from "./ch/index"; |
354 | import editCinfo from "./c/index"; | 352 | import editCinfo from "./c/index"; |
355 | import lpbContent from "./lpbContent/index"; | 353 | import lpbContent from "./lpbContent/index"; |
356 | import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit,batchDelete} from "@api/lpb"; | 354 | import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz,getLpbQsxtj,batchCommit,batchDelete} from "@api/lpb"; |
357 | import xxxx from '../xxxx/index' | 355 | import xxxx from '../xxxx/index' |
358 | 356 | ||
359 | export default { | 357 | export default { |
... | @@ -449,6 +447,7 @@ export default { | ... | @@ -449,6 +447,7 @@ export default { |
449 | ], | 447 | ], |
450 | fwxzList: [], | 448 | fwxzList: [], |
451 | fwytList: [], | 449 | fwytList: [], |
450 | qsxList:[], | ||
452 | legendToggleFlag: false, | 451 | legendToggleFlag: false, |
453 | lpbContentHight: "", | 452 | lpbContentHight: "", |
454 | lpbContentwidth: "", | 453 | lpbContentwidth: "", |
... | @@ -478,6 +477,7 @@ export default { | ... | @@ -478,6 +477,7 @@ export default { |
478 | this.getDyztBsmList(); | 477 | this.getDyztBsmList(); |
479 | //获取房屋用途统计数据 | 478 | //获取房屋用途统计数据 |
480 | this.getLpbFwytAndQlxz(); | 479 | this.getLpbFwytAndQlxz(); |
480 | this.getLpbQsxtj(); | ||
481 | // 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6 | 481 | // 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6 |
482 | setTimeout(() => { | 482 | setTimeout(() => { |
483 | this.lpbContentwidth = this.$store.state.contentWidth - 34 - 6; | 483 | this.lpbContentwidth = this.$store.state.contentWidth - 34 - 6; |
... | @@ -638,6 +638,7 @@ export default { | ... | @@ -638,6 +638,7 @@ export default { |
638 | //获取图例数据 | 638 | //获取图例数据 |
639 | this.getDyztBsmList(); | 639 | this.getDyztBsmList(); |
640 | this.getLpbFwytAndQlxz(); | 640 | this.getLpbFwytAndQlxz(); |
641 | this.getLpbQsxtj(); | ||
641 | //重新渲染楼盘表 | 642 | //重新渲染楼盘表 |
642 | this.$refs.lpbContent.dataChange(); | 643 | this.$refs.lpbContent.dataChange(); |
643 | }, | 644 | }, |
... | @@ -763,6 +764,7 @@ export default { | ... | @@ -763,6 +764,7 @@ export default { |
763 | this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,this.scyclx); | 764 | this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,this.scyclx); |
764 | this.getDyztBsmList(); | 765 | this.getDyztBsmList(); |
765 | this.getLpbFwytAndQlxz(); | 766 | this.getLpbFwytAndQlxz(); |
767 | this.getLpbQsxtj(); | ||
766 | //改变楼盘表子组件的key值,重新渲染 | 768 | //改变楼盘表子组件的key值,重新渲染 |
767 | // this.time = new Date().getTime(); | 769 | // this.time = new Date().getTime(); |
768 | }, | 770 | }, |
... | @@ -935,7 +937,33 @@ export default { | ... | @@ -935,7 +937,33 @@ export default { |
935 | } | 937 | } |
936 | } | 938 | } |
937 | }); | 939 | }); |
940 | }, | ||
941 | //获取楼盘表缺失项统计 | ||
942 | getLpbQsxtj(){ | ||
943 | let data = { | ||
944 | zrzbsm: this.$store.state.zrzbsm, | ||
945 | scyclx: this.scyclx, | ||
946 | }; | ||
947 | getLpbQsxtj(data).then((res) => { | ||
948 | if (res.code === 200) { | ||
949 | this.qsxList = res.result; | ||
950 | // this.fwxzList = res.result.qlxz; | ||
951 | if(this.qsxList.length>0){ | ||
952 | this.qsxList.forEach(item=>{ | ||
953 | item.color = "#2591FD"; | ||
954 | item.ts = item.hcount; | ||
955 | }) | ||
938 | } | 956 | } |
957 | // if(this.fwxzList.length>0){ | ||
958 | // this.fwxzList.forEach(item=>{ | ||
959 | // item.color = "#2591FD"; | ||
960 | // item.ts = item.bsms.length | ||
961 | // }) | ||
962 | // } | ||
963 | } | ||
964 | }); | ||
965 | } | ||
966 | |||
939 | }, | 967 | }, |
940 | computed: {}, | 968 | computed: {}, |
941 | destroyed() { | 969 | destroyed() { |
... | @@ -977,7 +1005,7 @@ export default { | ... | @@ -977,7 +1005,7 @@ export default { |
977 | box-sizing: border-box; | 1005 | box-sizing: border-box; |
978 | padding: 20px 0; | 1006 | padding: 20px 0; |
979 | background-color: #ffffff; | 1007 | background-color: #ffffff; |
980 | margin-bottom: 15px; | 1008 | margin-bottom: 10px; |
981 | position: relative; | 1009 | position: relative; |
982 | .searchContent { | 1010 | .searchContent { |
983 | margin-left: 62px; | 1011 | margin-left: 62px; | ... | ... |
-
Please register or sign in to post a comment