| | |
| | | syncConfig, |
| | | data: _data, |
| | | BID: BID || '', |
| | | config: _config, |
| | | arr_field: _config.columns.map(col => col.field).join(',') |
| | | config: _config |
| | | }) |
| | | } |
| | | |
| | |
| | | if (config.uuid !== menuId) return |
| | | |
| | | callback({ |
| | | arr_field: '', |
| | | orderBy: '', |
| | | search: [], |
| | | menuName: config.name |
| | | }) |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | async loadData (type) { |
| | | const { config, arr_field, BID, BData } = this.state |
| | | const { config, BID, BData } = this.state |
| | | |
| | | if (config.wrap.datatype === 'public') { |
| | | MKEmitter.emit('reloadData', config.wrap.publicId) |
| | |
| | | } |
| | | |
| | | let _orderBy = config.setting.order || '' |
| | | let param = UtilsDM.getQueryDataParams(config.setting, arr_field, searches, _orderBy, 1, 1, BID) |
| | | let param = UtilsDM.getQueryDataParams(config.setting, searches, _orderBy, 1, 1, BID) |
| | | |
| | | let result = await Api.genericInterface(param) |
| | | if (result.status) { |