Commit 57201ead authored by 任鸿志's avatar 任鸿志

fix(env): 修改 SFC 组件的 API 地址并优化结算逻辑

- 更新 VUE_APP_BASE_URL_SFC 为 http://10.10.9.219:8802
- 修正 ReadcardsNewSFC 组件中 man_name 的类型为 String
- 修改物理卡号长度判断逻辑,支持 8 位或 9 位卡号
- 优化 outpatientCharging 组件中的慢病判断逻辑
-
parent 802baa55
......@@ -13,7 +13,7 @@ VUE_APP_BASE_URL_change = 'http://10.10.8.230:6200/fancy'
# VUE_APP_BASE_URL = 'http://127.0.0.1:9902'
VUE_APP_BASE_URL = 'http://10.10.9.219:9902'
# VUE_APP_BASE_URL = 'http://10.10.9.219:9902'
VUE_APP_BASE_URL_SFC = 'http://10.10.9.219:9902'
VUE_APP_BASE_URL_SFC = 'http://10.10.9.219:8802'
# VUE_APP_BASE_URL_SFC = 'http://127.0.0.1:9902'
# VUE_APP_BASE_URL = 'http://192.169.4.171:8002'
# VUE_APP_BASE_URL = 'http://10.10.40.10:8099'
......
......@@ -50,7 +50,7 @@ import { mzxx, mzxxs, queryBasicInfo, queryReadRard, getInfoByQrCode } from '@/a
export default {
components: {},
props: {
man_name:Array,
man_name:String,
isOpenCarded: Boolean,
physicalCardType: {
type: String,
......@@ -171,7 +171,7 @@ export default {
message: '不支持此方式结算',
type: 'error',
})
} else if (this.form.physicalCard.toString().length === 8) {
} else if (this.form.physicalCard.toString().length === 8 || this.form.physicalCard.toString().length === 9) {
// 输入患者id
this.form.physicalCardType = 'PATIENT_ID'
// this.$emit('getyibaoinfo', this.form)
......
......@@ -2431,10 +2431,11 @@ export default {
})
},
selectCardYiboPreselect(data, x, y) {
console.log(data,'多病种慢病')
// 判断慢病
if (this.selectTableArr[0]?.settle_type.is_mb && this.man_name == '') {
if (this.selectTableArr[0]?.settle_type.is_mb || this.man_name == '4') {
// 判断多病种慢病
console.log(data,'多病种慢病')
if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true
this.moreshowdata = {
......@@ -2503,7 +2504,7 @@ export default {
channel: this.channel,
// is_gz: this.man_name == '3' ? true : false,
injury_date: this.GSdatatime,
p_jbbm: this.man_name == '1' ? '' : this.man_name == '2' ? '' : this.man_name == '3' ? '' : this.selectTableArr[0]?.settle_type.is_mb ? zhenduan : '',
p_jbbm: this.man_name == '1' ? '' : this.man_name == '2' ? '' : this.man_name == '3' ? '' :this.man_name == '4'?zhenduan: 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