|
@@ -498,100 +498,9 @@
|
|
|
<div class="pre-title mr-t10" v-if="container_i!=2">
|
|
<div class="pre-title mr-t10" v-if="container_i!=2">
|
|
|
<div class="flex-vertical-center-l title-container">
|
|
<div class="flex-vertical-center-l title-container">
|
|
|
<span></span>
|
|
<span></span>
|
|
|
- <div>安全合理用药检测</div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="patiens-msg mr-t10" v-if="rationalMed.length>0">
|
|
|
|
|
- <div class="p" v-if="raDoseShow">
|
|
|
|
|
- <!-- {{item.matname}}({{item.matbzjj}}) -->
|
|
|
|
|
- <!-- <div class="patiens-name">{{item.matname}}</div> -->
|
|
|
|
|
- <div class="patiens-cate">超剂量药品:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed10" :key="index">
|
|
|
|
|
- <span v-if="item.showDose">
|
|
|
|
|
- <span class="matname">{{item.matname}}</span>
|
|
|
|
|
- <span style="color:red;">({{item.matmindosage}}-{{item.matmaxdosage}})</span>
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="p" v-if="rationalMed2.length>0">
|
|
|
|
|
- <div class="patiens-cate">慎忌禁用药:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed2" :key="index">
|
|
|
|
|
- <span v-if="item.matsjj">
|
|
|
|
|
- <span class="matname">{{item.matname}}</span>
|
|
|
|
|
- ({{item.matsjj}})
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="p" v-if="rationalMed3.length>0">
|
|
|
|
|
- <div class="patiens-cate">孕妇慎忌禁:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed3" :key="index">
|
|
|
|
|
- <span v-if="item.matyfsjj">
|
|
|
|
|
- <span class="matname">{{item.matname}}</span>
|
|
|
|
|
- <span :style="{color:item.matyfsj==3?'red':''}">({{item.matyfsjj |fyfsjj}})</span>
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="p" v-if="rationalMed4.length>0">
|
|
|
|
|
- <div class="patiens-cate">服药饮食禁忌:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed4" :key="index">
|
|
|
|
|
- <span v-if="item.matysjj">
|
|
|
|
|
- <span class="matname">{{item.matname}}</span>
|
|
|
|
|
- ({{item.matysjj?item.matysjj:'无'}})
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="p" v-if="rationalMed5.length>0">
|
|
|
|
|
- <div class="patiens-cate">药物毒性说明:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed5" :key="index">
|
|
|
|
|
- <span v-if="item.matdxsm">
|
|
|
|
|
- <span class="matname" style="color:red;">{{item.matname}}</span>
|
|
|
|
|
- ({{item.matdxsm?item.matdxsm:'无'}})
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="p" v-if="rationalMed6.length>0">
|
|
|
|
|
- <div class="patiens-cate">病证用药禁忌:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed6" :key="index">
|
|
|
|
|
- <span v-if="item.matbzjj">
|
|
|
|
|
- <span class="matname">{{item.matname}}</span>
|
|
|
|
|
- ({{item.matbzjj?item.matbzjj:'无'}})
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="p" v-if="rationalMed7.length>0">
|
|
|
|
|
- <div class="patiens-cate">十八反:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed7" :key="index">
|
|
|
|
|
- <!-- <span v-if='item.matsbf'>{{fsbf(item.matsbf,item.matname)}}</span> -->
|
|
|
|
|
- <span v-if="item.matsbf">
|
|
|
|
|
- <span style="color:red;">{{item.matname}}</span>
|
|
|
|
|
- 反{{item.matsbf}}
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="p" v-if="rationalMed8.length>0">
|
|
|
|
|
- <div class="patiens-cate">十九畏:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed8" :key="index">
|
|
|
|
|
- <!-- <span v-if="item.matsjw">{{fsjw(item.matsjw,item.matname)}}</span> -->
|
|
|
|
|
- <span v-if="item.matsjw">
|
|
|
|
|
- <span style="color:red;">{{item.matname}}</span>
|
|
|
|
|
- 畏{{item.matsjw}}
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="p" v-if="rationalMed9.length>0">
|
|
|
|
|
- <div class="patiens-cate">用药不宜:</div>
|
|
|
|
|
- <div class="patiens-desc" v-for="(item,index) in rationalMed9" :key="index">
|
|
|
|
|
- <span v-if="item.matby">{{fmatby(item.matby,item.matname) }}</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div>安全合理用药检测<i style="margin-left: 2px;" class="el-icon-loading" v-if="reasonableSafeMedicinesLoading"></i></div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="patiens-msg reasonable-safe-medicines-wrapper" v-html="reasonableSafeMedicinesHTML"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -1105,8 +1014,8 @@
|
|
|
distanceTop="5vh"
|
|
distanceTop="5vh"
|
|
|
:destroyOnClose="true"
|
|
:destroyOnClose="true"
|
|
|
>
|
|
>
|
|
|
- <div slot="body">
|
|
|
|
|
- <safeDrug v-if="showSafeD"></safeDrug>
|
|
|
|
|
|
|
+ <div slot="body" v-loading="reasonableSafeMedicinesLoading">
|
|
|
|
|
+ <div class="patiens-msg reasonable-safe-medicines-wrapper" v-html="reasonableSafeMedicinesHTML"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</Popup>
|
|
</Popup>
|
|
|
|
|
|
|
@@ -1180,7 +1089,13 @@ import {
|
|
|
getAcupointD,
|
|
getAcupointD,
|
|
|
getMedDetail
|
|
getMedDetail
|
|
|
} from "@/api/knowledge.js";
|
|
} from "@/api/knowledge.js";
|
|
|
-import {legacyDeduceIllnessPrescriptionMethod} from '@/request/api';
|
|
|
|
|
|
|
+import {
|
|
|
|
|
+ legacyDeduceIllnessPrescriptionMethod,
|
|
|
|
|
+ checkReasonableSafeMedicinesMethod,
|
|
|
|
|
+} from '@/request/api';
|
|
|
|
|
+import {
|
|
|
|
|
+ ReasonableSafeMedicine,
|
|
|
|
|
+} from '@/request/model';
|
|
|
|
|
|
|
|
import { mapState, mapGetters, mapActions, mapMutations } from "vuex";
|
|
import { mapState, mapGetters, mapActions, mapMutations } from "vuex";
|
|
|
import { getExperinceDetail } from "@/api/business.js";
|
|
import { getExperinceDetail } from "@/api/business.js";
|
|
@@ -1190,6 +1105,9 @@ import prescribing from "../../utils/minix/prescribing";
|
|
|
import {formatPicture} from "@/utils/picture";
|
|
import {formatPicture} from "@/utils/picture";
|
|
|
import {CC_Dosage2Basis} from '@/utils/medicine';
|
|
import {CC_Dosage2Basis} from '@/utils/medicine';
|
|
|
import AiEModal from '@/components/AiEModal.vue';
|
|
import AiEModal from '@/components/AiEModal.vue';
|
|
|
|
|
+import {tryRun} from '@/tool';
|
|
|
|
|
+
|
|
|
|
|
+const reasonableSafeMedicine = new ReasonableSafeMedicine();
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [prescribing],
|
|
mixins: [prescribing],
|
|
@@ -1306,6 +1224,11 @@ export default {
|
|
|
loadMore: true,
|
|
loadMore: true,
|
|
|
key: ""
|
|
key: ""
|
|
|
},
|
|
},
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 合理安全用药解析数据
|
|
|
|
|
+ */
|
|
|
|
|
+ reasonableSafeMedicinesHTML: '',
|
|
|
|
|
+ reasonableSafeMedicinesLoading: false,
|
|
|
// 保存右侧合理用药信息
|
|
// 保存右侧合理用药信息
|
|
|
rationalMed: [],
|
|
rationalMed: [],
|
|
|
// 从1-9 分别对应 超剂量 到 19反
|
|
// 从1-9 分别对应 超剂量 到 19反
|
|
@@ -1906,6 +1829,7 @@ export default {
|
|
|
dose: Number(item1.dose),
|
|
dose: Number(item1.dose),
|
|
|
drugName: item1.name,
|
|
drugName: item1.name,
|
|
|
drugid: item1.medid,
|
|
drugid: item1.medid,
|
|
|
|
|
+ platformdrugid: item1.matid,
|
|
|
origin: item1.originname,
|
|
origin: item1.originname,
|
|
|
seqn: item1.id,
|
|
seqn: item1.id,
|
|
|
specification: item1.spec,
|
|
specification: item1.spec,
|
|
@@ -2280,6 +2204,9 @@ export default {
|
|
|
usageList: [],
|
|
usageList: [],
|
|
|
id: item1.seqn,
|
|
id: item1.seqn,
|
|
|
name: item1.drugName,
|
|
name: item1.drugName,
|
|
|
|
|
+ // pid:
|
|
|
|
|
+ matid: item1.platformdrugid, // 知识库
|
|
|
|
|
+ matname: item1.platformdrugname, // 知识库
|
|
|
spec: item1.specification, // 规格
|
|
spec: item1.specification, // 规格
|
|
|
dose: item1.dose, // 剂量
|
|
dose: item1.dose, // 剂量
|
|
|
unit: item1.unit, // 单位
|
|
unit: item1.unit, // 单位
|
|
@@ -2351,7 +2278,8 @@ export default {
|
|
|
|
|
|
|
|
data1.changePharmacy(
|
|
data1.changePharmacy(
|
|
|
arr[arr.length - 1].radio,
|
|
arr[arr.length - 1].radio,
|
|
|
- arr[arr.length - 1].radio
|
|
|
|
|
|
|
+ arr[arr.length - 1].radio,
|
|
|
|
|
+ true,
|
|
|
);
|
|
);
|
|
|
data1.$forceUpdate();
|
|
data1.$forceUpdate();
|
|
|
loading.close();
|
|
loading.close();
|
|
@@ -2562,6 +2490,7 @@ export default {
|
|
|
data1.recipe_tabs[data1.recipe_tabs_c].bottom_form.usege = data.usrage;
|
|
data1.recipe_tabs[data1.recipe_tabs_c].bottom_form.usege = data.usrage;
|
|
|
|
|
|
|
|
data1.recipe_tabs[data1.recipe_tabs_c].totalTableD = [];
|
|
data1.recipe_tabs[data1.recipe_tabs_c].totalTableD = [];
|
|
|
|
|
+ this.checkReasonableSafeMedicines([]);
|
|
|
|
|
|
|
|
if (!request) return;
|
|
if (!request) return;
|
|
|
|
|
|
|
@@ -2573,7 +2502,10 @@ export default {
|
|
|
loadMore: true,
|
|
loadMore: true,
|
|
|
usageList: [],
|
|
usageList: [],
|
|
|
id: item.seqn,
|
|
id: item.seqn,
|
|
|
|
|
+ pid: item.pid,
|
|
|
name: item.ypmc || item.drugname,
|
|
name: item.ypmc || item.drugname,
|
|
|
|
|
+ matname: item.platformdrugname, // 知识库id
|
|
|
|
|
+ matid: item.platformdrugid, // 知识库name
|
|
|
spec: item.gg || item.specification, // 规格
|
|
spec: item.gg || item.specification, // 规格
|
|
|
dose: item.dose, // 剂量
|
|
dose: item.dose, // 剂量
|
|
|
unit: item.dw || item.unit, // 单位
|
|
unit: item.dw || item.unit, // 单位
|
|
@@ -2607,9 +2539,6 @@ export default {
|
|
|
|
|
|
|
|
data1.recipe_tabs[data1.recipe_tabs_c].totalTableD.filter(
|
|
data1.recipe_tabs[data1.recipe_tabs_c].totalTableD.filter(
|
|
|
(item3, index3) => {
|
|
(item3, index3) => {
|
|
|
- this.rationalMed = [];
|
|
|
|
|
- this.resetRationalMed();
|
|
|
|
|
- this.getRationalMed(item3.medid);
|
|
|
|
|
return (item3.id = index3 + 1);
|
|
return (item3.id = index3 + 1);
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
@@ -2674,14 +2603,21 @@ export default {
|
|
|
zhongPrescriptionVo = this.dealRecipe1(child);
|
|
zhongPrescriptionVo = this.dealRecipe1(child);
|
|
|
if (!zhongPrescriptionVo || !zhongPrescriptionVo.length) return cancel(tab.id);
|
|
if (!zhongPrescriptionVo || !zhongPrescriptionVo.length) return cancel(tab.id);
|
|
|
try {
|
|
try {
|
|
|
- const {options, force} = await this.getRationalSafeUse();
|
|
|
|
|
- if (options.length) {
|
|
|
|
|
- const results = await Promise.all(child.recipe_tabs.map((_, index) => this.getRationalMed2(index, (drugid, type) => {
|
|
|
|
|
- if (force && options.includes(type.toString())) try { zhongPrescriptionVo[index].zhongdetail.find(item => item.drugid === drugid).sign = this.getuserinfo.username; } catch (_) { }
|
|
|
|
|
- })));
|
|
|
|
|
|
|
+ const {filter, force} = await this.getRationalSafeUse();
|
|
|
|
|
+ if (filter) {
|
|
|
|
|
+ const results = await Promise.all(child.recipe_tabs.map((item, index) => {
|
|
|
|
|
+ return checkReasonableSafeMedicinesMethod(item.totalTableD, {
|
|
|
|
|
+ patient: this.patiensMsg,
|
|
|
|
|
+ illness: this.$refs.TCM.getIllness(),
|
|
|
|
|
+ }).then(medicines => ReasonableSafeMedicine.analysis(medicines, {filter}));
|
|
|
|
|
+ }));
|
|
|
|
|
+ const sign = (index, value) => tryRun(() => {
|
|
|
|
|
+ zhongPrescriptionVo[index].zhongdetail.find(item => item.platformdrugid === value).sign = this.getuserinfo.username;
|
|
|
|
|
+ });
|
|
|
const tips = results.map((item, index) => {
|
|
const tips = results.map((item, index) => {
|
|
|
- const value = options.map(i => item[i] ? `<div class="title">${item[i].title}</div><div class="content">${item[i].collection.join('')}</div>` : '').join('');
|
|
|
|
|
- return value ? `<div style="padding-top: ${index ? 12 : 0}px;border-bottom: 1px dashed #dcdcdc;"><h2 style="margin-bottom: 16px;">${item.title}</h2>${value}</div>` : '';
|
|
|
|
|
|
|
+ for (const value of item.sign()) sign(index, value);
|
|
|
|
|
+ const value = item.toString();
|
|
|
|
|
+ return value ? `<div style="padding-top: ${index ? 12 : 0}px;border-bottom: 1px dashed #dcdcdc;"><h2 style="margin-bottom: 16px;">处方${index + 1}</h2><div class="reasonable-safe-medicines-wrapper">${value}</div></div>` : '';
|
|
|
}).join('');
|
|
}).join('');
|
|
|
if (tips) {
|
|
if (tips) {
|
|
|
if (!force) {
|
|
if (!force) {
|
|
@@ -3843,6 +3779,32 @@ export default {
|
|
|
this.rationalMed10 = removeRepeat(this.rationalMed10, "matid");
|
|
this.rationalMed10 = removeRepeat(this.rationalMed10, "matid");
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 检测合理安全用药
|
|
|
|
|
+ * 可供 子组件 调用 {@link ChineseMedicine }
|
|
|
|
|
+ * @param medicines 药品
|
|
|
|
|
+ * @return {Promise<*>}
|
|
|
|
|
+ */
|
|
|
|
|
+ async checkReasonableSafeMedicines(medicines) {
|
|
|
|
|
+ this.reasonableSafeMedicinesLoading = true;
|
|
|
|
|
+ medicines = await checkReasonableSafeMedicinesMethod(medicines, {
|
|
|
|
|
+ patient: this.patiensMsg,
|
|
|
|
|
+ illness: this.$refs.TCM.getIllness(),
|
|
|
|
|
+ });
|
|
|
|
|
+ return await this.updateReasonableSafeMedicines(medicines);
|
|
|
|
|
+ },
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 更新合理安全用药
|
|
|
|
|
+ * 可供 子组件 调用 {@link ChineseMedicine }
|
|
|
|
|
+ * @param medicines 药品
|
|
|
|
|
+ * @return {Promise<>}
|
|
|
|
|
+ */
|
|
|
|
|
+ async updateReasonableSafeMedicines(medicines) {
|
|
|
|
|
+ const data = reasonableSafeMedicine.analysis(medicines);
|
|
|
|
|
+ this.reasonableSafeMedicinesHTML = data.toString();
|
|
|
|
|
+ this.reasonableSafeMedicinesLoading = false;
|
|
|
|
|
+ return data;
|
|
|
|
|
+ },
|
|
|
// 推导处方
|
|
// 推导处方
|
|
|
async inferRecipe(type = 1, businesstype, res) {
|
|
async inferRecipe(type = 1, businesstype, res) {
|
|
|
if (!this.patiensMsg.maindiagnosis.disid) {
|
|
if (!this.patiensMsg.maindiagnosis.disid) {
|
|
@@ -4139,11 +4101,12 @@ export default {
|
|
|
kc: 0,
|
|
kc: 0,
|
|
|
cdmc: "无",
|
|
cdmc: "无",
|
|
|
pid: item1.matid,
|
|
pid: item1.matid,
|
|
|
|
|
+ matname: item1.platformdrugname, // 知识库id
|
|
|
|
|
+ matid: item1.platformdrugid || item1.matid, // 知识库name
|
|
|
color: "red",
|
|
color: "red",
|
|
|
dose: item1.dose,
|
|
dose: item1.dose,
|
|
|
usage: item1.useage || item1.usagestr, // child.usegeList[0].key,
|
|
usage: item1.useage || item1.usagestr, // child.usegeList[0].key,
|
|
|
showSearch: false,
|
|
showSearch: false,
|
|
|
- matid: item1.matid,
|
|
|
|
|
|
|
|
|
|
key: "",
|
|
key: "",
|
|
|
search_i: index
|
|
search_i: index
|
|
@@ -4178,7 +4141,10 @@ export default {
|
|
|
loadMore: true,
|
|
loadMore: true,
|
|
|
usageList: [],
|
|
usageList: [],
|
|
|
id: item.seqn,
|
|
id: item.seqn,
|
|
|
|
|
+ pid: item.pid,
|
|
|
name: item.ypmc,
|
|
name: item.ypmc,
|
|
|
|
|
+ matname: item.platformdrugname, // 知识库id
|
|
|
|
|
+ matid: item.platformdrugid || item.matid, // 知识库name
|
|
|
spec: item.gg, // 规格
|
|
spec: item.gg, // 规格
|
|
|
dose: item.dose, // 剂量
|
|
dose: item.dose, // 剂量
|
|
|
unit: item.dw, // 单位
|
|
unit: item.dw, // 单位
|
|
@@ -4216,21 +4182,6 @@ export default {
|
|
|
|
|
|
|
|
child.recipe_tabs[child.recipe_tabs_c].totalTableD.filter(
|
|
child.recipe_tabs[child.recipe_tabs_c].totalTableD.filter(
|
|
|
(item3, index3) => {
|
|
(item3, index3) => {
|
|
|
- if (item3.medid) {
|
|
|
|
|
- this.rationalMed = [];
|
|
|
|
|
- this.resetRationalMed();
|
|
|
|
|
- // if (item3.color != '#000') {
|
|
|
|
|
- // this.getRationalMedForPlat(item3.medid)
|
|
|
|
|
- // } else {
|
|
|
|
|
- // this.getRationalMed(item3.medid)
|
|
|
|
|
- // }
|
|
|
|
|
- if (item3.medid.indexOf("-") != -1) {
|
|
|
|
|
- this.getRationalMed(item3.medid);
|
|
|
|
|
- } else {
|
|
|
|
|
- this.getRationalMedForPlat(item3.medid);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
return (item3.id = index3 + 1);
|
|
return (item3.id = index3 + 1);
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
@@ -4267,7 +4218,10 @@ export default {
|
|
|
loadMore: true,
|
|
loadMore: true,
|
|
|
usageList: [],
|
|
usageList: [],
|
|
|
id: item.seqn,
|
|
id: item.seqn,
|
|
|
|
|
+ pid: item.pid,
|
|
|
name: item.ypmc,
|
|
name: item.ypmc,
|
|
|
|
|
+ matname: item.platformdrugname, // 知识库id
|
|
|
|
|
+ matid: item.platformdrugid || item.matid, // 知识库name
|
|
|
spec: item.gg, // 规格
|
|
spec: item.gg, // 规格
|
|
|
dose: item.dose, // 剂量
|
|
dose: item.dose, // 剂量
|
|
|
unit: item.dw, // 单位
|
|
unit: item.dw, // 单位
|
|
@@ -4318,19 +4272,6 @@ export default {
|
|
|
].tableData = child.recipe_tabs[
|
|
].tableData = child.recipe_tabs[
|
|
|
child.recipe_tabs_c
|
|
child.recipe_tabs_c
|
|
|
].totalTableD.filter(item2 => {
|
|
].totalTableD.filter(item2 => {
|
|
|
- if (item2.medid) {
|
|
|
|
|
- // if (item2.color != '#000') {
|
|
|
|
|
- // this.getRationalMedForPlat(item2.medid)
|
|
|
|
|
- // } else {
|
|
|
|
|
- // this.getRationalMed(item2.medid)
|
|
|
|
|
- // }
|
|
|
|
|
- if (item2.medid.indexOf("-") != -1) {
|
|
|
|
|
- this.getRationalMed(item2.medid);
|
|
|
|
|
- } else {
|
|
|
|
|
- this.getRationalMedForPlat(item2.medid);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
return Number(item2.id) % 2 != 0;
|
|
return Number(item2.id) % 2 != 0;
|
|
|
});
|
|
});
|
|
|
child.recipe_tabs[
|
|
child.recipe_tabs[
|
|
@@ -4347,6 +4288,7 @@ export default {
|
|
|
this.showPresc = false;
|
|
this.showPresc = false;
|
|
|
this.showUnifyPresc = false;
|
|
this.showUnifyPresc = false;
|
|
|
loading.close();
|
|
loading.close();
|
|
|
|
|
+ this.checkReasonableSafeMedicines(child.recipe_tabs[child.recipe_tabs_c].totalTableD);
|
|
|
try { child.recipe_tabs[child.recipe_tabs_c].id = recipeId; } catch (e) {}
|
|
try { child.recipe_tabs[child.recipe_tabs_c].id = recipeId; } catch (e) {}
|
|
|
}
|
|
}
|
|
|
} else if (this.container_i == 2) {
|
|
} else if (this.container_i == 2) {
|
|
@@ -5715,11 +5657,33 @@ export default {
|
|
|
@import "../../style/media/diagnosis/prescribing.scss";
|
|
@import "../../style/media/diagnosis/prescribing.scss";
|
|
|
</style>
|
|
</style>
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
|
-/* @media screen and (max-width: 768px) {
|
|
|
|
|
- body {
|
|
|
|
|
- width: 100% !important;
|
|
|
|
|
|
|
+.reasonable-safe-medicines-wrapper {
|
|
|
|
|
+ .item {
|
|
|
|
|
+ .label {
|
|
|
|
|
+ margin: 12px 0 6px;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .value {
|
|
|
|
|
+ line-height: 1.75;
|
|
|
|
|
+
|
|
|
|
|
+ span {
|
|
|
|
|
+ &:first-of-type {
|
|
|
|
|
+ color: #5386f6;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &:last-of-type {
|
|
|
|
|
+ color: #333;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .highlight {
|
|
|
|
|
+ color: #ff4d4f !important;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
-} */
|
|
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
.message-rational-safe-use-wrapper {
|
|
.message-rational-safe-use-wrapper {
|
|
|
align-items: flex-start;
|
|
align-items: flex-start;
|
|
@@ -5752,5 +5716,8 @@ export default {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
color: #333;
|
|
color: #333;
|
|
|
}
|
|
}
|
|
|
|
|
+ .reasonable-safe-medicines-wrapper {
|
|
|
|
|
+ padding-bottom: 8px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|