This commit is contained in:
@@ -251,13 +251,12 @@ export default {
|
||||
if (reportDataOptions == null) {
|
||||
throw new Error("report-selector:Open missing reportDataOptions");
|
||||
}
|
||||
if (reportDataOptions.AType == null) {
|
||||
throw new Error("report-selector:Open - AType is missing or empty");
|
||||
}
|
||||
|
||||
this.reportDataOptions = reportDataOptions;
|
||||
this.preSelectReportId = preSelectReportId;
|
||||
if (!preSelectReportId) {
|
||||
if (reportDataOptions.AType == null) {
|
||||
throw new Error("report-selector:Open - AType is missing or empty");
|
||||
}
|
||||
//get report list from server
|
||||
const res = await window.$gz.api.get(
|
||||
`report/list/${reportDataOptions.AType}`
|
||||
|
||||
Reference in New Issue
Block a user