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
dc9b7953
Commit
dc9b7953
authored
May 07, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
039d0653
1a24d3aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
21 deletions
+41
-21
schedul-orderlist.vue
src/components/schedul/schedul-orderlist.vue
+1
-0
scheduleBoard.vue
src/pages/scheduling/scheduleBoard.vue
+40
-21
No files found.
src/components/schedul/schedul-orderlist.vue
View file @
dc9b7953
...
...
@@ -138,6 +138,7 @@
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
height
:
25px
;
}
.tufa_xiugai
{
...
...
src/pages/scheduling/scheduleBoard.vue
View file @
dc9b7953
...
...
@@ -333,27 +333,46 @@
},
//值班打卡或值班交接
SetDutyCheck
(
status
)
{
this
.
checkMsg
.
Status
=
status
;
saveDutyCheck
(
this
.
checkMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
getList
();
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'数据保存成功!'
,
position
:
'top'
})
}
else
{
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
res
.
Message
,
position
:
'top'
})
}
})
let
diaMsg
=
''
;
if
(
status
==
1
){
diaMsg
=
'是否确定值班打卡?'
}
if
(
status
==
2
){
diaMsg
=
'是否确定值班交接?'
}
this
.
$q
.
dialog
({
title
:
'删除提示'
,
message
:
diaMsg
,
cancel
:
true
,
persistent
:
true
,
ok
:
"确定"
,
cancel
:
"取消"
,
}).
onOk
(()
=>
{
this
.
checkMsg
.
Status
=
status
;
saveDutyCheck
(
this
.
checkMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
getList
();
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'数据保存成功!'
,
position
:
'top'
})
}
else
{
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
res
.
Message
,
position
:
'top'
})
}
})
}).
onCancel
(()
=>
{
});
},
//刷新父页面
refreshPage
()
{
...
...
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