소스 검색

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

cc12458 5 달 전
부모
커밋
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() {
     return {
       type: "edit",
-      caseItem: null,
+      caseItem: {},
       radio: 0,
       current: 0,
       suitData: {},
@@ -257,6 +257,7 @@ export default {
   methods: {
     // 切换药方
     changeTab(item, index) {
+      if (this.current === index) return;
       if (item.type == 0) {
         this._getChinesePadDetail(item.pid);
       }
@@ -384,7 +385,7 @@ export default {
           item.detail.forEach(item1 => {
             arr.push(item1.platformdrugid);
           });
-          this.getMedForRecipeA(arr.join(","), item.pid);
+          // this.getMedForRecipeA(arr.join(","), item.pid);
         });
 
         // this.msg.patientprescription.filter(item => {