| | |
| | | options: [ |
| | | {value: '', label: '不可选'}, |
| | | {value: 'radio', label: '单选'}, |
| | | {value: 'checkbox', label: '多选', forbid: subtype === 'propcard'}, |
| | | {value: 'checkbox', label: '多选', disabled: subtype === 'propcard'}, |
| | | ], |
| | | controlFields: [ |
| | | {field: 'checkAll', values: ['checkbox']}, |
| | |
| | | options: [ |
| | | {value: 'false', label: '无'}, |
| | | {value: 'init', label: '初始化'}, |
| | | {value: 'always', label: '数据加载', forbid: subtype === 'propcard'}, |
| | | {value: 'always', label: '数据加载', disabled: subtype === 'propcard'}, |
| | | ] |
| | | }, |
| | | { |
| | |
| | | ] |
| | | |
| | | return cardWrapForm.map(item => { |
| | | if (['pagestyle', 'cardType', 'selected'].includes(item.field)) { |
| | | if (['pagestyle'].includes(item.field)) { |
| | | item.options = item.options.filter(option => !option.forbid) |
| | | } |
| | | |