Commit ed70b7fa authored by 吴春's avatar 吴春
parents 2ccdeaf7 0142d71f
...@@ -35,23 +35,16 @@ ...@@ -35,23 +35,16 @@
出团通知书下载WROD</el-button> 出团通知书下载WROD</el-button>
</template> </template>
<template v-else> <template v-else>
<el-button type="primary" size="medium" @click="toPDF_2023()" style="margin-left:20px;"> <el-button type="primary" size="medium" @click="toPDF_2023()">
行程下载</el-button> 行程下载</el-button>
<!-- <el-dropdown size="medium" @command="tripDownLoadClick" split-button type="primary" @click="handleClick"> <el-button type="primary" size="medium" @click="toPDF_2023(1)" style="margin-left:20px;display:none;">
行程下载 行程下载(云盘)</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="1" style="display:none;">行程(同行备注)</el-dropdown-item>
<el-dropdown-item command="2" style="display:none;">行程(无同行备注)</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown> -->
<el-button type="primary" size="medium" @click="gernalFeature(1)" style="margin-left:20px;"> <el-button type="primary" size="medium" @click="gernalFeature(1)" style="margin-left:20px;">
行程下载WORD</el-button> 行程下载WORD</el-button>
</template> </template>
<!-- 可以让销售修改基本信息--> <!-- 可以让销售修改基本信息-->
<el-button v-if="orderId>0" type="primary" size="medium" value="修改信息" @click="editMsgShow=true"> <el-button v-if="orderId>0" type="primary" size="medium" value="修改信息" @click="editMsgShow=true">
修改信息</el-button> 修改信息</el-button>
<el-checkbox class="marginL11" style="display:none;" v-model="isShowTime">显示行程日期</el-checkbox> <el-checkbox class="marginL11" style="display:none;" v-model="isShowTime">显示行程日期</el-checkbox>
</el-col> </el-col>
</el-row> </el-row>
...@@ -294,14 +287,6 @@ ...@@ -294,14 +287,6 @@
}, 2000) }, 2000)
}, },
methods: { methods: {
//每次自动生成行程
handleClick() {
this.toPDF_2023();
},
//阿里云
tripDownLoadClick(command) {
this.toPDF_2023(command);
},
//获取微信二维码 //获取微信二维码
getWxCode: function () { getWxCode: function () {
this.apipost('survey_post_GetSurveyWeiXinShare', { this.apipost('survey_post_GetSurveyWeiXinShare', {
...@@ -551,40 +536,41 @@ ...@@ -551,40 +536,41 @@
title += this.orderMsg.lineteamName + this.orderMsg.dayNum + '日游'; title += this.orderMsg.lineteamName + this.orderMsg.dayNum + '日游';
} }
var fileName = title + ".pdf"; var fileName = title + ".pdf";
that.pdfDownLoad(fileName, msg); if (this.orderId && this.orderId > 0) {
// if (this.orderId && this.orderId > 0) { //出团通知书下载
// //出团通知书下载 this.pdfDownLoad(fileName, msg);
// this.pdfDownLoad(fileName, msg); } else if (urlObj.IsOnline == 0) {
// } else if (urlObj.IsOnline == 0) { //本地行程下载
// //本地行程下载 this.pdfDownLoad(fileName, msg);
// this.pdfDownLoad(fileName, msg); } else if (command && command == 1) {
// } else if (command && command == "1") { //阿里云行程下载
// //阿里云行程下载 var objFileKey = "TripDownLoad"
// var objFileKey = "TripDownLoad" objFileKey += "/" + msg.configId + "_" + msg.tcid;
// objFileKey += "/" + msg.configId + "_" + msg.tcid; objFileKey += "/" + msg.configId + "_" + msg.tcid + "_B2B.pdf";
// objFileKey += "/" + msg.configId + "_" + msg.tcid + "_B2B.pdf"; that.downloadChengDuFileRename(objFileKey, fileName, res => {
// that.downloadChengDuFileRename(objFileKey, fileName, res => { if (res.resultCode == 0) {
// if (res.resultCode == 0) { msg.isShowB2B = 1;
// msg.isShowB2B = 1; that.pdfDownLoad(fileName, msg);
// that.pdfDownLoad(fileName, msg); } else {
// } else { that.pdfLoading = false;
// that.pdfLoading = false; }
// } })
// }) } else if (command && command == 2) {
// } else if (command && command == 2) { //阿里云行程下载
// //阿里云行程下载 var objFileKey = "TripDownLoad"
// var objFileKey = "TripDownLoad" objFileKey += "/" + msg.configId + "_" + msg.tcid;
// objFileKey += "/" + msg.configId + "_" + msg.tcid; objFileKey += "/" + msg.configId + "_" + msg.tcid + ".pdf";
// objFileKey += "/" + msg.configId + "_" + msg.tcid + ".pdf"; that.downloadChengDuFileRename(objFileKey, fileName, res => {
// that.downloadChengDuFileRename(objFileKey, fileName, res => { if (res.resultCode == 0) {
// if (res.resultCode == 0) { msg.isShowB2B = 0;
// msg.isShowB2B = 0; that.pdfDownLoad(fileName, msg);
// that.pdfDownLoad(fileName, msg); } else {
// } else { that.pdfLoading = false;
// that.pdfLoading = false; }
// } })
// }) } else {
// } that.pdfDownLoad(fileName, msg);
}
}, },
pdfDownLoad: function (fileName, msg) { pdfDownLoad: function (fileName, msg) {
let urlObj = this.domainManager(); let urlObj = this.domainManager();
......
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
TripCityList: [], //行程城市 TripCityList: [], //行程城市
TripMapList: [], TripMapList: [],
NotQueryCityList:[],//使用系统中的经纬度城市 NotQueryCityList:[],//使用系统中的经纬度城市
FeaturePageType:0,//1横版 2竖版 FeaturePageType:2,//1横版 2竖版
}, },
//行程 //行程
FeatureData: { FeatureData: {
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</span> </span>
<span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('op.IsUpdateXCTS')}}</span> <!-- <span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('op.IsUpdateXCTS')}}</span>
<span :class="{'showOther':TeamType==3}"> <span :class="{'showOther':TeamType==3}">
<el-form-item prop="ReturnArriveCityId"> <el-form-item prop="ReturnArriveCityId">
<el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.IsUpdateTrip"> <el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.IsUpdateTrip">
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
<el-option :label="$t('op.Update')" :value="1"></el-option> <el-option :label="$t('op.Update')" :value="1"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</span> </span> -->
</div> </div>
<div class="newTravelDayContent clearfix"> <div class="newTravelDayContent clearfix">
<div class="vertical-line"></div> <div class="vertical-line"></div>
......
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</span> </span>
<span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('op.IsUpdateXCTS')}}</span> <!-- <span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('op.IsUpdateXCTS')}}</span>
<span :class="{'showOther':TeamType==3}"> <span :class="{'showOther':TeamType==3}">
<el-form-item prop="ReturnArriveCityId"> <el-form-item prop="ReturnArriveCityId">
<el-select class="w90" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.IsUpdateTrip"> <el-select class="w90" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.IsUpdateTrip">
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
<el-option :label="$t('op.Update')" :value="1"></el-option> <el-option :label="$t('op.Update')" :value="1"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</span> </span> -->
<template v-if="true"> <template v-if="true">
<span class="TDTextspan" :class="{'showOther':TeamType==3}">版型</span> <span class="TDTextspan" :class="{'showOther':TeamType==3}">版型</span>
<span :class="{'showOther':TeamType==3}"> <span :class="{'showOther':TeamType==3}">
......
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