| | |
| | | // precision: 0, |
| | | // required: false |
| | | // }, |
| | | { |
| | | type: 'styleInput', |
| | | field: 'height', |
| | | label: '最小高度', |
| | | initval: wrap.height || '', |
| | | tooltip: '组件占用的最小高度,用于页面布局。', |
| | | required: false, |
| | | options: ['px', 'vh', 'vw', '%'] |
| | | }, |
| | | // { |
| | | // type: 'styleInput', |
| | | // field: 'height', |
| | | // label: '最小高度', |
| | | // initval: wrap.height || '', |
| | | // tooltip: '组件占用的最小高度,用于页面布局。', |
| | | // required: false, |
| | | // options: ['px', 'vh', 'vw', '%'] |
| | | // }, |
| | | // { |
| | | // type: 'styleInput', |
| | | // field: 'maxWidth', |
| | |
| | | {value: 'none', label: '无'}, |
| | | {value: 'remember', label: '记住密码'}, |
| | | {value: 'autologon', label: '自动登录'}, |
| | | ], |
| | | controlFields: [ |
| | | {field: 'vispwd', values: ['remember', 'autologon']}, |
| | | ] |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | field: 'vispwd', |
| | | label: '查看密码', |
| | | initval: wrap.vispwd || 'true', |
| | | tooltip: '密码是否可查看(密码框右侧图标是否显示)。', |
| | | required: false, |
| | | options: [ |
| | | {value: 'true', label: '启用'}, |
| | | {value: 'false', label: '禁用'}, |
| | | ] |
| | | }, |
| | | { |
| | |
| | | label: '协议组', |
| | | initval: wrap.groups || [], |
| | | required: true, |
| | | actions: ['edit', 'del', 'add', 'move'], |
| | | span: 24, |
| | | columns: [ |
| | | { |
| | |
| | | dataIndex: 'link', |
| | | inputType: 'input', |
| | | editable: true, |
| | | unique: true, |
| | | required: true, |
| | | width: '40%' |
| | | }, |