@witlink/usercenter 1.2.93 → 1.2.94
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './assets/main.
|
|
1
|
+
import './assets/main.f4a6fe3c.css';var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => {
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -37687,65 +37687,6 @@ if (VxeUI.dynamicApp) {
|
|
|
37687
37687
|
}
|
|
37688
37688
|
VxeUI.component(VxeColumnComponent);
|
|
37689
37689
|
const style = "";
|
|
37690
|
-
const getSysList = (params) => {
|
|
37691
|
-
return handleRespPost({
|
|
37692
|
-
url: "/api/system/search-list-all",
|
|
37693
|
-
method: "get",
|
|
37694
|
-
params
|
|
37695
|
-
});
|
|
37696
|
-
};
|
|
37697
|
-
const getMenuList = (params) => {
|
|
37698
|
-
return handleRespPost({
|
|
37699
|
-
url: "/api/menu/search-list-tree",
|
|
37700
|
-
method: "get",
|
|
37701
|
-
params
|
|
37702
|
-
});
|
|
37703
|
-
};
|
|
37704
|
-
function refreshSystemCache(params) {
|
|
37705
|
-
return handleRespPost({
|
|
37706
|
-
url: "/api/cache/delete-all",
|
|
37707
|
-
method: "get",
|
|
37708
|
-
params
|
|
37709
|
-
});
|
|
37710
|
-
}
|
|
37711
|
-
function setFunctionsSwitch(params) {
|
|
37712
|
-
return handleRespPost({
|
|
37713
|
-
url: "/api/menu/switch",
|
|
37714
|
-
method: "post",
|
|
37715
|
-
data: params
|
|
37716
|
-
});
|
|
37717
|
-
}
|
|
37718
|
-
function updateMenuTreeOrder(params) {
|
|
37719
|
-
return handleRespPost({
|
|
37720
|
-
url: "/api/menu/update-menu-tree",
|
|
37721
|
-
method: "post",
|
|
37722
|
-
data: params
|
|
37723
|
-
});
|
|
37724
|
-
}
|
|
37725
|
-
function getMenuDetail(params) {
|
|
37726
|
-
return handleRespPost({
|
|
37727
|
-
url: "/api/menu/detail-with-buttons",
|
|
37728
|
-
method: "get",
|
|
37729
|
-
params
|
|
37730
|
-
});
|
|
37731
|
-
}
|
|
37732
|
-
function importMenu(data) {
|
|
37733
|
-
return handleRespPost({
|
|
37734
|
-
url: "/api/menu/import",
|
|
37735
|
-
method: "post",
|
|
37736
|
-
data
|
|
37737
|
-
});
|
|
37738
|
-
}
|
|
37739
|
-
function useRequiredMessage() {
|
|
37740
|
-
const { t: t2 } = useI18n();
|
|
37741
|
-
const userStore = useUserStore();
|
|
37742
|
-
const requiredMessage = (labelKey) => {
|
|
37743
|
-
const suffix = t2("uc_common.isRequired");
|
|
37744
|
-
return userStore.userLanguage === "zh_CN" ? labelKey + suffix : labelKey + " " + suffix;
|
|
37745
|
-
};
|
|
37746
|
-
return { requiredMessage };
|
|
37747
|
-
}
|
|
37748
|
-
const AddMenu_vue_vue_type_style_index_0_scoped_1d0da3f2_lang = "";
|
|
37749
37690
|
const dictCache = {};
|
|
37750
37691
|
function useDict(type, opts = { immediate: true }) {
|
|
37751
37692
|
const i18nRes = useI18n();
|
|
@@ -37883,6 +37824,55 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
37883
37824
|
}
|
|
37884
37825
|
});
|
|
37885
37826
|
const DictLabel = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/DictLabel.vue"]]);
|
|
37827
|
+
const getSysList = (params) => {
|
|
37828
|
+
return handleRespPost({
|
|
37829
|
+
url: "/api/system/search-list-all",
|
|
37830
|
+
method: "get",
|
|
37831
|
+
params
|
|
37832
|
+
});
|
|
37833
|
+
};
|
|
37834
|
+
const getMenuList = (params) => {
|
|
37835
|
+
return handleRespPost({
|
|
37836
|
+
url: "/api/menu/search-list-tree",
|
|
37837
|
+
method: "get",
|
|
37838
|
+
params
|
|
37839
|
+
});
|
|
37840
|
+
};
|
|
37841
|
+
function refreshSystemCache(params) {
|
|
37842
|
+
return handleRespPost({
|
|
37843
|
+
url: "/api/cache/delete-all",
|
|
37844
|
+
method: "get",
|
|
37845
|
+
params
|
|
37846
|
+
});
|
|
37847
|
+
}
|
|
37848
|
+
function setFunctionsSwitch(params) {
|
|
37849
|
+
return handleRespPost({
|
|
37850
|
+
url: "/api/menu/switch",
|
|
37851
|
+
method: "post",
|
|
37852
|
+
data: params
|
|
37853
|
+
});
|
|
37854
|
+
}
|
|
37855
|
+
function updateMenuTreeOrder(params) {
|
|
37856
|
+
return handleRespPost({
|
|
37857
|
+
url: "/api/menu/update-menu-tree",
|
|
37858
|
+
method: "post",
|
|
37859
|
+
data: params
|
|
37860
|
+
});
|
|
37861
|
+
}
|
|
37862
|
+
function getMenuDetail(params) {
|
|
37863
|
+
return handleRespPost({
|
|
37864
|
+
url: "/api/menu/detail-with-buttons",
|
|
37865
|
+
method: "get",
|
|
37866
|
+
params
|
|
37867
|
+
});
|
|
37868
|
+
}
|
|
37869
|
+
function importMenu(data) {
|
|
37870
|
+
return handleRespPost({
|
|
37871
|
+
url: "/api/menu/import",
|
|
37872
|
+
method: "post",
|
|
37873
|
+
data
|
|
37874
|
+
});
|
|
37875
|
+
}
|
|
37886
37876
|
const _hoisted_1$j = { class: "menu-detail" };
|
|
37887
37877
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
37888
37878
|
__name: "MenuDetail",
|
|
@@ -37892,8 +37882,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
37892
37882
|
default: null
|
|
37893
37883
|
},
|
|
37894
37884
|
systemId: {
|
|
37895
|
-
type:
|
|
37896
|
-
default:
|
|
37885
|
+
type: String,
|
|
37886
|
+
default: ""
|
|
37897
37887
|
}
|
|
37898
37888
|
},
|
|
37899
37889
|
emits: ["cancel"],
|
|
@@ -37992,7 +37982,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
37992
37982
|
]),
|
|
37993
37983
|
_: 1
|
|
37994
37984
|
}, 8, ["label"]),
|
|
37995
|
-
__props.systemId ==
|
|
37985
|
+
__props.systemId == "cis" ? (openBlock(), createBlock(_component_a_descriptions_item, {
|
|
37996
37986
|
key: 0,
|
|
37997
37987
|
span: 2,
|
|
37998
37988
|
label: _ctx.$t("uc_fun.ucHelpLinkID")
|
|
@@ -38146,6 +38136,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
38146
38136
|
initUserInfo();
|
|
38147
38137
|
const sysList = ref([]);
|
|
38148
38138
|
const selectedSys = ref(null);
|
|
38139
|
+
const curRequestHeaderName = ref(null);
|
|
38149
38140
|
const tableData = ref([]);
|
|
38150
38141
|
const tableRef = ref(null);
|
|
38151
38142
|
const dragRule = ({ dragRow, newRow, dragToChild }) => {
|
|
@@ -38224,6 +38215,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
38224
38215
|
};
|
|
38225
38216
|
const handleSysClick = (item) => {
|
|
38226
38217
|
selectedSys.value = item.systemId;
|
|
38218
|
+
curRequestHeaderName.value = item.requestHeaderName;
|
|
38227
38219
|
initTable();
|
|
38228
38220
|
};
|
|
38229
38221
|
const handleRefreshLang = async () => {
|
|
@@ -38289,7 +38281,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
38289
38281
|
width: 672,
|
|
38290
38282
|
props: {
|
|
38291
38283
|
data: { id: row.id },
|
|
38292
|
-
systemId:
|
|
38284
|
+
systemId: curRequestHeaderName.value,
|
|
38293
38285
|
onCancel: () => {
|
|
38294
38286
|
modalStore.drawerDestroy();
|
|
38295
38287
|
}
|
|
@@ -45475,6 +45467,15 @@ function orgSwitchStatus(params) {
|
|
|
45475
45467
|
data: params
|
|
45476
45468
|
});
|
|
45477
45469
|
}
|
|
45470
|
+
function useRequiredMessage() {
|
|
45471
|
+
const { t: t2 } = useI18n();
|
|
45472
|
+
const userStore = useUserStore();
|
|
45473
|
+
const requiredMessage = (labelKey) => {
|
|
45474
|
+
const suffix = t2("uc_common.isRequired");
|
|
45475
|
+
return userStore.userLanguage === "zh_CN" ? labelKey + suffix : labelKey + " " + suffix;
|
|
45476
|
+
};
|
|
45477
|
+
return { requiredMessage };
|
|
45478
|
+
}
|
|
45478
45479
|
const _hoisted_1$5 = { class: "rwd" };
|
|
45479
45480
|
const _hoisted_2$3 = { class: "pwd-strength-tip" };
|
|
45480
45481
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|