|
@@ -134,7 +134,7 @@ export const tempYzData = computed(() => {
|
|
|
let flag = queryParam.value.displayRange === 0
|
|
|
let frequFlag = queryParam.value.frequCode === 0
|
|
|
let zhuangTai = queryParam.value.zhuangTai === 0
|
|
|
- if (currentPage.value === 'takeMedicine') {
|
|
|
+ if (isCydy()) {
|
|
|
return item.selfBuy === '4'
|
|
|
}
|
|
|
|
|
@@ -171,7 +171,7 @@ export const selectedData = ref([])
|
|
|
// 获取医嘱的下标
|
|
|
export const getYzIndex = (key) => {
|
|
|
let temp = tempYzData.value.findIndex(item => {
|
|
|
- return item.id === key
|
|
|
+ return item.id == key
|
|
|
})
|
|
|
if (typeof temp === 'undefined') {
|
|
|
return '没有找到序号'
|
|
@@ -212,6 +212,7 @@ export const jcTree = ref([])
|
|
|
* @param patNo 住院号
|
|
|
*/
|
|
|
export const clickOnThePatient = (patNo) => {
|
|
|
+
|
|
|
let str = ''
|
|
|
|
|
|
if (stringNotBlank(yiZhuData.value.actOrderNo) && yiZhuData.value.statusFlag === '1') {
|
|
@@ -236,10 +237,10 @@ export const clickOnThePatient = (patNo) => {
|
|
|
getPatientInfo(patNo).then((res) => {
|
|
|
huanZheXinXi.value = res
|
|
|
});
|
|
|
- }
|
|
|
-
|
|
|
- if (stringNotBlank(str)) {
|
|
|
- BizException(ExceptionEnum.LOGICAL_ERROR, str);
|
|
|
+ } else {
|
|
|
+ if (stringNotBlank(str)) {
|
|
|
+ BizException(ExceptionEnum.LOGICAL_ERROR, str);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
getPatientInfo(patNo).then((res) => {
|