Commit b7851835 authored by 任鸿志's avatar 任鸿志

refactor(env): 更新 API 地址并调整患者信息展示

- 更新 VUE_APP_BASE_URL 和 VUE_APP_BASE_URL_SFC 的地址
- 修改患者信息展示逻辑,使用新的字段名称
- 调整结算确认页面的显示内容
- 优化发票打印功能,修改请求方法
parent c640941d
...@@ -8,12 +8,12 @@ NODE_ENV = 'development' ...@@ -8,12 +8,12 @@ NODE_ENV = 'development'
VUE_APP_BASE_API = '' VUE_APP_BASE_API = ''
# VUE_APP_BASE_URL = 'http://192.169.24.231:8002' # VUE_APP_BASE_URL = 'http://192.169.24.231:8002'
# VUE_APP_BASE_URL = 'http://10.10.9.219: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 = 'http://10.10.9.219:8802'
VUE_APP_BASE_URL_change = 'http://10.10.8.230:6200/fancy' 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://127.0.0.1:9902'
# VUE_APP_BASE_URL = 'http://10.10.9.219:8802' # VUE_APP_BASE_URL = 'http://10.10.9.219:8802'
# 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://10.10.40.69:9903' # VUE_APP_BASE_URL_SFC = 'http://10.10.40.69:9903'
# VUE_APP_BASE_URL = 'http://192.169.4.171:8002' # VUE_APP_BASE_URL = 'http://192.169.4.171:8002'
# VUE_APP_BASE_URL = 'http://10.10.40.10:8099' # VUE_APP_BASE_URL = 'http://10.10.40.10:8099'
......
...@@ -20,8 +20,8 @@ export function outinvoicing (data) { ...@@ -20,8 +20,8 @@ export function outinvoicing (data) {
export function printInvoiceDetails (data) { export function printInvoiceDetails (data) {
return requestChange({ return requestChange({
url: Vue.prototype.$api.jiesuan.printInvoiceDetails, url: Vue.prototype.$api.jiesuan.printInvoiceDetails,
method: 'post', method: 'get',
data params:data
}) })
} }
......
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
patientId: this.outinvoicform.patientId, patientId: this.outinvoicform.patientId,
rcptNo: this.outinvoicform.rcpt_no, rcptNo: this.outinvoicform.rcpt_no,
} }
setLoading(true) // setLoading(true)
const { code, message } = await printInvoiceDetails(params) const { code, message } = await printInvoiceDetails(params)
if (code == 200) { if (code == 200) {
this.$message({ this.$message({
...@@ -166,7 +166,7 @@ export default { ...@@ -166,7 +166,7 @@ export default {
} }
} catch (error) { } catch (error) {
} finally { } finally {
setLoading(false) // setLoading(false)
} }
}, },
// // 关闭弹窗 // // 关闭弹窗
......
This diff is collapsed.
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