Merge remote-tracking branch 'origin/master'
Showing
3 changed files
with
30 additions
and
27 deletions
... | @@ -109,13 +109,13 @@ export function getLpbFwytAndQlxz (data) { | ... | @@ -109,13 +109,13 @@ export function getLpbFwytAndQlxz (data) { |
109 | }) | 109 | }) |
110 | } | 110 | } |
111 | /** | 111 | /** |
112 | * 楼盘表 获取楼盘表缺失项统计 | 112 | * 楼盘表 获取缺失项数据 |
113 | * zrzbsm 自然幢标识码 , | 113 | * zrzbsm 自然幢标识码 , |
114 | * scyclx 实测预测类型 0预测,1实测 | 114 | * scyclx 实测预测类型 0预测,1实测 |
115 | */ | 115 | */ |
116 | export function getLpbQsxtj (data) { | 116 | export function getLpbQsxtj (data) { |
117 | return request({ | 117 | return request({ |
118 | url: 'fw/lpb/getLpbQsxtj?zrzbsm='+data.zrzbsm+'&scyclx='+data.scyclx, | 118 | url: '/fw/lpb/getLpbQsxtj?zrzbsm='+data.zrzbsm+'&scyclx='+data.scyclx, |
119 | method: 'get', | 119 | method: 'get', |
120 | data:data | 120 | data:data |
121 | }) | 121 | }) | ... | ... |
... | @@ -65,7 +65,7 @@ export default { | ... | @@ -65,7 +65,7 @@ export default { |
65 | }, | 65 | }, |
66 | created() {}, | 66 | created() {}, |
67 | mounted() { | 67 | mounted() { |
68 | this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44; | 68 | // this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44; |
69 | }, | 69 | }, |
70 | computed: {}, | 70 | computed: {}, |
71 | watch: {}, | 71 | watch: {}, | ... | ... |
... | @@ -255,6 +255,7 @@ | ... | @@ -255,6 +255,7 @@ |
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 qsxList" | 261 | v-for="(item, index) in qsxList" |
... | @@ -267,8 +268,11 @@ | ... | @@ -267,8 +268,11 @@ |
267 | >{{ item.name }} | 268 | >{{ item.name }} |
268 | </td> | 269 | </td> |
269 | <td>{{ item.ts }}</td> | 270 | <td>{{ item.ts }}</td> |
271 | <td>0</td> | ||
272 | </tr> | ||
273 | <tr v-show="qsxList.length < 1"> | ||
274 | <td colspan="3" class="tac">暂无数据</td> | ||
270 | </tr> | 275 | </tr> |
271 | |||
272 | </table> | 276 | </table> |
273 | </div> | 277 | </div> |
274 | </div> | 278 | </div> |
... | @@ -351,7 +355,7 @@ import addZdy from "./zdy/index"; | ... | @@ -351,7 +355,7 @@ import addZdy from "./zdy/index"; |
351 | import addCh from "./ch/index"; | 355 | import addCh from "./ch/index"; |
352 | import editCinfo from "./c/index"; | 356 | import editCinfo from "./c/index"; |
353 | import lpbContent from "./lpbContent/index"; | 357 | import lpbContent from "./lpbContent/index"; |
354 | import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz,getLpbQsxtj,batchCommit,batchDelete} from "@api/lpb"; | 358 | import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit,batchDelete,getLpbQsxtj} from "@api/lpb"; |
355 | import xxxx from '../xxxx/index' | 359 | import xxxx from '../xxxx/index' |
356 | 360 | ||
357 | export default { | 361 | export default { |
... | @@ -912,7 +916,7 @@ export default { | ... | @@ -912,7 +916,7 @@ export default { |
912 | } | 916 | } |
913 | }); | 917 | }); |
914 | }, | 918 | }, |
915 | // 获取房屋用途和房屋性质统计数据 | 919 | // 获取房屋用途和房屋性质及缺失项统计数据 |
916 | getLpbFwytAndQlxz(){ | 920 | getLpbFwytAndQlxz(){ |
917 | let data = { | 921 | let data = { |
918 | zrzbsm: this.$store.state.zrzbsm, | 922 | zrzbsm: this.$store.state.zrzbsm, |
... | @@ -937,29 +941,28 @@ export default { | ... | @@ -937,29 +941,28 @@ export default { |
937 | } | 941 | } |
938 | } | 942 | } |
939 | }); | 943 | }); |
940 | }, | ||
941 | //获取楼盘表缺失项统计 | ||
942 | getLpbQsxtj(){ | ||
943 | let data = { | ||
944 | zrzbsm: this.$store.state.zrzbsm, | ||
945 | scyclx: this.scyclx, | ||
946 | }; | ||
947 | getLpbQsxtj(data).then((res) => { | 944 | getLpbQsxtj(data).then((res) => { |
948 | if (res.code === 200) { | 945 | if (res.code === 200) { |
949 | this.qsxList = res.result; | 946 | this.qsxList = [ |
950 | // this.fwxzList = res.result.qlxz; | 947 | { |
951 | if(this.qsxList.length>0){ | 948 | name:'坐落', |
952 | this.qsxList.forEach(item=>{ | 949 | bsms:res.result.zl.bsms, |
953 | item.color = "#2591FD"; | 950 | color:'#2591FD', |
954 | item.ts = item.hcount; | 951 | ts:res.result.zl.bsms.length |
955 | }) | 952 | }, |
956 | } | 953 | { |
957 | // if(this.fwxzList.length>0){ | 954 | name:'分层分户图', |
958 | // this.fwxzList.forEach(item=>{ | 955 | bsms:res.result.fcfht.bsms, |
959 | // item.color = "#2591FD"; | 956 | color:'#2591FD', |
960 | // item.ts = item.bsms.length | 957 | ts:res.result.fcfht.bsms.length |
961 | // }) | 958 | }, |
962 | // } | 959 | { |
960 | name:'室号', | ||
961 | bsms:res.result.shbw.bsms, | ||
962 | color:'#2591FD', | ||
963 | ts:res.result.shbw.bsms.length | ||
964 | } | ||
965 | ] | ||
963 | } | 966 | } |
964 | }); | 967 | }); |
965 | } | 968 | } | ... | ... |
-
Please register or sign in to post a comment