8759a906 by 焦泽平
2 parents 523d79c0 5e481272
......@@ -98,7 +98,7 @@ ol, ul { list-style:none; }
.tabs{
>.el-tabs__content{
position: unset;
margin-top: 50px;
margin-top: 40px;
}
>.is-top{
position: -webkit-fixed;
......
......@@ -52,6 +52,11 @@
</el-table-column>
</el-table>
</div>
<div class="pagination">
<el-pagination background layout="prev, pager, next,total" :total="total"
:current-page="pageNo" :page-size="pageSize" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
......@@ -65,6 +70,10 @@
errorLog:[],
concreteLog:'',
total: 0,
pageNo: 1,
pageSize: 50,
outerVisible: false,
innerVisible: false,
......@@ -98,15 +107,21 @@
methods:{
getData(){
let data={
"startTime": "",
"pageNo": 1,
"pageSize": 50
"startTime": this.startValue,
"endTime": this.endValue,
"pageNo": this.pageNo,
"pageSize": this.pageSize
};
getLogData(data).then((res)=>{
console.log(res.result);
this.tableData = res.result.records;
this.total = res.result.total
})
},
handleCurrentChange(val) {
this.pageNo = val;
this.getData();
},
query(){
let data={
"startTime": this.startValue,
......@@ -175,5 +190,8 @@
margin:10px;
}
.pagination {
padding: 18px 0;
}
</style>
\ No newline at end of file
......
......@@ -343,8 +343,8 @@ export default {
this.$nextTick(() => {
this.tableHeight =
(document.documentElement.clientHeight ||
document.body.clientHeight) - 396;
this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 208;
document.body.clientHeight) - 352;
this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 220;
this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6;
});
},
......
......@@ -312,8 +312,8 @@ export default {
this.$nextTick(() => {
this.tableHeight =
(document.documentElement.clientHeight || document.body.clientHeight) -
392;
this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 208;
352;
this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 222;
this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6;
});
},
......
......@@ -731,7 +731,7 @@
}
}
.zxx {
width: calc(60% - 40px);
width: calc(60% - 24px);
margin-left: 20px;
display: flex;
flex-direction: column;
......
......@@ -43,7 +43,7 @@ export default {
},
created() {},
mounted() {
this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 37;
this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44;
},
computed: {},
watch: {},
......
......@@ -584,6 +584,8 @@ export default {
this.$message.success("实预测转换成功");
this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,'1');
this.$refs.lpbContent.loadingData(this.$store.state.zrzbsm,'0');
}else if(res.code === 500) {
this.$message.warning(res.message);
}
});
},
......
......@@ -279,7 +279,7 @@
</div>
<!-- <div class="ch-wrap">层户</div> -->
<div class="zrz" :style="{ width: lpbContentWidth + 'px' }">
{{ lpbData.xmmc }}
<el-checkbox v-model="zrzChecked" @change='lpbSelectAll'>{{ lpbData.xmmc }}</el-checkbox>
</div>
</div>
<ul
......@@ -455,7 +455,8 @@ export default {
fghs:"",
oldbsm:'',
fgfx:0
}
},
zrzChecked:false, //自然幢全选
};
},
created() {},
......@@ -954,6 +955,20 @@ export default {
this.hbsmList.push(this.chData);
}
this.hcxlzVisible = true
},
//楼盘表户全选
lpbSelectAll(value){
if(value){
this.$refs.hBsm.forEach((item) => {
item.className = "tdSelect";
this.hbsmList.push(item.dataset.bsm); // 将户bsm放进hbsmList
});
}else{
this.$refs.hBsm.forEach((item) => {
item.className = "";
this.hbsmList = [];
});
}
}
},
computed: {
......@@ -1235,5 +1250,24 @@ export default {
margin: 20px auto 0;
width: 150px;
}
.el-checkbox{
font-size: 16px;
/deep/.el-checkbox__label{
font-size: 16px;
}
/deep/ .el-checkbox__inner{
width: 16px;
height: 16px;
}
/deep/ .el-checkbox__inner::after{
height: 9px;
left: 4px;
top: 0px;
width: 5px;
}
/deep/ .el-checkbox__input{
top: 1px;
}
}
}
</style>
......