Commit 0f360976 authored by 任鸿志's avatar 任鸿志

慢病多病种优化

parent 40384c77
......@@ -2376,16 +2376,35 @@ export default {
})
},
selectCardYiboPreselect(data, x, y) {
if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) {
this.moreshow = true
this.moreshowdata = {
data: data,
x: x,
y: y,
// 判断慢病
if (this.selectTableArr[0]?.settle_type.is_mb) {
// 判断多病种慢病
if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true
this.moreshowdata = {
data: data,
x: x,
y: y,
}
} else {
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
}
} else {//(data?.mzdbjbs_arr.length == 1 && this.selectTableArr[0]?.settle_type.is_mb)
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
}
} else {
this.selectCardYiboPre(data, x, y)
}
// if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) {
// this.moreshow = true
// this.moreshowdata = {
// data: data,
// x: x,
// y: y,
// }
// } else {//(data?.mzdbjbs_arr.length == 1 && this.selectTableArr[0]?.settle_type.is_mb)
// this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
// }
// 所有都穿诊断
// else {
// this.selectCardYiboPre(data, x, y)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment