diff --git a/src/App.vue b/src/App.vue index 4c1245f..bb40d0a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -25,10 +25,15 @@ if (util.local.get(Setting.storeKey) ) { this.$store.replaceState(Object.assign({}, this.$store.state,util.local.get(Setting.storeKey))) this.$store.system.replaceState(Object.assign({}, sessionStorage.getItem('systemData'))) + } //在页面刷新时将vuex里的信息保存到localStorage里 - window.addEventListener("beforeunload",()=>{ + window.addEventListener("beforeunload",()=>{ + if(this.$route.fullPath.includes('/counter/list/manage')) { + sessionStorage.setItem('computerPath', this.$route.fullPath) + } + util.local.get(Setting.tokenKey) && util.local.set(Setting.storeKey,this.$store.state) sessionStorage.setItem('systemData', this.$store.system.state) }) diff --git a/src/components/dialog/index.vue b/src/components/dialog/index.vue index 9a85d82..732bb51 100644 --- a/src/components/dialog/index.vue +++ b/src/components/dialog/index.vue @@ -140,6 +140,11 @@ const obj = { 'timeDeposit/withdrawal': '整存整取取款', 'timeDeposit/deposit': '整存整取存款', 'business/openAccount': '公司业务开户', + 'servicesAccount/passwordChange': '密码修改', + 'servicesAccount/passwordLost': '密码挂失登记', + 'servicesAccount/relieveLost': '挂失解挂登记', + 'controlCash/cashRecipients': '现金管理', + 'spacial': '提交' } const nameMap = { diff --git a/src/components/dialog2/index.vue b/src/components/dialogTwo/index.vue similarity index 94% rename from src/components/dialog2/index.vue rename to src/components/dialogTwo/index.vue index 29aad8c..3e75ddd 100644 --- a/src/components/dialog2/index.vue +++ b/src/components/dialogTwo/index.vue @@ -15,7 +15,7 @@