Prechádzať zdrojové kódy

代办事项-提交失败-提示原因

jbb 1 rok pred
rodič
commit
cbc2e82ec1

+ 3 - 0
src/views/activiti/operation/todoManageOperation.vue

@@ -284,6 +284,7 @@ export default {
       this.modalTaskVisible = true
     },
     async handelSubmit() {
+      debugger
       console.log('提交')
       this.submitLoading = true
       var formData = Object.assign({}, this.form)
@@ -335,6 +336,8 @@ export default {
               this.modalTaskVisible = false
               //刷新父组件数据
               this.$emit('refreshToDo')
+            }else{
+              this.$message.error(res.message)
             }
           })
         }