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:
2021-03-23 17:06:05 +00:00
parent f1777818bd
commit 01655061f3
69 changed files with 196 additions and 228 deletions

View File

@@ -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);