| | |
| | | BID: '', |
| | | BData: '', |
| | | plot: null, |
| | | arr_field : '', |
| | | chartId: Utils.getuuid(), |
| | | empty: true |
| | | } |
| | |
| | | config: _config, |
| | | BID: BID || '', |
| | | BData: BData || '', |
| | | arr_field: _config.columns.map(col => col.field).join(','), |
| | | plot: _config.plot |
| | | }) |
| | | |
| | |
| | | } |
| | | |
| | | async loadData (type) { |
| | | const { config, arr_field, BID } = this.state |
| | | const { config, BID } = this.state |
| | | |
| | | if (config.setting.supModule && !BID) { // BID 不存在时,不做查询 |
| | | if (!is(fromJS(this.data), fromJS([]))) { |
| | |
| | | }) |
| | | |
| | | let _orderBy = config.setting.order || '' |
| | | let param = UtilsDM.getQueryDataParams(config.setting, arr_field, searches, _orderBy, '', '', BID) |
| | | let param = UtilsDM.getQueryDataParams(config.setting, searches, _orderBy, '', '', BID) |
| | | |
| | | let result = await Api.genericInterface(param) |
| | | if (result.status) { |