Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
mes
mes-ui
Commits
449adc0f
Commit
449adc0f
authored
Nov 12, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排版日历
parent
423c303e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
team.vue
src/views/mes/cal/calendar/team.vue
+15
-3
No files found.
src/views/mes/cal/calendar/team.vue
View file @
449adc0f
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<el-row
v-for=
"calendarDay in calendarDayList "
:key=
"calendarDay.theDay"
@
click
.
stop
.
prevent
>
<el-row
v-for=
"calendarDay in calendarDayList "
:key=
"calendarDay.theDay"
@
click
.
stop
.
prevent
>
<el-col
:span=
"24"
v-if=
"calendarDay.theDay == data.day && holidayList.indexOf(data.day) ==-1"
>
<el-col
:span=
"24"
v-if=
"calendarDay.theDay == data.day && holidayList.indexOf(data.day) ==-1"
>
<div
v-for=
"(teamShift,index) in calendarDay.calPlanWorkunitList"
:key=
"index"
class=
"grid-content"
>
<div
v-for=
"(teamShift,index) in calendarDay.calPlanWorkunitList"
:key=
"index"
class=
"grid-content"
>
<el-button
type=
"primary"
v-if=
"teamShift.shiftName === '白班'"
icon=
"el-icon-sunny"
>
{{
teamShift
.
workunitName
}}
</el-button>
<el-button
type=
"primary"
v-if=
"teamShift.shiftName === '白班'"
icon=
"el-icon-sunny"
:title=
"teamShift.workunitName"
>
{{
teamShift
.
workunitName
}}
</el-button>
<el-button
type=
"success"
v-else-if=
"teamShift.shiftName === '中班'"
icon=
"el-icon-sunrise"
>
{{
teamShift
.
workunitName
}}
</el-button>
<el-button
type=
"success"
v-else-if=
"teamShift.shiftName === '中班'"
icon=
"el-icon-sunrise"
>
{{
teamShift
.
workunitName
}}
</el-button>
<el-button
type=
"warning"
v-else-if=
"teamShift.shiftName === '夜班'"
icon=
"el-icon-moon"
>
{{
teamShift
.
workunitName
}}
</el-button>
<el-button
type=
"warning"
v-else-if=
"teamShift.shiftName === '夜班'"
icon=
"el-icon-moon"
>
{{
teamShift
.
workunitName
}}
</el-button>
</div>
</div>
...
@@ -271,10 +271,22 @@ export default {
...
@@ -271,10 +271,22 @@ export default {
.el-calendar-table
.holiday
{
.el-calendar-table
.holiday
{
background-color
:
#88E325
;
background-color
:
#88E325
;
}
}
.myteam-cal
{
pointer-events
:
none
;
}
.myteam-cal
.el-calendar-table
.el-calendar-day
{
.myteam-cal
.el-calendar-table
.el-calendar-day
{
padding
:
0px
;
padding
:
0px
;
}
}
.myteam-cal
.el-calendar-table__row
.current
{
.myteam-cal
.el-calendar-table__row
.current
.grid-content
{
pointer-events
:
none
;
pointer-events
:
auto
;
cursor
:
text
;
}
.myteam-cal
.el-calendar-table__row
.el-calendar-day
div
,
.myteam-cal
.el-calendar-table__row
.el-calendar-day
.el-button
{
cursor
:
text
;
}
.myteam-cal
.el-calendar-table__row
.el-calendar-day
.el-button--primary
:hover
{
color
:
#FFF
;
background-color
:
#0256FF
;
border-color
:
#0256FF
;
}
}
</
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