| | |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'checkAll', |
| | | label: '全选', |
| | | initVal: card.checkAll || 'hide', |
| | | tooltip: '可多选的选项卡是否显示全选开关,注:当选项大于3个时有效。', |
| | | required: false, |
| | | forbid: appType !== '', |
| | | options: [{ |
| | | value: 'hide', |
| | | text: '隐藏' |
| | | }, { |
| | | value: 'show', |
| | | text: '显示' |
| | | }] |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'selectStyle', |
| | | label: '选中效果', |
| | | tooltip: '背景及文字变化时会使用系统色。', |
| | |
| | | key: 'icon', |
| | | label: '图标', |
| | | initVal: card.icon || '', |
| | | required: false, |
| | | forbid: type === 'CalendarPage' |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'select', |
| | |
| | | label: '上级标签', |
| | | initVal: supMenu, |
| | | required: false, |
| | | options: menus, |
| | | forbid: type === 'CalendarPage' |
| | | options: menus |
| | | }, |
| | | { |
| | | type: 'mutilselect', |
| | |
| | | tooltip: '如果子标签中含有刷新同级标签的按钮,在此处添加需要刷新的标签。', |
| | | initVal: equalTab, |
| | | required: false, |
| | | options: equalTabs, |
| | | forbid: type === 'CalendarPage' |
| | | options: equalTabs |
| | | }, |
| | | { |
| | | type: 'text', |
| | |
| | | label: '外键', |
| | | tooltip: '外键旨在标签页中执行默认函数(添加)时,替换BID字段', |
| | | initVal: card.foreignKey || '', |
| | | required: false, |
| | | forbid: type === 'CalendarPage' |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'number', |
| | |
| | | initVal: card.searchPass || 'false', |
| | | tooltip: '使用主表搜索条件时,主表的搜索条件会传入子表中。', |
| | | required: false, |
| | | forbid: type !== 'CommonTable' && type !== 'CalendarPage', |
| | | forbid: type !== 'CommonTable', |
| | | options: [{ |
| | | value: 'true', |
| | | text: '使用' |