Commit b7a8c608 authored by 黄奎's avatar 黄奎

团控列表新增查询条件

parent 8cc675f8
...@@ -626,7 +626,8 @@ ...@@ -626,7 +626,8 @@
</td> </td>
</tr> </tr>
</table> </table>
<el-button slot="reference" circle size="mini" type="primary" style="width:20px;height:20px;padding:4px;"> <el-button slot="reference" circle size="mini" type="primary"
style="width:20px;height:20px;padding:4px;">
{{item.RelationPriceList.length}} {{item.RelationPriceList.length}}
</el-button> </el-button>
</el-popover> </el-popover>
...@@ -1595,7 +1596,6 @@ ...@@ -1595,7 +1596,6 @@
AirlineList: [], AirlineList: [],
//员工列表 //员工列表
EmployeeList: [], EmployeeList: [],
//公司数据 //公司数据
BranchList: [], BranchList: [],
//是否为分公司 //是否为分公司
......
...@@ -67,12 +67,17 @@ ...@@ -67,12 +67,17 @@
.AuditGreenType { .AuditGreenType {
color: green; color: green;
} }
.comSearchDiv .el-checkbox {
margin-right: 0;
}
</style> </style>
<template> <template>
<div> <div>
<div class="TC_Content TC-MyList"> <div class="TC_Content TC-MyList">
<div class="query-box"> <div class="query-box">
<div class="TC_companyList" v-if="queryCommonData.IsParentCompany==1"> <!--v-if="queryCommonData.IsParentCompany==1"-->
<div class="TC_companyList">
<span :class="{'TC_checked':queryCommonData.checkCompanyAll}" <span :class="{'TC_checked':queryCommonData.checkCompanyAll}"
@click="getCompanyCheckAll()">{{$t('advmanager.v_all')}}</span> @click="getCompanyCheckAll()">{{$t('advmanager.v_all')}}</span>
<span v-for="(item,bindex) in queryCommonData.BranchList" :class="{'TC_checked':item.isShow}" <span v-for="(item,bindex) in queryCommonData.BranchList" :class="{'TC_checked':item.isShow}"
...@@ -83,13 +88,24 @@ ...@@ -83,13 +88,24 @@
<span> <span>
<em>{{$t('system.table_ssLine')}}</em> <em>{{$t('system.table_ssLine')}}</em>
<el-select class="w150" v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')" <el-select class="w150" v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
@change="getLineTeamList()"> @change="getLinePlaceList()">
<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.LineList" :label="item.LineName" :value="item.LineID" <el-option v-for="item in queryCommonData.LineList" :label="item.LineName" :value="item.LineID"
:key="item.LineID"></el-option> :key="item.LineID"></el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li>
<span>
<em>{{$t('Operation.Op_Country')}}/{{$t('system.query_dest')}}</em>
<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-select>
</span>
</li>
<li> <li>
<span> <span>
<em>{{$t('active.ad_xlmc')}}</em> <em>{{$t('active.ad_xlmc')}}</em>
...@@ -124,11 +140,15 @@ ...@@ -124,11 +140,15 @@
:placeholder="$t('pub.pleaseImport')" @keyup.native="checkInteger(queryMsg,'TCID')"></el-input> :placeholder="$t('pub.pleaseImport')" @keyup.native="checkInteger(queryMsg,'TCID')"></el-input>
</span> </span>
</li> </li>
<li>
<span>
<em>{{$t('Operation.Op_TeamName')}}</em>
<el-input v-model="queryMsg.Title" class="w150" clearable></el-input>
</span>
</li>
<li> <li>
<span> <span>
<em>{{$t('scen.sc_ftTime')}}</em> <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> -->
<DateLimit :clearable="false" :StartGroupDate="queryMsg.StartGroupDate" <DateLimit :clearable="false" :StartGroupDate="queryMsg.StartGroupDate"
:EndGroupDate="queryMsg.EndGroupDate" @change="(date)=> queryMsg.StartGroupDate = date"></DateLimit> :EndGroupDate="queryMsg.EndGroupDate" @change="(date)=> queryMsg.StartGroupDate = date"></DateLimit>
<el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate" <el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate"
...@@ -488,28 +508,29 @@ ...@@ -488,28 +508,29 @@
<span>{{$t('Airticket.Air_StartTime')}}</span> <span>{{$t('Airticket.Air_StartTime')}}</span>
{{item.StartDate}} {{item.StartDate}}
<template v-if="item.RelationPriceList&&item.RelationPriceList.length>0"> <template v-if="item.RelationPriceList&&item.RelationPriceList.length>0">
<el-tooltip class="item" effect="dark" :content="$t('objFill.xilietdate')"> <el-tooltip class="item" effect="dark" :content="$t('objFill.xilietdate')">
<el-popover width="350" trigger="click" popper-class="TC_HotelPop"> <el-popover width="350" trigger="click" popper-class="TC_HotelPop">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td style="width:100px;">{{$t('Airticket.Air_StartTime')}}</td> <td style="width:100px;">{{$t('Airticket.Air_StartTime')}}</td>
<td style="width:250px;">{{$t('visa.v_tuanhao')}}</td> <td style="width:250px;">{{$t('visa.v_tuanhao')}}</td>
</tr> </tr>
<tr v-for="(rItem,rIndex) in item.RelationPriceList"> <tr v-for="(rItem,rIndex) in item.RelationPriceList">
<td> <td>
{{rItem.StartDate}} {{rItem.StartDate}}
</td> </td>
<td> <td>
({{rItem.TCID}}){{rItem.TCNUM}}[{{rItem.TCState}}] ({{rItem.TCID}}){{rItem.TCNUM}}[{{rItem.TCState}}]
</td> </td>
</tr> </tr>
</table> </table>
<el-button slot="reference" circle size="mini" type="primary" style="width:20px;height:20px;padding:4px;"> <el-button slot="reference" circle size="mini" type="primary"
{{item.RelationPriceList.length}} style="width:20px;height:20px;padding:4px;">
</el-button> {{item.RelationPriceList.length}}
</el-popover> </el-button>
</el-tooltip> </el-popover>
</template> </el-tooltip>
</template>
</p> </p>
<p class="travelnowrap"> <p class="travelnowrap">
<span>{{$t('objFill.jietuanriqi')}}</span> <span>{{$t('objFill.jietuanriqi')}}</span>
...@@ -1229,6 +1250,8 @@ ...@@ -1229,6 +1250,8 @@
queryCommonData: { queryCommonData: {
//线路列表 //线路列表
LineList: [], LineList: [],
//目的地
PlaceList: [],
//系列列表 //系列列表
LineTeamList: [], LineTeamList: [],
//下拉框默认值 //下拉框默认值
...@@ -1294,6 +1317,7 @@ ...@@ -1294,6 +1317,7 @@
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
LineId: 0, LineId: 0,
PlaceID: 0,
LineIdList: [], LineIdList: [],
LineteamId: 0, LineteamId: 0,
TCNUM: "", TCNUM: "",
...@@ -1329,7 +1353,8 @@ ...@@ -1329,7 +1353,8 @@
//是否显示联运 //是否显示联运
IsShowUnion: -1, IsShowUnion: -1,
//团控状态 //团控状态
FreePlanType: -1 FreePlanType: -1,
Title: "", //团名
}, },
CurrentUserInfo: {}, CurrentUserInfo: {},
showHotelObj: { showHotelObj: {
...@@ -1750,6 +1775,20 @@ ...@@ -1750,6 +1775,20 @@
} }
}); });
}, },
//获取目的地列表
getLinePlaceList() {
this.queryMsg.PlaceID = 0;
this.queryMsg.LineteamId = 0;
let msg = {
lineID: this.queryMsg.LineId
};
this.apipost("team_post_GetLinePlace", msg, res => {
if (res.data.resultCode == 1) {
this.queryCommonData.PlaceList = res.data.data;
this.queryCommonData.LineTeamList = [];
}
});
},
//获取系列列表 //获取系列列表
getLineTeamList() { getLineTeamList() {
this.queryMsg.LineteamId = 0; this.queryMsg.LineteamId = 0;
...@@ -2452,9 +2491,8 @@ ...@@ -2452,9 +2491,8 @@
myDate.getDate(); myDate.getDate();
this.queryMsg.StartGroupDate = nowDate; this.queryMsg.StartGroupDate = nowDate;
} }
if (this.queryCommonData.IsParentCompany != 1 && userInfo.RB_Branch_id != 49 && userInfo.RB_Branch_id != 1224 && if (this.queryCommonData.IsParentCompany != 1 && userInfo.RB_Branch_id != 49 && userInfo.RB_Branch_id != 1224 &&
userInfo.RB_Branch_id != 1249 && this.CurrentUserInfo.RB_Branch_id != 1252) { userInfo.RB_Branch_id != 1249 && userInfo.RB_Branch_id != 1252 && userInfo.RB_Branch_id != 1253) {
this.queryMsg.OutBranchIds.push(userInfo.RB_Branch_id); this.queryMsg.OutBranchIds.push(userInfo.RB_Branch_id);
} }
//默认查询全部团队状态 //默认查询全部团队状态
......
...@@ -139,6 +139,12 @@ ...@@ -139,6 +139,12 @@
@keyup.native="checkInteger(queryMsg,'TCID')" maxlength="6"></el-input> @keyup.native="checkInteger(queryMsg,'TCID')" maxlength="6"></el-input>
</span> </span>
</li> </li>
<li>
<span>
<em>{{$t('Operation.Op_TeamName')}}</em>
<el-input v-model="queryMsg.Title" class="w150" clearable></el-input>
</span>
</li>
<li> <li>
<span> <span>
<em>{{$t('scen.sc_ftTime')}}</em> <em>{{$t('scen.sc_ftTime')}}</em>
...@@ -1172,6 +1178,7 @@ ...@@ -1172,6 +1178,7 @@
TeamType: 2, //一日游的团 TeamType: 2, //一日游的团
IsShowUnion: -1, IsShowUnion: -1,
TCID: '', TCID: '',
Title:"",//团名
}, },
remarkMsg: { remarkMsg: {
TCID: 0, TCID: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment