Commit eeeaa108 authored by 黄奎's avatar 黄奎

页面修改

parent 94fb3ed2
......@@ -1553,115 +1553,9 @@
return msgs;
},
},
// mounted() {
// let that = this;
// this.MsgBus.$on('doudong', function () {
// that.dou()
// });
// this.MsgBus.$on('openChat', function (obj) {
// that.lt(obj)
// });
// const permissionNow = Notification.requestPermission();
// var hiddenProperty =
// "hidden" in document ?
// "hidden" :
// "webkitHidden" in document ?
// "webkitHidden" :
// "mozHidden" in document ?
// "mozHidden" :
// null;
// var visibilityChangeEvent = hiddenProperty.replace(
// /hidden/i,
// "visibilitychange"
// );
// var onVisibilityChange = function () {
// if (!document[hiddenProperty]) {
// that.isFocus = true;
// } else {
// that.isFocus = false;
// }
// };
// document.addEventListener(visibilityChangeEvent, onVisibilityChange);
// if (!localStorage.menu)
// this.$store.dispatch("connect");
// else {
// this.firstMenuList = JSON.parse(localStorage.menu)
// if (this.firstMenuList.indexOf('IM') != -1) {
// this.$store.dispatch("connect");
// }
// }
// this.getDynamic();
// this.getMyDynamic();
// this.getAboutMeDynamic();
// this.getWebAllPart();
// this.getNoticeList()
// document
// .getElementById("allDynamic")
// .addEventListener("scroll", function () {
// //全部动态
// if (this.scrollHeight - this.scrollTop === this.clientHeight) {
// that.isAppend = true;
// that.dynamicMsg.pageIndex =
// Math.ceil(that.dynamicList.length / 10) + 1;
// that.getDynamic();
// }
// });
// document.getElementById("myDynamic").addEventListener("scroll", function () {
// //我的动态
// if (this.scrollHeight - this.scrollTop === this.clientHeight) {
// that.isAppendOne = true;
// that.myDynamicMsg.pageIndex =
// Math.ceil(that.myDynamicList.length / 10) + 1;
// that.getMyDynamic();
// }
// });
// document
// .getElementById("aboutMeDynamic")
// .addEventListener("scroll", function () {
// //与我相关
// if (this.scrollHeight - this.scrollTop === this.clientHeight) {
// that.isAppendTwo = true;
// that.aboutMeDynamicMsg.pageIndex =
// Math.ceil(that.aboutMyDynamicList.length / 10) + 1;
// that.getAboutMeDynamic();
// }
// });
// if (
// window.localStorage.msgBoxInfo &&
// window.localStorage.msgBoxInfo != ""
// ) {
// this.boxInfo = JSON.parse(window.localStorage.msgBoxInfo);
// }
// if (this.boxInfo.x == 0) {
// this.boxInfo.x = 560;
// }
// if (this.boxInfo.y == 0) {
// this.boxInfo.y = 280;
// }
// document.title = this.userInfo.GroupName;
// this.getMenu();
// this.getBranchList();
// this.getProvinceList(651, 1);
// this.GetHotelList();
// this.getList2();
// this.GetHotelTipList();
// var url = window.location.href;
// if (String(url).indexOf('SupplierIndex') >= 0) {
// this.showPage = true;
// } else {
// this.showPage = false;
// };
// this.com_onresize();
// window.onresize = () => {
// this.com_onresize();
// }
// },
created() {
//页面刚进入时开启长连接
// this.initWebSocket()
this.userInfo = this.getLocalStorageSupplier();
let language = localStorage.language
if (!language) {
......@@ -1789,7 +1683,6 @@
var str = dateStr.split('-');
var weekDay = ["天", "一", "二", "三", "四", "五", "六"];
var myDate = new Date(Date.parse(dateStr));
return str[1] + '/' + str[2] + "(" + weekDay[myDate.getDay()] + ")";
},
//获取星期几
......@@ -1956,35 +1849,6 @@
this.tableHeight = h;
},
getNewSaleRnkInfo: function () {
let msg = {
StartDate: ''
}
this.ApiPost2(
"orderank_post_GetDetails",
msg,
res => {
if (res.data.resultCode == 1) {
this.NewSaleRnkInfo = res.data.data
let New = this.NewSaleRnkInfo.StartDateMonth + this.NewSaleRnkInfo.StartDateDay
let arr = localStorage.saleRnkInfo ? JSON.parse(localStorage.saleRnkInfo) : []
let rep = false
for (let i = 0; i < arr.length; i++) {
if (arr[i] === New) {
rep = true
return
}
}
if (!rep) {
this.saleRnkShow = true
arr.push(this.NewSaleRnkInfo.StartDateMonth + this.NewSaleRnkInfo.StartDateDay)
}
localStorage.saleRnkInfo = JSON.stringify(arr)
}
},
err => {}
);
},
downloadSingle(obj) {
let dom = document.querySelector("#groupTourOrderByTuan_DownLoad");
dom.href = obj.Url;
......
......@@ -591,7 +591,7 @@
<p>合同解除的,出境社应当在扣除已向地接社或者履行辅助人支付且不可退还的费用后,将余款退还旅游者。</p>
<h3>第十五条 必要的费用扣除</h3>
<div v-if="dataList.TeamType===2">
<p>【退改规则】</p>
<p>1.【退改规则】</p>
<p>出发前 11-8 天(不含),收取损失 30%。</p>
<p>出发前 3~7(不含),收取损失 50%。</p>
<p>出发前 2~3 天(含),收取损失 80%。</p>
......@@ -616,7 +616,7 @@
<h2>第六章 违约责任</h2>
<h3>第十七条 出境社的违约责任</h3>
<div v-if="dataList.TeamType===2">
<p>【退改规则】</p>
<p>1.【退改规则】</p>
<p>出发前 11-8 天(不含),收取损失 30%。</p>
<p>出发前 3~7(不含),收取损失 50%。</p>
<p>出发前 2~3 天(含),收取损失 80%。</p>
......
......@@ -770,7 +770,7 @@
<p class="toTopDistance">第十五条&nbsp;&nbsp;必要的费用扣除</p>
</h3>
<div v-if="dataList.TeamType===2">
<p>【退改规则】</p>
<p>1.【退改规则】</p>
<p>出发前 11-8 天(不含),收取损失 30%。</p>
<p>出发前 3~7(不含),收取损失 50%。</p>
<p>出发前 2~3 天(含),收取损失 80%。</p>
......@@ -801,7 +801,7 @@
<p>第十七条&nbsp;&nbsp;出境社的违约责任</p>
</h3>
<div v-if="dataList.TeamType===2">
<p>【退改规则】</p>
<p>1.【退改规则】</p>
<p>出发前 11-8 天(不含),收取损失 30%。</p>
<p>出发前 3~7(不含),收取损失 50%。</p>
<p>出发前 2~3 天(含),收取损失 80%。</p>
......
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