Ver código fonte

导出诊断依据前先判断是否无问题词

zhangxc 6 anos atrás
pai
commit
fbf6fc70f4
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      src/components/diagBase/AddDiagBase.vue

+ 3 - 3
src/components/diagBase/AddDiagBase.vue

@@ -273,7 +273,7 @@
             }
         },
         updateNeo() {
-            this.diagBaseVerifyData().then(() => {
+            this.submitForm().then(() => {
                 if(this.hasQuestion == 0) {
                     const param = {
                         id: this.id,
@@ -290,7 +290,7 @@
         },
         exportDiagnosticAll(){
             
-            this.diagBaseVerifyData().then(() => {
+            this.submitForm().then(() => {
                 if(this.hasQuestion == 0) {
                         const param = {
                         diagnoseId: this.id
@@ -399,7 +399,7 @@
                 return
             }
             // this.showDelDialog()
-            this.diagBaseVerifyData()
+            return this.diagBaseVerifyData()
            
         },
         diagBaseVerifyData() {