Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 year ago
parent
commit
f901af2410
1 changed files with 12 additions and 12 deletions
  1. 12 12
      src/xt_pages/data/components/drugs.vue

+ 12 - 12
src/xt_pages/data/components/drugs.vue View File

@@ -1461,18 +1461,18 @@
1461 1461
         console.log("params222222222",params)
1462 1462
 
1463 1463
 
1464
-        // postDrugInformation(params).then(response=>{
1465
-        //    if(response.data.state == 1){
1466
-        //      var msg =  response.data.data.msg;
1467
-        //      this.getList();
1468
-        //      this.getAllManufacturer();
1469
-        //      this.GetAllConfig();
1470
-        //      this.$message.success("导入成功!")
1471
-        //
1472
-        //    }else{
1473
-        //      this.$message.error("导入失败,请下载日志查看")
1474
-        //    }
1475
-        // })
1464
+        postDrugInformation(params).then(response=>{
1465
+           if(response.data.state == 1){
1466
+             var msg =  response.data.data.msg;
1467
+             this.getList();
1468
+             this.getAllManufacturer();
1469
+             this.GetAllConfig();
1470
+             this.$message.success("导入成功!")
1471
+        
1472
+           }else{
1473
+             this.$message.error("导入失败,请下载日志查看")
1474
+           }
1475
+        })
1476 1476
       },
1477 1477
       generateTxt: function(log) {
1478 1478
         var content = '';