奇淼(piexlmax
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with
12 additions and
12 deletions
-
server/resource/template/web/table.vue.tpl
-
web/src/view/example/customer/customer.vue
-
web/src/view/example/upload/upload.vue
-
web/src/view/superAdmin/api/api.vue
-
web/src/view/superAdmin/authority/authority.vue
-
web/src/view/superAdmin/dictionary/sysDictionary.vue
-
web/src/view/superAdmin/dictionary/sysDictionaryDetail.vue
-
web/src/view/superAdmin/menu/menu.vue
-
web/src/view/superAdmin/operation/sysOperationRecord.vue
|
|
@ -228,7 +228,7 @@ export default { |
|
|
|
type: 'success', |
|
|
|
message: '删除成功' |
|
|
|
}) |
|
|
|
if (this.tableData.length == ids.length) { |
|
|
|
if (this.tableData.length == ids.length && this.page > 1) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.deleteVisible = false |
|
|
@ -272,7 +272,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|
|
|
@ -125,7 +125,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|
|
|
@ -116,7 +116,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功!" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|
|
|
@ -199,7 +199,7 @@ export default { |
|
|
|
type:"success", |
|
|
|
message:res.msg |
|
|
|
}) |
|
|
|
if (this.tableData.length == ids.length) { |
|
|
|
if (this.tableData.length == ids.length && this.page > 1) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.deleteVisible = false |
|
|
@ -265,7 +265,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功!" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|
|
|
@ -191,7 +191,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功!" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|
|
|
@ -220,7 +220,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|
|
|
@ -209,7 +209,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|
|
|
@ -324,7 +324,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功!" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|
|
|
@ -177,7 +177,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功" |
|
|
|
}); |
|
|
|
if (this.tableData.length == ids.length) { |
|
|
|
if (this.tableData.length == ids.length && this.page > 1) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.deleteVisible = false; |
|
|
@ -192,7 +192,7 @@ export default { |
|
|
|
type: "success", |
|
|
|
message: "删除成功" |
|
|
|
}); |
|
|
|
if (this.tableData.length == 1) { |
|
|
|
if (this.tableData.length == 1 && this.page > 1 ) { |
|
|
|
this.page--; |
|
|
|
} |
|
|
|
this.getTableData(); |
|
|
|