扩充显示范围

cyl/dev
jscyl13849007907 1 year ago
parent d45226752f
commit d08d86281a

@ -12,7 +12,7 @@
<a href="javascript:;" style="color: #1890ff;" @click="selectedJob(record)"></a> <a href="javascript:;" style="color: #1890ff;" @click="selectedJob(record)"></a>
</span> </span>
</a-table> </a-table>
<div class="pagecontainer f40" style="justify-content: start;"> <div class="pagecontainer f40" style="justify-content: start;margin-bottom: 0;">
<a-pagination :current="+formvalue.pageNum" :default-current="1" :defaultPageSize="20" :total="formvalue.total" @change="pageChange" /> <a-pagination :current="+formvalue.pageNum" :default-current="1" :defaultPageSize="20" :total="formvalue.total" @change="pageChange" />
<div class="ant-pagination-options-quick-jumper"> <div class="ant-pagination-options-quick-jumper">
跳至 跳至
@ -124,8 +124,7 @@ export default {
}, },
watch: { watch: {
"isModalVisible"(newV, old) { "isModalVisible"(newV, old) {
console.log(old, newV); this.tableScroll = window.innerHeight - 400;
this.tableScroll = window.innerHeight - 450;
if (newV) { if (newV) {
this.getJobList(); this.getJobList();
}else{ }else{
@ -134,8 +133,7 @@ export default {
}, },
}, },
created() { created() {
console.log(123); this.tableScroll = window.innerHeight - 400;
this.tableScroll = window.innerHeight - 450;
this.getJobList(); this.getJobList();
}, },
methods: { methods: {

Loading…
Cancel
Save