Commit 095b21a6 authored by youjie's avatar youjie

优化 通知 车系统

parent e38348af
......@@ -139,7 +139,7 @@
}
},
mounted() {
if(localStorage.typeSystem) {
if(localStorage.typeSystem&&localStorage.typeSystem==1) {
this.typeSystem = localStorage.typeSystem
let href = this.domainManager().CarUrl
if(this.getLocalStorage() == null){
......
......@@ -1589,7 +1589,7 @@
}
},
mounted() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
if(localStorage.typeSystem&&localStorage.typeSystem==1) this.typeSystem = localStorage.typeSystem
if(this.$route.query.cdState=='true'){
this.addBalanceout()
}
......
......@@ -993,7 +993,7 @@
window.localStorage.navTabs = JSON.stringify(this.tabs)
},
created() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
if(localStorage.typeSystem&&localStorage.typeSystem==1) this.typeSystem = localStorage.typeSystem
}
};
......
......@@ -1810,7 +1810,7 @@
};
},
created() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
if(localStorage.typeSystem&&localStorage.typeSystem==1) this.typeSystem = localStorage.typeSystem
this.isTerminate = -1
let userinfo = this.getLocalStorage();
let ActionMenuCode = userinfo.ActionMenuCode;
......
......@@ -2860,7 +2860,7 @@
}
},
mounted() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
if(localStorage.typeSystem&&localStorage.typeSystem==1) this.typeSystem = localStorage.typeSystem
// document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp
......
......@@ -784,7 +784,7 @@ Vue.component("TCIDJump", {
}
},
mounted() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
if(localStorage.typeSystem&&localStorage.typeSystem==1) this.typeSystem = localStorage.typeSystem
},
methods: {
goCarUrl(path,id,row){
......@@ -930,7 +930,7 @@ Vue.component("TCNUMJump", {
}
},
mounted() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
if(localStorage.typeSystem&&localStorage.typeSystem==1) this.typeSystem = localStorage.typeSystem
},
methods: {
goCarUrl(path,id,row){
......@@ -2241,7 +2241,7 @@ export default {
};
},
created() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
if(localStorage.typeSystem&&localStorage.typeSystem==1) this.typeSystem = localStorage.typeSystem
this.msg.startDate=this.$route.query.StartTime!=undefined?this.$route.query.StartTime:'';
this.msg.endDate=this.$route.query.EndTime!=undefined?this.$route.query.EndTime:'';
this.msg.LineId=this.$route.query.LineId!=undefined?Number(this.$route.query.LineId):'';
......
......@@ -486,7 +486,7 @@
mounted() {
this.initData()
this.getGroup()
if(localStorage.typeSystem) {
if(localStorage.typeSystem&&localStorage.typeSystem==1) {
let href = this.domainManager().CarUrl
window.parent.postMessage({
event_id: 'out',
......
......@@ -78,7 +78,7 @@
},
methods: {
getLogin(data){
if(localStorage.typeSystem) {
if(localStorage.typeSystem&&localStorage.typeSystem==1) {
let href = this.domainManager().CarUrl
window.parent.postMessage({
event_id: 'login',
......
......@@ -1755,7 +1755,7 @@
},
},
mounted() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
if(localStorage.typeSystem&&localStorage.typeSystem==1) this.typeSystem = localStorage.typeSystem
let that = this;
this.qjGroupId = this.QjGroupId();
this.apipost('user_post_GetNowVote', {}, r => {
......@@ -4262,7 +4262,7 @@
localStorage.removeItem("userInfo");
localStorage.removeItem("previousPathInfo");
location.href = '/'
if(localStorage.typeSystem) {
if(localStorage.typeSystem&&localStorage.typeSystem==1) {
let href = this.domainManager().CarUrl
window.parent.postMessage({
event_id: 'out',
......
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