Commit 5b691945 by 任晓松

update

parent ec3306c1
...@@ -156,6 +156,7 @@ class ForminfoService extends ServiceBase { ...@@ -156,6 +156,7 @@ class ForminfoService extends ServiceBase {
let ctls = []; let ctls = [];
if(items.length>0){ if(items.length>0){
items.forEach(item=>{ items.forEach(item=>{
if(item.is_enabled === 1){
let ctl = {} let ctl = {}
ctl['type'] = data[item.item_type]; ctl['type'] = data[item.item_type];
ctl['label'] = item.name; ctl['label'] = item.name;
...@@ -195,6 +196,7 @@ class ForminfoService extends ServiceBase { ...@@ -195,6 +196,7 @@ class ForminfoService extends ServiceBase {
} }
ctl['rules'] = rules; ctl['rules'] = rules;
ctls.push(ctl); ctls.push(ctl);
}
}) })
//组装form 格式表单 //组装form 格式表单
form = { form = {
......
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