Просмотр исходного кода

bug-450 注释调用合理用药信息接口

cc12458 5 месяцев назад
Родитель
Сommit
31b1aecdf6
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/views/business/RecipeAuditD.vue

+ 3 - 2
src/views/business/RecipeAuditD.vue

@@ -224,7 +224,7 @@ export default {
   data() {
   data() {
     return {
     return {
       type: "edit",
       type: "edit",
-      caseItem: null,
+      caseItem: {},
       radio: 0,
       radio: 0,
       current: 0,
       current: 0,
       suitData: {},
       suitData: {},
@@ -257,6 +257,7 @@ export default {
   methods: {
   methods: {
     // 切换药方
     // 切换药方
     changeTab(item, index) {
     changeTab(item, index) {
+      if (this.current === index) return;
       if (item.type == 0) {
       if (item.type == 0) {
         this._getChinesePadDetail(item.pid);
         this._getChinesePadDetail(item.pid);
       }
       }
@@ -384,7 +385,7 @@ export default {
           item.detail.forEach(item1 => {
           item.detail.forEach(item1 => {
             arr.push(item1.platformdrugid);
             arr.push(item1.platformdrugid);
           });
           });
-          this.getMedForRecipeA(arr.join(","), item.pid);
+          // this.getMedForRecipeA(arr.join(","), item.pid);
         });
         });
 
 
         // this.msg.patientprescription.filter(item => {
         // this.msg.patientprescription.filter(item => {