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
8a976e77
Commit
8a976e77
authored
Nov 12, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排班日历
parent
5f6d4e42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
calendarType.vue
src/views/mes/cal/calendar/calendarType.vue
+7
-4
index.vue
src/views/mes/qc/qcindex/index.vue
+6
-5
No files found.
src/views/mes/cal/calendar/calendarType.vue
View file @
8a976e77
...
...
@@ -26,12 +26,15 @@
</el-row>
<el-row
v-for=
"calendarDay in calendarDayList "
:key=
"calendarDay.theDay"
>
<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"
>
<el-button
type=
"primary"
v-if=
"teamShift.shiftName === '白班'"
icon=
"el-icon-sunny"
>
{{
teamShift
.
workunitName
}}
</el-button>
<div
v-for=
"(teamShift,index) in calendarDay.calPlanWorkunitList"
:key=
"index"
class=
"grid-content"
>
<el-tooltip
content=
"Bottom center"
placement=
"bottom"
effect=
"light"
v-if=
"teamShift.shiftName === '白班'"
>
<el-button
type=
"primary"
v-if=
"teamShift.shiftName === '白班'"
icon=
"el-icon-sunny"
>
{{
teamShift
.
workunitName
}}
</el-button>
</el-tooltip>
<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>
</div>
</el-col>
</div>
</el-col>
</el-row>
</div>
</
template
>
...
...
src/views/mes/qc/qcindex/index.vue
View file @
8a976e77
...
...
@@ -157,8 +157,8 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"检验
要求"
prop=
"indexName
"
>
<el-input
v-model=
"form.
indexName"
placeholder=
"请输入检验要求
"
/>
<el-form-item
label=
"检验
名称"
prop=
"qcTool
"
>
<el-input
v-model=
"form.
qcTool"
placeholder=
"请输入检验名称
"
/>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -185,11 +185,12 @@
</el-col>
</el-row>
<el-row>
<el-col
:span=
"
12
"
>
<el-form-item
label=
"检验
名称"
prop=
"qcTool
"
>
<el-input
v-model=
"form.
qcTool"
placeholder=
"请输入检验名称
"
/>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"检验
要求"
prop=
"indexName
"
>
<el-input
v-model=
"form.
indexName"
placeholder=
"请输入检验要求
"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
...
...
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