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
a638786f
Commit
a638786f
authored
May 08, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
也没修过
parent
feba2a6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
6 deletions
+51
-6
schedulingPlan.vue
src/pages/scheduling/schedulingPlan.vue
+40
-0
schedulingRecord.vue
src/pages/scheduling/schedulingRecord.vue
+11
-6
No files found.
src/pages/scheduling/schedulingPlan.vue
View file @
a638786f
...
...
@@ -34,6 +34,16 @@
</
template
>
</q-select>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.QDutyStatus"
:options=
"DutyStatusList"
emit-value
map-options
label=
"值班状态"
@
clear=
"resetSearch"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.QAttendanceStatus"
:options=
"AttendanceStatusList"
emit-value
map-options
label=
"出勤状态"
@
clear=
"resetSearch"
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
...
...
@@ -236,6 +246,8 @@
StartDate
:
""
,
//开始日期
EndDate
:
""
,
//结束日期
EmployeeIds
:
[],
//员工列表
QDutyStatus
:
""
,
//值班状态
QAttendanceStatus
:
""
,
//出勤状态
},
isShowSchedu
:
false
,
scheduOption
:
null
,
...
...
@@ -243,6 +255,34 @@
schoolOptions
:
[],
//校区列表
EmployeeList
:
[],
//员工列表
AllemployeeList
:
[],
//所有员工列表
//值班状态
DutyStatusList
:
[{
Id
:
0
,
Name
:
'未开始'
},
{
Id
:
1
,
Name
:
'值班中'
},
{
Id
:
2
,
Name
:
'已完成'
},
{
Id
:
3
,
Name
:
'未值班'
}],
//考勤状态列表
AttendanceStatusList
:
[{
Id
:
1
,
Name
:
'迟到'
},
{
Id
:
2
,
Name
:
'早退'
},
{
Id
:
3
,
Name
:
'缺勤'
},
{
Id
:
4
,
Name
:
'正常'
}]
}
},
created
()
{
...
...
src/pages/scheduling/schedulingRecord.vue
View file @
a638786f
...
...
@@ -33,6 +33,11 @@
</q-item>
</
template
>
</q-select>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
clearable
multiple
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.School_Ids"
:options=
"schoolOptions"
emit-value
map-options
label=
"值班状态"
@
clear=
"resetSearch"
/>
</div>
</div>
</div>
...
...
@@ -177,17 +182,17 @@
field
:
row
=>
row
.
PlanDetails
},
{
name
:
'
StartTime
'
,
label
:
'
值班时间
'
,
name
:
'
CheckTimeStr
'
,
label
:
'
上班
'
,
align
:
'left'
,
field
:
'
StartTime
'
,
field
:
'
CheckTimeStr
'
,
field
:
row
=>
row
.
PlanDetails
},
{
name
:
'
Check
TimeStr'
,
label
:
'
上
班'
,
name
:
'
Finish
TimeStr'
,
label
:
'
下
班'
,
align
:
'left'
,
field
:
'
Check
TimeStr'
,
field
:
'
Finish
TimeStr'
,
field
:
row
=>
row
.
PlanDetails
},
{
...
...
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