Commit 985c5a90 authored by 任鸿志's avatar 任鸿志

全部页面病种

parent ec127322
......@@ -2423,7 +2423,7 @@ export default {
settlementPre({
is_gz: this.gz_name,
injury_date: this.GSdatatime,
p_jbbm: data?.mzdbjbs_arr[0]?.code?zhenduan:'',
p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
patient_id: this.patientData.patient_id,
cache_key: data.cache_key,
prescription_nos: this.cost_id,
......
......@@ -2263,18 +2263,34 @@ 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 if (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)
this.selectCardYiboPre(data, x, y,data?.mzdbjbs_arr[0]?.code)
}
// 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 if (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)
// }
},
// 医保预结算
selectCardYiboPre(data, x, y, zhenduan) {
......@@ -2291,7 +2307,7 @@ export default {
settlementPre({
is_gz: this.gz_name,
injury_date: this.GSdatatime,
p_jbbm: zhenduan,
p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
patient_id: this.patientData.patient_id,
cache_key: data.cache_key,
prescription_nos: this.cost_id,
......
......@@ -2088,18 +2088,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 if (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)
this.selectCardYiboPre(data, x, y,data?.mzdbjbs_arr[0]?.code)
}
// 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 if (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)
// }
},
// 医保预结算
selectCardYiboPre(data, x, y, zhenduan) {
......@@ -2109,7 +2126,7 @@ export default {
this.form = {}
this.form = data
settlementPre({
p_jbbm: zhenduan,
p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
self2yb: true,
patient_id: this.patientData.patient_id,
cache_key: data.cache_key,
......
......@@ -2002,18 +2002,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 if (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)
this.selectCardYiboPre(data, x, y,data?.mzdbjbs_arr[0]?.code)
}
// 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 if (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)
// }
},
// 医保预结算
selectCardYiboPre(data, x, y, zhenduan) {
......@@ -2023,7 +2040,7 @@ export default {
this.form = {}
this.form = data
settlementPre({
p_jbbm: zhenduan,
p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
self2yb: true,
patient_id: this.patientData.patient_id,
cache_key: data.cache_key,
......
......@@ -2230,18 +2230,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 if (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)
this.selectCardYiboPre(data, x, y,data?.mzdbjbs_arr[0]?.code)
}
// 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 if (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)
// }
},
// 医保预结算
selectCardYiboPre(data, x, y, zhenduan) {
......@@ -2258,7 +2275,7 @@ export default {
settlementPre({
is_gz: this.gz_name,
injury_date: this.GSdatatime,
p_jbbm: zhenduan,
p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
patient_id: this.patientData.patient_id,
cache_key: data.cache_key,
prescription_nos: this.cost_id,
......
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