genggai系统名称

main
李劲龙 1 month ago
parent afd9e36c40
commit 8223c1f44e

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

@ -280,8 +280,11 @@ export default {
this.formInline = { this.formInline = {
xtlx: "", xtlx: "",
} }
this.activeName = tab.name this.activeName = tab.name
this.xtmcName = tab.$attrs.xtmcName,
this.xtmcName = tab.$attrs.xtmcName
localStorage.setItem("activeName",this.activeName) localStorage.setItem("activeName",this.activeName)
this.handleQuery() this.handleQuery()
@ -394,6 +397,11 @@ export default {
if(localStorage.getItem("activeName")){ if(localStorage.getItem("activeName")){
this.activeName = localStorage.getItem("activeName") this.activeName = localStorage.getItem("activeName")
localStorage.setItem("activeName",this.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(); this.handleQuery();
}, },

Loading…
Cancel
Save