Commit e4969d37 by Wuyuqiu

判断状态信息临时提交

parent 4174d571
......@@ -422,19 +422,20 @@ export default {
* 判断状态信息,包括visiable,modified,enabled等
*/
judgeVisiableInfo(rulePath){
var model = this.model;
if(model == null){
return false;
}
var info = this.model.statusInfo;
if(info == null || info.length == 0){
return false;
}
var visiable = info["visiable"];
if(visiable[rulePath] == null){
return false;
}
return visiable[rulePath];
// var model = this.model;
// if(model == null){
// return false;
// }
// var info = this.model.statusInfo;
// if(info == null || info.length == 0){
// return false;
// }
// var visiable = info["visiable"];
// if(visiable[rulePath] == null){
// return false;
// }
// return visiable[rulePath];
return true
}
},
computed: {
......
......@@ -96,7 +96,7 @@ export default {
activeNames: ["cnyp"],
};
},
methods: { ...Event },
methods: { ...Event,handleChange(){} },
created: function () {},
};
</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