|
|
@@ -1091,6 +1091,8 @@
|
|
|
:show.sync="suitDetailShow"
|
|
|
:detail="suitDetailData"
|
|
|
:loading="suitDetailLoading"
|
|
|
+ :title="suitDetailTitle"
|
|
|
+ :mode="suitDetailMode"
|
|
|
@turn="onSuitDetailTurn"
|
|
|
/>
|
|
|
|
|
|
@@ -1281,6 +1283,8 @@ export default {
|
|
|
suitDetailData: {},
|
|
|
suitDetailLoading: false,
|
|
|
suitDetailPid: "",
|
|
|
+ suitDetailTitle: "我的协定方", // 顶层详情弹窗标题(医派协定方=「医派协定方」)
|
|
|
+ suitDetailMode: "agreement", // 顶层详情弹窗底部模式(unify=医派+科室)
|
|
|
_prescribingInited: false,
|
|
|
|
|
|
isMyMade: true, // 是否是自拟处方
|
|
|
@@ -4180,9 +4184,12 @@ console.log(res, "处方回显数据==处方管理",res.Data.type);
|
|
|
}, 500);
|
|
|
}
|
|
|
},
|
|
|
- async openSuitDetail(pid) {
|
|
|
+ async openSuitDetail(pid, mode = "agreement") {
|
|
|
if (!pid) return;
|
|
|
this.suitDetailPid = pid;
|
|
|
+ // 医派协定方(unify):标题「医派协定方」、底部展示医派+科室;否则默认「我的协定方」+分享医生
|
|
|
+ this.suitDetailMode = mode;
|
|
|
+ this.suitDetailTitle = mode === "unify" ? "医派协定方" : "我的协定方";
|
|
|
this.suitDetailLoading = true;
|
|
|
this.suitDetailShow = true;
|
|
|
try {
|