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
648d8bb2
Commit
648d8bb2
authored
Jul 10, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
团控列表权限验证
parent
ea392496
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
24 deletions
+36
-24
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+36
-24
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
648d8bb2
...
@@ -373,7 +373,10 @@
...
@@ -373,7 +373,10 @@
:class=
"
{'TC_hasContent':item.OPInnerRemark==''
&&
item.OPRemark==''}">
:class=
"
{'TC_hasContent':item.OPInnerRemark==''
&&
item.OPRemark==''}">
<div
class=
"TC_remarkContent TC_teamName"
>
<div
class=
"TC_remarkContent TC_teamName"
>
<div
class=
"clearfix"
>
<div
class=
"clearfix"
>
<div
class=
"TCL_remarkTitle"
style=
"width:105px;"
><span
style=
"font-weight: 100;cursor:pointer;"
v-if=
"item.ScoreNum >= 0"
@
click=
'goInvetig("investigationList", item.TCID, 0)'
>
(评分
{{
item
.
ScoreNum
}}
)
</span>
{{
$t
(
'Operation.Op_TeamName'
)
}}
:
</div>
<div
class=
"TCL_remarkTitle"
style=
"width:105px;"
><span
style=
"font-weight: 100;cursor:pointer;"
v-if=
"item.ScoreNum >= 0"
@
click=
'goInvetig("investigationList", item.TCID, 0)'
>
(评分
{{
item
.
ScoreNum
}}
)
</span>
{{
$t
(
'Operation.Op_TeamName'
)
}}
:
</div>
<div
class=
"TCL_Content"
style=
"width:90%"
>
{{
item
.
Title
}}
</div>
<div
class=
"TCL_Content"
style=
"width:90%"
>
{{
item
.
Title
}}
</div>
</div>
</div>
</div>
</div>
...
@@ -491,11 +494,9 @@
...
@@ -491,11 +494,9 @@
</p>
</p>
<p
v-if=
"item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "
>
<p
v-if=
"item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "
>
<el-popover
width=
"980"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<el-popover
width=
"980"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonHotelInfo
:HotelObj=
"item.HotelOrderListReports"
:showHotelObj=
"showHotelObj"
<commonHotelInfo
:HotelObj=
"item.HotelOrderListReports"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
@
SetShouPeiShu=
"SetShouPeiShu(item.TCID,item.ShouPeiStatus)"
></commonHotelInfo>
@
SetShouPeiShu=
"SetShouPeiShu(item.TCID,item.ShouPeiStatus)"
></commonHotelInfo>
<span
slot=
"reference"
class=
"price"
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店预订状况
</span>
style=
"cursor:pointer;text-decoration:underline;"
>
酒店预订状况
</span>
</el-popover>
</el-popover>
...
@@ -726,8 +727,7 @@
...
@@ -726,8 +727,7 @@
<el-button
@
click
.
native=
'goUrl("RegistrationList", item.TCID,"报名清单")'
type=
"primary"
<el-button
@
click
.
native=
'goUrl("RegistrationList", item.TCID,"报名清单")'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF"
>
{{
$t
(
'Operation.Op_registrationList'
)
}}
style=
"background:#00C6FF; border-color:#00C6FF"
>
{{
$t
(
'Operation.Op_registrationList'
)
}}
</el-button>
</el-button>
<!-- v-if="CurrentUserInfo.RB_Branch_id==0||CurrentUserInfo.RB_Branch_id==1216||CurrentUserInfo.RB_Branch_id==49"-->
<el-dropdown
trigger=
"click"
style=
"margin-bottom:5px;"
v-if=
"IsModifyTravelControl==1"
>
<el-dropdown
trigger=
"click"
style=
"margin-bottom:5px;"
>
<span
class=
"el-dropdown-link"
>
{{
$t
(
'pub.updateMsg'
)
}}
<span
class=
"el-dropdown-link"
>
{{
$t
(
'pub.updateMsg'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
</span>
...
@@ -792,10 +792,11 @@
...
@@ -792,10 +792,11 @@
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ShowUploadWord(item)'
>
{{
$t
(
'Operation.Op_wordTrip'
)
}}
<el-dropdown-item
@
click
.
native=
'ShowUploadWord(item)'
>
{{
$t
(
'Operation.Op_wordTrip'
)
}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
>
<el-dropdown-item>
<div
v-if=
"item.ScoreNum >= 0"
@
click=
'goInvetig("investigationList", item.TCID, 0)'
>
查看旅客调查
</div>
<div
v-if=
"item.ScoreNum >= 0"
@
click=
'goInvetig("investigationList", item.TCID, 0)'
>
查看旅客调查
</div>
</el-dropdown-item>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</div>
</div>
...
@@ -1066,14 +1067,15 @@
...
@@ -1066,14 +1067,15 @@
],
],
//当前登录用户信息
//当前登录用户信息
CurrentUserInfo
:
{},
CurrentUserInfo
:
{},
showHotelObj
:{
showHotelObj
:
{
showPrice
:
true
,
showPrice
:
true
,
showPay
:
true
,
showPay
:
true
,
showZhan
:
true
,
showZhan
:
true
,
showBtnList
:
true
,
showBtnList
:
true
,
showCaozuoTime
:
true
,
showCaozuoTime
:
true
,
isFromTCList
:
true
isFromTCList
:
true
},
},
IsModifyTravelControl
:
0
,
//分公司是否有修改团控权限
pickerBeginDateBefore
:
{
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
...
@@ -1108,14 +1110,12 @@
...
@@ -1108,14 +1110,12 @@
});
});
},
},
//更新手配书状态
//更新手配书状态
SetShouPeiShu
(
TCID
,
ShouPeiStatus
)
SetShouPeiShu
(
TCID
,
ShouPeiStatus
)
{
{
var
msg
=
{
var
msg
=
TCID
:
TCID
,
{
ShouPeiStatus
:
(
ShouPeiStatus
==
0
?
1
:
0
)
TCID
:
TCID
,
ShouPeiStatus
:(
ShouPeiStatus
==
0
?
1
:
0
)
};
};
this
.
apipost
(
'dmcstatistics_post_SetPriceShouPeiShuService'
,
msg
,
res
=>
{
this
.
apipost
(
'dmcstatistics_post_SetPriceShouPeiShuService'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
();
this
.
getList
();
...
@@ -1869,6 +1869,18 @@
...
@@ -1869,6 +1869,18 @@
if
(
this
.
$route
.
query
.
IsUnionCked
)
{
if
(
this
.
$route
.
query
.
IsUnionCked
)
{
this
.
queryMsg
.
IsShowUnion
=
this
.
$route
.
query
.
IsUnionCked
;
this
.
queryMsg
.
IsShowUnion
=
this
.
$route
.
query
.
IsUnionCked
;
}
}
if
(
this
.
CurrentUserInfo
.
RB_Branch_id
==
0
||
this
.
CurrentUserInfo
.
RB_Branch_id
==
1216
||
this
.
CurrentUserInfo
.
RB_Branch_id
==
49
)
{
this
.
IsModifyTravelControl
=
1
;
}
else
{
//检查分公司是否有权限
if
((
","
+
this
.
CurrentUserInfo
.
ActionMenuCode
+
","
).
indexOf
(
"T_EditTravelControl"
)
>
-
1
)
{
this
.
IsModifyTravelControl
=
1
;
}
else
{
this
.
IsModifyTravelControl
=
0
;
}
}
if
(
this
.
CurrentUserInfo
.
IsParentCompany
==
undefined
)
{
if
(
this
.
CurrentUserInfo
.
IsParentCompany
==
undefined
)
{
this
.
queryCommonData
.
IsParentCompany
=
2
this
.
queryCommonData
.
IsParentCompany
=
2
...
@@ -1890,7 +1902,7 @@
...
@@ -1890,7 +1902,7 @@
if
(
!
this
.
$route
.
query
.
tcmun
)
{
if
(
!
this
.
$route
.
query
.
tcmun
)
{
this
.
queryMsg
.
StartGroupDate
=
nowDate
this
.
queryMsg
.
StartGroupDate
=
nowDate
}
}
if
(
this
.
queryCommonData
.
IsParentCompany
!=
1
&&
this
.
CurrentUserInfo
.
RB_Branch_id
!=
49
)
{
if
(
this
.
queryCommonData
.
IsParentCompany
!=
1
&&
this
.
CurrentUserInfo
.
RB_Branch_id
!=
49
)
{
this
.
queryMsg
.
OutBranchIds
.
push
(
this
.
CurrentUserInfo
.
RB_Branch_id
)
this
.
queryMsg
.
OutBranchIds
.
push
(
this
.
CurrentUserInfo
.
RB_Branch_id
)
}
}
this
.
getControlList
();
this
.
getControlList
();
...
...
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