76b5450e by 杨威
2 parents 8d1a55a2 cd1d73e7
......@@ -154,9 +154,12 @@ export default {
this.getTreeList();
}
},
// "$store.state.zdbsm": function(bsm) {
// this.getRightTree(bsm);
// },
"$store.state.zdbsm": function(bsm) {
this.getRightTree(bsm);
},
},
mounted(){
},
created() {
if (this.$route.meta) {
......@@ -214,7 +217,7 @@ export default {
}
//刷新页面后根据不同路由高亮相对应的导航
if(this.$route.path == '/zrz' || this.$route.path == '/zd' || this.$route.path == '/dz'){
}else{
this.headTop.forEach(item=>{
if (item.path == this.$route.path) {
......@@ -257,7 +260,7 @@ export default {
},
async getDicData(name) {
return await getDdicByMC(name).then((res)=> {
return res.result
return res.result
});
},
getRightTree(bsm) {
......
......@@ -218,25 +218,9 @@ export default {
methods: {
// 重置
result(){
this.ruleForm={
djqbsm: "",
djzqbsm: "",
syqlxbsm: "",
userbsm: "",
xmmc: "",
xzqbsm: "",
zdtzmbsm: ""
}
this.ruleForm1={
zdbsm:'',
xmmc:'',
userbsm:''
}
this.ruleForm2={
zdbsm:'',
xmmc:'',
userbsm:''
}
this.$refs['ruleForm'].resetFields()
this.$refs["ruleForm1"].resetFields()
this.$refs["ruleForm2"].resetFields()
},
handleClick(tab, event) {
console.log(tab, event);
......