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
ae0a6097
Commit
ae0a6097
authored
Apr 09, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询修改
parent
4af8b73d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
219 additions
and
178 deletions
+219
-178
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+219
-178
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
ae0a6097
...
...
@@ -65,7 +65,7 @@
text-align
:
center
;
}
.TC_Content
._pic_upload
>
div
{
.TC_Content
._pic_upload
>
div
{
float
:
left
;
width
:
138px
;
height
:
92px
;
...
...
@@ -81,6 +81,7 @@
.TC_Content
.avatar-uploader-icon
{
height
:
auto
;
}
</
style
>
<
template
>
<div
class=
"TC_Content"
>
...
...
@@ -88,7 +89,8 @@
<div
class=
"query-box"
>
<!--v-if="queryCommonData.IsParentCompany==1"-->
<div
class=
"TC_companyList"
>
<span
:class=
"
{'TC_checked':queryCommonData.checkCompanyAll}" @click="getCompanyCheckAll()">
{{
$t
(
'advmanager.v_all'
)
}}
</span>
<span
:class=
"
{'TC_checked':queryCommonData.checkCompanyAll}"
@click="getCompanyCheckAll()">
{{
$t
(
'advmanager.v_all'
)
}}
</span>
<span
v-for=
"(item,bindex) in queryCommonData.BranchList"
:class=
"
{'TC_checked':item.isShow}"
@click="getCompanyCheck(item)">
{{
item
.
BName
}}
</span>
</div>
...
...
@@ -129,27 +131,23 @@
<span>
<em>
{{
$t
(
'visa.v_tuanhao'
)
}}
</em>
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCNUM"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li
style=
"display:none;"
>
<span>
<em>
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
</em>
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCID"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'scen.sc_ftTime'
)
}}
</em>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.EndGroupDate"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
<li
class=
"advancedLi"
style=
"height:34px;"
>
...
...
@@ -162,21 +160,19 @@
<span>
{{
$t
(
'system.query_airCompanyName'
)
}}
</span>
<el-select
v-model=
"queryMsg.AirTicketId"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"queryCommonData.SelectDefaultValue"
>
</el-option>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"queryCommonData.SelectDefaultValue"
>
</el-option>
<el-option
v-for=
"item in queryCommonData.AirlineList"
:key=
"item.AirLineId"
:label=
"item.AlName"
:value=
"item.AirLineId"
></el-option>
:label=
"item.AlName"
:value=
"item.AirLineId"
></el-option>
</el-select>
</div>
<div>
<span>
{{
$t
(
'visa.v_czuser'
)
}}
</span>
<el-select
class=
"w150"
v-model=
"queryMsg.CreateBy"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
>
</el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
>
</el-option>
<el-option
v-for=
"item in queryCommonData.EmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></el-option>
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></el-option>
</el-select>
</div>
<div>
...
...
@@ -189,8 +185,8 @@
<span>
{{
$t
(
'visa.v_lycity'
)
}}
</span>
<el-select
class=
"w150"
filterable
v-model=
"queryMsg.UnionCityId"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
>
</el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
>
</el-option>
<el-option
v-for=
"item in queryCommonData.CityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
...
...
@@ -200,27 +196,27 @@
<div>
<span>
{{
$t
(
'visa.v_teamnum'
)
}}
</span>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMinNum"
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
>
</el-input>
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
>
</el-input>
-
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMaxNum"
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMaxNum'
)"
@
blur=
"checkTeamNum(queryMsg)"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMaxNum')"
@
blur=
"checkTeamNum(queryMsg
)"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</div>
<div>
<span>
{{
$t
(
'leader.leader_registraNum'
)
}}
</span>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMinNum"
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
>
</el-input>
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
>
</el-input>
-
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMaxNum"
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMaxNum'
)"
@
blur=
"checkTeamNum(queryMsg)"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMaxNum')"
@
blur=
"checkTeamNum(queryMsg
)"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</div>
<div
class=
"OnlyShowOverTeam"
>
<span>
{{
$t
(
'visa.v_zkbaochaotuan'
)
}}
</span>
<el-switch
v-model=
"queryMsg.OnlyShowOverTeam"
active-value=
"true"
inactive-value=
"false"
>
</el-switch>
<el-switch
v-model=
"queryMsg.OnlyShowOverTeam"
active-value=
"true"
inactive-value=
"false"
>
</el-switch>
</div>
<div>
<span>
{{
$t
(
'visa.v_salecompany'
)
}}
</span>
...
...
@@ -235,7 +231,8 @@
<div
class=
"comSearchDiv"
>
<span>
{{
$t
(
'scen.sc_temStatu'
)
}}
</span>
<span>
<el-checkbox
v-model=
"queryCommonData.checkTCStateAll"
@
change=
"checkAllTeam"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox
v-model=
"queryCommonData.checkTCStateAll"
@
change=
"checkAllTeam"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox-group
v-model=
"queryMsg.TCState"
@
change=
"checkedTeamList"
>
<el-checkbox
v-for=
"team in $tripUtils.TeamStatesList.TeamStates"
:label=
"team.Id"
:key=
"team.Name"
>
{{
team
.
Name
}}
</el-checkbox>
...
...
@@ -246,7 +243,8 @@
<div
class=
"comSearchDiv"
>
<span>
{{
$t
(
'Airticket.Air_salesPlatform'
)
}}
</span>
<span>
<el-checkbox
v-model=
"queryCommonData.checkPlatForm"
@
change=
"checkAllSales"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox
v-model=
"queryCommonData.checkPlatForm"
@
change=
"checkAllSales"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox-group
v-model=
"queryMsg.SalePlat"
@
change=
"checkSales"
>
<el-checkbox
v-for=
"sales in $tripUtils.TeamStatesList.salsPlat"
:label=
"sales.Id"
:key=
"sales.Name"
>
{{
sales
.
Name
}}
</el-checkbox>
...
...
@@ -256,7 +254,8 @@
<div
class=
"comSearchDiv"
>
<span>
{{
$t
(
'visa.v_tqstatus'
)
}}
</span>
<span>
<el-checkbox
v-model=
"queryCommonData.checkGroupALL"
@
change=
"checkGroupAll"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox
v-model=
"queryCommonData.checkGroupALL"
@
change=
"checkGroupAll"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox-group
v-model=
"queryMsg.GroupState"
@
change=
"checkGroup"
>
<el-checkbox
v-for=
"state in $tripUtils.TeamStatesList.teamDateStates"
:label=
"state.Id"
:key=
"state.Name"
>
{{
state
.
Name
}}
</el-checkbox>
...
...
@@ -269,8 +268,7 @@
<span>
<el-checkbox-group
v-model=
"queryCommonData.flightCKed"
style=
"margin-left:0;"
>
<el-checkbox
v-for=
"state in flightStatus"
:label=
"state.Id"
:checked=
"state.Checked"
@
change=
"checkedFlight(state)"
:key=
"state.Name"
>
{{
state
.
Name
}}
</el-checkbox>
@
change=
"checkedFlight(state)"
:key=
"state.Name"
>
{{
state
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</span>
</div>
...
...
@@ -299,7 +297,8 @@
<div
class=
"clearfix"
>
<div
class=
"TC_leftSearch"
>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'leader.leader_registraNum'
)
}}
</span>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'leader.leader_registraNum'
)
}}
</span>
<el-select
v-model=
"queryMsg.WarningQuery"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
value=
"-1"
></el-option>
...
...
@@ -311,7 +310,8 @@
</el-select>
</div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'Operation.Op_daysChoice'
)
}}
</span>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'Operation.Op_daysChoice'
)
}}
</span>
<el-select
v-model=
"queryMsg.RateOnDay"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
value=
"-1"
></el-option>
...
...
@@ -322,7 +322,8 @@
</el-select>
</div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'Operation.Op_Attendance'
)
}}
</span>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'Operation.Op_Attendance'
)
}}
</span>
<el-select
v-model=
"queryMsg.RateOn"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
value=
"-1"
></el-option>
...
...
@@ -352,8 +353,8 @@
<div
class=
"TravelTclList"
v-loading=
"queryCommonData.loading"
>
<ul>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"queryMsg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryMsg.pageSize"
:total=
"queryMsg.total"
>
</el-pagination>
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryMsg.pageSize"
:total=
"queryMsg.total"
>
</el-pagination>
<li
v-for=
"(item,index) in queryCommonData.dataList"
:key=
"index"
:class=
"
{'TC_hasContent':item.OPInnerRemark==''
&&
item.OPRemark==''}">
<div
class=
"TC_remarkContent TC_teamName"
>
...
...
@@ -368,7 +369,8 @@
<div>
<div
class=
"TC_teamType"
>
<span
v-if=
"item.IsB2B==0"
title=
"内部团"
>
{{
$t
(
'Operation.Op_nei'
)
}}
</span>
<span
v-if=
"item.IsUnion==1&&item.UnionTypeStr==1"
title=
"主"
class=
"MainTeam"
>
{{
$t
(
'Operation.Op_zhu'
)
}}
</span>
<span
v-if=
"item.IsUnion==1&&item.UnionTypeStr==1"
title=
"主"
class=
"MainTeam"
>
{{
$t
(
'Operation.Op_zhu'
)
}}
</span>
<span
v-if=
"item.IsUnion==1&&item.UnionTypeStr==2"
title=
"联"
>
{{
$t
(
'Operation.Op_lian'
)
}}
</span>
<span
v-if=
"item.Status==2"
title=
"结团"
>
{{
$t
(
'Operation.Op_jietuan'
)
}}
</span>
<span
v-if=
"item.Status==1"
title=
"销售"
>
{{
$t
(
'visaT.sale'
)
}}
</span>
...
...
@@ -465,7 +467,8 @@
{{
item
.
OutBranchName
}}
</p>
<p
class=
"travelnowrap"
v-if=
"item.WordPath!=''"
>
<a
style=
"corsor:pointer;"
:href=
"domainManager().ViittoFileUrl+item.WordPath"
>
{{
$t
(
'Operation.Op_downLoadword'
)
}}
</a>
<a
style=
"corsor:pointer;"
:href=
"domainManager().ViittoFileUrl+item.WordPath"
>
{{
$t
(
'Operation.Op_downLoadword'
)
}}
</a>
</p>
</div>
</div>
...
...
@@ -474,8 +477,10 @@
<p>
<i
class=
"iconfont icon-jiage"
></i>
{{
$t
(
'Operation.Op_PriceInfo'
)
}}
</p>
<p
class=
"travelprice"
>
{{
$t
(
'Operation.Op_tradePrice'
)
}}
:¥
{{
item
.
B2BMemberPrice
|
priceFormat
(
item
.
B2BMemberPrice
)
}}
</p>
<p
class=
"travelprice"
>
{{
$t
(
'Operation.Op_directPrice'
)
}}
:¥
{{
item
.
B2CMemberPrice
|
priceFormat
(
item
.
B2CMemberPrice
)
}}
</p>
<p
class=
"travelprice"
>
{{
$t
(
'Operation.Op_tradePrice'
)
}}
:¥
{{
item
.
B2BMemberPrice
|
priceFormat
(
item
.
B2BMemberPrice
)
}}
</p>
<p
class=
"travelprice"
>
{{
$t
(
'Operation.Op_directPrice'
)
}}
:¥
{{
item
.
B2CMemberPrice
|
priceFormat
(
item
.
B2CMemberPrice
)
}}
</p>
<p>
<el-popover
width=
"700"
trigger=
"click"
popper-class=
"TC_customerInfo"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
...
...
@@ -548,7 +553,8 @@
<span>
{{
$t
(
'visa.v_yibaoru'
)
}}
</span>
<i>
{{
item
.
OrderGuestNum
}}
<span
class=
"TCL-redType"
v-if=
"item.OrderLeaderGuestNum>=1"
>
+
{{
item
.
OrderLeaderGuestNum
}}
</span>
{{
$t
(
'Operation.Op_people'
)
}}
<span
class=
"TCL-redType"
v-if=
"item.OrderLeaderGuestNum>=1"
>
+
{{
item
.
OrderLeaderGuestNum
}}
</span>
{{
$t
(
'Operation.Op_people'
)
}}
</i>
</p>
<p
v-if=
"item.SingleDMNum>0"
>
...
...
@@ -561,7 +567,8 @@
</p>
<p
class=
"travelnowrap"
>
<span>
{{
$t
(
'visa.v_houbu'
)
}}
</span>
<span
v-if=
"item.IsSubstitution==1"
class=
"TCL-greenType"
>
{{
$t
(
'visa.v_yxhoubu'
)
}}
(
{{
$t
(
'visa.v_houbu'
)
}}{{
item
.
HBNum
}}{{
$t
(
'Operation.Op_people'
)
}}
)
</span>
<span
v-if=
"item.IsSubstitution==1"
class=
"TCL-greenType"
>
{{
$t
(
'visa.v_yxhoubu'
)
}}
(
{{
$t
(
'visa.v_houbu'
)
}}{{
item
.
HBNum
}}{{
$t
(
'Operation.Op_people'
)
}}
)
</span>
<span
v-else
class=
"TCL-redType"
>
{{
$t
(
'visa.v_byxhoubu'
)
}}
</span>
</p>
<p>
...
...
@@ -586,7 +593,8 @@
<div
class=
"TC_SeatList"
>
{{
$t
(
'Airticket.Air_firstClass'
)
}}
:
{{
item
.
FSeat
}}
</div>
<div
class=
"TC_SeatList"
>
{{
$t
(
'Airticket.Air_businessClass'
)
}}
:
{{
item
.
CSeat
}}
</div>
<div
class=
"TC_SeatList"
>
{{
$t
(
'Airticket.Air_EconomyClass'
)
}}
:
{{
item
.
YSeat
}}
</div>
<div
class=
"TC_SeatList"
>
{{
$t
(
'Operation.Op_bindNum'
)
}}
:
<span
style=
"color:red"
>
{{
item
.
BindNum
}}
</span></div>
<div
class=
"TC_SeatList"
>
{{
$t
(
'Operation.Op_bindNum'
)
}}
:
<span
style=
"color:red"
>
{{
item
.
BindNum
}}
</span></div>
<div
class=
"TC_SeatList"
>
机票数量:
<span
style=
"color:red"
>
{{
item
.
TicketNum
}}
</span></div>
</div>
</div>
...
...
@@ -650,7 +658,8 @@
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
class=
"TC-dropdown"
>
<el-dropdown-item
@
click
.
native=
"goToOpenTravel('TravelManager2',item.ID,0)"
>
{{
$t
(
'Operation.Op_xilieModyfi'
)
}}
<el-dropdown-item
@
click
.
native=
"goToOpenTravel('TravelManager2',item.ID,0)"
>
{{
$t
(
'Operation.Op_xilieModyfi'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM)"
>
{{
$t
(
'Operation.Op_dangtuanModify'
)
}}
...
...
@@ -658,7 +667,8 @@
</el-dropdown-menu>
</el-dropdown>
<el-button
@
click=
'goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")'
type=
"primary"
style=
"background:#67c23a; border-color:#67c23a"
>
{{
$t
(
'Operation.Op_advertising'
)
}}
{{
item
.
AdvertCount
}}
style=
"background:#67c23a; border-color:#67c23a"
>
{{
$t
(
'Operation.Op_advertising'
)
}}
{{
item
.
AdvertCount
}}
</el-button>
<el-button
@
click=
"ckOPremark(item)"
type=
"primary"
style=
"background:#F16C3C; border-color:#F16C3C"
>
{{
$t
(
'Operation.Op_remark'
)
}}
...
...
@@ -668,16 +678,21 @@
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
class=
"TC-dropdown"
>
<el-dropdown-item
@
click
.
native=
"goTeamBalance(item.TCID,item.OutBranchId)"
>
{{
$t
(
'Operation.Op_shouzhiDetail'
)
}}
<el-dropdown-item
@
click
.
native=
"goTeamBalance(item.TCID,item.OutBranchId)"
>
{{
$t
(
'Operation.Op_shouzhiDetail'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goUrlR('confirmationOrderDownLoad',item)"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"removeTeamInfo(item.TCID)"
>
{{
$t
(
'system.table_delete'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goUrlR('confirmationOrderDownLoad',item)"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"removeTeamInfo(item.TCID)"
>
{{
$t
(
'system.table_delete'
)
}}
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState==2||item.TCState==0||item.TCState==1"
@
click
.
native=
"setUpPlat(item)"
>
{{
$t
(
'Operation.Op_shangjia'
)
}}
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState==3"
@
click
.
native=
"Setshelves(item.TCID)"
>
{{
$t
(
'Operation.Op_xiajia'
)
}}
<el-dropdown-item
v-if=
"item.TCState==3"
@
click
.
native=
"Setshelves(item.TCID)"
>
{{
$t
(
'Operation.Op_xiajia'
)
}}
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2)"
>
{{
$t
(
'Operation.Op_jietuan'
)
}}
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2)"
>
{{
$t
(
'Operation.Op_jietuan'
)
}}
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1)"
>
{{
$t
(
'visaT.sale'
)
}}
</el-dropdown-item>
...
...
@@ -688,10 +703,13 @@
@
click
.
native=
"goB2B(item.ConfigId, item.TCID)"
>
{{
$t
(
'Operation.Op_b2bView'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'goUrl("DistributionTransport",item.ID,"分销联运")'
>
{{
$t
(
'Operation.Op_salelianyun'
)
}}
<el-dropdown-item
@
click
.
native=
'goUrl("DistributionTransport",item.ID,"分销联运")'
>
{{
$t
(
'Operation.Op_salelianyun'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ckSellPoint(item)'
>
{{
$t
(
'Operation.Op_bentuanMaidian'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ShowUploadWord(item)'
>
{{
$t
(
'Operation.Op_wordTrip'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ckSellPoint(item)'
>
{{
$t
(
'Operation.Op_bentuanMaidian'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ShowUploadWord(item)'
>
{{
$t
(
'Operation.Op_wordTrip'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
...
...
@@ -715,7 +733,8 @@
<a
v-if=
"item.HotelDiningBus.DiningChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,2)"
style=
"color:blue;cursor:pointer"
>
{{
$t
(
'Operation.Op_HotelChange'
)
}}
</a>
<a
v-if=
"item.HotelDiningBus.ResultBusTypeStr!=''"
>
{{
$t
(
'Operation.Op_carType'
)
}}
:
{{
item
.
HotelDiningBus
.
ResultBusTypeStr
}}
</a>
<a
v-if=
"item.HotelDiningBus.ResultBusTypeStr!=''"
>
{{
$t
(
'Operation.Op_carType'
)
}}
:
{{
item
.
HotelDiningBus
.
ResultBusTypeStr
}}
</a>
</div>
</div>
</div>
...
...
@@ -723,8 +742,8 @@
</ul>
<div
class=
"noData"
v-show=
"queryMsg.noData"
>
{{
$t
(
'system.content_noData'
)
}}
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"queryMsg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryMsg.pageSize"
:total=
"queryMsg.total"
>
</el-pagination>
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryMsg.pageSize"
:total=
"queryMsg.total"
>
</el-pagination>
</div>
</div>
...
...
@@ -732,10 +751,11 @@
<div
class=
"combottomTitle"
>
{{
$t
(
'Operation.Op_choicePlat'
)
}}
</div>
<span
class=
"setPlatLeft"
>
{{
$t
(
'Operation.Op_salesPlat'
)
}}
</span>
<span>
<el-checkbox
v-model=
"queryCommonData.checkDialogAll"
@
change=
"checkAllDialog"
style=
"margin-right:20px;"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox
v-model=
"queryCommonData.checkDialogAll"
@
change=
"checkAllDialog"
style=
"margin-right:20px;"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox-group
v-model=
"queryCommonData.ckedplat"
@
change=
"checkDialog"
>
<el-checkbox
v-for=
"sales in $tripUtils.TeamStatesList.salsPlat"
:label=
"sales.Id"
:key=
"sales.Name"
>
{{
sales
.
Name
}}
</el-checkbox>
<el-checkbox
v-for=
"sales in $tripUtils.TeamStatesList.salsPlat"
:label=
"sales.Id"
:key=
"sales.Name"
>
{{
sales
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</span>
<span>
...
...
@@ -797,7 +817,7 @@
</
template
>
<
script
>
export
default
{
data
()
{
data
()
{
return
{
//查询数据列表
queryCommonData
:
{
...
...
@@ -908,8 +928,8 @@
TeamType
:
0
,
//一般常规团
IsShowUnion
:
1
,
TCID
:
'0'
,
HotelId
:
0
,
//酒店编号
HotelUseTime
:
""
,
//酒店使用时间
HotelId
:
0
,
//酒店编号
HotelUseTime
:
""
,
//酒店使用时间
},
remarkMsg
:
{
TCID
:
0
,
...
...
@@ -958,18 +978,20 @@
this
.
downloadFileRename
(
item
.
FullUrl
.
replace
(
reg
,
''
),
item
.
Name
)
},
//翻页
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
queryMsg
.
pageIndex
=
val
this
.
getControlList
()
},
//重新查询
resetPageIndex
()
{
resetPageIndex
()
{
this
.
queryMsg
.
pageIndex
=
1
this
.
queryMsg
.
currentPage
=
1
},
//获取线路列表
getLineList
()
{
this
.
apipost
(
'line_post_GetList'
,
{
"LineDirection"
:
2
},
res
=>
{
getLineList
()
{
this
.
apipost
(
'line_post_GetList'
,
{
"LineDirection"
:
2
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
this
.
queryCommonData
.
PlaceList
=
[]
...
...
@@ -978,7 +1000,7 @@
})
},
//获取目的地列表
getLinePlaceList
()
{
getLinePlaceList
()
{
this
.
queryMsg
.
PlaceID
=
0
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
...
...
@@ -991,7 +1013,7 @@
})
},
//获取系列列表
getLineTeamList
()
{
getLineTeamList
()
{
this
.
queryMsg
.
LineteamId
=
0
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
...
...
@@ -1005,13 +1027,13 @@
})
},
//切换公司
getCompanyTab
(
Id
)
{
getCompanyTab
(
Id
)
{
this
.
queryMsg
.
OutBranchId
=
Id
this
.
queryMsg
.
currentPage
=
1
this
.
getControlList
()
},
//获取航空公司
getAirlineList
()
{
getAirlineList
()
{
this
.
apipost
(
'airline_post_GetList'
,
{},
res
=>
{
...
...
@@ -1019,12 +1041,11 @@
this
.
queryCommonData
.
AirlineList
=
res
.
data
.
data
}
},
err
=>
{
}
err
=>
{}
)
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList
()
{
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
...
...
@@ -1040,13 +1061,12 @@
this
.
queryCommonData
.
EmployeeList
=
res
.
data
.
data
}
},
err
=>
{
}
err
=>
{}
)
},
//新获取列表数据
getControlList
()
{
getControlList
()
{
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
))
if
(
msg
.
TeamMinNum
==
''
)
{
...
...
@@ -1085,13 +1105,12 @@
})
}
},
err
=>
{
}
err
=>
{}
)
},
//验证大小
checkTeamNum
(
queryMsg
)
{
checkTeamNum
(
queryMsg
)
{
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
)
var
TeamMaxNum
=
parseInt
(
queryMsg
.
TeamMaxNum
)
var
ApplyMinNum
=
parseInt
(
queryMsg
.
ApplyMinNum
)
...
...
@@ -1104,7 +1123,7 @@
}
},
//初始化公司
getCompanyList
()
{
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
()
var
RB_Group_id
=
userInfo
.
RB_Group_id
let
msg
=
{
...
...
@@ -1123,12 +1142,11 @@
})
}
},
err
=>
{
}
err
=>
{}
)
},
//团期状态全选
checkGroupAll
(
val
)
{
checkGroupAll
(
val
)
{
this
.
queryMsg
.
GroupState
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
teamDateStates
.
forEach
(
x
=>
{
...
...
@@ -1136,13 +1154,13 @@
})
}
},
checkGroup
(
value
)
{
checkGroup
(
value
)
{
let
checkedCount
=
value
.
length
this
.
queryCommonData
.
checkGroupALL
=
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
teamDateStates
.
length
},
//销售平台全选
checkAllSales
(
val
)
{
checkAllSales
(
val
)
{
this
.
queryMsg
.
SalePlat
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
forEach
(
x
=>
{
...
...
@@ -1150,13 +1168,13 @@
})
}
},
checkSales
(
value
)
{
checkSales
(
value
)
{
let
checkedCount
=
value
.
length
this
.
queryCommonData
.
checkPlatForm
=
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
length
},
//团队状态全选
checkAllTeam
(
val
)
{
checkAllTeam
(
val
)
{
this
.
queryMsg
.
TCState
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
.
forEach
(
x
=>
{
...
...
@@ -1173,7 +1191,7 @@
this
.
queryCommonData
.
showPlatForm
=
false
}
},
checkedTeamList
(
value
)
{
checkedTeamList
(
value
)
{
if
(
value
.
indexOf
(
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
[
2
].
Id
)
>
-
1
)
{
this
.
queryCommonData
.
showPlatForm
=
true
}
else
{
...
...
@@ -1184,7 +1202,7 @@
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
.
length
},
//全选弹出框
checkAllDialog
(
val
)
{
checkAllDialog
(
val
)
{
this
.
queryCommonData
.
ckedplat
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
forEach
(
x
=>
{
...
...
@@ -1192,13 +1210,13 @@
})
}
},
checkDialog
(
value
)
{
checkDialog
(
value
)
{
let
checkedCount
=
value
.
length
this
.
queryCommonData
.
checkDialogAll
=
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
length
},
//点击上架
setUpPlat
(
item
)
{
setUpPlat
(
item
)
{
this
.
queryCommonData
.
outerVisible
=
false
this
.
queryCommonData
.
setPlatDialog
=
true
this
.
queryCommonData
.
singleTCID
=
item
.
TCID
...
...
@@ -1218,7 +1236,7 @@
}
},
//单团设置下架
Setshelves
(
TCID
)
{
Setshelves
(
TCID
)
{
let
msg
=
{
TCID
:
TCID
,
TCState
:
2
,
...
...
@@ -1236,7 +1254,7 @@
})
},
//单团设置上架
SetshelvesUp
()
{
SetshelvesUp
()
{
let
msg
=
{
TCID
:
this
.
queryCommonData
.
singleTCID
,
TCState
:
3
,
...
...
@@ -1257,7 +1275,7 @@
})
},
goUrl
(
path
,
id
,
name
)
{
goUrl
(
path
,
id
,
name
)
{
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
name
:
path
,
...
...
@@ -1268,7 +1286,7 @@
}
})
},
goUrlR
(
path
,
item
)
{
goUrlR
(
path
,
item
)
{
var
cityId
=
item
.
StartCityID
if
(
item
.
IsUnion
==
1
&&
item
.
UnionTypeStr
==
2
)
{
cityId
=
item
.
UnionCityId
...
...
@@ -1288,15 +1306,15 @@
window
.
open
(
routeData
.
href
,
'_blank'
)
},
//控制是否显示确认单按钮
showSureOrder
(
code
,
createBy
)
{
showSureOrder
(
code
,
createBy
)
{
let
UserInfo
=
this
.
getLocalStorage
();
if
(
createBy
==
UserInfo
.
EmployeeId
||
UserInfo
.
ActionMenuCode
.
indexOf
(
code
)
!=-
1
)
{
if
(
createBy
==
UserInfo
.
EmployeeId
||
UserInfo
.
ActionMenuCode
.
indexOf
(
code
)
!=
-
1
)
{
return
true
;
}
else
{
}
else
{
return
false
;
}
},
goSureOrder
(
path
,
TCID
)
{
goSureOrder
(
path
,
TCID
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -1306,7 +1324,7 @@
}
})
},
goUrlMake
(
path
,
LineID
,
TCID
,
name
)
{
goUrlMake
(
path
,
LineID
,
TCID
,
name
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -1317,7 +1335,7 @@
}
})
},
goB2B
(
ConfigId
,
tcid
)
{
goB2B
(
ConfigId
,
tcid
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
window
.
open
(
'http://www.oytour.com/#/detailTwo/'
+
...
...
@@ -1326,7 +1344,7 @@
'_blank'
)
},
goTeamBalance
(
id
,
OutBranchId
)
{
goTeamBalance
(
id
,
OutBranchId
)
{
this
.
$router
.
push
({
name
:
'TeamBalancePayment'
,
query
:
{
...
...
@@ -1338,7 +1356,7 @@
})
},
//开团或修改
goToOpenTravel
(
path
,
configId
,
tcid
)
{
goToOpenTravel
(
path
,
configId
,
tcid
)
{
if
(
configId
>
0
)
{
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
...
...
@@ -1359,7 +1377,7 @@
},
//当团修改
goTonowTeam
(
path
,
configId
,
tcid
,
TCNUM
)
{
goTonowTeam
(
path
,
configId
,
tcid
,
TCNUM
)
{
if
(
configId
>
0
)
{
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
...
...
@@ -1382,7 +1400,7 @@
},
//删除团期
removeTeamInfo
(
TCID
)
{
removeTeamInfo
(
TCID
)
{
var
that
=
this
that
.
Confirm
(
'是否删除?'
,
function
()
{
var
msg
=
{
...
...
@@ -1404,14 +1422,14 @@
})
},
//获取城市
getCountryCity
()
{
getCountryCity
()
{
this
.
apipost
(
'sellorder_get_GetAllStartCity'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
CityList
=
res
.
data
.
data
}
})
},
getSellorCompany
()
{
getSellorCompany
()
{
//出团公司
this
.
apipost
(
'sellorder_post_GetBranchList'
,
{},
...
...
@@ -1420,12 +1438,11 @@
this
.
queryCommonData
.
companyList
=
res
.
data
.
data
}
},
err
=>
{
}
err
=>
{}
)
},
//点击op备注
ckOPremark
(
item
)
{
ckOPremark
(
item
)
{
this
.
remarkMsg
.
TCID
=
item
.
TCID
this
.
remarkMsg
.
OPRemark
=
item
.
OPRemark
this
.
remarkMsg
.
OPInnerRemark
=
item
.
OPInnerRemark
...
...
@@ -1433,7 +1450,7 @@
this
.
queryCommonData
.
outerVisible
=
true
},
//设置OP备注
setOPremark
()
{
setOPremark
()
{
this
.
apipost
(
'travel_post_SetTravelPrcieOpRemark'
,
this
.
remarkMsg
,
...
...
@@ -1446,19 +1463,18 @@
this
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{
}
err
=>
{}
)
},
//点击本团卖点
ckSellPoint
(
item
)
{
ckSellPoint
(
item
)
{
this
.
queryCommonData
.
SellingPoints
=
true
this
.
remarkMsg
.
ConfigId
=
item
.
ID
this
.
remarkMsg
.
ProductRecommend
=
item
.
ProductRecommend
this
.
remarkMsg
.
TCID
=
item
.
TCID
},
//本团卖点
SetSellingPoints
()
{
SetSellingPoints
()
{
this
.
apipost
(
'travel_post_SetSellingPoints'
,
this
.
remarkMsg
,
...
...
@@ -1471,17 +1487,16 @@
this
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{
}
err
=>
{}
)
},
checkedFlight
(
item
)
{
checkedFlight
(
item
)
{
this
.
queryMsg
.
FlightState
=
item
.
Id
this
.
queryCommonData
.
flightCKed
=
[]
this
.
queryCommonData
.
flightCKed
.
push
(
item
.
Id
)
},
//点击选取出团公司
getCompanyCheck
(
item
)
{
getCompanyCheck
(
item
)
{
item
.
isShow
=
!
item
.
isShow
this
.
queryCommonData
.
checkCompanyAll
=
false
this
.
$forceUpdate
()
...
...
@@ -1503,7 +1518,7 @@
this
.
getControlList
()
},
//查询全部
getCompanyCheckAll
()
{
getCompanyCheckAll
()
{
this
.
queryCommonData
.
checkCompanyAll
=
true
this
.
queryMsg
.
OutBranchIds
=
[]
this
.
queryCommonData
.
BranchList
.
forEach
(
x
=>
{
...
...
@@ -1512,7 +1527,7 @@
this
.
getControlList
()
},
SetPrice
(
value
)
{
SetPrice
(
value
)
{
if
(
value
==
null
)
{
return
0.0
}
...
...
@@ -1529,7 +1544,7 @@
},
//隐藏显示
ShowUnionList
(
item
)
{
ShowUnionList
(
item
)
{
// this.queryCommonData.showUnion = !this.queryCommonData.showUnion;
item
.
isshowUnion
=
!
item
.
isshowUnion
if
(
item
.
isshowUnion
)
{
...
...
@@ -1540,7 +1555,7 @@
this
.
$forceUpdate
()
},
//酒店餐厅处理跳转
goHotelDiningBus
(
item
,
HotelDiningBus
,
type
)
{
goHotelDiningBus
(
item
,
HotelDiningBus
,
type
)
{
if
(
type
==
1
)
{
this
.
$router
.
push
({
name
:
'ChangeHotel'
,
...
...
@@ -1564,12 +1579,12 @@
}
},
//显示弹窗层
ShowUploadWord
(
item
)
{
ShowUploadWord
(
item
)
{
this
.
queryCommonData
.
UploadWORDTip
=
true
this
.
queryCommonData
.
UploadItem
=
item
},
//保存WORD路劲
uploadFileBtn
(
file
)
{
uploadFileBtn
(
file
)
{
var
that
=
this
let
newArr
=
[]
newArr
.
push
(
file
.
file
)
...
...
@@ -1594,8 +1609,7 @@
that
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{
}
err
=>
{}
)
}
else
{
that
.
Error
(
'上传文件失败!'
)
...
...
@@ -1603,7 +1617,7 @@
})
},
//结团/正常
OutGroup
(
TCID
,
Status
)
{
OutGroup
(
TCID
,
Status
)
{
let
msg
=
{
TCID
:
TCID
,
Status
:
Status
,
...
...
@@ -1621,11 +1635,11 @@
},
},
filters
:
{
formatStartDate
(
value
)
{
formatStartDate
(
value
)
{
let
dataArr
=
value
.
split
(
'-'
)
return
dataArr
[
1
]
+
'-'
+
dataArr
[
2
]
},
priceFormat
(
value
)
{
priceFormat
(
value
)
{
if
(
value
==
null
)
{
return
0.0
}
...
...
@@ -1641,7 +1655,7 @@
return
x1
+
x2
}
},
mounted
()
{
mounted
()
{
//销售公司
this
.
getSellorCompany
()
this
.
getCompanyList
()
...
...
@@ -1650,7 +1664,7 @@
this
.
getEmployeeList
()
this
.
getCountryCity
()
},
created
()
{
created
()
{
//默认显示联运
this
.
queryMsg
.
IsShowUnion
=
1
let
userInfo
=
this
.
getLocalStorage
()
...
...
@@ -1658,12 +1672,39 @@
this
.
$route
.
query
.
tcmun
=
this
.
$route
.
query
.
tcmun
if
(
this
.
$route
.
query
.
tcmun
)
{
this
.
queryMsg
.
TCNUM
=
this
.
$route
.
query
.
tcmun
this
.
queryCommonData
.
flightCKed
=
[];
this
.
queryCommonData
.
flightCKed
.
push
(
0
);
this
.
flightStatus
.
forEach
((
subItem
,
subIndex
)
=>
{
if
(
subIndex
==
0
)
{
subItem
.
Checked
=
true
;
}
else
{
subItem
.
Checked
=
false
;
}
});
this
.
queryMsg
.
TCNUM
=
this
.
$route
.
query
.
tcmun
;
}
if
(
this
.
$route
.
query
.
HotelId
)
{
this
.
queryMsg
.
HotelId
=
this
.
$route
.
query
.
HotelId
this
.
queryCommonData
.
flightCKed
=
[];
this
.
queryCommonData
.
flightCKed
.
push
(
0
);
this
.
flightStatus
.
forEach
((
subItem
,
subIndex
)
=>
{
if
(
subIndex
==
0
)
{
subItem
.
Checked
=
true
;
}
else
{
subItem
.
Checked
=
false
;
}
});
this
.
queryMsg
.
HotelId
=
this
.
$route
.
query
.
HotelId
;
}
if
(
this
.
$route
.
query
.
HotelUseTime
)
{
this
.
queryCommonData
.
flightCKed
=
[];
this
.
queryCommonData
.
flightCKed
.
push
(
0
);
this
.
flightStatus
.
forEach
((
subItem
,
subIndex
)
=>
{
if
(
subIndex
==
0
)
{
subItem
.
Checked
=
true
;
}
else
{
subItem
.
Checked
=
false
;
}
});
this
.
queryMsg
.
HotelUseTime
=
this
.
$route
.
query
.
HotelUseTime
}
...
...
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