Commit e520360c authored by 黄媛媛's avatar 黄媛媛
parents a8a0ba03 2584e4f6
...@@ -652,7 +652,7 @@ ...@@ -652,7 +652,7 @@
//团期全选 //团期全选
checkGroupALL: false, checkGroupALL: false,
//销售平台全选 //销售平台全选
checkPlatForm: false, checkPlatForm: true,
//团队状态全选 //团队状态全选
checkTCStateAll: false, checkTCStateAll: false,
//是否显示弹出框 //是否显示弹出框
...@@ -718,8 +718,8 @@ ...@@ -718,8 +718,8 @@
DayNum: '', DayNum: '',
OnlyShowOverTeam: false, OnlyShowOverTeam: false,
TCState: [3], //去掉默认显示 TCState: [3], //去掉默认显示
GroupState: [], GroupState: [1],
SalePlat: [], SalePlat: [1,2,3,4,5],
UnionCityId: 0, UnionCityId: 0,
SaleBranchId: [], SaleBranchId: [],
total: 0, total: 0,
...@@ -734,7 +734,7 @@ ...@@ -734,7 +734,7 @@
RateOnDay: '-1', RateOnDay: '-1',
RateOn: '-1', RateOn: '-1',
TeamType: 2, //一日游的团 TeamType: 2, //一日游的团
IsShowUnion: -1, IsShowUnion: 0,
TCID: '', TCID: '',
}, },
remarkMsg: { remarkMsg: {
...@@ -1489,9 +1489,8 @@ ...@@ -1489,9 +1489,8 @@
}, },
created () { created () {
this.GetLookAllTeamAuth(); this.GetLookAllTeamAuth();
this.checkAllTeam();
//默认显示联运 //默认显示联运
this.queryMsg.IsShowUnion = -1; this.queryMsg.IsShowUnion = 0;
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage()
this.CurrentUserInfo = userInfo this.CurrentUserInfo = userInfo
......
...@@ -476,78 +476,80 @@ ...@@ -476,78 +476,80 @@
</div> </div>
<div v-if="(showType>=4)&&loadNone==false&&vshowC" class="newFeature" v-html="feature.featureHtml"></div> <div v-if="(showType>=4)&&loadNone==false&&vshowC" class="newFeature" v-html="feature.featureHtml"></div>
<div class="newtripList" v-for="(item,index) in tripList" :key="index"> <div v-if="vshowD">
<template v-if="item.dayNum<10"> <div class="newtripList" v-for="(item,index) in tripList" :key="index">
<div class="newTripFly" style="margin-bottom:10px;"> <template v-if="item.dayNum<10">
DAY 0{{item.dayNum}} <div class="newTripFly" style="margin-bottom:10px;">
</div> DAY 0{{item.dayNum}}
</template>
<template v-else>
DAY {{item.dayNum}}
</template>
<div class="newTripDateTime">{{item.dateTime}}</div>
<div class="newTripFly" v-if="item.title" v-html="getTitle(item.title)" :class="getTitle(item.title)!=''?'newTripKuang':''">
</div>
<div class="newTripDay" style="margin-bottom:0;" v-for="(subItem,subIndex) in item.details" :key="subIndex">
<div style="line-height:2;min-height:80px;">
<span class="newTripTutle">{{getTitle(subItem.title)}}:</span>
<span><div v-html="subItem.content"></div></span>
</div> </div>
</div>
<div class="newTripDay">
<div class="warmTipsTitle" style="margin-top:0;">温馨提示:</div>
<template v-if="item.tips.length>0">
<div class="warmTipsContent">
<template v-for="(sItem,sIndex) in item.tips">
<div class="newTripWarm" v-html="sItem.content" :key="sIndex"></div>
</template>
</div>
</template> </template>
</div> <template v-else>
<div> DAY {{item.dayNum}}
<table class="newTripTable" border="0" cellspacing="0" cellpadding="0"> </template>
<tr> <div class="newTripDateTime">{{item.dateTime}}</div>
<td style="width:7%;border-right-style:none;"> <div class="newTripFly" v-if="item.title" v-html="getTitle(item.title)" :class="getTitle(item.title)!=''?'newTripKuang':''">
<label>酒店:</label> </div>
</td> <div class="newTripDay" style="margin-bottom:0;" v-for="(subItem,subIndex) in item.details" :key="subIndex">
<td style="width:40%;border-left-style:none;"> <div style="line-height:2;min-height:80px;">
<template v-if='item.jiu2.length>0'> <span class="newTripTutle">{{getTitle(subItem.title)}}:</span>
<span v-for="(t,k) in item.jiu2" style="cursor: pointer" :key="k"> <span><div v-html="subItem.content"></div></span>
{{k==item.jiu2.length-1? (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name) : (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name)+' / ' }} </div>
</span> </div>
</template> <div class="newTripDay">
<template v-if="item.jiu2.length>0&&item.jiu2[0].name!=''"> <div class="warmTipsTitle" style="margin-top:0;">温馨提示:</div>
{{getHotelSuffix(item)}} <template v-if="item.tips.length>0">
</template> <div class="warmTipsContent">
</td> <template v-for="(sItem,sIndex) in item.tips">
<td style="width:7%;border-right-style:none;"> <div class="newTripWarm" v-html="sItem.content" :key="sIndex"></div>
<div class="tripLeftCan" style="vertical-align:top;"> </template>
<label>用餐:</label> </div>
</div> </template>
</div>
<div>
<table class="newTripTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width:7%;border-right-style:none;">
<label>酒店:</label>
</td> </td>
<td style="width:27%;border-left-style:none;"> <td style="width:40%;border-left-style:none;">
<div class="tripRightCan"> <template v-if='item.jiu2.length>0'>
<div>早({{item.can.breakfirst}})</div> <span v-for="(t,k) in item.jiu2" style="cursor: pointer" :key="k">
<div>中({{item.can.lanuch}})</div> {{k==item.jiu2.length-1? (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name) : (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name)+' / ' }}
<div>晚({{item.can.dinner}})</div> </span>
</div> </template>
</td> <template v-if="item.jiu2.length>0&&item.jiu2[0].name!=''">
<td style="width:7%;border-right-style:none;"> {{getHotelSuffix(item)}}
<label>交通:</label> </template>
</td> </td>
<td style="width:15%;border-left-style:none;"> <td style="width:7%;border-right-style:none;">
<template v-if="item.trafficArray&& item.trafficArray.length>0" v-for="(subItem,subIndex) in item.trafficArray"> <div class="tripLeftCan" style="vertical-align:top;">
<span>{{subItem}}</span> <label>用餐:</label>
<template v-if="subIndex!=item.trafficArray.length-1"> </div>
<span></span> </td>
</template> <td style="width:27%;border-left-style:none;">
</template> <div class="tripRightCan">
</td> <div>早({{item.can.breakfirst}})</div>
</tr> <div>中({{item.can.lanuch}})</div>
</table> <div>晚({{item.can.dinner}})</div>
</div> </div>
<div class="newTripImgList" v-if="vshowK"> </td>
<newTripCommon :day="item.details"></newTripCommon> <td style="width:7%;border-right-style:none;">
<label>交通:</label>
</td>
<td style="width:15%;border-left-style:none;">
<template v-if="item.trafficArray&& item.trafficArray.length>0" v-for="(subItem,subIndex) in item.trafficArray">
<span>{{subItem}}</span>
<template v-if="subIndex!=item.trafficArray.length-1">
<span></span>
</template>
</template>
</td>
</tr>
</table>
</div>
<div class="newTripImgList" v-if="vshowK">
<newTripCommon :day="item.details"></newTripCommon>
</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
newFeature2, newFeature2,
// newFeature3, // newFeature3,
}, },
props: ["subConfigId", "FeatureData", "isNewConfig", "TeamType","CurrentUserInfo"], props: ["subConfigId", "FeatureData", "isNewConfig", "TeamType"],
inject: ['loadConfigInfo'], inject: ['loadConfigInfo'],
data() { data() {
return { return {
...@@ -228,6 +228,8 @@ ...@@ -228,6 +228,8 @@
//折叠展开 //折叠展开
isFold: "", isFold: "",
FeatureDataFlag: false, FeatureDataFlag: false,
//当前登录用户信息
CurrentUserInfo: {}
}; };
}, },
created: function () {}, created: function () {},
...@@ -534,6 +536,8 @@ ...@@ -534,6 +536,8 @@
} }
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage()
this.CurrentUserInfo = userInfo
this.MsgBus.$on('FeatureDataFlag', () => { this.MsgBus.$on('FeatureDataFlag', () => {
this.FeatureDataFlag = true this.FeatureDataFlag = true
}); });
......
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