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
f65df979
Commit
f65df979
authored
Aug 28, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
24cefa0e
b94925a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
16 deletions
+3
-16
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+3
-16
No files found.
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
f65df979
...
@@ -348,7 +348,7 @@
...
@@ -348,7 +348,7 @@
<
el
-
table
-
column
prop
=
"num"
align
=
"left"
label
=
"剩余可预约"
/>
<
el
-
table
-
column
prop
=
"num"
align
=
"left"
label
=
"剩余可预约"
/>
<
el
-
table
-
column
v
-
if
=
"currentCheckType === '2'"
prop
=
"price"
align
=
"left"
label
=
"设备服务费"
>
<
el
-
table
-
column
v
-
if
=
"currentCheckType === '2'"
prop
=
"price"
align
=
"left"
label
=
"设备服务费"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
scope
.
row
.
price
||
'-
'
}}
<
/span
>
<
span
>
{{
moneyFormat
(
scope
.
row
.
price
)
+
' 元
'
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"left"
label
=
"操作"
>
<
el
-
table
-
column
align
=
"left"
label
=
"操作"
>
...
@@ -360,7 +360,7 @@
...
@@ -360,7 +360,7 @@
type
=
"success"
type
=
"success"
style
=
"width: 84px !important; height: 24px;"
style
=
"width: 84px !important; height: 24px;"
plain
plain
:
disabled
=
"parseInt(
currentPayAmount
) > parseInt(currentHospital.currentBalance)"
:
disabled
=
"parseInt(
scope.row.price
) > parseInt(currentHospital.currentBalance)"
@
click
=
"handleSubscribeDevice(scope.row)"
@
click
=
"handleSubscribeDevice(scope.row)"
>
立即预约
>
立即预约
<
/el-button
>
<
/el-button
>
...
@@ -516,8 +516,6 @@ export default {
...
@@ -516,8 +516,6 @@ export default {
selectableDevice
:
[],
selectableDevice
:
[],
// 当前的检查ID
// 当前的检查ID
currentCheckId
:
null
,
currentCheckId
:
null
,
// 当前的设备服务费
currentPayAmount
:
null
,
// 检查类型(0-自有、2-外部)
// 检查类型(0-自有、2-外部)
currentCheckType
:
null
,
currentCheckType
:
null
,
updateRow
:
{
}
,
updateRow
:
{
}
,
...
@@ -748,12 +746,6 @@ export default {
...
@@ -748,12 +746,6 @@ export default {
this
.
deviceQueryParams
.
checkTypeList
=
[...
new
Set
(
this
.
deviceQueryParams
.
checkTypeList
)]
this
.
deviceQueryParams
.
checkTypeList
=
[...
new
Set
(
this
.
deviceQueryParams
.
checkTypeList
)]
this
.
deviceQueryParams
.
reservationTime
=
this
.
getCurrentTime
()
this
.
deviceQueryParams
.
reservationTime
=
this
.
getCurrentTime
()
this
.
currentCheckId
=
row
.
id
this
.
currentCheckId
=
row
.
id
if
(
row
.
checkType
===
'2'
)
{
this
.
currentPayAmount
=
row
.
devicePrice
this
.
updateRow
=
row
}
else
{
this
.
currentPayAmount
=
row
.
payAmount
}
this
.
currentCheckType
=
row
.
checkType
this
.
currentCheckType
=
row
.
checkType
console
.
log
(
'点击立即预约后的状态'
,
this
.
deviceQueryParams
)
console
.
log
(
'点击立即预约后的状态'
,
this
.
deviceQueryParams
)
// 设置检查项目id
// 设置检查项目id
...
@@ -790,7 +782,7 @@ export default {
...
@@ -790,7 +782,7 @@ export default {
checkMessage
.
checkStartTime
=
row
.
checkDate
+
' '
+
checkTimeList
[
0
]
checkMessage
.
checkStartTime
=
row
.
checkDate
+
' '
+
checkTimeList
[
0
]
checkMessage
.
checkEndTime
=
row
.
checkDate
+
' '
+
checkTimeList
[
1
]
checkMessage
.
checkEndTime
=
row
.
checkDate
+
' '
+
checkTimeList
[
1
]
checkMessage
.
checkSchedule
=
'2'
// 把进度改为预约检查
checkMessage
.
checkSchedule
=
'2'
// 把进度改为预约检查
checkMessage
.
devicePrice
=
this
.
currentPayAmount
checkMessage
.
devicePrice
=
row
.
price
if
(
this
.
updateRow
.
checkType
===
'2'
)
{
if
(
this
.
updateRow
.
checkType
===
'2'
)
{
checkMessage
.
payAmount
=
this
.
updateRow
.
payAmount
checkMessage
.
payAmount
=
this
.
updateRow
.
payAmount
}
}
...
@@ -812,11 +804,6 @@ export default {
...
@@ -812,11 +804,6 @@ export default {
console
.
log
(
'设备'
,
res
)
console
.
log
(
'设备'
,
res
)
this
.
deviceList
=
res
.
rows
.
table
this
.
deviceList
=
res
.
rows
.
table
this
.
deviceTotal
=
res
.
total
this
.
deviceTotal
=
res
.
total
if
(
this
.
currentCheckType
===
'2'
&&
this
.
deviceList
.
length
>
0
)
{
this
.
deviceList
.
forEach
(
item
=>
{
item
[
'price'
]
=
this
.
keepTwoDecimals
(
this
.
currentPayAmount
)
+
' 元'
}
)
}
}
)
}
)
}
,
}
,
/** 重置按钮操作 */
/** 重置按钮操作 */
...
...
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