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

全部页面病种

parent ec127322
...@@ -2423,7 +2423,7 @@ export default { ...@@ -2423,7 +2423,7 @@ export default {
settlementPre({ settlementPre({
is_gz: this.gz_name, is_gz: this.gz_name,
injury_date: this.GSdatatime, 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, patient_id: this.patientData.patient_id,
cache_key: data.cache_key, cache_key: data.cache_key,
prescription_nos: this.cost_id, prescription_nos: this.cost_id,
......
...@@ -2263,18 +2263,34 @@ export default { ...@@ -2263,18 +2263,34 @@ export default {
}) })
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) { // 判断慢病
if (this.selectTableArr[0]?.settle_type.is_mb) {
// 判断多病种慢病
if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true this.moreshow = true
this.moreshowdata = { this.moreshowdata = {
data: data, data: data,
x: x, x: x,
y: y, 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 { } else {
this.selectCardYiboPre(data, x, y) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
} else {
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) { selectCardYiboPre(data, x, y, zhenduan) {
...@@ -2291,7 +2307,7 @@ export default { ...@@ -2291,7 +2307,7 @@ export default {
settlementPre({ settlementPre({
is_gz: this.gz_name, is_gz: this.gz_name,
injury_date: this.GSdatatime, injury_date: this.GSdatatime,
p_jbbm: zhenduan, p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
cache_key: data.cache_key, cache_key: data.cache_key,
prescription_nos: this.cost_id, prescription_nos: this.cost_id,
......
...@@ -2088,18 +2088,35 @@ export default { ...@@ -2088,18 +2088,35 @@ export default {
}) })
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) { // 判断慢病
if (this.selectTableArr[0]?.settle_type.is_mb) {
// 判断多病种慢病
if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true this.moreshow = true
this.moreshowdata = { this.moreshowdata = {
data: data, data: data,
x: x, x: x,
y: y, 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 { } else {
this.selectCardYiboPre(data, x, y) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
} else {
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) { selectCardYiboPre(data, x, y, zhenduan) {
...@@ -2109,7 +2126,7 @@ export default { ...@@ -2109,7 +2126,7 @@ export default {
this.form = {} this.form = {}
this.form = data this.form = data
settlementPre({ settlementPre({
p_jbbm: zhenduan, p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
self2yb: true, self2yb: true,
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
cache_key: data.cache_key, cache_key: data.cache_key,
......
...@@ -2002,18 +2002,35 @@ export default { ...@@ -2002,18 +2002,35 @@ export default {
}) })
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) { // 判断慢病
if (this.selectTableArr[0]?.settle_type.is_mb) {
// 判断多病种慢病
if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true this.moreshow = true
this.moreshowdata = { this.moreshowdata = {
data: data, data: data,
x: x, x: x,
y: y, 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 { } else {
this.selectCardYiboPre(data, x, y) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
} else {
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) { selectCardYiboPre(data, x, y, zhenduan) {
...@@ -2023,7 +2040,7 @@ export default { ...@@ -2023,7 +2040,7 @@ export default {
this.form = {} this.form = {}
this.form = data this.form = data
settlementPre({ settlementPre({
p_jbbm: zhenduan, p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
self2yb: true, self2yb: true,
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
cache_key: data.cache_key, cache_key: data.cache_key,
......
...@@ -2230,18 +2230,35 @@ export default { ...@@ -2230,18 +2230,35 @@ export default {
}) })
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) { // 判断慢病
if (this.selectTableArr[0]?.settle_type.is_mb) {
// 判断多病种慢病
if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true this.moreshow = true
this.moreshowdata = { this.moreshowdata = {
data: data, data: data,
x: x, x: x,
y: y, 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 { } else {
this.selectCardYiboPre(data, x, y) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
} else {
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) { selectCardYiboPre(data, x, y, zhenduan) {
...@@ -2258,7 +2275,7 @@ export default { ...@@ -2258,7 +2275,7 @@ export default {
settlementPre({ settlementPre({
is_gz: this.gz_name, is_gz: this.gz_name,
injury_date: this.GSdatatime, injury_date: this.GSdatatime,
p_jbbm: zhenduan, p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'',
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
cache_key: data.cache_key, cache_key: data.cache_key,
prescription_nos: this.cost_id, 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