Commit e4969d37 by Wuyuqiu

判断状态信息临时提交

parent 4174d571
...@@ -422,19 +422,20 @@ export default { ...@@ -422,19 +422,20 @@ export default {
* 判断状态信息,包括visiable,modified,enabled等 * 判断状态信息,包括visiable,modified,enabled等
*/ */
judgeVisiableInfo(rulePath){ judgeVisiableInfo(rulePath){
var model = this.model; // var model = this.model;
if(model == null){ // if(model == null){
return false; // return false;
} // }
var info = this.model.statusInfo; // var info = this.model.statusInfo;
if(info == null || info.length == 0){ // if(info == null || info.length == 0){
return false; // return false;
} // }
var visiable = info["visiable"]; // var visiable = info["visiable"];
if(visiable[rulePath] == null){ // if(visiable[rulePath] == null){
return false; // return false;
} // }
return visiable[rulePath]; // return visiable[rulePath];
return true
} }
}, },
computed: { computed: {
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
activeNames: ["cnyp"], activeNames: ["cnyp"],
}; };
}, },
methods: { ...Event }, methods: { ...Event,handleChange(){} },
created: function () {}, created: function () {},
}; };
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment