Commit 1d910ef7 authored by 沈良进's avatar 沈良进
parents 85269622 00a6f5f7
<style> <style>
.RegistrationStatistic .Rs_LtName { .RegistrationStatistic .Rs_LtName {
text-align: left; text-align: left;
padding-left: 20px; padding-left: 20px;
} }
.RegistrationStatistic .RS_Nameover { .RegistrationStatistic .RS_Nameover {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
...@@ -12,89 +12,90 @@ ...@@ -12,89 +12,90 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
cursor: pointer; cursor: pointer;
text-align: left; text-align: left;
} }
.RegistrationStatistic .singeRowTable { .RegistrationStatistic .singeRowTable {
border-collapse: collapse; border-collapse: collapse;
} }
.RegistrationStatistic .singeRowTable tr td { .RegistrationStatistic .singeRowTable tr td {
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
} }
.RegistrationStatistic .Rs_Start1 { .RegistrationStatistic .Rs_Start1 {
background-color: #ff6670; background-color: #ff6670;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start2 { .RegistrationStatistic .Rs_Start2 {
background-color: #16e09d; background-color: #16e09d;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start3 { .RegistrationStatistic .Rs_Start3 {
background-color: #ff8547; background-color: #ff8547;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start4 { .RegistrationStatistic .Rs_Start4 {
background-color: #ff528b; background-color: #ff528b;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start5 { .RegistrationStatistic .Rs_Start5 {
background-color: #ffab1e; background-color: #ffab1e;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start6 { .RegistrationStatistic .Rs_Start6 {
background-color: #7ccc4e; background-color: #7ccc4e;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start7 { .RegistrationStatistic .Rs_Start7 {
background-color: #b47df0; background-color: #b47df0;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start8 { .RegistrationStatistic .Rs_Start8 {
background-color: #00c8f5; background-color: #00c8f5;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start9 { .RegistrationStatistic .Rs_Start9 {
background-color: #7598ff; background-color: #7598ff;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start10 { .RegistrationStatistic .Rs_Start10 {
background-color: #dbc500; background-color: #dbc500;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start11 { .RegistrationStatistic .Rs_Start11 {
background-color: #7598ff; background-color: #7598ff;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start12 { .RegistrationStatistic .Rs_Start12 {
background-color: #00d9c3; background-color: #00d9c3;
color: #fff; color: #fff;
} }
.RegistrationStatistic .Rs_Start13 { .RegistrationStatistic .Rs_Start13 {
background-color: #40afff; background-color: #40afff;
color: #fff; color: #fff;
} }
.RegistrationStatistic .RS_RedType { .RegistrationStatistic .RS_RedType {
color: #ff0000; color: #ff0000;
} }
.RegistrationStatistic .Order_RS { .RegistrationStatistic .Order_RS {
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
} }
</style> </style>
<template> <template>
<div class="flexOne RegistrationStatistic"> <div class="flexOne RegistrationStatistic">
...@@ -110,53 +111,63 @@ ...@@ -110,53 +111,63 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('system.table_ssLine')}}</em> <em>{{$t('system.table_ssLine')}}</em>
<el-select v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')" @change="getLinePlaceList()"> <el-select v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
<el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option> @change="getLinePlaceList()">
<el-option v-for="item in queryCommonData.LineList" :label="item.LineName" :value="item.LineID" :key="item.LineID"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option>
</el-select> <el-option v-for="item in queryCommonData.LineList" :label="item.LineName" :value="item.LineID"
</span> :key="item.LineID"></el-option>
</li> </el-select>
<li> </span>
<span> </li>
<em>{{$t('Operation.Op_Country')}}/{{$t('system.query_dest')}}</em> <li>
<el-select v-model="queryMsg.PlaceID" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList()"> <span>
<el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option> <em>{{$t('Operation.Op_Country')}}/{{$t('system.query_dest')}}</em>
<el-option v-for="item in queryCommonData.PlaceList" :label="item.PlaceName" :value="item.PlaceID" :key="item.LtID"></el-option> <el-select v-model="queryMsg.PlaceID" filterable :placeholder="$t('pub.pleaseSel')"
</el-select> @change="getLineTeamList()">
</span> <el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option>
</li> <el-option v-for="item in queryCommonData.PlaceList" :label="item.PlaceName" :value="item.PlaceID"
<li> :key="item.LtID"></el-option>
<span> </el-select>
<em>{{$t('active.ad_xlmc')}}</em> </span>
<el-select v-model="queryMsg.ltID" filterable :placeholder="$t('pub.pleaseSel')"> </li>
<el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option> <li>
<el-option v-for="item in queryCommonData.LineTeamList" :label="item.LtName" :value="item.LtID" :key="item.LtID"></el-option> <span>
</el-select> <em>{{$t('active.ad_xlmc')}}</em>
</span> <el-select v-model="queryMsg.ltID" filterable :placeholder="$t('pub.pleaseSel')">
</li> <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-select>
</span>
</li>
<li> <li>
<span> <span>
<em>{{$t('fnc.tuanqi')}}</em> <em>{{$t('fnc.tuanqi')}}</em>
<el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" placeholder="" v-model="queryMsg.QStartDate"> <el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" placeholder=""
v-model="queryMsg.QStartDate">
</el-date-picker> </el-date-picker>
<el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" placeholder="" v-model="queryMsg.QEndDate"> <el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" placeholder=""
v-model="queryMsg.QEndDate">
</el-date-picker> </el-date-picker>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>机位占比</em> <em>机位占比</em>
<el-input class="w100" type="text" placeholder="" v-model="queryMsg.TicketStartNum" @keyup.native="checkPrice(queryMsg,'TicketStartNum')" maxlength="3"> <el-input class="w100" type="text" placeholder="" v-model="queryMsg.TicketStartNum"
@keyup.native="checkPrice(queryMsg,'TicketStartNum')" maxlength="3">
</el-input> </el-input>
<el-input class="w100" type="text" placeholder="" v-model="queryMsg.TicketEndNum" @keyup.native="checkPrice(queryMsg,'TicketEndNum')" maxlength="3"> <el-input class="w100" type="text" placeholder="" v-model="queryMsg.TicketEndNum"
@keyup.native="checkPrice(queryMsg,'TicketEndNum')" maxlength="3">
</el-input> </el-input>
</span> </span>
</li> </li>
<li> <li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="resetPageIndex(),getList()" /> &nbsp; <input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')"
@click="resetPageIndex(),getList()" /> &nbsp;
<button class="hollowFixedBtn" @click="DownLoadFile()">{{$t('adm.adm_download')}}</button> <button class="hollowFixedBtn" @click="DownLoadFile()">{{$t('adm.adm_download')}}</button>
</li> </li>
</ul> </ul>
...@@ -165,7 +176,7 @@ ...@@ -165,7 +176,7 @@
<tr> <tr>
<th width="50">{{$t('active.ad_xuhao')}}</th> <th width="50">{{$t('active.ad_xuhao')}}</th>
<th width="100">{{$t('Operation.Op_chutuan')}}</th> <th width="100">{{$t('Operation.Op_chutuan')}}</th>
<th width='120'>{{$t('Operation.Op_TeamName')}}</th> <th width='120'>系列</th>
<th width="80">{{$t('fnc.tuanqi')}}</th> <th width="80">{{$t('fnc.tuanqi')}}</th>
<th width="80">{{$t('op.TQBH')}}</th> <th width="80">{{$t('op.TQBH')}}</th>
<th width="80">{{$t('Operation.Op_jinchudian')}}</th> <th width="80">{{$t('Operation.Op_jinchudian')}}</th>
...@@ -178,12 +189,13 @@ ...@@ -178,12 +189,13 @@
<th width="80">机票状态</th> <th width="80">机票状态</th>
<th width="100">{{$t('leader.leader_Leader')}}</th> <th width="100">{{$t('leader.leader_Leader')}}</th>
<th width="100">{{$t('leader.leader_Guide')}}</th> <th width="100">{{$t('leader.leader_Guide')}}</th>
<th>{{$t('hotel.hotel_remark')}}</th>
</tr> </tr>
<tbody v-for="(item,index) in DataList" :key="index"> <tbody v-for="(item,index) in DataList" :key="index">
<tr> <tr>
<td rowspan="2" :data-TCID="item.TCID" :data-AirTicketId="item.AirTicketId">{{item.Num}}</td> <td rowspan="2" :data-TCID="item.TCID" :data-AirTicketId="item.AirTicketId">{{item.Num}}</td>
<td :class="{'Rs_Start1':item.StartCityNum==1,'Rs_Start2':item.StartCityNum==2,'Rs_Start3':item.StartCityNum==3, <td
:class="{'Rs_Start1':item.StartCityNum==1,'Rs_Start2':item.StartCityNum==2,'Rs_Start3':item.StartCityNum==3,
'Rs_Start4':item.StartCityNum==4,'Rs_Start5':item.StartCityNum==5,'Rs_Start6':item.StartCityNum==6, 'Rs_Start4':item.StartCityNum==4,'Rs_Start5':item.StartCityNum==5,'Rs_Start6':item.StartCityNum==6,
'Rs_Start7':item.StartCityNum==7,'Rs_Start8':item.StartCityNum==8,'Rs_Start9':item.StartCityNum==9, 'Rs_Start7':item.StartCityNum==7,'Rs_Start8':item.StartCityNum==8,'Rs_Start9':item.StartCityNum==9,
'Rs_Start10':item.StartCityNum==10,'Rs_Start11':item.StartCityNum==11,'Rs_Start12':item.StartCityNum==12,'Rs_Start13':item.StartCityNum==13}"> 'Rs_Start10':item.StartCityNum==10,'Rs_Start11':item.StartCityNum==11,'Rs_Start12':item.StartCityNum==12,'Rs_Start13':item.StartCityNum==13}">
...@@ -191,14 +203,16 @@ ...@@ -191,14 +203,16 @@
<td>{{item.LtName}}</td> <td>{{item.LtName}}</td>
<td>{{item.StartDateStr}} {{item.AlCode}}</td> <td>{{item.StartDateStr}} {{item.AlCode}}</td>
<td> <td>
<span title="点击跳转到团控列表" :class="item.TCID>0?'RS_RedType PingFangSC Order_RS':'Order_RS'" @click="goUrlTCList('TravelControlList',item.TCNUM,'团控列表')">{{item.TCID}}</span> <span title="点击跳转到团控列表" :class="item.TCID>0?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@click="goUrlTCList('TravelControlList',item.TCNUM,'团控列表')">{{item.TCID}}</span>
</td> </td>
<td>{{item.InOut}}</td> <td>{{item.InOut}}</td>
<td>{{item.InOutTime}}</td> <td>{{item.InOutTime}}</td>
<td>{{item.B2BMemberPrice}}</td> <td>{{item.B2BMemberPrice}}</td>
<td>{{item.TotalSeat}}</td> <td>{{item.TotalSeat}}</td>
<td> <td>
<span title="点击跳转到报名清单" class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}" @click="goUrl('RegistrationList',item.TCID,'设置领队')">{{item.OrderTotalNum-item.OrderLeaderGuestNum}} <span title="点击跳转到报名清单" class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}"
@click="goUrl('RegistrationList',item.TCID,'设置领队')">{{item.OrderTotalNum-item.OrderLeaderGuestNum}}
<span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span> <span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span>
</span> </span>
</td> </td>
...@@ -212,12 +226,27 @@ ...@@ -212,12 +226,27 @@
{{item.AirTicketStatusStr}} {{item.AirTicketStatusStr}}
</td> </td>
<td> <td>
<span title="点击跳转到报名清单" :class="item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'" @click="goUrl('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName!=""&&item.LeaderName!=null ?item.LeaderName:"设置领队"}}</span> <span title="点击跳转到报名清单" :class="item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'"
@click="goUrl('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName!=""&&item.LeaderName!=null ?item.LeaderName:"设置领队"}}</span>
</td> </td>
<td> <td>
<span title="点击跳转到设置导游页面" :class="item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'" @click="goUrl('leaderArrangement',item.TCID,'设置导游')">{{item.GuideName!=""&&item.GuideName!=null?item.GuideName:"设置导游"}}</span> <span title="点击跳转到设置导游页面"
:class="item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@click="goUrl('leaderArrangement',item.TCID,'设置导游')">{{item.GuideName!=""&&item.GuideName!=null?item.GuideName:"设置导游"}}</span>
</td> </td>
</tr>
<tr>
<td> <td>
团名
</td>
<td colspan="6">
<span class="RS_Nameover"> {{item.Title}}</span>
</td>
<td>
备注
</td>
<td colspan="6">
<span class="RS_Nameover">{{item.OPRemark}}</span> <span class="RS_Nameover">{{item.OPRemark}}</span>
</td> </td>
</tr> </tr>
...@@ -228,279 +257,280 @@ ...@@ -228,279 +257,280 @@
<p>{{$t('active.ld_noData')}}</p> <p>{{$t('active.ld_noData')}}</p>
</div> </div>
<div v-if="DataList.length>0"> <div v-if="DataList.length>0">
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='total'> <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='total'>
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
queryCommonData: { queryCommonData: {
//线路列表 //线路列表
LineList: [], LineList: [],
//系列列表 //系列列表
LineTeamList: [], LineTeamList: [],
PlaceList:[],//目的地 PlaceList: [], //目的地
//公司数据 //公司数据
BranchList: [], BranchList: [],
//公用下拉默认 //公用下拉默认
SelectDefaultValue: 0, SelectDefaultValue: 0,
//公用下拉默认 //公用下拉默认
SelectDefaultValue2: -1, SelectDefaultValue2: -1,
//loading //loading
loading: false loading: false
},
queryMsg: {
pageIndex: 1,
pageSize: 50,
LineID: 0,
ltID: 0,
PlaceID:0,
OutBranchId: -1,
QStartDate: "",
QEndDate: "",
TicketStartNum: "",
TicketEndNum: "",
uid:"0"
},
//数据列表
DataList: [],
currentPage: 0,
total: 0
};
},
methods: {
goUrlTCList(path, TCNUMS, title) {
this.$router.push({
name: path,
query: {
tcmun: TCNUMS,
blank: "y",
tab: title
}
});
},
//初始化公司
getCompanyList() {
let userInfo = this.getLocalStorage();
var RB_Group_id = userInfo.RB_Group_id;
let msg = {
Status: 0,
is_show: 0,
RB_Group_Id: RB_Group_id
};
this.apipost(
"admin_get_BranchGetList",
msg,
res => {
if (res.data.resultCode == 1) {
this.queryCommonData.BranchList = res.data.data;
}
},
err => {}
);
},
//获取线路列表
getLineList() {
this.apipost(
"line_post_GetList",
{
LineDirection: 0
},
res => {
if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data;
this.queryCommonData.PlaceList = [];
this.queryCommonData.LineTeamList = [];
}
}
);
}, },
//获取目的地列表 queryMsg: {
getLinePlaceList() { pageIndex: 1,
this.queryMsg.PlaceID = 0; pageSize: 50,
this.queryMsg.LineteamId = 0; LineID: 0,
let msg = { ltID: 0,
lineID: this.queryMsg.LineId PlaceID: 0,
}; OutBranchId: -1,
QStartDate: "",
this.apipost("team_post_GetLinePlace", msg, res => { QEndDate: "",
if (res.data.resultCode == 1) { TicketStartNum: "",
this.queryCommonData.PlaceList = res.data.data; TicketEndNum: "",
this.queryCommonData.LineTeamList = []; uid: "0"
}
});
},
//获取系列列表
getLineTeamList() {
this.queryMsg.LineteamId = 0;
let msg = {
lineID: this.queryMsg.LineId,
placeID: this.queryMsg.PlaceID,
isTOOP: 1
};
this.apipost("team_post_GetList", msg, res => {
if (res.data.resultCode == 1) {
this.queryCommonData.LineTeamList = res.data.data;
}
});
}, },
getList() { //数据列表
this.queryCommonData.loading = true; DataList: [],
if (this.queryMsg.TicketStartNum == "") { currentPage: 0,
this.queryMsg.TicketStartNum = 0; total: 0
};
},
methods: {
goUrlTCList(path, TCNUMS, title) {
this.$router.push({
name: path,
query: {
tcmun: TCNUMS,
blank: "y",
tab: title
}
});
},
//初始化公司
getCompanyList() {
let userInfo = this.getLocalStorage();
var RB_Group_id = userInfo.RB_Group_id;
let msg = {
Status: 0,
is_show: 0,
RB_Group_Id: RB_Group_id
};
this.apipost(
"admin_get_BranchGetList",
msg,
res => {
if (res.data.resultCode == 1) {
this.queryCommonData.BranchList = res.data.data;
} }
if (this.queryMsg.TicketEndNum == "") { },
this.queryMsg.TicketEndNum = 0; err => {}
);
},
//获取线路列表
getLineList() {
this.apipost(
"line_post_GetList", {
LineDirection: 0
},
res => {
if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data;
this.queryCommonData.PlaceList = [];
this.queryCommonData.LineTeamList = [];
} }
this.apipost( }
"travel_get_TravelPriceOrderStatistics", );
this.queryMsg, },
res => { //获取目的地列表
this.queryCommonData.loading = false; getLinePlaceList() {
if (res.data.resultCode == 1) { this.queryMsg.PlaceID = 0;
if (this.queryMsg.TicketStartNum == 0) { this.queryMsg.LineteamId = 0;
this.queryMsg.TicketStartNum = ""; let msg = {
} lineID: this.queryMsg.LineId
if (this.queryMsg.TicketEndNum == 0) { };
this.queryMsg.TicketEndNum = "";
} this.apipost("team_post_GetLinePlace", msg, res => {
this.total = res.data.data.count; if (res.data.resultCode == 1) {
this.DataList = res.data.data.pageData; this.queryCommonData.PlaceList = res.data.data;
this.DataList.forEach(item => { this.queryCommonData.LineTeamList = [];
switch (item.StartCityName) { }
case "成都": });
item.StartCityNum = 1; },
break; //获取系列列表
case "昆明": getLineTeamList() {
item.StartCityNum = 2; this.queryMsg.LineteamId = 0;
break; let msg = {
case "重庆": lineID: this.queryMsg.LineId,
item.StartCityNum = 3; placeID: this.queryMsg.PlaceID,
break; isTOOP: 1
case "西安": };
item.StartCityNum = 4; this.apipost("team_post_GetList", msg, res => {
break; if (res.data.resultCode == 1) {
case "武汉": this.queryCommonData.LineTeamList = res.data.data;
item.StartCityNum = 5; }
break; });
case "贵阳": },
item.StartCityNum = 6; getList() {
break; this.queryCommonData.loading = true;
case "南昌": if (this.queryMsg.TicketStartNum == "") {
item.StartCityNum = 7; this.queryMsg.TicketStartNum = 0;
break; }
case "兰州": if (this.queryMsg.TicketEndNum == "") {
item.StartCityNum = 8; this.queryMsg.TicketEndNum = 0;
break; }
case "票务": this.apipost(
item.StartCityNum = 9; "travel_get_TravelPriceOrderStatistics",
break; this.queryMsg,
case "长沙": res => {
item.StartCityNum = 10; this.queryCommonData.loading = false;
break; if (res.data.resultCode == 1) {
case "微途": if (this.queryMsg.TicketStartNum == 0) {
item.StartCityNum = 11; this.queryMsg.TicketStartNum = "";
break; }
case "厦门": if (this.queryMsg.TicketEndNum == 0) {
item.StartCityNum = 12; this.queryMsg.TicketEndNum = "";
break; }
case "南京": this.total = res.data.data.count;
item.StartCityNum = 13; this.DataList = res.data.data.pageData;
break; this.DataList.forEach(item => {
} switch (item.StartCityName) {
}); case "成都":
} item.StartCityNum = 1;
break;
case "昆明":
item.StartCityNum = 2;
break;
case "重庆":
item.StartCityNum = 3;
break;
case "西安":
item.StartCityNum = 4;
break;
case "武汉":
item.StartCityNum = 5;
break;
case "贵阳":
item.StartCityNum = 6;
break;
case "南昌":
item.StartCityNum = 7;
break;
case "兰州":
item.StartCityNum = 8;
break;
case "票务":
item.StartCityNum = 9;
break;
case "长沙":
item.StartCityNum = 10;
break;
case "微途":
item.StartCityNum = 11;
break;
case "厦门":
item.StartCityNum = 12;
break;
case "南京":
item.StartCityNum = 13;
break;
} }
); });
},
DownLoadFile() {
this.Info("正在下载文件...");
if (this.queryMsg.TicketStartNum == "") {
this.queryMsg.TicketStartNum = 0;
} }
if (this.queryMsg.TicketEndNum == "") { }
this.queryMsg.TicketEndNum = 0; );
},
DownLoadFile() {
this.Info("正在下载文件...");
if (this.queryMsg.TicketStartNum == "") {
this.queryMsg.TicketStartNum = 0;
}
if (this.queryMsg.TicketEndNum == "") {
this.queryMsg.TicketEndNum = 0;
}
this.queryCommonData.loading = true;
this.queryMsg.uid = this.getLocalStorage().EmployeeId;
this.GetLocalFile(
"travel_get_DownTravelPriceOrderStatistics",
this.queryMsg,
"报名统计.xls",
res => {
if (this.queryMsg.TicketStartNum == 0) {
this.queryMsg.TicketStartNum = "";
} }
this.queryCommonData.loading = true; if (this.queryMsg.TicketEndNum == 0) {
this.queryMsg.uid=this.getLocalStorage().EmployeeId; this.queryMsg.TicketEndNum = "";
this.GetLocalFile(
"travel_get_DownTravelPriceOrderStatistics",
this.queryMsg,
"报名统计.xls",
res => {
if (this.queryMsg.TicketStartNum == 0) {
this.queryMsg.TicketStartNum = "";
}
if (this.queryMsg.TicketEndNum == 0) {
this.queryMsg.TicketEndNum = "";
}
this.queryCommonData.loading = false;
}
);
},
goUrl(path, id, NameStr) {
if (id > 0) {
this.$router.push({
name: path,
query: {
id: id,
blank: "y",
tab: NameStr
}
});
} else {
this.$router.push({
name: path
});
} }
}, this.queryCommonData.loading = false;
goUrlTM(path, TCNUM) { }
this.$router.push({ );
name: path, },
query: { goUrl(path, id, NameStr) {
id: TCNUM if (id > 0) {
} this.$router.push({
}); name: path,
}, query: {
addMoth(d, m) { id: id,
let ds = d.split("-"), blank: "y",
_d = ds[2] - 0; tab: NameStr
let nextM = new Date(ds[0], ds[1] - 1 + m + 1, 0); }
let max = nextM.getDate(); });
d = new Date(ds[0], ds[1] - 1 + m, _d > max ? max : _d); } else {
return d this.$router.push({
.toLocaleDateString() name: path
.match(/\d+/g) });
.join("-");
},
handleCurrentChange: function(val) {
//翻页
this.queryMsg.pageIndex = val;
this.getList();
},
resetPageIndex: function() {
// 重置页码
this.queryMsg.pageIndex = 1;
this.currentPage = 1;
} }
},
goUrlTM(path, TCNUM) {
this.$router.push({
name: path,
query: {
id: TCNUM
}
});
},
addMoth(d, m) {
let ds = d.split("-"),
_d = ds[2] - 0;
let nextM = new Date(ds[0], ds[1] - 1 + m + 1, 0);
let max = nextM.getDate();
d = new Date(ds[0], ds[1] - 1 + m, _d > max ? max : _d);
return d
.toLocaleDateString()
.match(/\d+/g)
.join("-");
},
handleCurrentChange: function (val) {
//翻页
this.queryMsg.pageIndex = val;
this.getList();
},
resetPageIndex: function () {
// 重置页码
this.queryMsg.pageIndex = 1;
this.currentPage = 1;
}
}, },
mounted() { mounted() {
let myDate = new Date(); let myDate = new Date();
let nowDate = let nowDate =
myDate.getFullYear() + myDate.getFullYear() +
"-" + "-" +
parseInt(myDate.getMonth() + 1) + parseInt(myDate.getMonth() + 1) +
"-" + "-" +
myDate.getDate(); myDate.getDate();
this.queryMsg.QStartDate = nowDate; this.queryMsg.QStartDate = nowDate;
this.queryMsg.QEndDate = this.addMoth(nowDate, 1); this.queryMsg.QEndDate = this.addMoth(nowDate, 1);
this.getCompanyList(); this.getCompanyList();
this.getLineList(); this.getLineList();
this.getList(); this.getList();
} }
}; };
</script> </script>
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
<tr> <tr>
<th width="50">{{$t('salesModule.Xu')}}</th> <th width="50">{{$t('salesModule.Xu')}}</th>
<th width="80">{{$t('Operation.Op_chutuan')}}</th> <th width="80">{{$t('Operation.Op_chutuan')}}</th>
<th width='200'>{{$t('Operation.Op_TeamName')}}</th> <th width='200'>系列</th>
<th width="80">{{$t('fnc.tuanqi')}}</th> <th width="80">{{$t('fnc.tuanqi')}}</th>
<th width="80">{{$t('Operation.Op_jinchudian')}}</th> <th width="80">{{$t('Operation.Op_jinchudian')}}</th>
<th width="100">{{$t('Operation.Op_ArriveTime')}}</th> <th width="100">{{$t('Operation.Op_ArriveTime')}}</th>
...@@ -169,7 +169,6 @@ ...@@ -169,7 +169,6 @@
<th width="80">{{$t('Operation.Op_orderNum')}}</th> <th width="80">{{$t('Operation.Op_orderNum')}}</th>
<th width="100">{{$t('leader.leader_Leader')}}</th> <th width="100">{{$t('leader.leader_Leader')}}</th>
<th width="100">{{$t('leader.leader_Guide')}}</th> <th width="100">{{$t('leader.leader_Guide')}}</th>
<th>{{$t('pub.pubRemark')}}</th>
</tr> </tr>
<tbody v-for="item in DataList"> <tbody v-for="item in DataList">
<tr> <tr>
...@@ -199,7 +198,20 @@ ...@@ -199,7 +198,20 @@
<td><span :class="item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'" <td><span :class="item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@click="goUrl('leaderArrangement',item.TCID,'设置导游')">{{item.GuideName!=""&&item.GuideName!=null?item.GuideName:"设置导游"}}</span> @click="goUrl('leaderArrangement',item.TCID,'设置导游')">{{item.GuideName!=""&&item.GuideName!=null?item.GuideName:"设置导游"}}</span>
</td> </td>
<td><span class="RS_Nameover">{{item.OPRemark}}</span></td> </tr>
<tr>
<td>
团名
</td>
<td colspan="6">
<span class="RS_Nameover"> {{item.Title}}</span>
</td>
<td>
备注
</td>
<td colspan="6">
<span class="RS_Nameover">{{item.OPRemark}}</span>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
@click="gernalFeature(0)" /> @click="gernalFeature(0)" />
<input type="button" style="width: auto !important;" class="travelControlTripBtn" value="下载电脑版WORD" <input type="button" style="width: auto !important;" class="travelControlTripBtn" value="下载电脑版WORD"
@click="gernalFeature(1)" /> --> @click="gernalFeature(1)" /> -->
<input type="button" value="新版行程" class="travelControlTripBtn" @click="goUrlView()" /> <input type="button" value="新版行程" class="travelControlTripBtn" @click="goUrlView()" style="display:none;" />
<el-checkbox v-model="isShowTime">显示行程日期</el-checkbox> <el-checkbox v-model="isShowTime">显示行程日期</el-checkbox>
<a class="travelControlTripBtn" v-if="priceList.length>0&& priceList[0].wordPath!=''" style="display:inline-block;text-decoration:none; <a class="travelControlTripBtn" v-if="priceList.length>0&& priceList[0].wordPath!=''" style="display:inline-block;text-decoration:none;
width:135px;text-align:center;line-height:30px;font-size:13px;position:relative;top:2px;" width:135px;text-align:center;line-height:30px;font-size:13px;position:relative;top:2px;"
...@@ -180,11 +180,8 @@ ...@@ -180,11 +180,8 @@
<div class="collection-item clearfix"> <div class="collection-item clearfix">
<div><img src="../assets/img/TravelControlTripIcon11.png" />机场服务</div> <div><img src="../assets/img/TravelControlTripIcon11.png" />机场服务</div>
<span> <span>
<template v-if="orderTripdiff&&orderTripdiff.airportService&&orderTripdiff.airportService!=''"> <template v-if="orderMsg&&orderMsg.airportServicePerson&&orderMsg.airportServicePerson!=''">
{{orderTripdiff.airportService}} {{orderMsg.airportServicePerson}}
</template>
<template v-else-if="orderMsg&&orderMsg.airportServicePerson&&orderMsg.airportServicePerson!=''">
{{orderMsg.airportServicePerson+"/"+ orderMsg.airportServicePhone}}
</template> </template>
</span> </span>
</div> </div>
...@@ -203,18 +200,10 @@ ...@@ -203,18 +200,10 @@
<div><img src="../assets/img/TravelControlTripIcon13.png" />紧急联系人</div> <div><img src="../assets/img/TravelControlTripIcon13.png" />紧急联系人</div>
<template> <template>
<span v-if='vshowLLR'> <span v-if='vshowLLR'>
<template v-if="orderTripdiff&&orderTripdiff.emergencyContact!=''"> <template v-if="orderMsg.emergencyContact!=''">
{{orderTripdiff.emergencyContact}} {{orderMsg.emergencyContact}}
</template>
<template
v-else-if="orderMsg.branchManager&&orderMsg.branchManager!=''&&orderMsg.mobilePhone&&orderMsg.mobilePhone!=''">
{{orderMsg.branchManager+"/"+orderMsg.mobilePhone}}
</template>
<template v-else-if="orderMsg.sellName!=''&&orderMsg.sellTel!=''">
{{orderMsg.sellName+"/"+orderMsg.sellTel}}
</template> </template>
</span> </span>
<span v-else></span>
</template> </template>
</div> </div>
</td> </td>
......
...@@ -648,7 +648,7 @@ ...@@ -648,7 +648,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<span class="TP_Sendprepend">{{$t('sm.songqianshijian')}}</span> <span class="TP_Sendprepend">{{$t('sm.songqianshijian')}}</span>
<el-form-item prop="SendVisaTime" style="margin-top:1px;"> <el-form-item prop="SendVisaTime">
<el-date-picker clearable class="w150" v-model="priceData.SendVisaTime" type="date" <el-date-picker clearable class="w150" v-model="priceData.SendVisaTime" type="date"
value-format="yyyy-MM-dd" :placeholder="$t('admin.admin_choDate')"></el-date-picker> value-format="yyyy-MM-dd" :placeholder="$t('admin.admin_choDate')"></el-date-picker>
</el-form-item> </el-form-item>
...@@ -730,15 +730,20 @@ ...@@ -730,15 +730,20 @@
<template slot="prepend">{{$t('sm.jihedidian')}}</template> <template slot="prepend">{{$t('sm.jihedidian')}}</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin-left:0;width:120px;">{{$t('sm.xiaoshouzt')}}</span> <el-input :placeholder="$t('pub.pleaseImport')" class="w260"
<el-select class="w180" v-model="priceData.TCSaleState"> v-model="priceData.AirportService">
<el-option v-for="item in TeamList" :key="item.Id" :label="item.name" :value="item.Id"> <template slot="prepend">{{$t('op.AirSupplier')}}</template>
</el-option> </el-input>
</el-select> </el-form-item>
<el-form-item prop="EmergencyContact">
<el-input :placeholder="$t('pub.pleaseImport')" class="w260"
v-model="priceData.EmergencyContact">
<template slot="prepend">紧急联系人</template>
</el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-input :placeholder="$t('pub.pleaseImport')" class="w460 ComSeat" v-model="priceData.GatherTag"> <el-input :placeholder="$t('pub.pleaseImport')" class="w260 ComSeat" v-model="priceData.GatherTag">
<template slot="prepend">{{$t('op.JHbiaoshi')}}</template> <template slot="prepend">{{$t('op.JHbiaoshi')}}</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
...@@ -778,15 +783,15 @@ ...@@ -778,15 +783,15 @@
<i class="iconfont icon-arrow-down SimulaDrop"></i> <i class="iconfont icon-arrow-down SimulaDrop"></i>
</div> </div>
</el-popover> </el-popover>
<el-form-item style="margin-top:1px;"> <el-form-item>
<el-input :placeholder="$t('pub.pleaseImport')" class="w460 ComSeat" <span class="TP_Sendprepend" style="margin-left:0;width:120px;">{{$t('sm.xiaoshouzt')}}</span>
v-model="priceData.AirportService"> <el-select class="w180" v-model="priceData.TCSaleState">
<template slot="prepend">{{$t('op.AirSupplier')}}</template> <el-option v-for="item in TeamList" :key="item.Id" :label="item.name" :value="item.Id">
</el-input> </el-option>
</el-select>
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
<div class="clearfix"> <div class="clearfix">
<div class="leftSetInfo"> <div class="leftSetInfo">
<span class="TPbaseSet"></span> <span class="TPbaseSet"></span>
...@@ -1363,6 +1368,7 @@ ...@@ -1363,6 +1368,7 @@
PriceOfferName: "", //报价单名称 PriceOfferName: "", //报价单名称
IsUseCompanyBus: 0, //是否使用公司车辆 IsUseCompanyBus: 0, //是否使用公司车辆
BusPriceId: 0, //公司车辆编号 BusPriceId: 0, //公司车辆编号
EmergencyContact: "", //紧急联系人
}; };
} }
this.returnPriceList.push(objItem); this.returnPriceList.push(objItem);
......
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