| | |
| | | { |
| | | type: 'radio', |
| | | key: 'resourceType', |
| | | label: Formdict['header.form.resourceType'], |
| | | label: '选项来源', |
| | | initVal: card.resourceType || '0', |
| | | required: true, |
| | | options: [{ |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'setAll', |
| | | label: Formdict['header.form.setAll'], |
| | | label: '设置全部', |
| | | initVal: card.setAll || 'true', |
| | | options: [{ |
| | | value: 'true', |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'cardValField', |
| | | label: Formdict['header.form.valueField'], |
| | | label: '值·字段', |
| | | initVal: card.cardValField || 'Value', |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'linkField', |
| | | label: Formdict['header.form.linkField'], |
| | | label: '关联字段', |
| | | initVal: card.linkField || '', |
| | | required: true, |
| | | readonly: false, |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'valueField', |
| | | label: Formdict['header.form.valueField'], |
| | | label: '值·字段', |
| | | initVal: card.valueField || '', |
| | | required: true, |
| | | readonly: false |
| | |
| | | } |
| | | refresh.push({ |
| | | value: 'maingrid', |
| | | text: Formdict['header.form.refresh.maingrid'] |
| | | text: '刷新主表(行)' |
| | | }, { |
| | | value: 'equaltab', |
| | | text: Formdict['header.form.refresh.equaltab'] |
| | | text: '刷新同级标签' |
| | | }) |
| | | } |
| | | |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'position', |
| | | label: Formdict['header.form.position'], |
| | | label: '显示位置', |
| | | initVal: card.position || 'toolbar', |
| | | required: true, |
| | | options: [{ |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'resourceType', |
| | | label: Formdict['header.form.resourceType'], |
| | | label: '选项来源', |
| | | initVal: card.resourceType || '0', |
| | | required: true, |
| | | options: [{ |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'cardValField', |
| | | label: Formdict['header.form.valueField'], |
| | | label: '值·字段', |
| | | initVal: card.cardValField || 'Value', |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'linkField', |
| | | label: Formdict['header.form.linkField'], |
| | | label: '关联字段', |
| | | initVal: card.linkField || '', |
| | | required: true, |
| | | readonly: false, |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'valueField', |
| | | label: Formdict['header.form.valueField'], |
| | | label: '值·字段', |
| | | initVal: card.valueField || '', |
| | | required: true, |
| | | readonly: false |
| | |
| | | text: Formdict['header.form.letter'] |
| | | }, { |
| | | value: 'letter&number', |
| | | text: Formdict['header.form.letter&number'] |
| | | text: '字母+数字' |
| | | }, { |
| | | value: 'phone', |
| | | text: '手机号' |