| | |
| | | initval: setting.name || '', |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'text', |
| | | field: 'MenuNo', |
| | | label: '菜单参数', |
| | | initval: setting.MenuNo || '', |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'number', |
| | | field: 'width', |
| | | label: '宽度', |
| | | initval: setting.width || 24, |
| | | tooltip: '栅格布局,每行等分为24列。', |
| | | min: 1, |
| | | max: 24, |
| | | precision: 0, |
| | | required: true |
| | | }, |
| | | // { |
| | | // type: 'text', |
| | | // field: 'MenuNo', |
| | | // label: '菜单参数', |
| | | // initval: setting.MenuNo || '', |
| | | // required: true |
| | | // }, |
| | | { |
| | | type: 'radio', |
| | | field: 'type', |
| | |
| | | {field: 'copyMenuId', values: ['menu']}, |
| | | {field: 'linkMenuId', values: ['linkmenu']}, |
| | | {field: 'linkurl', values: ['link']}, |
| | | {field: 'primaryId', values: ['menu', 'linkmenu']}, |
| | | ] |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | type: 'number', |
| | | field: 'width', |
| | | label: '宽度', |
| | | initval: setting.width || 24, |
| | | tooltip: '栅格布局,每行等分为24列。', |
| | | min: 1, |
| | | max: 24, |
| | | precision: 0, |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'number', |
| | | field: 'iconFont', |
| | | label: '字体大小', |
| | | initval: setting.iconFont || 20, |
| | |
| | | required: false, |
| | | options: columns |
| | | }, |
| | | { |
| | | type: 'text', |
| | | field: 'primaryId', |
| | | label: '静态主键值', |
| | | initval: setting.primaryId || '', |
| | | tooltip: '可作为BID传到下一页面。', |
| | | required: false |
| | | } |
| | | ] |
| | | |
| | | return menuWrapForm |