mooho-base-admin-plus 2.10.2 → 2.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28478,16 +28478,17 @@ const user = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M]
|
|
|
28478
28478
|
},
|
|
28479
28479
|
computed: {},
|
|
28480
28480
|
async mounted() {
|
|
28481
|
-
|
|
28482
|
-
|
|
28483
|
-
|
|
28481
|
+
let a = this.$router;
|
|
28482
|
+
if (console.log("router.currentRoute.value.fullPath", a.currentRoute.value.fullPath), console.log("this.userPermissions", this.userPermissions), console.log("url + '$' + key", a.currentRoute.value.fullPath.substr(1).split("?")[0] + "$create"), console.log("this.userPermissions[url + '$' + key]", this.userPermissions[a.currentRoute.value.fullPath.substr(1).split("?")[0] + "$create"]), this.$route.meta.data.id) {
|
|
28483
|
+
let r = await this.loadPage(this.$route.meta.data.id);
|
|
28484
|
+
this.page = r.customPage, this.init();
|
|
28484
28485
|
} else if (this.applicationTypeCode) {
|
|
28485
|
-
let
|
|
28486
|
-
|
|
28486
|
+
let r = await modelApi.query("ApplicationType", { code: this.applicationTypeCode });
|
|
28487
|
+
r.data.length > 0 && (this.page = {
|
|
28487
28488
|
tableViewCode: this.tableViewCode,
|
|
28488
28489
|
formViewCode: this.formViewCode,
|
|
28489
28490
|
showViewCode: this.showViewCode,
|
|
28490
|
-
applicationType:
|
|
28491
|
+
applicationType: r.data[0]
|
|
28491
28492
|
}, this.init());
|
|
28492
28493
|
}
|
|
28493
28494
|
},
|