Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
e10f598a
Commit
e10f598a
authored
Apr 29, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
cb17056d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
150 additions
and
46 deletions
+150
-46
sched_bg.png
src/assets/images/sched_bg.png
+0
-0
work_list.png
src/assets/images/work_list.png
+0
-0
scheduleBoard.vue
src/pages/scheduling/scheduleBoard.vue
+150
-46
No files found.
src/assets/images/sched_bg.png
0 → 100644
View file @
e10f598a
23.6 KB
src/assets/images/work_list.png
0 → 100644
View file @
e10f598a
101 KB
src/pages/scheduling/scheduleBoard.vue
View file @
e10f598a
<
style
>
<
style
>
.schedu_left
{
.scheduMain
{
height
:
100%
;
width
:
100%
;
padding
:
15px
;
background-color
:
#f2f4f7
;
overflow
:
hidden
;
}
.scheduMain
.schedu_left
{
width
:
248px
;
width
:
248px
;
flex
:
0
0
auto
;
flex
:
0
0
auto
;
position
:
relative
;
position
:
relative
;
padding-top
:
75px
;
background-image
:
url(../../assets/images/sched_bg.png)
;
background-color
:
#296AFE
;
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
height
:
100%
;
}
.scheduMain
.okr-menu-active
{
color
:
var
(
--q-color-primary
);
font-weight
:
bold
;
background
:
#ecf1ff
;
}
}
.schedule-body
{
.mySched
{
padding
:
0
;
min-height
:
calc
(
100%
-
30px
);
margin
:
15px
!important
;
border-radius
:
8px
;
border-radius
:
8px
;
background
:
#FFF
;
overflow
:
hidden
;
overflow
:
hidden
;
height
:
100%
;
background-color
:
#fff
;
}
}
.schedu_ImgDiv
{
.schedu_ImgDiv
{
...
@@ -21,7 +35,7 @@
...
@@ -21,7 +35,7 @@
height
:
68px
;
height
:
68px
;
border-radius
:
20px
;
border-radius
:
20px
;
overflow
:
hidden
;
overflow
:
hidden
;
margin
:
auto
;
margin
:
75px
auto
0
;
}
}
.schedu_ImgDiv
img
{
.schedu_ImgDiv
img
{
...
@@ -70,40 +84,101 @@
...
@@ -70,40 +84,101 @@
height
:
34px
;
height
:
34px
;
background
:
linear-gradient
(
90deg
,
#00BDD3
,
#00D761
);
background
:
linear-gradient
(
90deg
,
#00BDD3
,
#00D761
);
border-radius
:
10px
;
border-radius
:
10px
;
margin
:
100px
auto
24px
;
margin
:
100px
auto
24px
;
text-align
:
center
;
text-align
:
center
;
line-height
:
31px
;
line-height
:
31px
;
color
:
#fff
;
color
:
#fff
;
font-size
:
14px
;
font-size
:
14px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.sche_daka
{
font-size
:
18px
;
.sche_daka
{
font-size
:
18px
;
position
:
relative
;
position
:
relative
;
left
:
5px
;
left
:
5px
;
top
:
2px
;
top
:
2px
;
}
}
.schedu_jiaojie
{
width
:
120px
;
.schedu_jiaojie
{
height
:
34px
;
width
:
120px
;
height
:
34px
;
line-height
:
34px
;
line-height
:
34px
;
text-align
:
center
;
text-align
:
center
;
border-radius
:
10px
;
border-radius
:
10px
;
border
:
1px
solid
#91AEFF
;
border
:
1px
solid
#91AEFF
;
color
:
#C4D4FF
;
color
:
#C4D4FF
;
font-size
:
14px
;
font-size
:
14px
;
margin
:
auto
;
margin
:
auto
;
cursor
:
pointer
;
cursor
:
pointer
;
}
.sche_rightTop
{
width
:
100%
;
height
:
80px
;
background-color
:
#fff
;
}
.myscroll
{
background-color
:
#F6F8FA
;
}
.sche_Topflex
{
display
:
flex
;
width
:
80%
;
height
:
80px
;
justify-content
:
space-between
;
align-items
:
center
;
}
.Sctop_Color
{
font-size
:
18px
;
color
:
#000000
;
width
:
246px
;
text-align
:
center
;
}
}
.scheduleBoard
{
max-height
:
calc
(
100%
-
10px
);
.Scotop_little
{
height
:
calc
(
100%
-
10px
);
color
:
#AAAAAA
;
font-size
:
14px
;
margin-right
:
15px
;
}
.Scdu_benci
::after
{
content
:
""
;
position
:
absolute
;
height
:
29px
;
width
:
2px
;
background
:
#EBEBEB
;
right
:
0
;
}
.sche_mid
{
display
:
flex
;
width
:
100%
;
justify-content
:
space-between
;
}
.sche_midList
{
width
:
32%
;
height
:
300px
;
background
:
#fff
;
border-radius
:
16px
;
overflow
:
hidden
;
}
.Sche_Bottom
{
margin
:
26px
0
0
40px
;
}
.scheList_TOP
{
width
:
100%
;
height
:
107px
;
border-radius
:
16px
;
overflow
:
hidden
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"scheduleBoard"
>
<div
class=
"scheduMain"
>
<div
class=
"schedule-body"
>
<div
class=
"flex row mySched"
>
<div
class=
"flex row okr"
>
<div
class=
"schedu_left"
>
<div
class=
"schedu_left"
>
<div
class=
"schedu_ImgDiv"
>
<div
class=
"schedu_ImgDiv"
>
<img
:src=
"dataList.DutyManIcon"
alt=
""
/>
<img
:src=
"dataList.DutyManIcon"
alt=
""
/>
...
@@ -121,13 +196,42 @@
...
@@ -121,13 +196,42 @@
</div>
</div>
<div
class=
"schedu_jiaojie"
>
值班交接
</div>
<div
class=
"schedu_jiaojie"
>
值班交接
</div>
</div>
</div>
<div
class=
""
style=
"padding-top:16px;"
>
<div
class=
"col scroll myscroll"
>
123
<div
class=
"sche_rightTop"
>
<div
class=
"sche_Topflex"
>
<div
class=
"Sctop_Color Scdu_benci"
style=
"position:relative;"
>
本次值班信息
</div>
<div
class=
"Sctop_Color"
>
<span
class=
"Scotop_little"
>
校区
</span>
城中一校区
</div>
<div
class=
"Sctop_Color"
style=
"width:300px;"
>
<span
class=
"Scotop_little"
>
时间
</span>
2021.04.27 周二 9:30
</div>
<div
class=
"Sctop_Color"
>
<span
class=
"Scotop_little"
>
班次
</span>
早班
</div>
</div>
</div>
<div
class=
"Sche_Bottom"
>
<div
class=
"sche_mid"
>
<div
class=
"sche_midList"
>
<div
class=
"scheList_TOP"
>
<img
src=
"../../assets/images/work_list.png"
/>
</div>
</div>
<div
class=
"sche_midList"
>
</div>
<div
class=
"sche_midList"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
import
{
OnDuty
OnDuty
...
@@ -141,12 +245,12 @@
...
@@ -141,12 +245,12 @@
Id
:
0
,
Id
:
0
,
Shfit
:
0
Shfit
:
0
},
},
dataList
:{}
dataList
:
{}
}
}
},
},
created
()
{
created
()
{
console
.
log
(
this
.
$route
.
query
.
Shift
);
console
.
log
(
this
.
$route
.
query
.
Shift
);
if
(
this
.
$route
.
query
.
Shift
&&
this
.
$route
.
query
.
Id
)
{
if
(
this
.
$route
.
query
.
Shift
&&
this
.
$route
.
query
.
Id
)
{
this
.
msg
.
Id
=
this
.
$route
.
query
.
Id
this
.
msg
.
Id
=
this
.
$route
.
query
.
Id
this
.
msg
.
Shfit
=
this
.
$route
.
query
.
Shift
this
.
msg
.
Shfit
=
this
.
$route
.
query
.
Shift
this
.
getList
();
this
.
getList
();
...
@@ -157,7 +261,7 @@
...
@@ -157,7 +261,7 @@
getList
()
{
getList
()
{
OnDuty
(
this
.
msg
).
then
(
res
=>
{
OnDuty
(
this
.
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
console
.
log
(
res
,
'数据来也'
);
console
.
log
(
res
,
'数据来也'
);
this
.
dataList
=
res
.
Data
;
this
.
dataList
=
res
.
Data
;
}
}
})
})
...
...
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