Commit 095b21a6 authored by youjie's avatar youjie

优化 通知 车系统

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