Commit 6da4097a authored by 罗超's avatar 罗超

修改功能

parent 620d2344
......@@ -10,7 +10,7 @@
<span v-if="dayNum<10">0</span>
{{dayNum}}
</h3>
<p style="margin: 0;">{{day.dateTime}}</p>
<p v-if="isshowtime" style="margin: 0;">{{day.dateTime}}</p>
</td>
<td class="desc" v-html="title"></td>
</tr>
......@@ -139,7 +139,19 @@
day: {},
isDirect: {},
title: {},
dayNum: {}
dayNum: {},
showTime: {},
},
data: {
isshowtime: true,
},
watch: {
showTime: {
handler: function (v, ov) {
this.isshowtime = v;
},
deep: true,
},
},
methods: {
getHotelSuffix() {
......
......@@ -10,7 +10,7 @@
<span v-if="dayNum<10">0</span>
{{dayNum}}
</h3>
<p style="margin: 0;">{{day.dateTime}}</p>
<p v-if="isshowtime" v-if="isshowtime" style="margin: 0;">{{day.dateTime}}</p>
</td>
<td class="desc" v-html="title"></td>
</tr>
......@@ -138,7 +138,19 @@ export default {
day:{},
isDirect:{},
title:{},
dayNum:{}
dayNum:{},
showTime: {},
},
data: {
isshowtime: true,
},
watch: {
showTime: {
handler: function (v, ov) {
this.isshowtime = v;
},
deep: true,
},
},
methods:{
getHotelSuffix(){
......
......@@ -10,7 +10,7 @@
<span v-if="dayNum<10">0</span>
{{dayNum}}
</h3>
<p style="margin: 0;">{{day.dateTime}}</p>
<p v-if="isshowtime" style="margin: 0;">{{day.dateTime}}</p>
</td>
<td class="desc" v-html="title"></td>
</tr>
......@@ -105,7 +105,19 @@
day: {},
isDirect: {},
title: {},
dayNum: {}
dayNum: {},
showTime: {},
},
data: {
isshowtime: true,
},
watch: {
showTime: {
handler: function (v, ov) {
this.isshowtime = v;
},
deep: true,
},
},
methods: {
getHotelSuffix() {
......
......@@ -10,7 +10,7 @@
<span v-if="dayNum<10">0</span>
{{dayNum}}
</h3>
<p style="margin: 0;">{{day.dateTime}}</p>
<p v-if="isshowtime" style="margin: 0;">{{day.dateTime}}</p>
</td>
<td class="desc" v-html="title"></td>
</tr>
......@@ -184,7 +184,19 @@ export default {
day:{},
isDirect:{},
title:{},
dayNum:{}
dayNum:{},
showTime: {},
},
data: {
isshowtime: true,
},
watch: {
showTime: {
handler: function (v, ov) {
this.isshowtime = v;
},
deep: true,
},
},
methods:{
getHotelSuffix(){
......
......@@ -10,7 +10,7 @@
<span v-if="dayNum<10">0</span>
{{dayNum}}
</h3>
<p style="margin: 0;">{{day.dateTime}}</p>
<p v-if="isshowtime" style="margin: 0;">{{day.dateTime}}</p>
</td>
<td class="desc" v-html="title"></td>
</tr>
......@@ -99,7 +99,19 @@ export default {
day:{},
isDirect:{},
title:{},
dayNum:{}
dayNum:{},
showTime: {},
},
data: {
isshowtime: true,
},
watch: {
showTime: {
handler: function (v, ov) {
this.isshowtime = v;
},
deep: true,
},
},
methods:{
getHotelSuffix(){
......
......@@ -31,7 +31,7 @@
<div class="travelControlTrip detail-box">
<div class="trip_cover" v-show="pdfLoading" v-loading="pdfLoading"></div>
<el-row style="margin-bottom:20px;">
<el-col :span="14">
<el-col :span="10">
<el-dropdown trigger="click">
<span class="el-dropdown-link">行程下载
<i class="el-icon-arrow-down el-icon--right"></i>
......@@ -47,6 +47,8 @@
下载电脑版WORD
</el-dropdown-item>
</el-dropdown-menu>
<span style="display:inline-block;margin-left:20px">显示行程日期:</span>
<el-checkbox v-model="isShowTime">备选项</el-checkbox>
</el-dropdown>
<!-- <input type="button" style="width: auto !important;" class="travelControlTripBtn" value="下载电脑版PDF"
@click="toPDF_V2(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游')" />
......@@ -332,15 +334,15 @@
<div class="english-title">Scheduling</div>
</div>
<oneday v-if="item.details && item.details.length==1" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect"></oneday>
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></oneday>
<twoday v-if="item.details && item.details.length==2" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect"></twoday>
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></twoday>
<threeday v-if="item.details && item.details.length==3" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect"></threeday>
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></threeday>
<fourday v-if="item.details && item.details.length==4" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect"></fourday>
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></fourday>
<fiveday v-if="item.details && item.details.length>=5" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect"></fiveday>
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></fiveday>
</div>
</div>
<div v-else>
......@@ -682,6 +684,7 @@
export default {
data() {
return {
isShowTime:true,
CurrentUserInfo:{},//当前用户信息
Typevalue:-1,
titleList:[],
......
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