|
@@ -198,7 +198,7 @@
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- active: 0,
|
|
|
|
|
|
+ active: sessionStorage.page ? JSON.parse(sessionStorage.page) : 0,
|
|
user: JSON.parse(localStorage.userInfo),
|
|
user: JSON.parse(localStorage.userInfo),
|
|
userList: [],
|
|
userList: [],
|
|
canExamine: false,
|
|
canExamine: false,
|
|
@@ -278,6 +278,7 @@ export default {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
|
|
+ this.activeChange()
|
|
for(let i in this.user.functionList){
|
|
for(let i in this.user.functionList){
|
|
if(this.user.functionList[i].name == '费用审核'){
|
|
if(this.user.functionList[i].name == '费用审核'){
|
|
this.canExamine = true
|
|
this.canExamine = true
|
|
@@ -300,6 +301,7 @@ export default {
|
|
return `${date.getFullYear()}-${mon<10?'0'+mon:mon}-${date.getDate()<10?'0'+date.getDate():date.getDate()}`;
|
|
return `${date.getFullYear()}-${mon<10?'0'+mon:mon}-${date.getDate()<10?'0'+date.getDate():date.getDate()}`;
|
|
},
|
|
},
|
|
activeChange(){
|
|
activeChange(){
|
|
|
|
+ sessionStorage.setItem('page',JSON.stringify(this.active))
|
|
if(this.active == 1){
|
|
if(this.active == 1){
|
|
this.getBillList()
|
|
this.getBillList()
|
|
}
|
|
}
|