增加更多的方法去掉分页条
This commit is contained in:
parent
cf08bbe7ee
commit
82c5a21646
|
@ -1,4 +1,4 @@
|
||||||
NODE_ENV=development
|
NODE_ENV=development
|
||||||
VUE_APP_API_BASE_URL=http://r4ba683f.natappfree.cc/jeecg-boot
|
VUE_APP_API_BASE_URL=http://pbl1.natapp1.cc/jeecg-boot
|
||||||
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
|
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
|
||||||
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
|
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
|
|
@ -46,6 +46,7 @@
|
||||||
},
|
},
|
||||||
handleClose(){
|
handleClose(){
|
||||||
this.visible =false;
|
this.visible =false;
|
||||||
|
this.$emit('close');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
<!-- table区域-end -->
|
<!-- table区域-end -->
|
||||||
|
|
||||||
<!-- 表单区域 -->
|
<!-- 表单区域 -->
|
||||||
<deleteFileModal ref="modalForm"></deleteFileModal>
|
<deleteFileModal ref="modalForm" @close="deleteclose"></deleteFileModal>
|
||||||
|
|
||||||
</a-card>
|
</a-card>
|
||||||
</template>
|
</template>
|
||||||
|
@ -132,6 +132,11 @@
|
||||||
this.loadData();
|
this.loadData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
deleteclose(){
|
||||||
|
this.ipagination.total = 0;
|
||||||
|
this.ipagination.current = 1;
|
||||||
|
this.loadData();
|
||||||
|
},
|
||||||
//筛选需要重写handleTableChange
|
//筛选需要重写handleTableChange
|
||||||
handleTableChange(pagination, filters, sorter) {
|
handleTableChange(pagination, filters, sorter) {
|
||||||
//分页、排序、筛选变化时触发
|
//分页、排序、筛选变化时触发
|
||||||
|
@ -185,9 +190,6 @@
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message);
|
||||||
}
|
}
|
||||||
this.ipagination.total = 0;
|
|
||||||
this.ipagination.current = 1;
|
|
||||||
this.loadData();
|
|
||||||
});
|
});
|
||||||
this.$refs.modalForm.open();
|
this.$refs.modalForm.open();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user