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
abbed9b5
Commit
abbed9b5
authored
Sep 06, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
dfbfbfae
daab4ff6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+13
-6
No files found.
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
abbed9b5
...
@@ -334,6 +334,7 @@
...
@@ -334,6 +334,7 @@
<!--
添加或修改业务管理
-
检查管理对话框
-->
<!--
添加或修改业务管理
-
检查管理对话框
-->
<
el
-
dialog
<
el
-
dialog
class
=
"book-now-class"
title
=
"立即预约"
title
=
"立即预约"
:
visible
.
sync
=
"open"
:
visible
.
sync
=
"open"
min
-
width
=
"820px"
min
-
width
=
"820px"
...
@@ -432,6 +433,7 @@
...
@@ -432,6 +433,7 @@
class
=
"el-button--success--solid--four"
class
=
"el-button--success--solid--four"
plain
plain
@
click
=
"handleSubscribeDevice(scope.row)"
@
click
=
"handleSubscribeDevice(scope.row)"
:
disabled
=
"accordingToTime(scope.row.checkTime)"
>
立即预约
>
立即预约
<
/el-button
>
<
/el-button
>
<
/template
>
<
/template
>
...
@@ -620,7 +622,7 @@ export default {
...
@@ -620,7 +622,7 @@ export default {
// 计算的时间
// 计算的时间
const
startTime
=
checkTime
.
split
(
'-'
)[
0
]
const
startTime
=
checkTime
.
split
(
'-'
)[
0
]
// 当前时间
// 当前时间
const
currentDay
=
new
Date
().
getHours
()
+
':'
+
new
Date
().
getMinutes
(
)
const
currentDay
=
new
Date
().
getHours
()
+
':'
+
String
(
new
Date
().
getMinutes
()).
padStart
(
2
,
'0'
)
// 计算的时间小于当前时间就false
// 计算的时间小于当前时间就false
if
(
startTime
<
currentDay
)
{
if
(
startTime
<
currentDay
)
{
return
true
return
true
...
@@ -1047,15 +1049,20 @@ export default {
...
@@ -1047,15 +1049,20 @@ export default {
.
app
-
container
{
.
app
-
container
{
background
-
color
:
#
FFFFFF
;
background
-
color
:
#
FFFFFF
;
.
book
-
now
-
class
{
.
el
-
dialog__body
{
padding
:
0
;
.
dialog
-
class
{
min
-
height
:
140
px
;
max
-
height
:
500
px
;
overflow
-
y
:
auto
;
}
}
}
}
}
::
v
-
deep
.
el
-
dialog
:
not
(.
is
-
fullscreen
)
{
::
v
-
deep
.
el
-
dialog
:
not
(.
is
-
fullscreen
)
{
margin
-
top
:
9
vh
!
important
;
margin
-
top
:
9
vh
!
important
;
}
}
.
dialog
-
class
{
min
-
height
:
140
px
;
overflow
-
y
:
auto
;
}
<
/style
>
<
/style
>
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