Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
aa6dc667
Commit
aa6dc667
authored
Sep 05, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
1434523c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
23 deletions
+52
-23
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+52
-23
No files found.
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
aa6dc667
...
...
@@ -4858,6 +4858,8 @@
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
OrderDataList
=
res
.
data
.
data
;
this
.
IsUpdateOrderMoney
=
res
.
data
.
data
.
IsUpdateOrderMoney
console
.
log
(
res
,
'resssssss'
);
}
},
err
=>
{}
...
...
@@ -5061,33 +5063,60 @@
err
=>
{}
);
},
getStartOrEndDate
(
time1
,
time2
,
time
){
var
time
=
time
;
var
date1
=
Date
.
parse
(
new
Date
(
time1
.
replace
(
/-/g
,
'/'
)));
var
date2
=
Date
.
parse
(
new
Date
(
time2
.
replace
(
/-/g
,
'/'
)));
if
(
date1
<
time
&&
date2
>
time
)
{
return
true
;
};
return
false
;
},
//确定设置领队
setTheLeader
()
{
if
(
this
.
isSubmit
)
{
this
.
isSubmit
=
false
;
this
.
apipost
(
"LeaderSchedule_post_SetPriceLeader"
,
this
.
setMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
this
.
getConfig
();
this
.
showSetLeader
=
false
;
this
.
leaderListArr
=
[];
this
.
ScheduleArray
=
[];
this
.
setMsg
.
TipMessage
=
""
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
setMsg
.
TipMessage
=
res
.
data
.
message
;
this
.
setMsg
.
CTTCNUM
=
res
.
data
.
data
.
TCNUM
;
this
.
setMsg
.
CTTCID
=
res
.
data
.
data
.
TCID
;
}
this
.
isSubmit
=
true
;
},
err
=>
{}
);
let
isCked
=
false
;
console
.
log
(
this
.
ConfigData
.
Config
.
StartDate
);
console
.
log
(
this
.
ConfigData
.
Config
.
EndDate
);
this
.
LeaderHolidyList
.
forEach
(
x
=>
{
if
(
!
isCked
&&
(
this
.
getStartOrEndDate
(
this
.
ConfigData
.
Config
.
StartDate
,
this
.
ConfigData
.
Config
.
EndDate
,
x
.
StartDateStr2
)
||
this
.
getStartOrEndDate
(
this
.
ConfigData
.
Config
.
StartDate
,
this
.
ConfigData
.
Config
.
EndDate
,
x
.
EndDateStr2
))){
isCked
=
true
;
}
})
if
(
isCked
){
var
that
=
this
;
that
.
Confirm
(
"该领队在请假期,是否继续?"
,
function
()
{
that
.
getLeader
();
})
}
else
{
this
.
getLeader
();
}
},
getLeader
(){
if
(
this
.
isSubmit
)
{
this
.
isSubmit
=
false
;
this
.
apipost
(
"LeaderSchedule_post_SetPriceLeader"
,
this
.
setMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
this
.
getConfig
();
this
.
showSetLeader
=
false
;
this
.
leaderListArr
=
[];
this
.
ScheduleArray
=
[];
this
.
setMsg
.
TipMessage
=
""
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
setMsg
.
TipMessage
=
res
.
data
.
message
;
this
.
setMsg
.
CTTCNUM
=
res
.
data
.
data
.
TCNUM
;
this
.
setMsg
.
CTTCID
=
res
.
data
.
data
.
TCID
;
}
this
.
isSubmit
=
true
;
},
err
=>
{}
);
}
},
//取消领队
CancelLeader
()
{
var
that
=
this
;
...
...
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