| | |
| | | label: '数据源', |
| | | initVal: card.dataSource || '', |
| | | tooltip: '数据权限替换符 $@ -> /* 或 \'\'、 @$ -> */ 或 \'\'', |
| | | placeholder: '系统变量:mk_departmentcode、mk_organization、mk_user_type。', |
| | | placeholder: '系统变量:mk_departmentcode、mk_organization、mk_user_type。公共值:@BID@、@Appkey@、@UserID@、@SessionUid@、@LoginUID@、@lang@。', |
| | | required: true |
| | | }, |
| | | { |
| | |
| | | text: '本地' |
| | | }, { |
| | | value: 'sso', |
| | | text: '系统' |
| | | text: '单点' |
| | | }] |
| | | }, |
| | | { |
| | |
| | | |
| | | let options = card.options || [] |
| | | if (['select', 'radio', 'link'].includes(card.type) && card.setAll === 'true') { // 兼容 |
| | | options.unshift({ |
| | | let cell = { |
| | | key: 'empty', |
| | | Value: '', |
| | | Text: card.emptyText || '空', |
| | | ParentID: '' |
| | | }) |
| | | } |
| | | |
| | | if (card.linkSubField) { |
| | | card.linkSubField.forEach(m => { |
| | | cell[m] = '' |
| | | }) |
| | | } |
| | | |
| | | options.unshift(cell) |
| | | } |
| | | |
| | | let initval = card.initval || '' |
| | |
| | | label: '数据源', |
| | | initVal: card.dataSource || '', |
| | | tooltip: '数据权限替换符 $@ -> /* 或 \'\'、 @$ -> */ 或 \'\'', |
| | | placeholder: '系统变量:mk_departmentcode、mk_organization、mk_user_type。公共值:@ID@、@BID@。', |
| | | placeholder: '系统变量:mk_departmentcode、mk_organization、mk_user_type。公共值:@ID@、@BID@、@Appkey@、@UserID@、@SessionUid@、@LoginUID@、@lang@。', |
| | | required: true, |
| | | readonly: false |
| | | }, |
| | |
| | | text: '本地' |
| | | }, { |
| | | value: 'sso', |
| | | text: '系统' |
| | | text: '单点' |
| | | }] |
| | | }, |
| | | { |
| | |
| | | type: 'radio', |
| | | key: 'readin', |
| | | label: '自动填充', |
| | | tooltip: '将表格选中的数据自动填充到表单中。注:在批量操作时,如想要所选行(当前字段)全部修改请设为否或首行。', |
| | | tooltip: '将表格选中的数据自动填充到表单中。注:在批量操作时,如想要所选行(当前字段)全部修改请设为否或首行;使用“缓存”时,将在本地保存与读取表单信息,选行时使用行信息填充。', |
| | | initVal: card.readin || 'true', |
| | | options: [{ |
| | | value: 'true', |
| | |
| | | }, { |
| | | value: 'top', |
| | | text: '首行' |
| | | }, { |
| | | value: 'local', |
| | | text: '缓存' |
| | | }] |
| | | }, |
| | | { |
| | |
| | | }, { |
| | | value: 'false', |
| | | text: '否' |
| | | }] |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'verifyVal', |
| | | label: '空值验证', |
| | | tooltip: '按钮提交时验证字段值是否为空(或数值为0)。', |
| | | initVal: card.verifyVal || 'false', |
| | | options: [{ |
| | | value: 'true', |
| | | text: '开启' |
| | | }, { |
| | | value: 'false', |
| | | text: '关闭' |
| | | }] |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'contHeidht', |
| | | label: '高度', |
| | | min: 1, |
| | | max: 2000, |
| | | precision: 1, |
| | | initVal: card.contHeidht, |
| | | tooltip: '富文本编辑区的高度,小于100时为窗口的百分比。', |
| | | required: false, |
| | | forbid: appType === 'mob' |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'labelwidth', |
| | | min: 1, |
| | | max: 100, |