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
1b600bb4
Commit
1b600bb4
authored
Mar 25, 2019
by
qiaoyajun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
团控列表
parent
ae80d01d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
253 additions
and
177 deletions
+253
-177
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+253
-177
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
1b600bb4
...
...
@@ -55,29 +55,32 @@
font-weight
:
700
;
font-size
:
14px
;
}
.TC_Content
._pic_upload
.el-upload-dragger
{
font-size
:
28px
;
color
:
#8c939d
;
width
:
126px
;
height
:
80px
;
line-height
:
41px
;
text-align
:
center
;
}
.TC_Content
._pic_upload
>
div
{
float
:
left
;
width
:
138px
;
height
:
92px
;
border
:
1px
dashed
rgba
(
210
,
210
,
210
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
margin-bottom
:
10px
;
padding
:
5px
;
margin-right
:
10px
;
position
:
relative
;
}
.TC_Content
.avatar-uploader-icon
{
height
:
auto
;
}
.TC_Content
._pic_upload
.el-upload-dragger
{
font-size
:
28px
;
color
:
#8c939d
;
width
:
126px
;
height
:
80px
;
line-height
:
41px
;
text-align
:
center
;
}
.TC_Content
._pic_upload
>
div
{
float
:
left
;
width
:
138px
;
height
:
92px
;
border
:
1px
dashed
rgba
(
210
,
210
,
210
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
margin-bottom
:
10px
;
padding
:
5px
;
margin-right
:
10px
;
position
:
relative
;
}
.TC_Content
.avatar-uploader-icon
{
height
:
auto
;
}
</
style
>
<
template
>
<div
class=
"TC_Content"
>
...
...
@@ -86,24 +89,29 @@
<!--v-if="queryCommonData.IsParentCompany==1"-->
<div
class=
"TC_companyList"
>
<span
:class=
"
{'TC_checked':queryCommonData.checkCompanyAll}" @click="getCompanyCheckAll()">全部
</span>
<span
v-for=
"(item,bindex) in queryCommonData.BranchList"
:class=
"
{'TC_checked':item.isShow}" @click="getCompanyCheck(item)">
{{
item
.
BName
}}
</span>
<span
v-for=
"(item,bindex) in queryCommonData.BranchList"
:class=
"
{'TC_checked':item.isShow}"
@click="getCompanyCheck(item)">
{{
item
.
BName
}}
</span>
</div>
<ul>
<li>
<span>
<em>
所属线路
</em>
<el-select
class=
"w150"
v-model=
"queryMsg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLinePlaceList()"
>
<el-select
class=
"w150"
v-model=
"queryMsg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLinePlaceList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.LineList"
:label=
"item.LineName"
:value=
"item.LineID"
:key=
"item.LineID"
></el-option>
<el-option
v-for=
"item in queryCommonData.LineList"
:label=
"item.LineName"
:value=
"item.LineID"
:key=
"item.LineID"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
国别/目的地
</em>
<el-select
class=
"w150"
v-model=
"queryMsg.PlaceID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-select
class=
"w150"
v-model=
"queryMsg.PlaceID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.PlaceList"
:label=
"item.PlaceName"
:value=
"item.PlaceID"
:key=
"item.LtID"
></el-option>
<el-option
v-for=
"item in queryCommonData.PlaceList"
:label=
"item.PlaceName"
:value=
"item.PlaceID"
:key=
"item.LtID"
></el-option>
</el-select>
</span>
</li>
...
...
@@ -112,31 +120,36 @@
<em>
系列名称
</em>
<el-select
class=
"w150"
v-model=
"queryMsg.LineteamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.LineTeamList"
:label=
"item.LtName"
:value=
"item.LtID"
:key=
"item.LtID"
></el-option>
<el-option
v-for=
"item in queryCommonData.LineTeamList"
:label=
"item.LtName"
:value=
"item.LtID"
:key=
"item.LtID"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
团号
</em>
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCNUM"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCNUM"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li
style=
"display:none;"
>
<span>
<em>
编号
</em>
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCID"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCID"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
发团日期
</em>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
: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>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
: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>
</span>
</li>
<li
class=
"advancedLi"
style=
"height:34px;"
>
...
...
@@ -147,61 +160,74 @@
<div
class=
"TC_leftSearch"
>
<div>
<span>
航空公司
</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
v-for=
"item in queryCommonData.AirlineList"
:key=
"item.AirLineId"
:label=
"item.AlName"
:value=
"item.AirLineId"
></el-option>
<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
v-for=
"item in queryCommonData.AirlineList"
:key=
"item.AirLineId"
:label=
"item.AlName"
:value=
"item.AirLineId"
></el-option>
</el-select>
</div>
<div>
<span>
操作人员
</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
v-for=
"item in queryCommonData.EmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></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>
</el-select>
</div>
<div>
<span>
行程天数
</span>
<el-input
maxlength=
"50"
v-model=
"queryMsg.DayNum"
@
keyup
.
native=
"checkInteger(queryMsg,'DayNum')"
class=
"w150"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
class=
"w150"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</div>
<div>
<span>
联运城市
</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
v-for=
"item in queryCommonData.CityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
<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
v-for=
"item in queryCommonData.CityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
</div>
</div>
<div
class=
"TC_rightSearch"
>
<div>
<span>
团队人数
</span>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMinNum"
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMinNum"
@
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>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMaxNum"
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMaxNum')"
@
blur=
"checkTeamNum(queryMsg)"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</div>
<div>
<span>
报名人数
</span>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMinNum"
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMinNum"
@
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>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMaxNum"
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMaxNum')"
@
blur=
"checkTeamNum(queryMsg)"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</div>
<div
class=
"OnlyShowOverTeam"
>
<span>
只看报超团
</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>
销售公司
</span>
<el-select
class=
"w180 multiple_input"
:class=
"
{'SaleBranchList':queryMsg.SaleBranchId==''}"
v-model="queryMsg.SaleBranchId" multiple>
v-model="queryMsg.SaleBranchId" multiple>
<el-option
v-for=
"item in queryCommonData.companyList"
:key=
"item.id"
:label=
"item.bName"
:value=
"item.id"
></el-option>
:value=
"item.id"
></el-option>
</el-select>
</div>
</div>
...
...
@@ -211,7 +237,8 @@
<span>
<el-checkbox
v-model=
"queryCommonData.checkTCStateAll"
@
change=
"checkAllTeam"
>
全选
</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>
<el-checkbox
v-for=
"team in $tripUtils.TeamStatesList.TeamStates"
:label=
"team.Id"
:key=
"team.Name"
>
{{
team
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</span>
</div>
...
...
@@ -221,7 +248,8 @@
<span>
<el-checkbox
v-model=
"queryCommonData.checkPlatForm"
@
change=
"checkAllSales"
>
全选
</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>
<el-checkbox
v-for=
"sales in $tripUtils.TeamStatesList.salsPlat"
:label=
"sales.Id"
:key=
"sales.Name"
>
{{
sales
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</span>
</div>
...
...
@@ -230,7 +258,8 @@
<span>
<el-checkbox
v-model=
"queryCommonData.checkGroupALL"
@
change=
"checkGroupAll"
>
全选
</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>
<el-checkbox
v-for=
"state in $tripUtils.TeamStatesList.teamDateStates"
:label=
"state.Id"
:key=
"state.Name"
>
{{
state
.
Name
}}
</el-checkbox>
</el-checkbox-group>
<el-checkbox
v-model=
"queryMsg.IsWarning"
>
预警团
</el-checkbox>
</span>
...
...
@@ -239,8 +268,9 @@
<span>
航班状态
</span>
<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>
<el-checkbox
v-for=
"state in flightStatus"
:label=
"state.Id"
:checked=
"state.Checked"
@
change=
"checkedFlight(state)"
:key=
"state.Name"
>
{{
state
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</span>
</div>
...
...
@@ -253,7 +283,8 @@
</el-select>
</span>
</div>
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),getControlList(),queryCommonData.showHigradeSearch=false"
>
查询
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),getControlList(),queryCommonData.showHigradeSearch=false"
>
查询
</button>
</div>
<span
class=
"advancedQuery"
slot=
"reference"
>
高级查询
...
...
@@ -269,7 +300,8 @@
<div
class=
"TC_leftSearch"
>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
报名人数
</span>
<el-select
v-model=
"queryMsg.WarningQuery"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<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>
<el-option
label=
"尚未有人报名"
value=
"1"
></el-option>
<el-option
label=
"10人以下"
value=
"2"
></el-option>
...
...
@@ -280,7 +312,8 @@
</div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
天数选择
</span>
<el-select
v-model=
"queryMsg.RateOnDay"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<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>
<el-option
label=
"10天以内"
value=
"1"
></el-option>
<el-option
label=
"15天以内"
value=
"2"
></el-option>
...
...
@@ -290,7 +323,8 @@
</div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
上座率
</span>
<el-select
v-model=
"queryMsg.RateOn"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<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>
<el-option
label=
"100%"
value=
"1"
></el-option>
<el-option
label=
"不足80%"
value=
"2"
></el-option>
...
...
@@ -300,7 +334,8 @@
</div>
</div>
</div>
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),getControlList(),queryCommonData.showWarningSearch=false"
>
查询
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),getControlList(),queryCommonData.showWarningSearch=false"
>
查询
</button>
</div>
<span
class=
"advancedQuery"
slot=
"reference"
>
预警查询
...
...
@@ -317,8 +352,10 @@
<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>
<li
v-for=
"(item,index) in queryCommonData.dataList"
:key=
"index"
:class=
"
{'TC_hasContent':item.OPInnerRemark==''
&&
item.OPRemark==''}">
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"
>
<div
class=
"clearfix"
>
<div
class=
"TCL_remarkTitle"
>
团名:
</div>
...
...
@@ -346,8 +383,9 @@
<p
class=
"d12p"
>
{{
item
.
LtName
}}
</p>
</div>
<div
class=
"TC_TravelSalePlat clearfix"
>
<span
class=
"TC_neibu"
v-if=
"item.TCState==3"
:class=
"
{'TCneibu':plat==3,'TCb2b':plat==1,'TCb2c':plat==2,'AppPlat':plat==4,'otherPlat':plat==5}"
v-for="plat in item.SalePlatList" :key="plat.subCode">
{{
$tripUtils
.
getPlatName
(
plat
)
}}
</span>
<span
class=
"TC_neibu"
v-if=
"item.TCState==3"
:class=
"
{'TCneibu':plat==3,'TCb2b':plat==1,'TCb2c':plat==2,'AppPlat':plat==4,'otherPlat':plat==5}"
v-for="plat in item.SalePlatList" :key="plat.subCode">
{{
$tripUtils
.
getPlatName
(
plat
)
}}
</span>
<span
class=
"TC_xiajia daiwanshan"
v-if=
"item.TCState==1"
>
待完善
</span>
<span
class=
"TC_xiajia"
v-if=
"item.TCState==2"
>
已下架
</span>
<span
class=
"TC_xiajia quxiao"
v-if=
"item.TCState==4"
>
已取消
</span>
...
...
@@ -372,7 +410,8 @@
<td
class=
"_d_name _color_666"
>
<span
v-if=
"fIndex==0"
>
{{
$t
(
'Airticket.Air_go'
)
}}
</span>
<span
v-else-if=
"fIndex==item.flightList.length-1"
>
{{
$t
(
'Airticket.Air_returnTrip'
)
}}
</span>
<span
v-else-if=
"fIndex>0 && fIndex!=item.flightList.length-1"
>
{{
$t
(
'Airticket.Air_transit'
)
}}
</span>
<span
v-else-if=
"fIndex>0 && fIndex!=item.flightList.length-1"
>
{{
$t
(
'Airticket.Air_transit'
)
}}
</span>
</td>
<td>
<div>
{{
fItem
.
Flight_number
}}
</div>
...
...
@@ -390,7 +429,8 @@
</tr>
</table>
<div
class=
"FlightDiv-TCL"
slot=
"reference"
>
<div
v-for=
"subItem in item.flightList"
slot=
"reference"
:key=
"subItem.subCode"
class=
"TCL-flighInfoList"
>
<div
v-for=
"subItem in item.flightList"
slot=
"reference"
:key=
"subItem.subCode"
class=
"TCL-flighInfoList"
>
<span
class=
"travelnowrap"
>
<span
class=
"TCL-FlightNumber"
>
{{
subItem
.
Flight_number
}}
</span>
(
{{
subItem
.
DIATA
}}
)
{{
subItem
.
DepartureName
}}
...
...
@@ -424,8 +464,8 @@
<span>
出团公司
</span>
{{
item
.
OutBranchName
}}
</p>
<p
class=
"travelnowrap"
v-if=
"item.WordPath!=''"
>
<a
style=
"corsor:pointer;"
:href=
"domainManager().ViittoFileUrl+item.WordPath"
>
下载WORD行程
</a>
<p
class=
"travelnowrap"
v-if=
"item.WordPath!=''"
>
<a
style=
"corsor:pointer;"
:href=
"domainManager().ViittoFileUrl+item.WordPath"
>
下载WORD行程
</a>
</p>
</div>
</div>
...
...
@@ -503,13 +543,14 @@
</p>
<p>
<span>
当前余位
</span>
<i>
{{
item
.
SurplusSeat
=
item
.
SurplusSeat
<
0
?
0
:
item
.
SurplusSeat
}}
</i>
</p>
<p>
<span>
已报入
</span>
<i>
<i>
{{
item
.
SurplusSeat
=
item
.
SurplusSeat
<
0
?
0
:
item
.
SurplusSeat
}}
</i></p>
<p>
<span>
已报入
</span>
<i>
{{
item
.
OrderGuestNum
}}
<span
class=
"TCL-redType"
v-if=
"item.OrderLeaderGuestNum>=1"
>
+
{{
item
.
OrderLeaderGuestNum
}}
</span>
人
</i>
{{
item
.
OrderGuestNum
}}
<span
class=
"TCL-redType"
v-if=
"item.OrderLeaderGuestNum>=1"
>
+
{{
item
.
OrderLeaderGuestNum
}}
</span>
人
</i>
</p>
<p>
<span>
占位
</span>
...
...
@@ -583,7 +624,8 @@
<span>
签证资料
</span>
</p>
<p
v-if=
"item.VisaFileList.length!==0"
v-for=
"(item2, index2) in item.VisaFileList"
:key=
"index2"
>
<span
style=
"cursor:pointer;text-decoration: underline;"
@
click=
"downloadFile(item2)"
>
{{
item2
.
Name
}}
</span>
<span
style=
"cursor:pointer;text-decoration: underline;"
@
click=
"downloadFile(item2)"
>
{{
item2
.
Name
}}
</span>
</p>
<p>
<span>
个签
</span>
...
...
@@ -595,7 +637,8 @@
</div>
<div
class=
"el-col"
>
<div
class=
"d7"
>
<el-button
@
click
.
native=
'goUrl("RegistrationList", item.TCID,"报名清单")'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF"
>
报名清单
<el-button
@
click
.
native=
'goUrl("RegistrationList", item.TCID,"报名清单")'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF"
>
报名清单
</el-button>
<el-dropdown
trigger=
"click"
style=
"margin-bottom:5px;"
>
<span
class=
"el-dropdown-link"
>
修改
...
...
@@ -609,7 +652,8 @@
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-button
@
click=
'goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")'
type=
"primary"
style=
"background:#67c23a; border-color:#67c23a"
>
广告
{{
item
.
AdvertCount
}}
<el-button
@
click=
'goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")'
type=
"primary"
style=
"background:#67c23a; border-color:#67c23a"
>
广告
{{
item
.
AdvertCount
}}
</el-button>
<el-button
@
click=
"ckOPremark(item)"
type=
"primary"
style=
"background:#F16C3C; border-color:#F16C3C"
>
OP备注
...
...
@@ -623,7 +667,8 @@
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goUrlR('confirmationOrderDownLoad',item)"
>
行程下载
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"removeTeamInfo(item.TCID)"
>
删除
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState==2||item.TCState==0||item.TCState==1"
@
click
.
native=
"setUpPlat(item)"
>
上架
<el-dropdown-item
v-if=
"item.TCState==2||item.TCState==0||item.TCState==1"
@
click
.
native=
"setUpPlat(item)"
>
上架
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState==3"
@
click
.
native=
"Setshelves(item.TCID)"
>
下架
</el-dropdown-item>
...
...
@@ -631,15 +676,18 @@
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1)"
>
销售
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goSureOrder('priceIncomeConfirmInfo',item.TCID)"
style=
"display:none;"
>
收入确认单
</el-dropdown-item>
<el-dropdown-item
v-if=
"CurrentUserInfo.B2BDomain!=''"
@
click
.
native=
"goB2B(item.ConfigId, item.TCID)"
>
<!--
<el-dropdown-item
v-if=
"item.Status==1&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)"
--
>
<!--@click.native="goSureOrder('priceIncomeConfirmInfo',item.TCID)"-->
<!--style="display:none;">收入确认单-->
<!--
</el-dropdown-item>
-->
<el-dropdown-item
v-if=
"CurrentUserInfo.B2BDomain!=''"
@
click
.
native=
"goB2B(item.ConfigId, item.TCID)"
>
B2B预览
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'goUrl("DistributionTransport",item.ID,"分销联运")'
>
分销联运
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ckSellPoint(item)'
>
本团卖点
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ShowUploadWord(item)'
>
WORD行程
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ShowUploadWord(item)'
>
WORD行程
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
...
...
@@ -654,13 +702,15 @@
<div
class=
"TCL_remarkTitle"
>
OP对内备注:
</div>
<div
class=
"TCL_Content"
>
{{
item
.
OPInnerRemark
}}
</div>
</div>
<div
class=
"clearfix TCL-redType"
v-if=
"item.DmcRemarkLast || item.HotelDiningBus.HotelChangeState>0 || item.HotelDiningBus.DiningChangeState>0 || item.HotelDiningBus.ResultBusTypeStr!='' "
>
<div
class=
"clearfix TCL-redType"
v-if=
"item.DmcRemarkLast || item.HotelDiningBus.HotelChangeState>0 || item.HotelDiningBus.DiningChangeState>0 || item.HotelDiningBus.ResultBusTypeStr!='' "
>
<div
class=
"TCL_remarkTitle"
>
地接备注:
</div>
<div
class=
"TCL_Content"
>
{{
item
.
DmcRemarkLast
!=
null
?
item
.
DmcRemarkLast
.
DMCRemark
:
''
}}
<a
v-if=
"item.HotelDiningBus.HotelChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,1)"
style=
"color:blue;cursor:pointer"
>
酒店变更
</a>
<a
v-if=
"item.HotelDiningBus.DiningChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,2)"
style=
"color:blue;cursor:pointer"
>
餐厅变更
</a>
style=
"color:blue;cursor:pointer"
>
酒店变更
</a>
<a
v-if=
"item.HotelDiningBus.DiningChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,2)"
style=
"color:blue;cursor:pointer"
>
餐厅变更
</a>
<a
v-if=
"item.HotelDiningBus.ResultBusTypeStr!=''"
>
车型:
{{
item
.
HotelDiningBus
.
ResultBusTypeStr
}}
</a>
</div>
</div>
...
...
@@ -669,7 +719,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>
...
...
@@ -677,7 +728,8 @@
<div
class=
"combottomTitle"
>
请选择上架平台
</div>
<span
class=
"setPlatLeft"
>
销售平台
</span>
<span>
<el-checkbox
v-model=
"queryCommonData.checkDialogAll"
@
change=
"checkAllDialog"
style=
"margin-right:20px;"
>
全选
</el-checkbox>
<el-checkbox
v-model=
"queryCommonData.checkDialogAll"
@
change=
"checkAllDialog"
style=
"margin-right:20px;"
>
全选
</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-group>
...
...
@@ -720,11 +772,17 @@
<button
class=
"normalBtn"
type=
"primary"
@
click=
"SetSellingPoints"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</div>
<div
class=
"combottomDiv OPremarkDiv"
v-if=
"queryCommonData.UploadWORDTip"
v-loading=
"queryCommonData.uploadLoading"
>
<div
class=
"combottomTitle"
>
上传WORD行程
<button
style=
"float:right;margin-right:100px;"
class=
"hollowFixedBtn"
type=
"primary"
@
click=
"queryCommonData.UploadWORDTip = false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button></div>
<div
class=
"combottomDiv OPremarkDiv"
v-if=
"queryCommonData.UploadWORDTip"
v-loading=
"queryCommonData.uploadLoading"
>
<div
class=
"combottomTitle"
>
上传WORD行程
<button
style=
"float:right;margin-right:100px;"
class=
"hollowFixedBtn"
type=
"primary"
@
click=
"queryCommonData.UploadWORDTip = false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
</div>
<el-form
label-width=
"100px"
>
<el-col
:span=
"8"
class=
"_pic_upload"
>
<el-upload
:http-request=
"uploadFileBtn"
drag
:multiple=
"true"
:show-file-list=
"false"
action=
""
accept=
"*.doc,*.docx"
>
<el-upload
:http-request=
"uploadFileBtn"
drag
:multiple=
"true"
:show-file-list=
"false"
action=
""
accept=
"*.doc,*.docx"
>
<i
class=
"el-icon-plus avatar-uploader-icon"
></i>
<div
class=
"el-upload__text"
>
点击/拖拽上传
</div>
</el-upload>
...
...
@@ -735,7 +793,7 @@
</
template
>
<
script
>
export
default
{
data
()
{
data
()
{
return
{
//查询数据列表
queryCommonData
:
{
...
...
@@ -803,7 +861,7 @@
//选择上传项
UploadItem
:
{},
//word上传提示层
uploadLoading
:
false
,
uploadLoading
:
false
,
},
//查询参数
queryMsg
:
{
...
...
@@ -857,10 +915,10 @@
ProductRecommend
:
''
},
flightStatus
:
[{
Id
:
0
,
Name
:
'不限'
,
Checked
:
false
},
Id
:
0
,
Name
:
'不限'
,
Checked
:
false
},
{
Id
:
1
,
Name
:
'已配置'
,
...
...
@@ -894,17 +952,17 @@
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
()
{
getLineList
()
{
this
.
apipost
(
'line_post_GetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
...
...
@@ -914,7 +972,7 @@
})
},
//获取目的地列表
getLinePlaceList
()
{
getLinePlaceList
()
{
this
.
queryMsg
.
PlaceID
=
0
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
...
...
@@ -927,7 +985,7 @@
})
},
//获取系列列表
getLineTeamList
()
{
getLineTeamList
()
{
this
.
queryMsg
.
LineteamId
=
0
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
...
...
@@ -941,13 +999,13 @@
})
},
//切换公司
getCompanyTab
(
Id
)
{
getCompanyTab
(
Id
)
{
this
.
queryMsg
.
OutBranchId
=
Id
this
.
queryMsg
.
currentPage
=
1
this
.
getControlList
()
},
//获取航空公司
getAirlineList
()
{
getAirlineList
()
{
this
.
apipost
(
'airline_post_GetList'
,
{},
res
=>
{
...
...
@@ -955,11 +1013,12 @@
this
.
queryCommonData
.
AirlineList
=
res
.
data
.
data
}
},
err
=>
{}
err
=>
{
}
)
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList
()
{
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
...
...
@@ -975,12 +1034,13 @@
this
.
queryCommonData
.
EmployeeList
=
res
.
data
.
data
}
},
err
=>
{}
err
=>
{
}
)
},
//新获取列表数据
getControlList
()
{
getControlList
()
{
if
(
this
.
flagWangYue
)
{
this
.
queryCommonData
.
flightCKed
=
[]
this
.
queryCommonData
.
flightCKed
.
push
(
0
)
...
...
@@ -1023,12 +1083,13 @@
})
}
},
err
=>
{}
err
=>
{
}
)
},
//验证大小
checkTeamNum
(
queryMsg
)
{
checkTeamNum
(
queryMsg
)
{
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
)
var
TeamMaxNum
=
parseInt
(
queryMsg
.
TeamMaxNum
)
var
ApplyMinNum
=
parseInt
(
queryMsg
.
ApplyMinNum
)
...
...
@@ -1041,7 +1102,7 @@
}
},
//初始化公司
getCompanyList
()
{
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
()
var
RB_Group_id
=
userInfo
.
RB_Group_id
let
msg
=
{
...
...
@@ -1060,11 +1121,12 @@
})
}
},
err
=>
{}
err
=>
{
}
)
},
//团期状态全选
checkGroupAll
(
val
)
{
checkGroupAll
(
val
)
{
this
.
queryMsg
.
GroupState
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
teamDateStates
.
forEach
(
x
=>
{
...
...
@@ -1072,13 +1134,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
=>
{
...
...
@@ -1086,13 +1148,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
=>
{
...
...
@@ -1109,7 +1171,7 @@
this
.
queryCommonData
.
showPlatForm
=
false
}
},
checkedTeamList
(
value
)
{
checkedTeamList
(
value
)
{
if
(
value
.
indexOf
(
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
[
2
].
Id
)
>
-
1
)
{
this
.
queryCommonData
.
showPlatForm
=
true
}
else
{
...
...
@@ -1120,7 +1182,7 @@
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
.
length
},
//全选弹出框
checkAllDialog
(
val
)
{
checkAllDialog
(
val
)
{
this
.
queryCommonData
.
ckedplat
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
forEach
(
x
=>
{
...
...
@@ -1128,13 +1190,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
...
...
@@ -1154,7 +1216,7 @@
}
},
//单团设置下架
Setshelves
(
TCID
)
{
Setshelves
(
TCID
)
{
let
msg
=
{
TCID
:
TCID
,
TCState
:
2
,
...
...
@@ -1172,7 +1234,7 @@
})
},
//单团设置上架
SetshelvesUp
()
{
SetshelvesUp
()
{
let
msg
=
{
TCID
:
this
.
queryCommonData
.
singleTCID
,
TCState
:
3
,
...
...
@@ -1193,7 +1255,7 @@
})
},
goUrl
(
path
,
id
,
name
)
{
goUrl
(
path
,
id
,
name
)
{
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
name
:
path
,
...
...
@@ -1204,7 +1266,7 @@
}
})
},
goUrlR
(
path
,
item
)
{
goUrlR
(
path
,
item
)
{
var
cityId
=
item
.
StartCityID
if
(
item
.
IsUnion
==
1
&&
item
.
UnionTypeStr
==
2
)
{
cityId
=
item
.
UnionCityId
...
...
@@ -1223,7 +1285,18 @@
})
window
.
open
(
routeData
.
href
,
'_blank'
)
},
goSureOrder
(
path
,
TCID
){
//控制是否显示确认单按钮
showSureOrder
(
code
,
createBy
)
{
let
UserInfo
=
this
.
getLocalStorage
();
console
.
log
(
"ceode码"
,
code
);
console
.
log
(
UserInfo
.
ActionMenuCode
);
if
(
createBy
==
UserInfo
.
EmployeeId
||
UserInfo
.
ActionMenuCode
.
contains
(
code
)){
return
true
;
}
else
{
return
false
;
}
},
goSureOrder
(
path
,
TCID
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -1233,7 +1306,7 @@
}
})
},
goUrlMake
(
path
,
LineID
,
TCID
,
name
)
{
goUrlMake
(
path
,
LineID
,
TCID
,
name
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -1244,7 +1317,7 @@
}
})
},
goB2B
(
ConfigId
,
tcid
)
{
goB2B
(
ConfigId
,
tcid
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
window
.
open
(
'http://www.oytour.com/#/detailTwo/'
+
...
...
@@ -1253,7 +1326,7 @@
'_blank'
)
},
goTeamBalance
(
id
,
OutBranchId
)
{
goTeamBalance
(
id
,
OutBranchId
)
{
this
.
$router
.
push
({
name
:
'TeamBalancePayment'
,
query
:
{
...
...
@@ -1265,7 +1338,7 @@
})
},
//开团或修改
goToOpenTravel
(
path
,
configId
,
tcid
)
{
goToOpenTravel
(
path
,
configId
,
tcid
)
{
if
(
configId
>
0
)
{
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
...
...
@@ -1287,7 +1360,7 @@
},
//当团修改
goTonowTeam
(
path
,
configId
,
tcid
,
TCNUM
)
{
goTonowTeam
(
path
,
configId
,
tcid
,
TCNUM
)
{
if
(
configId
>
0
)
{
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
...
...
@@ -1311,7 +1384,7 @@
},
//删除团期
removeTeamInfo
(
TCID
)
{
removeTeamInfo
(
TCID
)
{
var
that
=
this
that
.
Confirm
(
'是否删除?'
,
function
()
{
var
msg
=
{
...
...
@@ -1333,14 +1406,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'
,
{},
...
...
@@ -1349,11 +1422,12 @@
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
...
...
@@ -1361,7 +1435,7 @@
this
.
queryCommonData
.
outerVisible
=
true
},
//设置OP备注
setOPremark
()
{
setOPremark
()
{
this
.
apipost
(
'travel_post_SetTravelPrcieOpRemark'
,
this
.
remarkMsg
,
...
...
@@ -1374,18 +1448,19 @@
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
,
...
...
@@ -1398,16 +1473,17 @@
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
()
...
...
@@ -1429,7 +1505,7 @@
this
.
getControlList
()
},
//查询全部
getCompanyCheckAll
()
{
getCompanyCheckAll
()
{
this
.
queryCommonData
.
checkCompanyAll
=
true
this
.
queryMsg
.
OutBranchIds
=
[]
this
.
queryCommonData
.
BranchList
.
forEach
(
x
=>
{
...
...
@@ -1438,7 +1514,7 @@
this
.
getControlList
()
},
SetPrice
(
value
)
{
SetPrice
(
value
)
{
if
(
value
==
null
)
{
return
0.0
}
...
...
@@ -1455,7 +1531,7 @@
},
//隐藏显示
ShowUnionList
(
item
)
{
ShowUnionList
(
item
)
{
// this.queryCommonData.showUnion = !this.queryCommonData.showUnion;
item
.
isshowUnion
=
!
item
.
isshowUnion
if
(
item
.
isshowUnion
)
{
...
...
@@ -1466,7 +1542,7 @@
this
.
$forceUpdate
()
},
//酒店餐厅处理跳转
goHotelDiningBus
(
item
,
HotelDiningBus
,
type
)
{
goHotelDiningBus
(
item
,
HotelDiningBus
,
type
)
{
if
(
type
==
1
)
{
this
.
$router
.
push
({
name
:
'ChangeHotel'
,
...
...
@@ -1490,20 +1566,20 @@
}
},
//显示弹窗层
ShowUploadWord
(
item
)
{
this
.
queryCommonData
.
UploadWORDTip
=
true
;
this
.
queryCommonData
.
UploadItem
=
item
;
ShowUploadWord
(
item
)
{
this
.
queryCommonData
.
UploadWORDTip
=
true
this
.
queryCommonData
.
UploadItem
=
item
},
//保存WORD路劲
uploadFileBtn
(
file
)
{
var
that
=
this
;
let
newArr
=
[]
;
newArr
.
push
(
file
.
file
)
;
let
fileName
=
file
.
file
.
name
;
var
path
=
"/Upload/WordTrip/"
;
uploadFileBtn
(
file
)
{
var
that
=
this
let
newArr
=
[]
newArr
.
push
(
file
.
file
)
let
fileName
=
file
.
file
.
name
var
path
=
'/Upload/WordTrip/'
this
.
UploadSelfFileT
(
path
,
newArr
,
res
=>
{
if
(
res
.
data
.
StatusCode
==
1
)
{
that
.
queryCommonData
.
uploadLoading
=
true
;
that
.
queryCommonData
.
uploadLoading
=
true
let
uploadMsg
=
{
TCID
:
that
.
queryCommonData
.
UploadItem
.
TCID
,
wordPath
:
res
.
data
.
FilePath
...
...
@@ -1511,7 +1587,7 @@
that
.
apipost
(
'travel_post_UploadWord'
,
uploadMsg
,
res
=>
{
that
.
queryCommonData
.
uploadLoading
=
false
;
that
.
queryCommonData
.
uploadLoading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
)
that
.
queryCommonData
.
UploadWORDTip
=
false
...
...
@@ -1520,17 +1596,17 @@
that
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{}
);
err
=>
{
}
)
}
else
{
that
.
Error
(
"上传文件失败!"
)
that
.
Error
(
'上传文件失败!'
)
}
})
},
//结团/正常
OutGroup
(
TCID
,
Status
)
{
let
msg
=
{
OutGroup
(
TCID
,
Status
)
{
let
msg
=
{
TCID
:
TCID
,
Status
:
Status
,
}
...
...
@@ -1547,11 +1623,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
}
...
...
@@ -1567,7 +1643,7 @@
return
x1
+
x2
}
},
mounted
()
{
mounted
()
{
//销售公司
this
.
getSellorCompany
()
this
.
getCompanyList
()
...
...
@@ -1576,7 +1652,7 @@
this
.
getEmployeeList
()
this
.
getCountryCity
()
},
created
()
{
created
()
{
//默认显示联运
this
.
queryMsg
.
IsShowUnion
=
1
let
userInfo
=
this
.
getLocalStorage
()
...
...
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