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
0b0eef78
Commit
0b0eef78
authored
Jun 29, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
632c9163
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
37 deletions
+40
-37
scheduleBoard.vue
src/pages/scheduling/scheduleBoard.vue
+40
-37
No files found.
src/pages/scheduling/scheduleBoard.vue
View file @
0b0eef78
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
margin-right
:
15px
;
margin-right
:
15px
;
display
:
inline-block
;
display
:
inline-block
;
text-align
:
right
;
text-align
:
right
;
width
:
60px
;
width
:
60px
;
}
}
.Scdu_benci
::after
{
.Scdu_benci
::after
{
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
</
template
>
</
template
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -330,8 +330,8 @@
...
@@ -330,8 +330,8 @@
Id
:
0
,
Id
:
0
,
Shift
:
0
,
Shift
:
0
,
Status
:
0
,
//Status(1-值班打卡,2-交接打卡)
Status
:
0
,
//Status(1-值班打卡,2-交接打卡)
IsBurst
:
0
,
//突发
IsBurst
:
0
,
//突发
IsHandover
:
0
//交接
IsHandover
:
0
//交接
},
},
dataList
:
{},
dataList
:
{},
//是否显示访客操作按钮
//是否显示访客操作按钮
...
@@ -345,11 +345,11 @@
...
@@ -345,11 +345,11 @@
isShowEditAndDelete
:
false
,
//是否显示编辑和删除按钮【默认不显示】
isShowEditAndDelete
:
false
,
//是否显示编辑和删除按钮【默认不显示】
},
},
isShowTuFA
:
false
,
isShowTuFA
:
false
,
isHaveTufa
:
2
,
//是否有突发
isHaveTufa
:
2
,
//是否有突发
isHaveHand
:
2
,
//是否有交接
isHaveHand
:
2
,
//是否有交接
isShowOne
:
false
,
isShowOne
:
false
,
isShowTwo
:
false
,
isShowTwo
:
false
,
status
:
0
status
:
0
}
}
},
},
created
()
{
created
()
{
...
@@ -376,31 +376,34 @@
...
@@ -376,31 +376,34 @@
//值班打卡或值班交接
//值班打卡或值班交接
SetDutyCheck
(
status
)
{
SetDutyCheck
(
status
)
{
this
.
status
=
status
;
this
.
status
=
status
;
this
.
checkMsg
.
IsBurst
=
this
.
$refs
.
schOrder
.
getTufaHand
().
IsBurst
;
if
(
this
.
status
==
2
)
{
this
.
checkMsg
.
IsHandover
=
this
.
$refs
.
schOrder
.
getTufaHand
().
IsHandover
;
this
.
checkMsg
.
IsBurst
=
this
.
$refs
.
schOrder
.
getTufaHand
().
IsBurst
;
//突发事件
this
.
checkMsg
.
IsHandover
=
this
.
$refs
.
schOrder
.
getTufaHand
().
IsHandover
;
if
(
this
.
$refs
.
schOrder
.
getTufaHand
().
IsBurst
==
0
){
//突发事件
this
.
isShowOne
=
true
;
if
(
this
.
$refs
.
schOrder
.
getTufaHand
().
IsBurst
==
0
)
{
this
.
isShowTuFA
=
true
;
this
.
isShowOne
=
true
;
}
this
.
isShowTuFA
=
true
;
//交接工作
}
if
(
this
.
$refs
.
schOrder
.
getTufaHand
().
IsHandover
==
0
){
//交接工作
this
.
isShowTwo
=
true
;
if
(
this
.
$refs
.
schOrder
.
getTufaHand
().
IsHandover
==
0
)
{
this
.
isShowTuFA
=
true
;
this
.
isShowTwo
=
true
;
}
this
.
isShowTuFA
=
true
;
if
(
this
.
$refs
.
schOrder
.
getTufaHand
().
IsBurst
>
0
&&
this
.
$refs
.
schOrder
.
getTufaHand
().
IsHandover
>
0
){
}
this
.
saveInfo
()
if
(
this
.
$refs
.
schOrder
.
getTufaHand
().
IsBurst
>
0
&&
this
.
$refs
.
schOrder
.
getTufaHand
().
IsHandover
>
0
)
{
this
.
saveInfo
()
}
}
else
{
this
.
saveInfo
();
}
}
},
},
//保存
//保存
saveInfo
(){
saveInfo
()
{
let
diaMsg
=
''
;
let
diaMsg
=
''
;
if
(
this
.
status
==
1
)
{
if
(
this
.
status
==
1
)
{
diaMsg
=
'是否确定值班打卡?'
diaMsg
=
'是否确定值班打卡?'
}
}
if
(
this
.
status
==
2
)
{
if
(
this
.
status
==
2
)
{
diaMsg
=
'是否确定值班交接?'
diaMsg
=
'是否确定值班交接?'
}
}
this
.
$q
.
dialog
({
this
.
$q
.
dialog
({
title
:
'消息提示'
,
title
:
'消息提示'
,
...
@@ -437,8 +440,8 @@
...
@@ -437,8 +440,8 @@
},
},
//确定是否有突发
//确定是否有突发
submitHand
(){
submitHand
()
{
if
(
this
.
isHaveTufa
==
2
)
{
if
(
this
.
isHaveTufa
==
2
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
'negative'
,
type
:
'negative'
,
position
:
"top"
,
position
:
"top"
,
...
@@ -447,7 +450,7 @@
...
@@ -447,7 +450,7 @@
this
.
isShowTuFA
=
false
;
this
.
isShowTuFA
=
false
;
return
return
}
}
if
(
this
.
isHaveHand
==
2
)
{
if
(
this
.
isHaveHand
==
2
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
'negative'
,
type
:
'negative'
,
position
:
"top"
,
position
:
"top"
,
...
@@ -456,12 +459,12 @@
...
@@ -456,12 +459,12 @@
this
.
isShowTuFA
=
false
;
this
.
isShowTuFA
=
false
;
return
return
}
}
if
(
this
.
isHaveTufa
==
1
)
{
if
(
this
.
isHaveTufa
==
1
)
{
this
.
checkMsg
.
IsBurst
=
1
;
this
.
checkMsg
.
IsBurst
=
1
;
this
.
saveInfo
();
this
.
saveInfo
();
}
}
if
(
this
.
isHaveHand
==
1
)
{
if
(
this
.
isHaveHand
==
1
)
{
this
.
checkMsg
.
IsHandover
=
1
;
this
.
checkMsg
.
IsHandover
=
1
;
this
.
saveInfo
();
this
.
saveInfo
();
}
}
this
.
isShowTuFA
=
false
;
this
.
isShowTuFA
=
false
;
...
...
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