| | |
| | | initval: tab.label || '', |
| | | required: true, |
| | | focus: true, |
| | | span: 22 |
| | | }, |
| | | { |
| | | type: 'mkicon', |
| | |
| | | initval: tab.icon || '', |
| | | required: false, |
| | | allowClear: true, |
| | | span: 22 |
| | | }, |
| | | // { |
| | | // type: 'radio', |
| | |
| | | initval: tab.controlVal || '', |
| | | tooltip: '当禁用字段值与隐藏标记相等时,标签页会隐藏。', |
| | | required: false, |
| | | forbid: appType === 'mob', |
| | | span: 22 |
| | | // forbid: appType === 'mob', |
| | | }, |
| | | { |
| | | type: 'color', |
| | | field: 'backgroundColor', |
| | | label: '背景(内容区)', |
| | | initval: tab.backgroundColor || 'transparent', |
| | | required: false, |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | field: 'hide', |
| | | label: '隐藏', |
| | | initval: tab.hide || 'false', |
| | | required: false, |
| | | options: [ |
| | | {value: 'false', label: '否'}, |
| | | {value: 'true', label: '是'}, |
| | | ], |
| | | }, |
| | | { |
| | | type: 'multiselect', |
| | |
| | | required: false, |
| | | options: roleList, |
| | | forbid: !!appType, |
| | | span: 22 |
| | | }, |
| | | ] |
| | | |
| | |
| | | controlFields: [ |
| | | {field: 'controlField', notNull: true}, |
| | | ], |
| | | forbid: appType === 'mob', |
| | | // forbid: appType === 'mob', |
| | | }, |
| | | { |
| | | type: 'text', |
| | |
| | | initval: setting.controlField || '', |
| | | tooltip: '用于控制标签隐藏的字段,在标签中填入隐藏标记。', |
| | | required: true, |
| | | forbid: appType === 'mob', |
| | | // forbid: appType === 'mob', |
| | | }, |
| | | { |
| | | type: 'color', |
| | | field: 'backgroundColor', |
| | | label: '背景(标题栏)', |
| | | initval: setting.backgroundColor || 'transparent', |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | field: 'permission', |
| | | label: '权限验证', |
| | | initval: setting.permission || 'false', |
| | | required: false, |
| | | options: [ |
| | | {value: 'true', label: '启用'}, |
| | | {value: 'false', label: '禁用'}, |
| | | ], |
| | | forbid: !appType |
| | | }, |
| | | { |
| | | type: 'multiselect', |