浏览代码

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

zhangxc 6 年之前
父节点
当前提交
fbf6fc70f4
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/components/diagBase/AddDiagBase.vue

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

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