@witlink/usercenter 1.2.91 → 1.2.93
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.
- package/dist/usercenter.es.js +11 -2
- package/dist/usercenter.umd.js +1 -1
- package/package.json +1 -1
package/dist/usercenter.es.js
CHANGED
|
@@ -38668,6 +38668,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
38668
38668
|
const { result } = await getOrganDetail({ id: params.id, type: params.type });
|
|
38669
38669
|
loading.value = false;
|
|
38670
38670
|
Object.assign(form, result);
|
|
38671
|
+
form.parentBranch = result.parentBranch || "-";
|
|
38672
|
+
form.parentRegion = result.parentRegion || "-";
|
|
38671
38673
|
if (result.autoGenerated == 0) {
|
|
38672
38674
|
formState.parentRefCode = result.parentRefCode || "";
|
|
38673
38675
|
formState.refCodeSuffix = result.refCode ? result.refCode.slice((result.parentRefCode || "").length) : "";
|
|
@@ -38679,7 +38681,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
38679
38681
|
id: params.id,
|
|
38680
38682
|
type: params.type
|
|
38681
38683
|
});
|
|
38682
|
-
form.parentBranch = result.parentBranch;
|
|
38684
|
+
form.parentBranch = result.parentBranch || "-";
|
|
38683
38685
|
form.parentRegion = result.parentRegion || "-";
|
|
38684
38686
|
form.autoGenerated = result.autoGenerated;
|
|
38685
38687
|
if (result.autoGenerated == 1) {
|
|
@@ -38966,6 +38968,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38966
38968
|
const { result } = await getOrganDetail({ id: params.id, type: params.type });
|
|
38967
38969
|
loading.value = false;
|
|
38968
38970
|
Object.assign(form, result);
|
|
38971
|
+
form.parentBranch = result.parentBranch || "-";
|
|
38969
38972
|
if (result.autoGenerated == 0) {
|
|
38970
38973
|
formState.parentRefCode = result.parentRefCode || "";
|
|
38971
38974
|
formState.refCodeSuffix = result.refCode ? result.refCode.slice((result.parentRefCode || "").length) : "";
|
|
@@ -38978,7 +38981,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38978
38981
|
type: params.type
|
|
38979
38982
|
});
|
|
38980
38983
|
loading.value = false;
|
|
38981
|
-
form.parentBranch = result.parentBranch;
|
|
38984
|
+
form.parentBranch = result.parentBranch || "-";
|
|
38982
38985
|
form.autoGenerated = result.autoGenerated;
|
|
38983
38986
|
if (result.autoGenerated == 1) {
|
|
38984
38987
|
const res = await getAutoRefCode({ parentId: params.id, type: 1 });
|
|
@@ -39838,6 +39841,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39838
39841
|
onDetail,
|
|
39839
39842
|
onSwich
|
|
39840
39843
|
});
|
|
39844
|
+
watch(
|
|
39845
|
+
() => userStore.userLanguage,
|
|
39846
|
+
() => {
|
|
39847
|
+
init2();
|
|
39848
|
+
}
|
|
39849
|
+
);
|
|
39841
39850
|
onMounted(() => {
|
|
39842
39851
|
addShow.value = hasPermissionId("002");
|
|
39843
39852
|
editShow.value = hasPermissionId("003");
|