rename all variants of naming that hold an AyaType value to "aType" (parameter) / "AType" (not parameter) everywhere front and back; "ayType", "objectType", "oType" all are used in various areas
This commit is contained in:
@@ -122,16 +122,14 @@ export default {
|
||||
if (reportDataOptions == null) {
|
||||
throw new Error("report-selector:Open missing reportDataOptions");
|
||||
}
|
||||
if (reportDataOptions.ObjectType == null) {
|
||||
throw new Error(
|
||||
"report-selector:Open - ObjectType is missing or empty"
|
||||
);
|
||||
if (reportDataOptions.AType == null) {
|
||||
throw new Error("report-selector:Open - AType is missing or empty");
|
||||
}
|
||||
|
||||
this.reportDataOptions = reportDataOptions;
|
||||
//get report list from server
|
||||
let res = await window.$gz.api.get(
|
||||
`report/list/${reportDataOptions.ObjectType}`
|
||||
`report/list/${reportDataOptions.AType}`
|
||||
);
|
||||
if (res.error) {
|
||||
// throw new Error(res.error);
|
||||
|
||||
Reference in New Issue
Block a user