Commit 2a646ec4 authored by chenzj's avatar chenzj

异常报告的提示信息

parent 1fdf7786
......@@ -2626,8 +2626,14 @@ export default {
},
async newlyAddss() {
const res = await this.$u.api.abnormal.newlyAdd(this.ExceptionForms);
this.$u.toast('上报成功');
const res = await this.$u.api.abnormal.newlyAdd(this.ExceptionForms).then((res)=>{
if(res.code === 200){
this.$u.toast('上报成功');
}else{
this.$u.toast(res.msg);
}
});
this.getTaskList();
},
cancel() {
......
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