Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/CadastralSystem
Showing
8 changed files
with
66 additions
and
12 deletions
... | @@ -98,7 +98,7 @@ ol, ul { list-style:none; } | ... | @@ -98,7 +98,7 @@ ol, ul { list-style:none; } |
98 | .tabs{ | 98 | .tabs{ |
99 | >.el-tabs__content{ | 99 | >.el-tabs__content{ |
100 | position: unset; | 100 | position: unset; |
101 | margin-top: 50px; | 101 | margin-top: 40px; |
102 | } | 102 | } |
103 | >.is-top{ | 103 | >.is-top{ |
104 | position: -webkit-fixed; | 104 | position: -webkit-fixed; | ... | ... |
... | @@ -52,6 +52,11 @@ | ... | @@ -52,6 +52,11 @@ |
52 | </el-table-column> | 52 | </el-table-column> |
53 | </el-table> | 53 | </el-table> |
54 | </div> | 54 | </div> |
55 | <div class="pagination"> | ||
56 | <el-pagination background layout="prev, pager, next,total" :total="total" | ||
57 | :current-page="pageNo" :page-size="pageSize" @current-change="handleCurrentChange"> | ||
58 | </el-pagination> | ||
59 | </div> | ||
55 | </div> | 60 | </div> |
56 | </template> | 61 | </template> |
57 | 62 | ||
... | @@ -65,6 +70,10 @@ | ... | @@ -65,6 +70,10 @@ |
65 | errorLog:[], | 70 | errorLog:[], |
66 | concreteLog:'', | 71 | concreteLog:'', |
67 | 72 | ||
73 | total: 0, | ||
74 | pageNo: 1, | ||
75 | pageSize: 50, | ||
76 | |||
68 | outerVisible: false, | 77 | outerVisible: false, |
69 | innerVisible: false, | 78 | innerVisible: false, |
70 | 79 | ||
... | @@ -98,15 +107,21 @@ | ... | @@ -98,15 +107,21 @@ |
98 | methods:{ | 107 | methods:{ |
99 | getData(){ | 108 | getData(){ |
100 | let data={ | 109 | let data={ |
101 | "startTime": "", | 110 | "startTime": this.startValue, |
102 | "pageNo": 1, | 111 | "endTime": this.endValue, |
103 | "pageSize": 50 | 112 | "pageNo": this.pageNo, |
113 | "pageSize": this.pageSize | ||
104 | }; | 114 | }; |
105 | getLogData(data).then((res)=>{ | 115 | getLogData(data).then((res)=>{ |
106 | console.log(res.result); | 116 | console.log(res.result); |
107 | this.tableData = res.result.records; | 117 | this.tableData = res.result.records; |
118 | this.total = res.result.total | ||
108 | }) | 119 | }) |
109 | }, | 120 | }, |
121 | handleCurrentChange(val) { | ||
122 | this.pageNo = val; | ||
123 | this.getData(); | ||
124 | }, | ||
110 | query(){ | 125 | query(){ |
111 | let data={ | 126 | let data={ |
112 | "startTime": this.startValue, | 127 | "startTime": this.startValue, |
... | @@ -175,5 +190,8 @@ | ... | @@ -175,5 +190,8 @@ |
175 | margin:10px; | 190 | margin:10px; |
176 | } | 191 | } |
177 | 192 | ||
193 | .pagination { | ||
194 | padding: 18px 0; | ||
195 | } | ||
178 | 196 | ||
179 | </style> | 197 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -343,8 +343,8 @@ export default { | ... | @@ -343,8 +343,8 @@ export default { |
343 | this.$nextTick(() => { | 343 | this.$nextTick(() => { |
344 | this.tableHeight = | 344 | this.tableHeight = |
345 | (document.documentElement.clientHeight || | 345 | (document.documentElement.clientHeight || |
346 | document.body.clientHeight) - 396; | 346 | document.body.clientHeight) - 352; |
347 | this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 208; | 347 | this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 220; |
348 | this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6; | 348 | this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6; |
349 | }); | 349 | }); |
350 | }, | 350 | }, | ... | ... |
... | @@ -312,8 +312,8 @@ export default { | ... | @@ -312,8 +312,8 @@ export default { |
312 | this.$nextTick(() => { | 312 | this.$nextTick(() => { |
313 | this.tableHeight = | 313 | this.tableHeight = |
314 | (document.documentElement.clientHeight || document.body.clientHeight) - | 314 | (document.documentElement.clientHeight || document.body.clientHeight) - |
315 | 392; | 315 | 352; |
316 | this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 208; | 316 | this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 222; |
317 | this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6; | 317 | this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6; |
318 | }); | 318 | }); |
319 | }, | 319 | }, | ... | ... |
... | @@ -43,7 +43,7 @@ export default { | ... | @@ -43,7 +43,7 @@ export default { |
43 | }, | 43 | }, |
44 | created() {}, | 44 | created() {}, |
45 | mounted() { | 45 | mounted() { |
46 | this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 37; | 46 | this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44; |
47 | }, | 47 | }, |
48 | computed: {}, | 48 | computed: {}, |
49 | watch: {}, | 49 | watch: {}, | ... | ... |
... | @@ -584,6 +584,8 @@ export default { | ... | @@ -584,6 +584,8 @@ export default { |
584 | this.$message.success("实预测转换成功"); | 584 | this.$message.success("实预测转换成功"); |
585 | this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,'1'); | 585 | this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,'1'); |
586 | this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,'0'); | 586 | this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,'0'); |
587 | }else if(res.code === 500) { | ||
588 | this.$message.warning(res.message); | ||
587 | } | 589 | } |
588 | }); | 590 | }); |
589 | }, | 591 | }, | ... | ... |
... | @@ -279,7 +279,7 @@ | ... | @@ -279,7 +279,7 @@ |
279 | </div> | 279 | </div> |
280 | <!-- <div class="ch-wrap">层户</div> --> | 280 | <!-- <div class="ch-wrap">层户</div> --> |
281 | <div class="zrz" :style="{ width: lpbContentWidth + 'px' }"> | 281 | <div class="zrz" :style="{ width: lpbContentWidth + 'px' }"> |
282 | {{ lpbData.xmmc }} | 282 | <el-checkbox v-model="zrzChecked" @change='lpbSelectAll'>{{ lpbData.xmmc }}</el-checkbox> |
283 | </div> | 283 | </div> |
284 | </div> | 284 | </div> |
285 | <ul | 285 | <ul |
... | @@ -455,7 +455,8 @@ export default { | ... | @@ -455,7 +455,8 @@ export default { |
455 | fghs:"", | 455 | fghs:"", |
456 | oldbsm:'', | 456 | oldbsm:'', |
457 | fgfx:0 | 457 | fgfx:0 |
458 | } | 458 | }, |
459 | zrzChecked:false, //自然幢全选 | ||
459 | }; | 460 | }; |
460 | }, | 461 | }, |
461 | created() {}, | 462 | created() {}, |
... | @@ -954,6 +955,20 @@ export default { | ... | @@ -954,6 +955,20 @@ export default { |
954 | this.hbsmList.push(this.chData); | 955 | this.hbsmList.push(this.chData); |
955 | } | 956 | } |
956 | this.hcxlzVisible = true | 957 | this.hcxlzVisible = true |
958 | }, | ||
959 | //楼盘表户全选 | ||
960 | lpbSelectAll(value){ | ||
961 | if(value){ | ||
962 | this.$refs.hBsm.forEach((item) => { | ||
963 | item.className = "tdSelect"; | ||
964 | this.hbsmList.push(item.dataset.bsm); // 将户bsm放进hbsmList | ||
965 | }); | ||
966 | }else{ | ||
967 | this.$refs.hBsm.forEach((item) => { | ||
968 | item.className = ""; | ||
969 | this.hbsmList = []; | ||
970 | }); | ||
971 | } | ||
957 | } | 972 | } |
958 | }, | 973 | }, |
959 | computed: { | 974 | computed: { |
... | @@ -1235,5 +1250,24 @@ export default { | ... | @@ -1235,5 +1250,24 @@ export default { |
1235 | margin: 20px auto 0; | 1250 | margin: 20px auto 0; |
1236 | width: 150px; | 1251 | width: 150px; |
1237 | } | 1252 | } |
1253 | .el-checkbox{ | ||
1254 | font-size: 16px; | ||
1255 | /deep/.el-checkbox__label{ | ||
1256 | font-size: 16px; | ||
1257 | } | ||
1258 | /deep/ .el-checkbox__inner{ | ||
1259 | width: 16px; | ||
1260 | height: 16px; | ||
1261 | } | ||
1262 | /deep/ .el-checkbox__inner::after{ | ||
1263 | height: 9px; | ||
1264 | left: 4px; | ||
1265 | top: 0px; | ||
1266 | width: 5px; | ||
1267 | } | ||
1268 | /deep/ .el-checkbox__input{ | ||
1269 | top: 1px; | ||
1270 | } | ||
1271 | } | ||
1238 | } | 1272 | } |
1239 | </style> | 1273 | </style> | ... | ... |
-
Please register or sign in to post a comment