76b5450e by 杨威
2 parents 8d1a55a2 cd1d73e7
...@@ -154,9 +154,12 @@ export default { ...@@ -154,9 +154,12 @@ export default {
154 this.getTreeList(); 154 this.getTreeList();
155 } 155 }
156 }, 156 },
157 // "$store.state.zdbsm": function(bsm) { 157 "$store.state.zdbsm": function(bsm) {
158 // this.getRightTree(bsm); 158 this.getRightTree(bsm);
159 // }, 159 },
160 },
161 mounted(){
162
160 }, 163 },
161 created() { 164 created() {
162 if (this.$route.meta) { 165 if (this.$route.meta) {
...@@ -214,7 +217,7 @@ export default { ...@@ -214,7 +217,7 @@ export default {
214 } 217 }
215 //刷新页面后根据不同路由高亮相对应的导航 218 //刷新页面后根据不同路由高亮相对应的导航
216 if(this.$route.path == '/zrz' || this.$route.path == '/zd' || this.$route.path == '/dz'){ 219 if(this.$route.path == '/zrz' || this.$route.path == '/zd' || this.$route.path == '/dz'){
217 220
218 }else{ 221 }else{
219 this.headTop.forEach(item=>{ 222 this.headTop.forEach(item=>{
220 if (item.path == this.$route.path) { 223 if (item.path == this.$route.path) {
...@@ -257,7 +260,7 @@ export default { ...@@ -257,7 +260,7 @@ export default {
257 }, 260 },
258 async getDicData(name) { 261 async getDicData(name) {
259 return await getDdicByMC(name).then((res)=> { 262 return await getDdicByMC(name).then((res)=> {
260 return res.result 263 return res.result
261 }); 264 });
262 }, 265 },
263 getRightTree(bsm) { 266 getRightTree(bsm) {
......
...@@ -218,25 +218,9 @@ export default { ...@@ -218,25 +218,9 @@ export default {
218 methods: { 218 methods: {
219 // 重置 219 // 重置
220 result(){ 220 result(){
221 this.ruleForm={ 221 this.$refs['ruleForm'].resetFields()
222 djqbsm: "", 222 this.$refs["ruleForm1"].resetFields()
223 djzqbsm: "", 223 this.$refs["ruleForm2"].resetFields()
224 syqlxbsm: "",
225 userbsm: "",
226 xmmc: "",
227 xzqbsm: "",
228 zdtzmbsm: ""
229 }
230 this.ruleForm1={
231 zdbsm:'',
232 xmmc:'',
233 userbsm:''
234 }
235 this.ruleForm2={
236 zdbsm:'',
237 xmmc:'',
238 userbsm:''
239 }
240 }, 224 },
241 handleClick(tab, event) { 225 handleClick(tab, event) {
242 console.log(tab, event); 226 console.log(tab, event);
......