吕天方 1 month ago
commit a4abea77ba

@ -298,7 +298,6 @@ export default {
this.formInline = {
xtlx: "",
}
console.log(tab);
this.activeName = tab.name
this.xtmcName = tab.$attrs.xtmcName,
localStorage.setItem("activeName",this.activeName)
@ -410,9 +409,16 @@ export default {
});
})
this.activeName = this.chanckListTow[0].lable
// this.xtmcName = tab.$attrs.xtmcName
if(localStorage.getItem("activeName")){
this.activeName = localStorage.getItem("activeName")
localStorage.setItem("activeName",this.activeName)
}
let listname = this.chanckListTow.filter(item=> item.lable == this.activeName)
if(listname){
this.xtmcName = listname[0].xtmcName
}
this.handleQuery();

@ -280,8 +280,11 @@ export default {
this.formInline = {
xtlx: "",
}
this.activeName = tab.name
this.xtmcName = tab.$attrs.xtmcName,
this.xtmcName = tab.$attrs.xtmcName
localStorage.setItem("activeName",this.activeName)
this.handleQuery()
@ -394,6 +397,11 @@ export default {
if(localStorage.getItem("activeName")){
this.activeName = localStorage.getItem("activeName")
localStorage.setItem("activeName",this.activeName)
}
let listname = this.chanckListTow.filter(item=> item.lable == this.activeName)
if(listname){
this.xtmcName = listname[0].xtmcName
}
this.handleQuery();
},

Loading…
Cancel
Save