Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
省
省二结算
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
任鸿志
省二结算
Commits
05138f1c
Commit
05138f1c
authored
Apr 29, 2025
by
任鸿志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1122
parent
e3787d3e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
6 deletions
+41
-6
mzSFC.js
src/api/mzSFC.js
+14
-1
request.js
src/utils/request.js
+8
-0
requestSFC.js
src/utils/requestSFC.js
+6
-0
outpatientCharging.vue
src/views/jiesuan/outpatientCharging.vue
+10
-4
outpatientYfang.vue
src/views/jiesuan/outpatientYfang.vue
+3
-1
No files found.
src/api/mzSFC.js
View file @
05138f1c
...
...
@@ -128,7 +128,20 @@ export function zhxx (data) {
data
})
}
export
function
prescription
(
data
)
{
return
requestSFC
({
url
:
Vue
.
prototype
.
$api
.
mz
.
prescription
,
method
:
'
post
'
,
data
})
}
export
function
serviceInvoke
(
data
)
{
return
requestSFC
({
url
:
Vue
.
prototype
.
$api
.
mz
.
serviceInvoke
,
method
:
'
post
'
,
data
})
}
export
function
bxxx
(
data
)
{
return
requestSFC
({
url
:
Vue
.
prototype
.
$api
.
mz
.
bxxx
+
'
/
'
+
data
.
patient_id
,
...
...
src/utils/request.js
View file @
05138f1c
...
...
@@ -23,10 +23,18 @@ const service = axios.create({
service
.
interceptors
.
request
.
use
(
config
=>
{
// 是否需要设置 token请根据实际情况自行修改
config
.
headers
[
'
ksbm
'
]
=
location
.
search
.
slice
(
1
).
split
(
'
=
'
)[
3
]
==
undefined
?
"
0
"
:
location
.
search
.
slice
(
1
).
split
(
'
=
'
)[
3
]
==
''
?
'
0
'
:
location
.
search
.
slice
(
1
).
split
(
'
=
'
)[
3
]
const
isToken
=
(
config
.
headers
||
{}).
isToken
===
false
config
.
headers
[
'
job_number
'
]
=
localStorage
.
getItem
(
'
jobNumber
'
)
config
.
headers
[
'
dept_code
'
]
=
localStorage
.
getItem
(
'
deptCode
'
)
console
.
log
(
localStorage
.
getItem
(
'
deptCode
'
),
'
pppppppppppppp
'
)
if
(
localStorage
.
getItem
(
'
deptCode
'
)
==
''
)
{
let
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
)
config
.
headers
[
'
dept_code
'
]
=
urlParams
.
get
(
'
dept
'
)
console
.
log
(
urlParams
.
get
(
'
dept
'
),
'
kkkkkkkkkkkkkkkkkkk
'
)
}
if
(
getToken
()
&&
!
isToken
)
{
config
.
headers
[
'
Authorization
'
]
=
getToken
()
// config.headers['ksbm']=location.search.slice(1).split('=')[3]==undefined?"0":location.search.slice(1).split('=')[3]==''?'0':location.search.slice(1).split('=')[3]
...
...
src/utils/requestSFC.js
View file @
05138f1c
...
...
@@ -27,6 +27,12 @@ service.interceptors.request.use(
const
isToken
=
(
config
.
headers
||
{}).
isToken
===
false
config
.
headers
[
'
job_number
'
]
=
localStorage
.
getItem
(
'
jobNumber
'
)
config
.
headers
[
'
dept_code
'
]
=
localStorage
.
getItem
(
'
deptCode
'
)
console
.
log
(
localStorage
.
getItem
(
'
deptCode
'
),
'
pppppppppppppp
'
)
if
(
localStorage
.
getItem
(
'
deptCode
'
)
==
''
)
{
let
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
)
config
.
headers
[
'
dept_code
'
]
=
urlParams
.
get
(
'
dept
'
)
console
.
log
(
urlParams
.
get
(
'
dept
'
),
'
kkkkkkkkkkkkkkkkkkk
'
)
}
if
(
getToken
()
&&
!
isToken
)
{
config
.
headers
[
'
Authorization
'
]
=
getToken
()
// config.headers['ksbm']=location.search.slice(1).split('=')[3]==undefined?"0":location.search.slice(1).split('=')[3]==''?'0':location.search.slice(1).split('=')[3]
...
...
src/views/jiesuan/outpatientCharging.vue
View file @
05138f1c
...
...
@@ -700,7 +700,9 @@ export default {
channel
:
'
local
'
,
},
bxxxinfo
:
{
settle_type
:
{},
settle_type
:
{
name
:
''
},
djf
:
0
,
zhye
:
0
,
brxm
:
''
,
...
...
@@ -1633,7 +1635,11 @@ export default {
this
.
weiguiList
=
[]
this
.
shenfenzheng
=
this
.
tableData
.
patient
.
idCard
this
.
adminpingzhengma
=
''
this
.
bxxxinfo
=
{}
this
.
bxxxinfo
=
{
settle_type
:{
name
:
''
}
}
this
.
ismb
=
false
this
.
orders
.
forEach
(
element
=>
{
if
(
element
)
{
...
...
@@ -2305,7 +2311,7 @@ export default {
patient_id
:
this
.
patientData
.
patient_id
,
pre_key
:
res
.
data
.
pre_key
,
cache_key
:
this
.
form
.
cache_key
,
}).
then
(
res2
=>
{
}).
then
(
async
res2
=>
{
this
.
familyType
=
res2
.
data
.
family_type
if
(
res2
.
data
.
family_type
==
'
1
'
)
{
this
.
bxxxinfo
.
gjzhzf
=
res2
.
data
.
gjzhxfje
...
...
@@ -2318,7 +2324,7 @@ export default {
this
.
bxxxinfo
.
gjzhzf
=
0
}
// 验证违规
prescription
({
await
prescription
({
patient_id
:
this
.
patientData
.
patient_id
,
settle_type
:
this
.
selectTableArr
[
0
]
?
this
.
selectTableArr
[
0
].
settle_type
.
code
:
''
,
prescription_nos
:
this
.
cost_id
,
...
...
src/views/jiesuan/outpatientYfang.vue
View file @
05138f1c
...
...
@@ -1642,7 +1642,9 @@ export default {
this
.
shenfenzheng
=
this
.
tableData
.
patient
.
idCard
this
.
adminpingzhengma
=
''
this
.
bxxxinfo
=
{
settle_type
:
{},
settle_type
:
{
name
:
''
},
}
if
(
this
.
man_name
==
true
)
{
this
.
ybjs
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment