From 2596f7a9c843de0bd8adad2d7b0b5a68de7d0af8 Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期四, 04 九月 2025 20:53:16 +0800
Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdmweb

---
 src/views/flowmgr/taskassign.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/views/flowmgr/taskassign.vue b/src/views/flowmgr/taskassign.vue
index 83f95b7..5096daf 100644
--- a/src/views/flowmgr/taskassign.vue
+++ b/src/views/flowmgr/taskassign.vue
@@ -296,12 +296,18 @@
         data: form,
       }).then(
         res => {
-          this.$message({
-            type: 'success',
-            message: '鎿嶄綔鎴愬姛!',
-          });
-          this.$refs.form.resetForm();
-          this.attachForm = this.defaultForm;
+          
+          if(res.data.code == 200){
+            this.$message({
+              type: 'success',
+              message: '鎿嶄綔鎴愬姛!',
+            });
+            this.$refs.form.resetForm();
+            this.attachForm = this.defaultForm;
+            
+          }else{
+            this.$alert(res.data.msg, '鍙戣捣浠诲姟澶辫触',{type:'error',confirmButtonText:'鍏抽棴'});
+          }
           done();
         },
         error => {

--
Gitblit v1.9.3