Commit 94a6169b authored by renjintao's avatar renjintao

task

parent 9944ef44
...@@ -395,8 +395,14 @@ export default { ...@@ -395,8 +395,14 @@ export default {
Api.updatestatus(params).then(r => { Api.updatestatus(params).then(r => {
if (r.success) { if (r.success) {
this.$refs.grid.load(); this.$refs.grid.load();
this.$Message.success('修改成功') this.$Message.success('操作成功')
} else {
this.$Message.error('操作失败')
} }
}).catch(err => {
this.disabled = false;
this.$Message.error('操作失败')
console.warn(err)
}) })
}, },
onSelect(val) { onSelect(val) {
......
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