|
@@ -276,9 +276,6 @@ export default {
|
|
|
// 分页查询 预托书
|
|
|
getPreBookData() {
|
|
|
this.$nextTick(() => {
|
|
|
- if(this.queryParam.pageNo > 1 && this.preBookListData.length === 1){
|
|
|
- this.queryParam.pageNo = this.queryParam.pageNo -1
|
|
|
- }
|
|
|
preBookList(this.queryParam).then(res => {
|
|
|
if (res.success) {
|
|
|
this.preBookListData = res.result.records;
|
|
@@ -360,6 +357,9 @@ export default {
|
|
|
// 删除
|
|
|
handleDelete(record) {
|
|
|
this.$nextTick(() => {
|
|
|
+ if(this.queryParam.pageNo > 1 && this.preBookListData.length === 1){
|
|
|
+ this.queryParam.pageNo = this.queryParam.pageNo -1
|
|
|
+ }
|
|
|
deletePreBook({ id: record.id }).then(res => {
|
|
|
if (res.success) {
|
|
|
this.getPreBookData()
|