| | |
| | | name: card.name, |
| | | subtype: card.subtype, |
| | | setting: { interType: 'system' }, |
| | | wrap: { name: card.name, width: card.width || 24, title: '', pagestyle: 'page', switch: 'false', cardType: '' }, |
| | | wrap: { name: card.name, width: card.width || 24, title: '', pagestyle: 'page', cardType: '' }, |
| | | style: { marginLeft: '0px', marginRight: '0px', marginTop: '8px', marginBottom: '8px' }, |
| | | headerStyle: { fontSize: '16px', borderBottomWidth: '1px', borderBottomColor: '#e8e8e8' }, |
| | | columns: [], |
| | |
| | | name: card.name, |
| | | subtype: card.subtype, |
| | | setting: { interType: 'system' }, |
| | | wrap: { name: card.name, width: card.width || 24, title: '', switch: 'false', datatype: 'static' }, |
| | | wrap: { name: card.name, width: card.width || 24, title: '', datatype: 'static' }, |
| | | style: { marginLeft: '0px', marginRight: '0px', marginTop: '8px', marginBottom: '8px' }, |
| | | headerStyle: { fontSize: '16px', borderBottomWidth: '1px', borderBottomColor: '#e8e8e8' }, |
| | | columns: [], |
| | |
| | | type: 'radio', |
| | | field: 'tableType', |
| | | label: '表格属性', |
| | | initval: wrap.tableType, |
| | | initval: wrap.tableType || '', |
| | | required: false, |
| | | options: [ |
| | | {value: '', label: '不可选'}, |
| | |
| | | values.fieldName = _funField ? _funField.label : '' |
| | | |
| | | // 一级菜单值为20190203125926873D6029A9C511041719420时TypeCharTwo=TableCode,其他用BillCode |
| | | if (values.ModularCode === '20190203125926873D6029A9C511041719420') { |
| | | if (values.ModularCode === '20190203125926873D6029A9C511041719420' || values.ModularCode === '01') { |
| | | values.TypeCharTwo = 'TableCode' |
| | | } else { |
| | | values.TypeCharTwo = 'BillCode' |
| | |
| | | let _type = record.Type |
| | | if (_type && typeof(_type) === 'string') { |
| | | _type = parseInt(_type) |
| | | } else { |
| | | } else if (!_type) { |
| | | _type = 4 |
| | | } |
| | | |
| | |
| | | children: null |
| | | } |
| | | } else if (item.switchable) { // 数据可切换 |
| | | let disabled = false |
| | | if (item.type === 'card') { |
| | | disabled = item.wrap.cardType === '' |
| | | } else if (item.type === 'table') { |
| | | disabled = item.wrap.tableType === '' |
| | | } |
| | | return { |
| | | value: item.uuid, |
| | | label: item.name |
| | | label: item.name, |
| | | disabled: disabled |
| | | } |
| | | } else if (item.type === 'form') { // 数据格式,存在数据源 |
| | | return { |