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
1f78c9f3
Commit
1f78c9f3
authored
Nov 14, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排班日历的时间显示
parent
c1f6d3f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
team.vue
src/views/mes/cal/calendar/team.vue
+4
-4
No files found.
src/views/mes/cal/calendar/team.vue
View file @
1f78c9f3
...
@@ -37,10 +37,10 @@
...
@@ -37,10 +37,10 @@
</el-row>
</el-row>
<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"
:title=
"teamShift.workDate"
>
<el-button
type=
"primary"
v-if=
"teamShift.shiftName === '白班'"
icon=
"el-icon-sunny"
:title=
"teamShift.workDate"
>
{{
teamShift
.
workunitName
}}
</el-button>
<el-button
type=
"primary"
v-if=
"teamShift.shiftName === '白班'"
icon=
"el-icon-sunny"
>
{{
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>
</el-col>
</el-col>
</el-row>
</el-row>
...
...
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