|
@@ -846,7 +846,7 @@ export default {
|
|
|
// 重新拉取数据
|
|
|
async refreshReport(
|
|
|
{ commit, state },
|
|
|
- { domKey, title, subReportId, callback }
|
|
|
+ { domKey, title, subReportId, callback, errorback }
|
|
|
) {
|
|
|
const tabPageData = _.cloneDeep(state.tabPageData)
|
|
|
// console.log('refreshReport', domKey, title)
|
|
@@ -979,6 +979,8 @@ export default {
|
|
|
if (res.code === 200) {
|
|
|
callback && callback()
|
|
|
}
|
|
|
+ } else {
|
|
|
+ errorback && errorback()
|
|
|
}
|
|
|
},
|
|
|
// 根据月报版本,调整页面执行逻辑
|