| | |
| | | }) |
| | | |
| | | let placeholder = '' |
| | | let searchKey = '' |
| | | if (!config.searchKey) { |
| | | config.onload = 'true' |
| | | } else { |
| | |
| | | }) |
| | | |
| | | placeholder = placeholder ? placeholder.join('、') : '' |
| | | |
| | | if (value && !config.showValue) { |
| | | searchKey = value |
| | | config.onload = 'true' |
| | | } |
| | | } |
| | | |
| | | this.state = { |
| | |
| | | showValue: config.showValue, |
| | | placeholder, |
| | | arr_field: arrfield.join(','), |
| | | searchKey: '', |
| | | searchKey: searchKey, |
| | | pageIndex: 1, |
| | | pageSize: 10, |
| | | orderBy: '', |
| | |
| | | }) |
| | | |
| | | let param = null |
| | | if (window.backend && window.GLOB.CacheData.has('sql_' + config.uuid)) { |
| | | let ex = window.GLOB.CacheData.get('sql_' + config.uuid) |
| | | if (window.backend && window.GLOB.CacheData.has('sql_' + config.formSqlId)) { |
| | | let ex = window.GLOB.CacheData.get('sql_' + config.formSqlId) |
| | | let sysvals = { |
| | | time_id: Utils.getguid(), |
| | | mk_departmentcode: sessionStorage.getItem('departmentcode') || '', |
| | |
| | | |
| | | param = { |
| | | $backend: true, |
| | | $type: 's_Get_TableData', |
| | | data: [{ |
| | | id: ex.id, |
| | | menuname: config.label || '', |
| | | exps: exps, |
| | | menuname: '', |
| | | md5_id: '' |
| | | }] |
| | | } |
| | |
| | | config.tabUuid && MKEmitter.emit('mkFC', 'focus', config.tabUuid) |
| | | if (config.subFields) { |
| | | setTimeout(() => { |
| | | this.props.onSubmit(config.tabUuid) |
| | | this.props.onSubmit(config.tabUuid, config.errTabUuid) |
| | | }, 1000) |
| | | } else { |
| | | this.props.onSubmit(config.tabUuid) |
| | | this.props.onSubmit(config.tabUuid, config.errTabUuid) |
| | | } |
| | | } |
| | | }) |