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
2279f88f
Commit
2279f88f
authored
Jun 30, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
861be4ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
4 deletions
+37
-4
schedu.js
src/api/scheduling/schedu.js
+12
-0
scheduleBoard.vue
src/pages/scheduling/scheduleBoard.vue
+25
-4
No files found.
src/api/scheduling/schedu.js
View file @
2279f88f
...
@@ -278,4 +278,16 @@ export function RemoveVisitorReserve(data) {
...
@@ -278,4 +278,16 @@ export function RemoveVisitorReserve(data) {
method
:
'post'
,
method
:
'post'
,
data
data
})
})
}
/**
* 获取交接班次
* @param {JSON参数} data
*/
export
function
GetHandoverShiftList
()
{
return
request
({
url
:
'/DutyPlan/GetHandoverShiftList'
,
method
:
'post'
,
data
:
""
})
}
}
\ No newline at end of file
src/pages/scheduling/scheduleBoard.vue
View file @
2279f88f
...
@@ -280,16 +280,23 @@
...
@@ -280,16 +280,23 @@
<div
class=
"text-h6"
>
值班交接
</div>
<div
class=
"text-h6"
>
值班交接
</div>
</q-card-section>
</q-card-section>
<q-card-section
class=
"q-pt-none"
>
<q-card-section
class=
"q-pt-none"
>
<div
class=
"q-gutter-sm"
style=
"width:
3
00px;"
v-if=
"isShowOne"
>
<div
class=
"q-gutter-sm"
style=
"width:
4
00px;"
v-if=
"isShowOne"
>
<span
style=
"position:relative;top:6px;"
>
突发事件:
</span>
<span
style=
"position:relative;top:6px;"
>
突发事件:
</span>
<q-radio
v-model=
"isHaveTufa"
:val=
"2"
label=
"有"
/>
<q-radio
v-model=
"isHaveTufa"
:val=
"2"
label=
"有"
/>
<q-radio
v-model=
"isHaveTufa"
:val=
"1"
label=
"无"
/>
<q-radio
v-model=
"isHaveTufa"
:val=
"1"
label=
"无"
/>
</div>
</div>
<div
class=
"q-gutter-sm"
style=
"width:
28
0px;"
v-if=
"isShowTwo"
>
<div
class=
"q-gutter-sm"
style=
"width:
40
0px;"
v-if=
"isShowTwo"
>
<span
style=
"position:relative;top:6px;"
>
交接工作:
</span>
<span
style=
"position:relative;top:6px;"
>
交接工作:
</span>
<q-radio
v-model=
"isHaveHand"
:val=
"2"
label=
"有"
/>
<q-radio
v-model=
"isHaveHand"
:val=
"2"
label=
"有"
/>
<q-radio
v-model=
"isHaveHand"
:val=
"1"
label=
"无"
/>
<q-radio
v-model=
"isHaveHand"
:val=
"1"
label=
"无"
/>
</div>
</div>
<div
class=
"q-gutter-sm"
style=
"width:400px;margin-top:10px;"
>
<span>
交接班次:
</span>
<q-select
filled
multiple
option-value=
"Id"
style=
"display:inline-block;width:300px;"
option-label=
"Name"
v-model=
"classCked"
:options=
"classData"
emit-value
map-options
label=
"交接班次"
>
</q-select>
</div>
</q-card-section>
</q-card-section>
<q-card-actions
align=
"right"
>
<q-card-actions
align=
"right"
>
<q-btn
flat
label=
"关闭"
color=
"primary"
@
click=
"isShowTuFA=false"
/>
<q-btn
flat
label=
"关闭"
color=
"primary"
@
click=
"isShowTuFA=false"
/>
...
@@ -305,6 +312,7 @@
...
@@ -305,6 +312,7 @@
OnDuty
,
OnDuty
,
OnDuty_V2
,
OnDuty_V2
,
saveDutyCheck
,
//值班打卡
saveDutyCheck
,
//值班打卡
GetHandoverShiftList
}
from
'../../api/scheduling/schedu'
}
from
'../../api/scheduling/schedu'
import
schedulOrder
from
'../../components/schedul/schedul-orderlist'
import
schedulOrder
from
'../../components/schedul/schedul-orderlist'
...
@@ -332,7 +340,8 @@
...
@@ -332,7 +340,8 @@
Shift
:
0
,
Shift
:
0
,
Status
:
0
,
//Status(1-值班打卡,2-交接打卡)
Status
:
0
,
//Status(1-值班打卡,2-交接打卡)
IsBurst
:
0
,
//突发
IsBurst
:
0
,
//突发
IsHandover
:
0
//交接
IsHandover
:
0
,
//交接
HandoverDlandetails
:
''
//交接班次
},
},
dataList
:
{},
dataList
:
{},
//是否显示访客操作按钮
//是否显示访客操作按钮
...
@@ -350,7 +359,9 @@
...
@@ -350,7 +359,9 @@
isHaveHand
:
1
,
//是否有交接
isHaveHand
:
1
,
//是否有交接
isShowOne
:
false
,
isShowOne
:
false
,
isShowTwo
:
false
,
isShowTwo
:
false
,
status
:
0
status
:
0
,
classData
:[],
//交接班次选择\
classCked
:[],
}
}
},
},
created
()
{
created
()
{
...
@@ -363,6 +374,7 @@
...
@@ -363,6 +374,7 @@
this
.
checkMsg
.
Shift
=
this
.
$route
.
query
.
Shift
;
this
.
checkMsg
.
Shift
=
this
.
$route
.
query
.
Shift
;
}
}
this
.
getList
();
this
.
getList
();
this
.
GetHandoverList
();
},
},
methods
:
{
methods
:
{
//请求数据
//请求数据
...
@@ -410,6 +422,7 @@
...
@@ -410,6 +422,7 @@
if
(
this
.
status
==
2
)
{
if
(
this
.
status
==
2
)
{
diaMsg
=
'是否确定值班交接?'
diaMsg
=
'是否确定值班交接?'
}
}
this
.
checkMsg
.
HandoverDlandetails
=
this
.
classCked
.
toString
();
this
.
$q
.
dialog
({
this
.
$q
.
dialog
({
title
:
'消息提示'
,
title
:
'消息提示'
,
message
:
diaMsg
,
message
:
diaMsg
,
...
@@ -476,6 +489,14 @@
...
@@ -476,6 +489,14 @@
//刷新父页面
//刷新父页面
refreshPage
()
{
refreshPage
()
{
this
.
getList
();
this
.
getList
();
},
//获取交接班次下拉
GetHandoverList
(){
GetHandoverShiftList
().
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
classData
=
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