Commit bd4c0ec4 authored by youjie's avatar youjie

记录下载查询记录

parent 05ca195a
......@@ -200,6 +200,8 @@
vshowO: this.TripLayer.vshowO,
vshowTCNUM: true,
isopOperation: obj.isopOperation,
lineID: obj.lineID,
ltID: obj.ltID,
};
let routeData = this.$router.resolve({
name: this.TripPath,
......
......@@ -344,12 +344,24 @@
title: '',
isClick: this.$route.query.isClick === undefined ? 0 : 1, //不算统计
lineId: 0,
lineteamId: 0,
downLoadUrl: "", //文件下载
pdfLoading: false,
loadingText: "", //加载文字
download_timer: null,
}
},
watch: {
$route: {
//深度监听,可监听到对象、数组的变化
handler: function (val, oldVal) {
this.orderId = this.$route.query.orderId;
this.getTripDetail();
},
deep: true,
immediate: false
},
},
mounted() {
this.orderId = this.$route.query.orderId;
this.getWxCode();
......@@ -357,6 +369,22 @@
this.getAirlines();
},
methods: {
setPriceDownTripService() {
let msg = {
LineId: this.$route.query.lineID?this.$route.query.lineID:this.lineId,
LineteamId: this.$route.query.ltID?this.$route.query.ltID:this.lineteamId,
TCID: this.$route.query.tcid,
}
this.apipost('b2b_post_SetPriceDownTripService', msg,res => {
if (res.data.resultCode == 1) {
}else{
this.$message.error(res.data.message);
}
},err=>{
this.$message.error(err.data.message);
})
},
//获取微信二维码
getWxCode: function () {
// this.apipost('survey_post_GetSurveyWeiXinShare', {
......@@ -621,6 +649,7 @@
return postData;
},
ToWord_2023: function (title) {
this.setPriceDownTripService()
var title = this.orderMsg.startDate + this.orderMsg.lineteamName + this.orderMsg.dayNum + this.$t(
'objFill.v101.LeaveGroupDownload.riyou')
this.pdfLoading = true;
......@@ -716,6 +745,7 @@
},
// 生成pdf
toPDF_2023: function (command) {
this.setPriceDownTripService()
var that = this;
let msg = this.getPostMsg();
var title = "";
......@@ -847,6 +877,7 @@
this.dataAll = data;
this.orderTripdiff = data.orderTripdiff;
this.lineId = data.lineId;
this.lineteamId = data.lineteamId
this.orderMsg = data.orderMsg;
if (this.orderTripdiff && this.orderTripdiff.flightInfoJson) {
this.orderTripdiff.travelOrderFlightList = JSON.parse(this.orderTripdiff.flightInfoJson);
......
......@@ -1050,6 +1050,8 @@
configId: 0,
cityId: 0,
orderId: 0,
lineID: 0,
ltID: 0,
},
showHotelObj: {
showPrice: false,
......@@ -1140,6 +1142,8 @@
this.tripObj.configId = obj.ConfigID;
this.tripObj.cityId = obj.StartCityID;
this.tripObj.orderId = 0;
this.tripObj.lineID = obj.LineID;
this.tripObj.ltID = obj.ltID
this.travelControlTripLayerShow = true;
},
hideTripDown() {
......
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