Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
刘怀志
pet-business-web
Commits
5d18d861
Commit
5d18d861
authored
Aug 10, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查管理(医院) - 支出账户余额
parent
b4fde775
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
hospital.js
src/api/business/hospital.js
+9
-0
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+17
-2
No files found.
src/api/business/hospital.js
View file @
5d18d861
...
@@ -77,3 +77,12 @@ export function getHospitalIds(query) {
...
@@ -77,3 +77,12 @@ export function getHospitalIds(query) {
params
:
query
params
:
query
})
})
}
}
// 查询当前登陆医院账号的医院信息
export
function
signHospitalMessage
(
query
)
{
return
request
({
url
:
'/system/hospital/sign-in-hospital-message'
,
method
:
'get'
,
params
:
query
})
}
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
5d18d861
...
@@ -299,7 +299,7 @@
...
@@ -299,7 +299,7 @@
<
/el-col
>
<
/el-col
>
<
el
-
col
v
-
show
=
"currentCheckType === '2'"
:
span
=
"6"
>
<
el
-
col
v
-
show
=
"currentCheckType === '2'"
:
span
=
"6"
>
<
el
-
form
-
item
label
=
"支出账户余额"
prop
=
"shadowReport"
label
-
width
=
"120"
>
<
el
-
form
-
item
label
=
"支出账户余额"
prop
=
"shadowReport"
label
-
width
=
"120"
>
¥
1200.00
<
span
>
{{
'¥'
+
moneyFormat
(
currentHospital
.
currentBalance
)
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
/el-row
>
<
/el-row
>
...
@@ -361,6 +361,8 @@ import { deviceUseInSubscribeList, listReservationDevice } from '@/api/business/
...
@@ -361,6 +361,8 @@ import { deviceUseInSubscribeList, listReservationDevice } from '@/api/business/
import
{
listItemByType
,
listPlatformItem
}
from
'@/api/business/item'
import
{
listItemByType
,
listPlatformItem
}
from
'@/api/business/item'
import
{
parseTime
}
from
'@/utils/ruoyi'
import
{
parseTime
}
from
'@/utils/ruoyi'
import
{
updateCheck
}
from
'@/api/business/mdeicalRecord'
import
{
updateCheck
}
from
'@/api/business/mdeicalRecord'
import
{
signHospitalMessage
}
from
'@/api/business/hospital'
import
{
moneyFormat
}
from
'../../../utils'
export
default
{
export
default
{
name
:
'MedicalRecordManagement'
,
name
:
'MedicalRecordManagement'
,
...
@@ -471,13 +473,16 @@ export default {
...
@@ -471,13 +473,16 @@ export default {
currentPayAmount
:
null
,
currentPayAmount
:
null
,
// 检查类型(0-自有、2-外部)
// 检查类型(0-自有、2-外部)
currentCheckType
:
null
,
currentCheckType
:
null
,
updateRow
:
{
}
updateRow
:
{
}
,
// 当前医院信息
currentHospital
:
null
}
}
}
,
}
,
created
()
{
created
()
{
if
(
this
.
$store
.
state
.
user
.
userType
!==
'00'
)
{
if
(
this
.
$store
.
state
.
user
.
userType
!==
'00'
)
{
console
.
log
(
'非平台权限'
)
console
.
log
(
'非平台权限'
)
this
.
getList
()
this
.
getList
()
this
.
getHospitalMessage
()
}
else
{
}
else
{
console
.
log
(
'平台权限'
)
console
.
log
(
'平台权限'
)
this
.
getItemForPlat
()
this
.
getItemForPlat
()
...
@@ -487,7 +492,17 @@ export default {
...
@@ -487,7 +492,17 @@ export default {
}
}
}
,
}
,
methods
:
{
methods
:
{
moneyFormat
,
parseTime
,
parseTime
,
/** 获取当前医院信息 */
getHospitalMessage
()
{
signHospitalMessage
().
then
(
response
=>
{
console
.
log
(
'当前医院信息'
,
response
)
if
(
response
.
code
===
200
)
{
this
.
currentHospital
=
response
.
data
}
}
)
}
,
/** 查询业务管理-检查管理列表 */
/** 查询业务管理-检查管理列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
...
...
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