shanyunduo.cheng

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

...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
152 changeStatusById({ id: val.id, status: 2 }).then(res => { 152 changeStatusById({ id: val.id, status: 2 }).then(res => {
153 if (res.code === 200) { 153 if (res.code === 200) {
154 this.msgSuccess(`删除成功!已释放舱位${res.data}`) 154 this.msgSuccess(`删除成功!已释放舱位${res.data}`)
155 - this.selection(1) 155 + this.selection()
156 } else { 156 } else {
157 this.msgWarning(res.msg) 157 this.msgWarning(res.msg)
158 } 158 }
...@@ -220,7 +220,7 @@ export default { ...@@ -220,7 +220,7 @@ export default {
220 } else { 220 } else {
221 this.msgSuccess(`${val.tip}成功!`) 221 this.msgSuccess(`${val.tip}成功!`)
222 } 222 }
223 - this.selection(1) 223 + this.selection()
224 } else { 224 } else {
225 this.msgWarning(res.msg) 225 this.msgWarning(res.msg)
226 } 226 }
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
232 close() { 232 close() {
233 this.dialogVisible = false 233 this.dialogVisible = false
234 this.ruleData = {} 234 this.ruleData = {}
235 - this.selection(1) 235 + this.selection()
236 }, 236 },
237 //翻页 237 //翻页
238 currentChange(val) { 238 currentChange(val) {
......