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

修改功能

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