shanyunduo.cheng

特殊配舱规则修改,停用,启用,删除不跳转到第一页

......@@ -152,7 +152,7 @@ export default {
changeStatusById({ id: val.id, status: 2 }).then(res => {
if (res.code === 200) {
this.msgSuccess(`删除成功!已释放舱位${res.data}`)
this.selection(1)
this.selection()
} else {
this.msgWarning(res.msg)
}
......@@ -220,7 +220,7 @@ export default {
} else {
this.msgSuccess(`${val.tip}成功!`)
}
this.selection(1)
this.selection()
} else {
this.msgWarning(res.msg)
}
......@@ -232,7 +232,7 @@ export default {
close() {
this.dialogVisible = false
this.ruleData = {}
this.selection(1)
this.selection()
},
//翻页
currentChange(val) {
......