Przeglądaj źródła

找回 就诊记录 的转方逻辑
recipeID -> getRecipeDataByid

cc12458 1 rok temu
rodzic
commit
75d7bbffec
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      src/views/diagnosis/Prescribing.vue

+ 3 - 1
src/views/diagnosis/Prescribing.vue

@@ -1404,6 +1404,8 @@ export default {
 
       // 名医名方 —> 方剂查询
       if (query.recipeID && query.kjType === "kj-fj") await this.getPreDetal(query.recipeID);
+      // 就诊记录转方
+      else if (query.recipeID) await this.getRecipeDataByid(this.$route.query.recipeID);
       // 名医名方 —> 名医医案
       else if (query.doctorCase) await this.changeAndJoin();
       // 中医诊疗 -> 智能辩证
@@ -3359,7 +3361,7 @@ export default {
           this.assignRecipe3(res.Data, loading);
         }
 
-        this._recipeIsPay(id, 1);
+        await this._recipeIsPay(id, 1);
       }
     },
     //获取右侧协定方列表