过程项问题修改

dev-scheduling
zhangdi 2 months ago
parent 28425174fb
commit 12834dd2f5
  1. 16
      src/views/processManagement/components/inPlantMaintenance.vue

@ -331,7 +331,13 @@ export default {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
}).then(() => {}); }).then(() => {
let ids = this.selectionList.map(item => item.id);
remove(ids.join(',')).then(() => {
this.$message.success('删除成功');
this.onLoad(this.page,this.query);
});
});
}, },
// //
selectionChange(list) { selectionChange(list) {
@ -344,7 +350,7 @@ export default {
// //
const data = res.data.data; const data = res.data.data;
row.id = data.id; row.id = data.id;
this.onLoad(this.page); this.onLoad(this.page,this.query);
this.$message({ this.$message({
type: 'success', type: 'success',
message: '操作成功!', message: '操作成功!',
@ -367,7 +373,7 @@ export default {
message: '操作成功!', message: '操作成功!',
}); });
// //
this.onLoad(this.page); this.onLoad(this.page,this.query);
done(); done();
}, },
error => { error => {
@ -392,7 +398,7 @@ export default {
}); });
// //
done(); done();
this.onLoad(this.page); this.onLoad(this.page,this.query);
this.$message({ this.$message({
type: 'success', type: 'success',
message: '操作成功!', message: '操作成功!',
@ -403,7 +409,7 @@ export default {
searchReset() { searchReset() {
this.query = {}; this.query = {};
this.parentId = 0; this.parentId = 0;
this.onLoad(this.page); this.onLoad(this.page,this.query);
}, },
// //
searchChange(params, done) { searchChange(params, done) {

Loading…
Cancel
Save