| | |
| | | }) |
| | | } else { |
| | | MKEmitter.emit('queryModuleParam', btn.$menuId, this.triggerExcelout) |
| | | if (window.GLOB.systemType === 'production') { |
| | | MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '导出Excel'}) |
| | | } |
| | | // if (window.GLOB.systemType === 'production') { |
| | | // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '导出Excel'}) |
| | | // } |
| | | } |
| | | } |
| | | |
| | |
| | | if (btn.dataM === 'true') { |
| | | param.dataM = sessionStorage.getItem('dataM') === 'true' ? 'Y' : '' |
| | | } |
| | | |
| | | } else if (btn.intertype === 'outer' && !btn.innerFunc) { // 使用外部函数 |
| | | param = this.getExcelCustomParam(viewParam.orderBy, viewParam.search, true, pageIndex, pageSize) |
| | | |
| | |
| | | |
| | | let _setting = {} |
| | | let _orderBy = orderBy || '' |
| | | |
| | | if (btn.verify.dataType === 'custom') { |
| | | _setting.uuid = btn.uuid |
| | | _setting.interType = 'system' |
| | | _setting.arr_field = [] |
| | | |
| | | btn.verify.columns.forEach(col => { |
| | |
| | | primaryId = primaryId ? 'excel:' + primaryId : '' |
| | | } |
| | | |
| | | let param = UtilsDM.getDefaultQueryParam(_setting, search, _orderBy, pageIndex, pageSize, primaryId, BID) |
| | | let param = UtilsDM.getQueryDataParams(_setting, search, _orderBy, pageIndex, pageSize, BID, primaryId) |
| | | |
| | | param.DateCount = '' |
| | | |
| | | // 数据管理权限 |
| | | if (sessionStorage.getItem('dataM') === 'true') { |
| | | param.dataM = 'Y' |
| | | } |
| | | if (BID) { |
| | | param.BID = BID |
| | | } |
| | | delete param.DateCount |
| | | |
| | | return param |
| | | } |