|
@@ -8,16 +8,19 @@
|
|
|
:confirm-orders-click="confirmOrdersClick"/>
|
|
|
<div>
|
|
|
<button @click="orderTemplateClick">维护模板</button>
|
|
|
- <button type="warning" @click="clickToStopTheOrder">批量停止</button>
|
|
|
+ <button @click="clickToStopTheOrder">批量停止</button>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
- <button type="warning" :disabled="stringIsBlank(huanZheXinXi.inpatientNo)"
|
|
|
- @click="clickToModifyTheDoctorSOrderTime"> 修改医嘱时间
|
|
|
+ <button :disabled="stringIsBlank(huanZheXinXi.inpatientNo)"
|
|
|
+ @click="clickToModifyTheDoctorSOrderTime">
|
|
|
+ 修改医嘱时间
|
|
|
</button>
|
|
|
- <button type="warning"
|
|
|
- :disabled="stringIsBlank(huanZheXinXi.inpatientNo)"
|
|
|
- @click="jumpToMedicalRecord">病案首页
|
|
|
+ <button :disabled="stringIsBlank(huanZheXinXi.inpatientNo)"
|
|
|
+ @click="jumpToMedicalRecord">
|
|
|
+ 病案首页
|
|
|
</button>
|
|
|
<button @click="confirmAssociationClick">关联</button>
|
|
|
+ <button @click="openRationalDrugUse">合理用药</button>
|
|
|
+ <button @click="allergen.open()">患者过敏原信息维护</button>
|
|
|
</div>
|
|
|
<div>
|
|
|
<yz-editor :patient-info="huanZheXinXi"
|
|
@@ -39,6 +42,7 @@
|
|
|
v-if="chargeDetails.dialog"
|
|
|
:sum="chargeDetails.sum"
|
|
|
@close="chargeDetails.dialog = false"/>
|
|
|
+ <!-- 获取模板的数据 -->
|
|
|
<huo-qu-mu-ban
|
|
|
ref="mubanRef"
|
|
|
@muBanShuJu="muBanShuJu"/>
|
|
@@ -54,6 +58,11 @@
|
|
|
<yao-ping-xiang-qing v-if="drugManual.dialog"
|
|
|
:code="drugManual.code"
|
|
|
@close="drugManual.dialog = false"/>
|
|
|
+
|
|
|
+ <!-- 这个是过敏源的 -->
|
|
|
+ <AllergenEntry v-if="allergen.dialog"
|
|
|
+ :pat-no="huanZheXinXi.inpatientNo"
|
|
|
+ @close="allergen.dialog = false"/>
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
@@ -75,7 +84,7 @@ import {
|
|
|
clickOnThePatient,
|
|
|
drugManual,
|
|
|
associateOrders,
|
|
|
- clearAssociate
|
|
|
+ clearAssociate, youWuXuanZheHuanZhe
|
|
|
} from '../public-js/zhu-yuan-yi-sheng'
|
|
|
import store from '@/store'
|
|
|
import {stringIsBlank, stringNotBlank} from '@/utils/blank-utils'
|
|
@@ -94,6 +103,7 @@ import {getFormatDatetime} from "@/utils/date";
|
|
|
import XcDialog from "@/components/xiao-chan/dialog/XcDialog";
|
|
|
import {xcMessage} from "@/utils/xiaochan-element-plus";
|
|
|
import YaoPingXiangQing from "@/components/zhu-yuan-yi-sheng/he-li-yong-yao/YaoPingXiangQing.vue";
|
|
|
+import AllergenEntry from "@/components/zhu-yuan-yi-sheng/AllergenEntry.vue";
|
|
|
|
|
|
const windowSize = computed(() => {
|
|
|
return store.state.app.windowSize
|
|
@@ -103,6 +113,14 @@ const user = computed(() => {
|
|
|
return store.state.user.info
|
|
|
})
|
|
|
|
|
|
+let allergen = $ref({
|
|
|
+ dialog: false,
|
|
|
+ open: () => {
|
|
|
+ if (youWuXuanZheHuanZhe()) return
|
|
|
+ allergen.dialog = true
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
// 医嘱查询
|
|
|
const yzQueryRef = ref(null)
|
|
|
|
|
@@ -138,7 +156,9 @@ const toDeleteAnOrder = () => {
|
|
|
yzEditorRef.value.toDeleteAnOrderClick()
|
|
|
}
|
|
|
|
|
|
-// 是否开启成组关联
|
|
|
+const openRationalDrugUse = () => {
|
|
|
+ window.open('http://172.16.32.121:9097/index.html')
|
|
|
+}
|
|
|
|
|
|
// 表格
|
|
|
let tableRef = ref(null)
|