Commit e4145551 by crushh

update: dist

parent d8b3e0cd
......@@ -428,10 +428,15 @@ export default {
cancelBUttonText: '取消',
type: 'warning'
}).then(() => {
stopActivityPlan({ planId: row.planId }).then(res => {
this.$message.success('操作成功');
this.getTableData();
});
this.loading = true;
stopActivityPlan({ planId: row.planId })
.then(res => {
this.$message.success('操作成功');
this.getTableData();
})
.finally(_ => {
this.loading = false;
});
});
},
rebootTask(row) {
......@@ -440,9 +445,15 @@ export default {
cancelBUttonText: '取消',
type: 'warning'
}).then(() => {
startActivityPlan({ planId: row.planId }).then(res => {
this.getTableData();
});
this.loading = true;
startActivityPlan({ planId: row.planId })
.then(res => {
this.$message.success('操作成功');
this.getTableData();
})
.finally(_ => {
this.loading = false;
});
});
},
editPlan(row) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment