Commit 285fe2fa authored by 黄奎's avatar 黄奎

页面修改

parent dffe0052
......@@ -1553,7 +1553,6 @@
F_ContractManagement: false, //合同权限
F_Finance_Create: false,
HOTEL_memorandum: false,
};
},
filters: {
......@@ -1858,8 +1857,6 @@
} else {
this.userInfo.UserPhoto = "";
}
this.userId = this.userInfo.EmployeeId;
this.allPartMsg.RB_Group_Id = this.deleteMsg.groupId = this.likeMsg.groupId = this.addDynamicMsg.rB_GroupId = this
.dynamicMsg.groupId =
......@@ -1948,8 +1945,6 @@
}
}
}
// 获取改价及审核提醒 每月1到10号提示
let DateTime = new Date();
let Year = DateTime.getFullYear()
......@@ -1995,7 +1990,6 @@
this.ExamineThePriceMsg.ApplyType = 2;
this.GetExaminePriceOrderPageList()
}
}
},
created() {
......@@ -2059,7 +2053,6 @@
}
}
);
},
GetExaminePriceOrderPageList(type) {
this.apipost(
......@@ -2126,7 +2119,6 @@
if (res.data.resultCode == 1) {
if (res.data.data && res.data.data.count > 0 && res.data.data.pageData.length > 0) {
if (!this.ExamineThePriceMsg.total2) this.ExamineThePriceMsg.total2 = res.data.data.count
// localStorage.setItem("ChangeThePriceData", JSON.stringify(res.data.data.pageData));
localStorage.setItem("ChangeThePriceDataTime", this.getBeforeDate(0, new Date().Format(
"yyyy-MM-dd")));
this.ChangeThePriceObj.ChangeThePriceData = res.data.data.pageData
......@@ -2136,7 +2128,6 @@
if (type == 1) {
// this.$message.info('暂无订单改价数据')
}
// localStorage.removeItem("ChangeThePriceData");
localStorage.removeItem("ChangeThePriceDataTime");
}
}
......@@ -2188,7 +2179,7 @@
var cmd = "";
cmd = "ppt_trip_DeleteTripMain";
postMsg = {
MainId:1,
MainId: 1,
}
this.apipost(
cmd, postMsg,
......@@ -2273,7 +2264,6 @@
this.outerVisibleNot = false
},
closeChangeMachie(done) { //弹出框关闭初始化弹框内表单
// done();
this.saleRnkShow = false
},
GetUserIsRead() {
......@@ -2353,12 +2343,9 @@
} else {
this.logsShow = false;
}
} else {
//this.Error(res.data.message);
}
}, err => {});
},
CloseZip() {
this.mazip = 1;
localStorage.setItem("mazip", 1);
......@@ -2402,7 +2389,6 @@
clearInterval(this.douTimer)
this.douTimer = null
}
}, 25)
}
},
......@@ -2414,7 +2400,6 @@
} else {
url = "http://yx.oytour.com/#/";
}
let path = url + s.Link;
let routeData = this.$router.resolve({
name: path
......@@ -2435,7 +2420,6 @@
null
);
}
},
refreshSysNoteDate(add) {
this.sysMsgList = [];
......@@ -2466,6 +2450,9 @@
res => {
if (res.data.resultCode == 1) {
this.MsgCount = res.data.data.count;
if (this.MsgCount && this.MsgCount > 0) {
this.hasNewMsg = this.MsgCount;
}
if (res.data.data.count > 0) {
let data = res.data.data.pageData;
data.forEach(x => {
......@@ -2694,7 +2681,6 @@
this.addOrUpdate = 0;
this.GroupMemberList = [];
this.oldGroupMemberList.forEach(x => {
//Icon:obj.Icon,IMAccount:obj.IMAccount,Name:obj.Name
let obj = {};
obj.Icon = x.avatar;
obj.IMAccount = x.account;
......@@ -2771,7 +2757,6 @@
x.name = this.currentSession.name;
}
});
this.delAccountList.forEach(x => {
this.deleteFriend(x);
});
......@@ -2899,7 +2884,6 @@
this.oldGroupMemberList.splice(index, 1);
}
});
this.$store.state.teamMembers[
this.currentSession.teamInfo.teamId
] = this.oldGroupMemberList;
......@@ -2913,7 +2897,6 @@
}
});
},
deleteOldFriend(obj) {},
addFriend(type, obj) {
if (obj.imAccount) {
......@@ -2939,9 +2922,6 @@
accounts: imList,
done: (error, obj2) => {
if (!error) {
// this.$message.success('成功!')
// this.clearBuildGroup()
// this.IM_navType=1
let demoObj = {
Icon: obj.icon,
IMAccount: obj.imAccount,
......@@ -3054,7 +3034,6 @@
saveGroup() {
if (this.newGroup) {
if (this.IMList.length < 1) {
//
this.$message.warning("建群至少要有一个成员!");
return;
}
......@@ -3073,7 +3052,6 @@
this.$message.success("成功!");
this.$store.state.teamlist.push(obj.team);
this.searchUsers(obj.accounts);
this.clearBuildGroup();
this.IM_navType = 1;
this.$store.dispatch("createTeam", obj);
......@@ -3113,7 +3091,6 @@
});
}
},
buildGroup() {
this.IM_Chatlayer = false;
this.IM_navType = 4;
......@@ -3201,7 +3178,6 @@
lt(obj) {
this.MsgBus.$emit('imgprevclear')
if (obj.account && obj.account != "") {
obj.imAccount = obj.account;
obj.name = obj.alias;
obj.avatar = obj.avatar;
......@@ -3413,7 +3389,6 @@
err => {}
);
},
getWebAllPart() {
this.apipost(
"admin_Get_GetCompanyDepartMentEmployeeForChar", {},
......@@ -3425,7 +3400,6 @@
err => {}
);
},
deleteComments(id, index, aId) {
//从全部动态删除评论
this.isAppend = false;
......@@ -3510,7 +3484,6 @@
this.isAppend = false;
this.isAppendOne = false;
this.dynamicMsg.pageIndex = Math.ceil((index + 1) / 10);
//this.myDynamicMsg.pageIndex=Math.ceil((index+1)/10)
this.likeMsg.articleId = id;
this.apipost(
"user_dynamic_like",
......@@ -3554,7 +3527,6 @@
err => {}
);
},
disLikeArticle(id, index) {
//从全部取消点赞
this.isAppend = false;
......@@ -3579,7 +3551,6 @@
err => {}
);
},
disLikeArticleOne(id, index) {
//从我发布的取消点赞
this.isAppend = false;
......@@ -4216,7 +4187,6 @@
case "/HotelPrice": //酒店报价
path = "/HotelManagement";
break;
case "/detailsInventory": //酒店总库存看板详情
path = "/HotelTotalStock";
break;
......@@ -4226,7 +4196,6 @@
case "/HotelAccountInfo": //酒店核算详情
path = "/HotelAccounting";
break;
case "/restaurantInfoManage": //餐厅新增修改
path = "/restaurantList";
break;
......@@ -4239,7 +4208,6 @@
case "/RestauranAccountingDetail": //餐厅内部核算详情
path = "/RestauranAccounting";
break;
case "/scenicSpotInfoManage": //票劵新增修改
path = "/scenicSpotList";
break;
......@@ -4252,7 +4220,6 @@
case "/scenicSpotDetails": //票劵内部核算详情
path = "/scenicSpotAccounting";
break;
case "/TicketAccountingDetails": //机票核算详情
path = "/TicketAccounting";
break;
......@@ -4408,6 +4375,7 @@
if (r.data.resultCode == 1) {
this.msgList = [];
this.MsgCount = this.msgList.length;
this.hasNewMsg = this.MsgCount;
} else {
this.$message.error(r.data.message);
}
......
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