@witlink/usercenter 1.2.55 → 1.2.56
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.b52ada7b.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);
|
|
@@ -31990,9 +31990,9 @@ const _hoisted_2$c = {
|
|
|
31990
31990
|
};
|
|
31991
31991
|
const _hoisted_3$a = { class: "page-title" };
|
|
31992
31992
|
const _hoisted_4$8 = ["onClick"];
|
|
31993
|
-
const _hoisted_5$
|
|
31994
|
-
const _hoisted_6$
|
|
31995
|
-
const _hoisted_7$
|
|
31993
|
+
const _hoisted_5$5 = ["src"];
|
|
31994
|
+
const _hoisted_6$5 = { class: "sys-item-name" };
|
|
31995
|
+
const _hoisted_7$5 = { class: "sys-item-name" };
|
|
31996
31996
|
const _hoisted_8$5 = { class: "sys-item-desc" };
|
|
31997
31997
|
const _hoisted_9$5 = {
|
|
31998
31998
|
key: 0,
|
|
@@ -32317,9 +32317,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
32317
32317
|
src: item.icon,
|
|
32318
32318
|
alt: "icon",
|
|
32319
32319
|
class: "sys-item-icon"
|
|
32320
|
-
}, null, 8, _hoisted_5$
|
|
32321
|
-
createElementVNode("div", _hoisted_6$
|
|
32322
|
-
createElementVNode("div", _hoisted_7$
|
|
32320
|
+
}, null, 8, _hoisted_5$5),
|
|
32321
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
32322
|
+
createElementVNode("div", _hoisted_7$5, toDisplayString(item.systemName), 1),
|
|
32323
32323
|
createElementVNode("div", _hoisted_8$5, toDisplayString(item.description), 1)
|
|
32324
32324
|
])
|
|
32325
32325
|
], 10, _hoisted_4$8);
|
|
@@ -33238,9 +33238,9 @@ const _hoisted_1$h = { class: "pay_info" };
|
|
|
33238
33238
|
const _hoisted_2$b = { class: "pay_span" };
|
|
33239
33239
|
const _hoisted_3$9 = { class: "pay_span1" };
|
|
33240
33240
|
const _hoisted_4$7 = { class: "pay_span" };
|
|
33241
|
-
const _hoisted_5$
|
|
33242
|
-
const _hoisted_6$
|
|
33243
|
-
const _hoisted_7$
|
|
33241
|
+
const _hoisted_5$4 = { class: "pay_span1" };
|
|
33242
|
+
const _hoisted_6$4 = { class: "pay_span" };
|
|
33243
|
+
const _hoisted_7$4 = { class: "pay_span1" };
|
|
33244
33244
|
const _hoisted_8$4 = { class: "pay_span" };
|
|
33245
33245
|
const _hoisted_9$4 = { class: "pay_span1" };
|
|
33246
33246
|
const _hoisted_10$3 = { class: "pay_span" };
|
|
@@ -33311,9 +33311,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
33311
33311
|
createElementVNode("span", _hoisted_2$b, toDisplayString(_ctx.$t("uc_organ.parentBranch")), 1),
|
|
33312
33312
|
createElementVNode("span", _hoisted_3$9, toDisplayString(insertData.parentBranch), 1),
|
|
33313
33313
|
createElementVNode("span", _hoisted_4$7, toDisplayString(_ctx.$t("uc_organ.superiorRegion")), 1),
|
|
33314
|
-
createElementVNode("span", _hoisted_5$
|
|
33315
|
-
createElementVNode("span", _hoisted_6$
|
|
33316
|
-
createElementVNode("span", _hoisted_7$
|
|
33314
|
+
createElementVNode("span", _hoisted_5$4, toDisplayString(insertData.parentRegion), 1),
|
|
33315
|
+
createElementVNode("span", _hoisted_6$4, toDisplayString(_ctx.$t("uc_organ.deptName")), 1),
|
|
33316
|
+
createElementVNode("span", _hoisted_7$4, toDisplayString(insertData.name), 1),
|
|
33317
33317
|
createCommentVNode(` <span class="pay_span">{{ $t('uc_organ.depCode') }}</span>\r
|
|
33318
33318
|
<span class="pay_span1">{{ insertData.refCode?insertData.refCode:'--' }}</span>\r
|
|
33319
33319
|
<span class="pay_span">{{ $t('uc_organ.orderNo') }}</span>\r
|
|
@@ -33379,9 +33379,9 @@ const _hoisted_1$g = { class: "organ-wrap" };
|
|
|
33379
33379
|
const _hoisted_2$a = { class: "topInfo" };
|
|
33380
33380
|
const _hoisted_3$8 = { class: "form-btns" };
|
|
33381
33381
|
const _hoisted_4$6 = { class: "table-wrap" };
|
|
33382
|
-
const _hoisted_5$
|
|
33383
|
-
const _hoisted_6$
|
|
33384
|
-
const _hoisted_7$
|
|
33382
|
+
const _hoisted_5$3 = ["onClick"];
|
|
33383
|
+
const _hoisted_6$3 = { class: "show_more_button" };
|
|
33384
|
+
const _hoisted_7$3 = { key: 1 };
|
|
33385
33385
|
const _hoisted_8$3 = { class: "ant-dropdown-link" };
|
|
33386
33386
|
const _hoisted_9$3 = {
|
|
33387
33387
|
class: "ant-dropdown-link",
|
|
@@ -33799,8 +33799,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
33799
33799
|
style: { "cursor": "pointer", "color": "#1890ff" },
|
|
33800
33800
|
onClick: ($event) => showMore(row)
|
|
33801
33801
|
}, [
|
|
33802
|
-
createElementVNode("div", _hoisted_6$
|
|
33803
|
-
], 8, _hoisted_5$
|
|
33802
|
+
createElementVNode("div", _hoisted_6$3, toDisplayString(row.name), 1)
|
|
33803
|
+
], 8, _hoisted_5$3)) : (openBlock(), createElementBlock("span", _hoisted_7$3, [
|
|
33804
33804
|
createElementVNode("div", {
|
|
33805
33805
|
class: normalizeClass("organ_type" + row.type)
|
|
33806
33806
|
}, toDisplayString(_ctx.$t("uc_organ.type" + row.type)), 3),
|
|
@@ -34343,12 +34343,12 @@ const _hoisted_1$f = {
|
|
|
34343
34343
|
const _hoisted_2$9 = { class: "form-btns" };
|
|
34344
34344
|
const _hoisted_3$7 = { style: { "height": "32px", "margin-bottom": "10px" } };
|
|
34345
34345
|
const _hoisted_4$5 = { key: 4 };
|
|
34346
|
-
const _hoisted_5$
|
|
34346
|
+
const _hoisted_5$2 = {
|
|
34347
34347
|
key: 1,
|
|
34348
34348
|
class: "role-auth"
|
|
34349
34349
|
};
|
|
34350
|
-
const _hoisted_6$
|
|
34351
|
-
const _hoisted_7$
|
|
34350
|
+
const _hoisted_6$2 = { class: "header-auth" };
|
|
34351
|
+
const _hoisted_7$2 = {
|
|
34352
34352
|
class: "title",
|
|
34353
34353
|
style: { "padding-left": "16px" }
|
|
34354
34354
|
};
|
|
@@ -34444,7 +34444,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
34444
34444
|
remark: ""
|
|
34445
34445
|
});
|
|
34446
34446
|
const handleSearch = () => {
|
|
34447
|
-
tableRef.value.refresh();
|
|
34447
|
+
tableRef.value && tableRef.value.refresh();
|
|
34448
34448
|
};
|
|
34449
34449
|
const handleReset = () => {
|
|
34450
34450
|
queryParam.value = {
|
|
@@ -35037,9 +35037,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
35037
35037
|
]),
|
|
35038
35038
|
_: 1
|
|
35039
35039
|
}, 8, ["columns"])
|
|
35040
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_5$
|
|
35041
|
-
createElementVNode("div", _hoisted_6$
|
|
35042
|
-
createElementVNode("div", _hoisted_7$
|
|
35040
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_5$2, [
|
|
35041
|
+
createElementVNode("div", _hoisted_6$2, [
|
|
35042
|
+
createElementVNode("div", _hoisted_7$2, [
|
|
35043
35043
|
createVNode(unref(LeftOutlined), {
|
|
35044
35044
|
style: { "font-size": "12px", "margin-right": "4px", "cursor": "pointer" },
|
|
35045
35045
|
onClick: handleCancel
|
|
@@ -37684,8 +37684,158 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
37684
37684
|
});
|
|
37685
37685
|
const ResetPwdModal_vue_vue_type_style_index_0_lang$1 = "";
|
|
37686
37686
|
const ResetPwdModal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/user/ResetPwdModal.vue"]]);
|
|
37687
|
-
const
|
|
37687
|
+
const dictCache = {};
|
|
37688
|
+
function useDict(type, opts = { immediate: true }) {
|
|
37689
|
+
const i18nRes = useI18n();
|
|
37690
|
+
const { t: t2 } = i18nRes;
|
|
37691
|
+
const resultMap = ref({});
|
|
37692
|
+
const typeList = [].concat(type);
|
|
37693
|
+
function fetchDict() {
|
|
37694
|
+
const reqs = typeList.map((typeItem) => {
|
|
37695
|
+
const cacheObj = dictCache[typeItem];
|
|
37696
|
+
if (isPromise(cacheObj)) {
|
|
37697
|
+
return cacheObj;
|
|
37698
|
+
} else if (cacheObj) {
|
|
37699
|
+
return Promise.resolve([typeItem, cacheObj]);
|
|
37700
|
+
}
|
|
37701
|
+
const req = handleRespPost({
|
|
37702
|
+
method: "get",
|
|
37703
|
+
url: "/api/sys/dictionary/public-dict-combo-ex",
|
|
37704
|
+
params: {
|
|
37705
|
+
tableType: typeItem
|
|
37706
|
+
}
|
|
37707
|
+
}).then((res) => {
|
|
37708
|
+
dictCache[typeItem] = res;
|
|
37709
|
+
return [typeItem, res];
|
|
37710
|
+
});
|
|
37711
|
+
dictCache[typeItem] = req;
|
|
37712
|
+
return req;
|
|
37713
|
+
});
|
|
37714
|
+
return Promise.all(reqs).then((values2) => {
|
|
37715
|
+
values2.forEach((pair) => {
|
|
37716
|
+
const [typeItem, val] = pair;
|
|
37717
|
+
if (val && val.code === 0) {
|
|
37718
|
+
resultMap.value[typeItem] = val.result;
|
|
37719
|
+
}
|
|
37720
|
+
});
|
|
37721
|
+
});
|
|
37722
|
+
}
|
|
37723
|
+
watchEffect(() => {
|
|
37724
|
+
const typeMap = resultMap.value;
|
|
37725
|
+
const typeKeys = Object.keys(typeMap);
|
|
37726
|
+
typeKeys.forEach((typeKey) => {
|
|
37727
|
+
const resItem = typeMap[typeKey];
|
|
37728
|
+
for (const resKey in resItem) {
|
|
37729
|
+
const transKey = `dct.${typeKey}${resKey}`;
|
|
37730
|
+
const transRes = t2(transKey);
|
|
37731
|
+
resItem[resKey].text = transRes !== transKey ? transRes : resItem[resKey].text;
|
|
37732
|
+
}
|
|
37733
|
+
});
|
|
37734
|
+
});
|
|
37735
|
+
if (opts.immediate) {
|
|
37736
|
+
fetchDict();
|
|
37737
|
+
}
|
|
37738
|
+
function getDictLabel(dictType, value) {
|
|
37739
|
+
const curDictMap = resultMap.value[dictType];
|
|
37740
|
+
if (curDictMap && value) {
|
|
37741
|
+
const obj = curDictMap[value];
|
|
37742
|
+
return obj && obj.text ? obj.text : "-";
|
|
37743
|
+
}
|
|
37744
|
+
return "-";
|
|
37745
|
+
}
|
|
37746
|
+
function toList(dictType) {
|
|
37747
|
+
const curDictMap = resultMap.value[dictType];
|
|
37748
|
+
if (curDictMap) {
|
|
37749
|
+
const keys2 = Object.keys(curDictMap);
|
|
37750
|
+
return keys2.map((key) => {
|
|
37751
|
+
return {
|
|
37752
|
+
label: curDictMap[key].text,
|
|
37753
|
+
value: key
|
|
37754
|
+
};
|
|
37755
|
+
});
|
|
37756
|
+
}
|
|
37757
|
+
return [];
|
|
37758
|
+
}
|
|
37759
|
+
return [resultMap, { fetchDict, toList, getDictLabel }];
|
|
37760
|
+
}
|
|
37688
37761
|
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
37762
|
+
...{
|
|
37763
|
+
inheritAttrs: false
|
|
37764
|
+
},
|
|
37765
|
+
__name: "DictSelect",
|
|
37766
|
+
props: /* @__PURE__ */ mergeModels({
|
|
37767
|
+
dictType: {
|
|
37768
|
+
type: String,
|
|
37769
|
+
default: ""
|
|
37770
|
+
},
|
|
37771
|
+
include: {
|
|
37772
|
+
type: [Array, String]
|
|
37773
|
+
},
|
|
37774
|
+
exclude: {
|
|
37775
|
+
type: Array
|
|
37776
|
+
},
|
|
37777
|
+
sort: {
|
|
37778
|
+
type: Boolean
|
|
37779
|
+
}
|
|
37780
|
+
}, {
|
|
37781
|
+
"dictMap": { type: Object },
|
|
37782
|
+
"dictMapModifiers": {}
|
|
37783
|
+
}),
|
|
37784
|
+
emits: ["update:dictMap"],
|
|
37785
|
+
setup(__props) {
|
|
37786
|
+
const props = __props;
|
|
37787
|
+
const dictMapModel = useModel(__props, "dictMap");
|
|
37788
|
+
const [dictMap, { fetchDict, toList }] = useDict(props.dictType, {
|
|
37789
|
+
immediate: false
|
|
37790
|
+
});
|
|
37791
|
+
const dictList = computed(() => {
|
|
37792
|
+
var _a;
|
|
37793
|
+
const arr = toList(props.dictType);
|
|
37794
|
+
if (props.sort) {
|
|
37795
|
+
arr.sort((a, b) => parseFloat(a.value) - parseFloat(b.value));
|
|
37796
|
+
}
|
|
37797
|
+
if (props.include) {
|
|
37798
|
+
const includeArr = typeof props.include === "string" ? props.include.split(",") : props.include;
|
|
37799
|
+
return arr.filter((l) => includeArr.includes(l.value));
|
|
37800
|
+
}
|
|
37801
|
+
if ((_a = props.exclude) == null ? void 0 : _a.length) {
|
|
37802
|
+
return arr.filter((l) => {
|
|
37803
|
+
var _a2;
|
|
37804
|
+
return !((_a2 = props.exclude) == null ? void 0 : _a2.includes(l.value));
|
|
37805
|
+
});
|
|
37806
|
+
}
|
|
37807
|
+
return arr;
|
|
37808
|
+
});
|
|
37809
|
+
if (props.dictType) {
|
|
37810
|
+
fetchDict();
|
|
37811
|
+
}
|
|
37812
|
+
watch(
|
|
37813
|
+
() => dictMap.value,
|
|
37814
|
+
() => {
|
|
37815
|
+
if (dictMapModel.value && typeof dictMapModel.value === "object") {
|
|
37816
|
+
for (const key in dictMap.value) {
|
|
37817
|
+
dictMapModel.value[key] = dictMap.value;
|
|
37818
|
+
}
|
|
37819
|
+
}
|
|
37820
|
+
}
|
|
37821
|
+
);
|
|
37822
|
+
return (_ctx, _cache) => {
|
|
37823
|
+
const _component_a_select = Select;
|
|
37824
|
+
return openBlock(), createBlock(_component_a_select, mergeProps({
|
|
37825
|
+
class: "dict-select",
|
|
37826
|
+
placeholder: _ctx.$t("uc_common.plsSelect"),
|
|
37827
|
+
showSearch: false,
|
|
37828
|
+
options: dictList.value,
|
|
37829
|
+
dropdownMatchSelectWidth: false,
|
|
37830
|
+
allowClear: ""
|
|
37831
|
+
}, _ctx.$attrs), null, 16, ["placeholder", "options"]);
|
|
37832
|
+
};
|
|
37833
|
+
}
|
|
37834
|
+
});
|
|
37835
|
+
const DictSelect_vue_vue_type_style_index_0_scoped_18891c06_lang = "";
|
|
37836
|
+
const DictSelect = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-18891c06"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/DictSelect.vue"]]);
|
|
37837
|
+
const _hoisted_1$d = { class: "user-detail" };
|
|
37838
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
37689
37839
|
__name: "UserDetail",
|
|
37690
37840
|
props: {
|
|
37691
37841
|
data: {
|
|
@@ -37821,14 +37971,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
37821
37971
|
}
|
|
37822
37972
|
});
|
|
37823
37973
|
const UserDetail_vue_vue_type_style_index_0_scoped_167248a6_lang = "";
|
|
37824
|
-
const UserDetail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37974
|
+
const UserDetail = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-167248a6"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/user/UserDetail.vue"]]);
|
|
37825
37975
|
const _hoisted_1$c = { class: "user-info" };
|
|
37826
37976
|
const _hoisted_2$7 = { class: "form-btns" };
|
|
37827
37977
|
const _hoisted_3$5 = { key: 1 };
|
|
37828
|
-
const _hoisted_4$3 = { key:
|
|
37829
|
-
const
|
|
37830
|
-
const _hoisted_6$3 = { key: 4 };
|
|
37831
|
-
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
37978
|
+
const _hoisted_4$3 = { key: 4 };
|
|
37979
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
37832
37980
|
__name: "index",
|
|
37833
37981
|
setup(__props) {
|
|
37834
37982
|
const appStore = useAppStore();
|
|
@@ -37847,11 +37995,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
37847
37995
|
const tableRef = ref();
|
|
37848
37996
|
const userEditRef = ref();
|
|
37849
37997
|
const resetPwdModalRef = ref();
|
|
37850
|
-
const deptRef = ref();
|
|
37851
|
-
const treeSelectedKeys = ref([]);
|
|
37852
|
-
const treeData = ref([]);
|
|
37853
|
-
const roleSelsect = ref([]);
|
|
37854
|
-
const isFiltered = ref(false);
|
|
37855
37998
|
const showUserEditDrawer = ref(false);
|
|
37856
37999
|
const loadData = async (parameter) => {
|
|
37857
38000
|
const params = {
|
|
@@ -37910,24 +38053,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
37910
38053
|
width: "180px"
|
|
37911
38054
|
}
|
|
37912
38055
|
]);
|
|
37913
|
-
const fetchData = async () => {
|
|
37914
|
-
const { result } = await getPublicBranchRoot();
|
|
37915
|
-
treeData.value = result;
|
|
37916
|
-
};
|
|
37917
|
-
const onRoleSelsect = async () => {
|
|
37918
|
-
const { result } = await getRolePublicTimezone({});
|
|
37919
|
-
const list = [];
|
|
37920
|
-
Object.keys(result).forEach((item) => {
|
|
37921
|
-
list.push({
|
|
37922
|
-
text: result[item],
|
|
37923
|
-
value: item
|
|
37924
|
-
});
|
|
37925
|
-
});
|
|
37926
|
-
roleSelsect.value = list;
|
|
37927
|
-
};
|
|
37928
|
-
const onSearch = () => {
|
|
37929
|
-
tableRef.value && tableRef.value.refresh();
|
|
37930
|
-
};
|
|
37931
38056
|
const onSwitch = async (checked, record) => {
|
|
37932
38057
|
Modal.confirm({
|
|
37933
38058
|
title: !checked ? t2("uc_user.closeUser") : t2("uc_user.openUser"),
|
|
@@ -38050,20 +38175,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38050
38175
|
tableRef.value && tableRef.value.refresh();
|
|
38051
38176
|
};
|
|
38052
38177
|
const handleReset = () => {
|
|
38053
|
-
|
|
38054
|
-
|
|
38055
|
-
|
|
38056
|
-
|
|
38057
|
-
|
|
38058
|
-
});
|
|
38059
|
-
treeSelectedKeys.value = [];
|
|
38060
|
-
onSearch();
|
|
38061
|
-
isFiltered.value = false;
|
|
38178
|
+
queryParam.branchId = [];
|
|
38179
|
+
queryParam.userName = "";
|
|
38180
|
+
queryParam.userCode = "";
|
|
38181
|
+
queryParam.roleId = [];
|
|
38182
|
+
handleSearchTable();
|
|
38062
38183
|
};
|
|
38063
|
-
onMounted(() => {
|
|
38064
|
-
fetchData();
|
|
38065
|
-
onRoleSelsect();
|
|
38066
|
-
});
|
|
38067
38184
|
return (_ctx, _cache) => {
|
|
38068
38185
|
const _component_a_input = Input;
|
|
38069
38186
|
const _component_a_form_item = FormItem;
|
|
@@ -38072,6 +38189,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38072
38189
|
const _component_a_button = Button$1;
|
|
38073
38190
|
const _component_a_form = Form;
|
|
38074
38191
|
const _component_uc_btn_add = resolveComponent("uc-btn-add");
|
|
38192
|
+
const _component_uc_btn_detail = resolveComponent("uc-btn-detail");
|
|
38075
38193
|
const _component_uc_btn_switch = resolveComponent("uc-btn-switch");
|
|
38076
38194
|
const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
|
|
38077
38195
|
const _component_a_divider = Divider;
|
|
@@ -38089,12 +38207,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38089
38207
|
createElementVNode("div", _hoisted_1$c, [
|
|
38090
38208
|
createVNode(_component_a_form, {
|
|
38091
38209
|
layout: "vertical",
|
|
38092
|
-
class: "query-form"
|
|
38093
|
-
name: "userName"
|
|
38210
|
+
class: "query-form"
|
|
38094
38211
|
}, {
|
|
38095
38212
|
default: withCtx(() => [
|
|
38096
38213
|
createVNode(_component_a_form_item, {
|
|
38097
|
-
label: _ctx.$t("uc_user.userName")
|
|
38214
|
+
label: _ctx.$t("uc_user.userName"),
|
|
38215
|
+
name: "userName"
|
|
38098
38216
|
}, {
|
|
38099
38217
|
default: withCtx(() => [
|
|
38100
38218
|
createVNode(_component_a_input, {
|
|
@@ -38143,6 +38261,19 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38143
38261
|
]),
|
|
38144
38262
|
_: 1
|
|
38145
38263
|
}, 8, ["label"]),
|
|
38264
|
+
createVNode(_component_a_form_item, {
|
|
38265
|
+
label: _ctx.$t("uc_user.user_status"),
|
|
38266
|
+
name: "userStatus"
|
|
38267
|
+
}, {
|
|
38268
|
+
default: withCtx(() => [
|
|
38269
|
+
createVNode(DictSelect, {
|
|
38270
|
+
value: queryParam.userStatus,
|
|
38271
|
+
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => queryParam.userStatus = $event),
|
|
38272
|
+
dictType: "USER_STATUS"
|
|
38273
|
+
}, null, 8, ["value"])
|
|
38274
|
+
]),
|
|
38275
|
+
_: 1
|
|
38276
|
+
}, 8, ["label"]),
|
|
38146
38277
|
createElementVNode("div", _hoisted_2$7, [
|
|
38147
38278
|
createVNode(_component_uc_btn_search, {
|
|
38148
38279
|
onClick: handleSearchTable,
|
|
@@ -38180,47 +38311,44 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38180
38311
|
column.key === "branchId" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
38181
38312
|
createTextVNode(toDisplayString(record.branchName), 1)
|
|
38182
38313
|
], 64)) : createCommentVNode("v-if", true),
|
|
38183
|
-
column.key === "userCode" ? (openBlock(),
|
|
38184
|
-
|
|
38185
|
-
|
|
38186
|
-
|
|
38187
|
-
|
|
38188
|
-
|
|
38189
|
-
|
|
38190
|
-
|
|
38191
|
-
|
|
38192
|
-
|
|
38193
|
-
|
|
38194
|
-
column.key === "userStatus" ? (openBlock(), createElementBlock("span", _hoisted_4$3, [
|
|
38314
|
+
column.key === "userCode" ? (openBlock(), createBlock(_component_uc_btn_detail, {
|
|
38315
|
+
key: 1,
|
|
38316
|
+
type: "link",
|
|
38317
|
+
onClick: ($event) => onDetail(record)
|
|
38318
|
+
}, {
|
|
38319
|
+
default: withCtx(() => [
|
|
38320
|
+
createTextVNode(toDisplayString(record.userCode), 1)
|
|
38321
|
+
]),
|
|
38322
|
+
_: 2
|
|
38323
|
+
}, 1032, ["onClick"])) : createCommentVNode("v-if", true),
|
|
38324
|
+
column.key === "userStatus" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
38195
38325
|
[0, 1].includes(Number(record.userStatus)) ? (openBlock(), createBlock(_component_uc_btn_switch, {
|
|
38196
38326
|
key: 0,
|
|
38197
38327
|
checked: record.userStatus == 0,
|
|
38198
38328
|
onClick: (checked) => onSwitch(checked, record)
|
|
38199
|
-
}, null, 8, ["checked", "onClick"])) : Number(record.userStatus) == 2 ? (openBlock(), createElementBlock("span",
|
|
38200
|
-
])) : createCommentVNode("v-if", true),
|
|
38329
|
+
}, null, 8, ["checked", "onClick"])) : Number(record.userStatus) == 2 ? (openBlock(), createElementBlock("span", _hoisted_3$5, toDisplayString(_ctx.$t("dct.USER_STATUS2")), 1)) : createCommentVNode("v-if", true)
|
|
38330
|
+
], 64)) : createCommentVNode("v-if", true),
|
|
38201
38331
|
column.key === "cdate" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
38202
38332
|
createTextVNode(toDisplayString(unref(formatDate)(record.cdate) || "-"), 1)
|
|
38203
38333
|
], 64)) : createCommentVNode("v-if", true),
|
|
38204
|
-
column.key === "action" ? (openBlock(), createElementBlock("
|
|
38205
|
-
|
|
38206
|
-
|
|
38207
|
-
|
|
38208
|
-
|
|
38209
|
-
|
|
38210
|
-
|
|
38211
|
-
|
|
38212
|
-
|
|
38213
|
-
|
|
38214
|
-
|
|
38215
|
-
|
|
38216
|
-
|
|
38217
|
-
|
|
38218
|
-
|
|
38219
|
-
|
|
38220
|
-
|
|
38221
|
-
|
|
38222
|
-
])
|
|
38223
|
-
])) : createCommentVNode("v-if", true)
|
|
38334
|
+
column.key === "action" ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
38335
|
+
createVNode(_component_uc_btn_edit, {
|
|
38336
|
+
onClick: ($event) => onUpdate(record),
|
|
38337
|
+
type: "link"
|
|
38338
|
+
}, null, 8, ["onClick"]),
|
|
38339
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
|
38340
|
+
createVNode(_component_uc_btn_reset_pwd, {
|
|
38341
|
+
onClick: ($event) => onRsPwd(record),
|
|
38342
|
+
type: "link"
|
|
38343
|
+
}, null, 8, ["onClick"]),
|
|
38344
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
|
38345
|
+
createVNode(_component_uc_btn_remove, {
|
|
38346
|
+
onClick: ($event) => onRemove(record),
|
|
38347
|
+
type: "link"
|
|
38348
|
+
}, null, 8, ["onClick"])
|
|
38349
|
+
], 512)), [
|
|
38350
|
+
[vShow, record.userStatus != 2]
|
|
38351
|
+
]) : createCommentVNode("v-if", true)
|
|
38224
38352
|
]),
|
|
38225
38353
|
_: 1
|
|
38226
38354
|
}, 8, ["columns"]),
|
|
@@ -38233,13 +38361,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38233
38361
|
createVNode(ResetPwdModal$1, {
|
|
38234
38362
|
ref_key: "resetPwdModalRef",
|
|
38235
38363
|
ref: resetPwdModalRef
|
|
38236
|
-
}, null, 512)
|
|
38237
|
-
withDirectives(createVNode(BranchSelect, {
|
|
38238
|
-
ref_key: "deptRef",
|
|
38239
|
-
ref: deptRef
|
|
38240
|
-
}, null, 512), [
|
|
38241
|
-
[vShow, false]
|
|
38242
|
-
])
|
|
38364
|
+
}, null, 512)
|
|
38243
38365
|
])
|
|
38244
38366
|
]),
|
|
38245
38367
|
_: 1
|
|
@@ -38249,13 +38371,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38249
38371
|
});
|
|
38250
38372
|
const index_vue_vue_type_style_index_0_scoped_451ba823_lang = "";
|
|
38251
38373
|
const index_vue_vue_type_style_index_1_scoped_451ba823_lang = "";
|
|
38252
|
-
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38374
|
+
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-451ba823"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/user/index.vue"]]);
|
|
38253
38375
|
function isValidEmail(email) {
|
|
38254
38376
|
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
38255
38377
|
return emailRegex.test(email);
|
|
38256
38378
|
}
|
|
38257
38379
|
const _hoisted_1$b = ["spinning"];
|
|
38258
|
-
const _sfc_main$
|
|
38380
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
38259
38381
|
__name: "ModalEdit",
|
|
38260
38382
|
emits: ["ok", "cancel"],
|
|
38261
38383
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -38684,7 +38806,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
38684
38806
|
});
|
|
38685
38807
|
const ModalEdit_vue_vue_type_style_index_0_scoped_8dbc9ba3_lang = "";
|
|
38686
38808
|
const ModalEdit_vue_vue_type_style_index_1_lang = "";
|
|
38687
|
-
const ModalEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38809
|
+
const ModalEdit = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-8dbc9ba3"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/userinfo/ModalEdit.vue"]]);
|
|
38688
38810
|
function getUserInfoSearchBase(params) {
|
|
38689
38811
|
return handleRespPost({
|
|
38690
38812
|
url: "/api/sys/userinfo/search-base",
|
|
@@ -39721,7 +39843,7 @@ function U(t2, e, i, s2, r2, o) {
|
|
|
39721
39843
|
const M = /* @__PURE__ */ $(z, [["render", U], ["__scopeId", "data-v-a742df44"]]);
|
|
39722
39844
|
const _hoisted_1$a = { class: "avatar-upload-preview" };
|
|
39723
39845
|
const _hoisted_2$6 = ["src"];
|
|
39724
|
-
const _sfc_main$
|
|
39846
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
39725
39847
|
__name: "AvatarModal",
|
|
39726
39848
|
emits: ["ok"],
|
|
39727
39849
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -39934,14 +40056,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
39934
40056
|
}
|
|
39935
40057
|
});
|
|
39936
40058
|
const AvatarModal_vue_vue_type_style_index_0_scoped_8812fb97_lang = "";
|
|
39937
|
-
const AvatarModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40059
|
+
const AvatarModal = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-8812fb97"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/userinfo/AvatarModal.vue"]]);
|
|
39938
40060
|
const _hoisted_1$9 = { class: "parent-container" };
|
|
39939
40061
|
const _hoisted_2$5 = { class: "child-box" };
|
|
39940
40062
|
const _hoisted_3$4 = { class: "box userInfoMenu" };
|
|
39941
40063
|
const _hoisted_4$2 = { class: "avatar" };
|
|
39942
|
-
const _hoisted_5$
|
|
39943
|
-
const _hoisted_6$
|
|
39944
|
-
const _hoisted_7$
|
|
40064
|
+
const _hoisted_5$1 = ["src"];
|
|
40065
|
+
const _hoisted_6$1 = { class: "text-content" };
|
|
40066
|
+
const _hoisted_7$1 = { class: "text" };
|
|
39945
40067
|
const _hoisted_8$1 = { class: "menu" };
|
|
39946
40068
|
const _hoisted_9$1 = ["onClick"];
|
|
39947
40069
|
const _hoisted_10$1 = {
|
|
@@ -40003,7 +40125,7 @@ const _hoisted_48 = {
|
|
|
40003
40125
|
style: { "height": "372px" }
|
|
40004
40126
|
};
|
|
40005
40127
|
const _hoisted_49 = { class: "content-title" };
|
|
40006
|
-
const _sfc_main$
|
|
40128
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
40007
40129
|
...{
|
|
40008
40130
|
name: "Function102"
|
|
40009
40131
|
},
|
|
@@ -40236,13 +40358,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
40236
40358
|
src: avatar.value,
|
|
40237
40359
|
class: "icon",
|
|
40238
40360
|
onClick: _cache[0] || (_cache[0] = ($event) => handleUploadPreview(option))
|
|
40239
|
-
}, null, 8, _hoisted_5$
|
|
40361
|
+
}, null, 8, _hoisted_5$1)
|
|
40240
40362
|
]),
|
|
40241
40363
|
_: 1
|
|
40242
40364
|
}, 8, ["title"]),
|
|
40243
40365
|
createCommentVNode(" \u53F3\u4FA7\u6587\u5B57\u533A\u57DF "),
|
|
40244
|
-
createElementVNode("div", _hoisted_6$
|
|
40245
|
-
createElementVNode("p", _hoisted_7$
|
|
40366
|
+
createElementVNode("div", _hoisted_6$1, [
|
|
40367
|
+
createElementVNode("p", _hoisted_7$1, toDisplayString(userInfo.value.userName), 1)
|
|
40246
40368
|
])
|
|
40247
40369
|
]),
|
|
40248
40370
|
createElementVNode("div", _hoisted_8$1, [
|
|
@@ -40455,7 +40577,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
40455
40577
|
}
|
|
40456
40578
|
});
|
|
40457
40579
|
const index_vue_vue_type_style_index_0_scoped_1275f3db_lang = "";
|
|
40458
|
-
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40580
|
+
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-1275f3db"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/userinfo/index.vue"]]);
|
|
40459
40581
|
function getLangSearchLangList(params) {
|
|
40460
40582
|
return handleRespPost({
|
|
40461
40583
|
url: "/api/sys/lang/search-lang-list",
|
|
@@ -40498,7 +40620,7 @@ function setLangExport() {
|
|
|
40498
40620
|
responseType: "blob"
|
|
40499
40621
|
});
|
|
40500
40622
|
}
|
|
40501
|
-
const _sfc_main$
|
|
40623
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
40502
40624
|
...{
|
|
40503
40625
|
name: "LangAdd"
|
|
40504
40626
|
},
|
|
@@ -40644,8 +40766,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
40644
40766
|
};
|
|
40645
40767
|
}
|
|
40646
40768
|
});
|
|
40647
|
-
const LangAdd = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40648
|
-
const _sfc_main$
|
|
40769
|
+
const LangAdd = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/lang/LangAdd.vue"]]);
|
|
40770
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
40649
40771
|
__name: "FormItemBtnGroup",
|
|
40650
40772
|
props: {
|
|
40651
40773
|
top: {
|
|
@@ -40676,14 +40798,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
40676
40798
|
}
|
|
40677
40799
|
});
|
|
40678
40800
|
const FormItemBtnGroup_vue_vue_type_style_index_0_scoped_ffd7f8e3_lang = "";
|
|
40679
|
-
const FIBtnGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40801
|
+
const FIBtnGroup = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ffd7f8e3"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/FormItemBtnGroup/FormItemBtnGroup.vue"]]);
|
|
40680
40802
|
const _hoisted_1$8 = {
|
|
40681
40803
|
bordered: false,
|
|
40682
40804
|
class: "lang-warp"
|
|
40683
40805
|
};
|
|
40684
40806
|
const _hoisted_2$4 = { style: { "margin": "10px 0 6px 10px" } };
|
|
40685
40807
|
const _hoisted_3$3 = { class: "table-page-search-wrapper" };
|
|
40686
|
-
const _sfc_main$
|
|
40808
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
40687
40809
|
__name: "index",
|
|
40688
40810
|
setup(__props) {
|
|
40689
40811
|
const appStore = useAppStore();
|
|
@@ -41072,11 +41194,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
41072
41194
|
}
|
|
41073
41195
|
});
|
|
41074
41196
|
const index_vue_vue_type_style_index_0_scoped_9e1f799b_lang = "";
|
|
41075
|
-
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41197
|
+
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-9e1f799b"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/lang/index.vue"]]);
|
|
41076
41198
|
const _hoisted_1$7 = { class: "uc-pro-footer-toolbar" };
|
|
41077
41199
|
const _hoisted_2$3 = { style: { "float": "left" } };
|
|
41078
41200
|
const _hoisted_3$2 = { style: { "text-align": "center" } };
|
|
41079
|
-
const _sfc_main$
|
|
41201
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
41080
41202
|
...{
|
|
41081
41203
|
name: "FooterToolBar"
|
|
41082
41204
|
},
|
|
@@ -41108,10 +41230,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
41108
41230
|
}
|
|
41109
41231
|
});
|
|
41110
41232
|
const FooterToolBar_vue_vue_type_style_index_0_scoped_040ae207_lang = "";
|
|
41111
|
-
const FooterToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41233
|
+
const FooterToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-040ae207"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/FooterToolbar/FooterToolBar.vue"]]);
|
|
41112
41234
|
const _hoisted_1$6 = { key: 1 };
|
|
41113
41235
|
const _hoisted_2$2 = { key: 2 };
|
|
41114
|
-
const _sfc_main$
|
|
41236
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
41115
41237
|
__name: "DictEx",
|
|
41116
41238
|
props: {
|
|
41117
41239
|
server: {
|
|
@@ -41319,8 +41441,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
41319
41441
|
};
|
|
41320
41442
|
}
|
|
41321
41443
|
});
|
|
41322
|
-
const DictEx = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41323
|
-
const _sfc_main$
|
|
41444
|
+
const DictEx = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/DictEx.vue"]]);
|
|
41445
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
41324
41446
|
__name: "TimeZone",
|
|
41325
41447
|
props: {
|
|
41326
41448
|
mode: {
|
|
@@ -41400,8 +41522,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
41400
41522
|
};
|
|
41401
41523
|
}
|
|
41402
41524
|
});
|
|
41403
|
-
const TimeZone = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41404
|
-
const _sfc_main$
|
|
41525
|
+
const TimeZone = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/TimeZone.vue"]]);
|
|
41526
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
41405
41527
|
__name: "LangCombo",
|
|
41406
41528
|
props: {
|
|
41407
41529
|
mode: {
|
|
@@ -41481,8 +41603,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
41481
41603
|
};
|
|
41482
41604
|
}
|
|
41483
41605
|
});
|
|
41484
|
-
const LangCombo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41485
|
-
const _sfc_main$
|
|
41606
|
+
const LangCombo = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/LangCombo.vue"]]);
|
|
41607
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
41486
41608
|
__name: "RegionSelect",
|
|
41487
41609
|
props: {
|
|
41488
41610
|
modelValue: {
|
|
@@ -41570,8 +41692,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
41570
41692
|
};
|
|
41571
41693
|
}
|
|
41572
41694
|
});
|
|
41573
|
-
const RegionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41574
|
-
const _sfc_main$
|
|
41695
|
+
const RegionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/RegionSelect.vue"]]);
|
|
41696
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
41575
41697
|
__name: "index",
|
|
41576
41698
|
props: {
|
|
41577
41699
|
className: {
|
|
@@ -41633,7 +41755,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
41633
41755
|
}
|
|
41634
41756
|
});
|
|
41635
41757
|
const index_vue_vue_type_style_index_0_scoped_ce85d961_lang = "";
|
|
41636
|
-
const PhTip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41758
|
+
const PhTip = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ce85d961"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/PlaceholderTip/index.vue"]]);
|
|
41637
41759
|
function resetPassword(params) {
|
|
41638
41760
|
return handleRespPost({
|
|
41639
41761
|
url: "/api/sys/org/resetpwd",
|
|
@@ -41683,7 +41805,7 @@ function orgSwitchStatus(params) {
|
|
|
41683
41805
|
data: params
|
|
41684
41806
|
});
|
|
41685
41807
|
}
|
|
41686
|
-
const _sfc_main$
|
|
41808
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
41687
41809
|
__name: "OrgEdit",
|
|
41688
41810
|
props: {
|
|
41689
41811
|
params: {
|
|
@@ -42336,9 +42458,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
42336
42458
|
}
|
|
42337
42459
|
});
|
|
42338
42460
|
const OrgEdit_vue_vue_type_style_index_0_scoped_bc1e3beb_lang = "";
|
|
42339
|
-
const OrgEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
42461
|
+
const OrgEdit = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-bc1e3beb"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/org/OrgEdit.vue"]]);
|
|
42340
42462
|
const _hoisted_1$5 = { class: "rwd" };
|
|
42341
|
-
const _sfc_main$
|
|
42463
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
42342
42464
|
__name: "ResetPwdModal",
|
|
42343
42465
|
props: {
|
|
42344
42466
|
params: {
|
|
@@ -42488,195 +42610,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
42488
42610
|
}
|
|
42489
42611
|
});
|
|
42490
42612
|
const ResetPwdModal_vue_vue_type_style_index_0_lang = "";
|
|
42491
|
-
const ResetPwdModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
42492
|
-
const OrgIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAD/klEQVRYR8WXfWiVZRTAf+e9mzp13r03LZM+wA8kh62oJAxLDSIsRcQijf6wtiAKyllTwmh/jNim80YRBJtBREZGSikiiLmK/FqQ2yD6mFNhZvO63X2oc9t93yee++7j7t773ve9V6Hnv3uf85zze885z3nOEXwu9cms6QzEVoOsBBYjah5QNHK8ByVngVZQP1CQd0Bej1z1o1q8hFRtcB5GYBvCBmCal/zI/jUUX2Fb1VLRq8FclyuA2kUBtlmJsBkk36fhJDE1jCLM1ej7UsmNdDrSAjhfbexD5P7cDCdzqBZse106b6QAqNqiBwgYh4E7XI3nT4NH3oQFz8LBTdD1px/OTiz7aanoOZMoPAFAhYNzsQPH3Y0L3Pc8LNsO0+c4eg69CmcPw93L4PxRsIczwXRiWEtlc2/7qNAYgKpkCoXmSZCStBrmLIHlH8DsBydua4CiubB0G/S0Q+N70K4d6LZUM/3RR0dzYhygzqwG2ZpybOrtsLwKFq4DSZMyGmDmIljy1vjRCz9C47vQ9YcLhaqVLdG4rbjGeNIFjN9BJqWceKIKHnrN/YPSAWhpOwYtn8MvVTDYl5yVQ1j2Ip2UDsDOUD1CaVorT+6AkpedrX+a4HoE5q8aF00GuNwKRsDxil5NH8PPlamqFQ3ydneZqI9CM4hxCcVUT4Cvn4GLJ6G8yx2gvsTxa2mzI9P8GRx9J53qAfKZLWqnuQGRPa4+TvTA+WNw7V8o1kVxZCV74MxuEANKNnkBgK1elIzu1yoSAU6FnTu/6lN3gNMfOsmq60RmD+jd3aLqQk3Aw748sHcNdByH8iu3IgRax6+i6swIyExfAEP9YA1BwW3uAN1tjgdM/VhmzAGd/hENMAyS5wtg/wtw8RS8cc4d4Ju1IAFY/60fgMHsABq3Q6QVnvvOA8CA9ft8A/gPweUWGOiCe1e4A/RecOpb8B4/ADoEWSSh7zogUDry6LnXgdEkDDUAr/jKgb8PQF/HxNKcXAdOh5064Psa7jA3YsiXvgB+q4doG6ysuTWFSHQhqjaD5MsloCAtRGIh2rsaOk541wGtqMxHKR5WdzqPUV2oXlfvFICNR8BcAJMLna3rV8C6AYV3jYvqx8mYBFOCzn/6MdIhmFXs/B7sh+hfsOepZPUNsqW7LPNz/NJPE4uOa5w8NvTN+eLxBCE1hFjFUt7XltiQ1IBU5Goju3NJDUk8DF4tWXYWMki7tGRxCM+m9KYpOrGsxxLb89za8tw4vNvyUb3/62AyBqFHM2XqZu7mRjMI05/laJboYbVrxnzsvK05DadGrEZftUwR85yOxzyix/PB2BpsWYHBYlR8PDcBC6QH4Rw2rRjqGJPzvvc7nv8HJ9O88//HRdEAAAAASUVORK5CYII=";
|
|
42493
|
-
const dictMap = {};
|
|
42494
|
-
async function getDictListByType(curType) {
|
|
42495
|
-
if (dictMap[curType]) {
|
|
42496
|
-
return dictMap[curType];
|
|
42497
|
-
}
|
|
42498
|
-
const { result } = await getDictComboEx({ tableType: curType });
|
|
42499
|
-
dictMap[curType] = result;
|
|
42500
|
-
return result;
|
|
42501
|
-
}
|
|
42502
|
-
function useDistByType(type) {
|
|
42503
|
-
const { t: t2 } = useI18n();
|
|
42504
|
-
const dictList = getDictListByType(type);
|
|
42505
|
-
const getLabel = (key, format = "") => {
|
|
42506
|
-
if (dictList) {
|
|
42507
|
-
let label = dictList[key];
|
|
42508
|
-
let level = 0;
|
|
42509
|
-
if (typeof label == "object") {
|
|
42510
|
-
level = label.level;
|
|
42511
|
-
label = label.text;
|
|
42512
|
-
}
|
|
42513
|
-
if (t2("dct." + type + key) != "dct." + type + key) {
|
|
42514
|
-
label = t2("dct." + type + key);
|
|
42515
|
-
}
|
|
42516
|
-
if (format == "html") {
|
|
42517
|
-
if (level > 0) {
|
|
42518
|
-
label = "|--" + label;
|
|
42519
|
-
}
|
|
42520
|
-
while (level-- > 0) {
|
|
42521
|
-
label = "\u3000" + label;
|
|
42522
|
-
}
|
|
42523
|
-
}
|
|
42524
|
-
return label;
|
|
42525
|
-
} else {
|
|
42526
|
-
return "";
|
|
42527
|
-
}
|
|
42528
|
-
};
|
|
42529
|
-
return { getDictListByType, getLabel };
|
|
42530
|
-
}
|
|
42531
|
-
const dictCache = {};
|
|
42532
|
-
function useDict(type, opts = { immediate: true }) {
|
|
42533
|
-
const i18nRes = useI18n();
|
|
42534
|
-
const { t: t2 } = i18nRes;
|
|
42535
|
-
const resultMap = ref({});
|
|
42536
|
-
const typeList = [].concat(type);
|
|
42537
|
-
function fetchDict() {
|
|
42538
|
-
const reqs = typeList.map((typeItem) => {
|
|
42539
|
-
const cacheObj = dictCache[typeItem];
|
|
42540
|
-
if (isPromise(cacheObj)) {
|
|
42541
|
-
return cacheObj;
|
|
42542
|
-
} else if (cacheObj) {
|
|
42543
|
-
return Promise.resolve([typeItem, cacheObj]);
|
|
42544
|
-
}
|
|
42545
|
-
const req = handleRespPost({
|
|
42546
|
-
method: "get",
|
|
42547
|
-
url: "/api/sys/dictionary/public-dict-combo-ex",
|
|
42548
|
-
params: {
|
|
42549
|
-
tableType: typeItem
|
|
42550
|
-
}
|
|
42551
|
-
}).then((res) => {
|
|
42552
|
-
dictCache[typeItem] = res;
|
|
42553
|
-
return [typeItem, res];
|
|
42554
|
-
});
|
|
42555
|
-
dictCache[typeItem] = req;
|
|
42556
|
-
return req;
|
|
42557
|
-
});
|
|
42558
|
-
return Promise.all(reqs).then((values2) => {
|
|
42559
|
-
values2.forEach((pair) => {
|
|
42560
|
-
const [typeItem, val] = pair;
|
|
42561
|
-
if (val && val.code === 0) {
|
|
42562
|
-
resultMap.value[typeItem] = val.result;
|
|
42563
|
-
}
|
|
42564
|
-
});
|
|
42565
|
-
});
|
|
42566
|
-
}
|
|
42567
|
-
watchEffect(() => {
|
|
42568
|
-
const typeMap = resultMap.value;
|
|
42569
|
-
const typeKeys = Object.keys(typeMap);
|
|
42570
|
-
typeKeys.forEach((typeKey) => {
|
|
42571
|
-
const resItem = typeMap[typeKey];
|
|
42572
|
-
for (const resKey in resItem) {
|
|
42573
|
-
const transKey = `dct.${typeKey}${resKey}`;
|
|
42574
|
-
const transRes = t2(transKey);
|
|
42575
|
-
resItem[resKey].text = transRes !== transKey ? transRes : resItem[resKey].text;
|
|
42576
|
-
}
|
|
42577
|
-
});
|
|
42578
|
-
});
|
|
42579
|
-
if (opts.immediate) {
|
|
42580
|
-
fetchDict();
|
|
42581
|
-
}
|
|
42582
|
-
function getDictLabel(dictType, value) {
|
|
42583
|
-
const curDictMap = resultMap.value[dictType];
|
|
42584
|
-
if (curDictMap && value) {
|
|
42585
|
-
const obj = curDictMap[value];
|
|
42586
|
-
return obj && obj.text ? obj.text : "-";
|
|
42587
|
-
}
|
|
42588
|
-
return "-";
|
|
42589
|
-
}
|
|
42590
|
-
function toList(dictType) {
|
|
42591
|
-
const curDictMap = resultMap.value[dictType];
|
|
42592
|
-
if (curDictMap) {
|
|
42593
|
-
const keys2 = Object.keys(curDictMap);
|
|
42594
|
-
return keys2.map((key) => {
|
|
42595
|
-
return {
|
|
42596
|
-
label: curDictMap[key].text,
|
|
42597
|
-
value: key
|
|
42598
|
-
};
|
|
42599
|
-
});
|
|
42600
|
-
}
|
|
42601
|
-
return [];
|
|
42602
|
-
}
|
|
42603
|
-
return [resultMap, { fetchDict, toList, getDictLabel }];
|
|
42604
|
-
}
|
|
42605
|
-
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
42606
|
-
...{
|
|
42607
|
-
inheritAttrs: false
|
|
42608
|
-
},
|
|
42609
|
-
__name: "DictSelect",
|
|
42610
|
-
props: /* @__PURE__ */ mergeModels({
|
|
42611
|
-
dictType: {
|
|
42612
|
-
type: String,
|
|
42613
|
-
default: ""
|
|
42614
|
-
},
|
|
42615
|
-
include: {
|
|
42616
|
-
type: [Array, String]
|
|
42617
|
-
},
|
|
42618
|
-
exclude: {
|
|
42619
|
-
type: Array
|
|
42620
|
-
},
|
|
42621
|
-
sort: {
|
|
42622
|
-
type: Boolean
|
|
42623
|
-
}
|
|
42624
|
-
}, {
|
|
42625
|
-
"dictMap": { type: Object },
|
|
42626
|
-
"dictMapModifiers": {}
|
|
42627
|
-
}),
|
|
42628
|
-
emits: ["update:dictMap"],
|
|
42629
|
-
setup(__props) {
|
|
42630
|
-
const props = __props;
|
|
42631
|
-
const dictMapModel = useModel(__props, "dictMap");
|
|
42632
|
-
const [dictMap2, { fetchDict, toList }] = useDict(props.dictType, {
|
|
42633
|
-
immediate: false
|
|
42634
|
-
});
|
|
42635
|
-
const dictList = computed(() => {
|
|
42636
|
-
var _a;
|
|
42637
|
-
const arr = toList(props.dictType);
|
|
42638
|
-
if (props.sort) {
|
|
42639
|
-
arr.sort((a, b) => parseFloat(a.value) - parseFloat(b.value));
|
|
42640
|
-
}
|
|
42641
|
-
if (props.include) {
|
|
42642
|
-
const includeArr = typeof props.include === "string" ? props.include.split(",") : props.include;
|
|
42643
|
-
return arr.filter((l) => includeArr.includes(l.value));
|
|
42644
|
-
}
|
|
42645
|
-
if ((_a = props.exclude) == null ? void 0 : _a.length) {
|
|
42646
|
-
return arr.filter((l) => {
|
|
42647
|
-
var _a2;
|
|
42648
|
-
return !((_a2 = props.exclude) == null ? void 0 : _a2.includes(l.value));
|
|
42649
|
-
});
|
|
42650
|
-
}
|
|
42651
|
-
return arr;
|
|
42652
|
-
});
|
|
42653
|
-
if (props.dictType) {
|
|
42654
|
-
fetchDict();
|
|
42655
|
-
}
|
|
42656
|
-
watch(
|
|
42657
|
-
() => dictMap2.value,
|
|
42658
|
-
() => {
|
|
42659
|
-
if (dictMapModel.value && typeof dictMapModel.value === "object") {
|
|
42660
|
-
for (const key in dictMap2.value) {
|
|
42661
|
-
dictMapModel.value[key] = dictMap2.value;
|
|
42662
|
-
}
|
|
42663
|
-
}
|
|
42664
|
-
}
|
|
42665
|
-
);
|
|
42666
|
-
return (_ctx, _cache) => {
|
|
42667
|
-
const _component_a_select = Select;
|
|
42668
|
-
return openBlock(), createBlock(_component_a_select, mergeProps({
|
|
42669
|
-
class: "dict-select",
|
|
42670
|
-
placeholder: _ctx.$t("uc_common.plsSelect"),
|
|
42671
|
-
showSearch: false,
|
|
42672
|
-
options: dictList.value,
|
|
42673
|
-
dropdownMatchSelectWidth: false
|
|
42674
|
-
}, _ctx.$attrs, { allowClear: "" }), null, 16, ["placeholder", "options"]);
|
|
42675
|
-
};
|
|
42676
|
-
}
|
|
42677
|
-
});
|
|
42678
|
-
const DictSelect_vue_vue_type_style_index_0_scoped_18891c06_lang = "";
|
|
42679
|
-
const DictSelect = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-18891c06"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/DictSelect.vue"]]);
|
|
42613
|
+
const ResetPwdModal = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/org/ResetPwdModal.vue"]]);
|
|
42680
42614
|
const _hoisted_1$4 = { class: "add-menu" };
|
|
42681
42615
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
42682
42616
|
__name: "AddOrg",
|
|
@@ -43553,33 +43487,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
43553
43487
|
});
|
|
43554
43488
|
const OrgDetail_vue_vue_type_style_index_0_scoped_b1c0cf37_lang = "";
|
|
43555
43489
|
const OrgDetail = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-b1c0cf37"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/org/OrgDetail.vue"]]);
|
|
43556
|
-
function mitt(n) {
|
|
43557
|
-
return { all: n = n || /* @__PURE__ */ new Map(), on: function(t2, e) {
|
|
43558
|
-
var i = n.get(t2);
|
|
43559
|
-
i ? i.push(e) : n.set(t2, [e]);
|
|
43560
|
-
}, off: function(t2, e) {
|
|
43561
|
-
var i = n.get(t2);
|
|
43562
|
-
i && (e ? i.splice(i.indexOf(e) >>> 0, 1) : n.set(t2, []));
|
|
43563
|
-
}, emit: function(t2, e) {
|
|
43564
|
-
var i = n.get(t2);
|
|
43565
|
-
i && i.slice().map(function(n2) {
|
|
43566
|
-
n2(e);
|
|
43567
|
-
}), (i = n.get("*")) && i.slice().map(function(n2) {
|
|
43568
|
-
n2(t2, e);
|
|
43569
|
-
});
|
|
43570
|
-
} };
|
|
43571
|
-
}
|
|
43572
|
-
const bus = mitt();
|
|
43573
43490
|
const _hoisted_1$2 = { class: "org-box" };
|
|
43574
43491
|
const _hoisted_2$1 = { bordered: false };
|
|
43575
|
-
const _hoisted_3$1 = {
|
|
43492
|
+
const _hoisted_3$1 = { class: "form-btns" };
|
|
43493
|
+
const _hoisted_4$1 = {
|
|
43576
43494
|
class: "table-page-search-wrapper",
|
|
43577
43495
|
style: { "margin-bottom": "16px" }
|
|
43578
43496
|
};
|
|
43579
|
-
const _hoisted_4$1 = { key: 0 };
|
|
43580
|
-
const _hoisted_5$1 = ["src"];
|
|
43581
|
-
const _hoisted_6$1 = { key: 5 };
|
|
43582
|
-
const _hoisted_7$1 = { key: 1 };
|
|
43583
43497
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
43584
43498
|
__name: "index",
|
|
43585
43499
|
setup(__props) {
|
|
@@ -43589,7 +43503,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43589
43503
|
const modalStore = useModalStore();
|
|
43590
43504
|
const prefixCls = "uc";
|
|
43591
43505
|
const { t: t2 } = useI18n();
|
|
43592
|
-
useDistByType("CMS_STATUS");
|
|
43593
43506
|
const tableRef = ref();
|
|
43594
43507
|
const showResetPwdModal = ref(false);
|
|
43595
43508
|
const isEdit = ref(false);
|
|
@@ -43607,12 +43520,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43607
43520
|
const handleCloseResetPwdModal = () => {
|
|
43608
43521
|
showResetPwdModal.value = false;
|
|
43609
43522
|
};
|
|
43610
|
-
const changeHead = (type) => {
|
|
43611
|
-
bus.emit("change", {
|
|
43612
|
-
title: "org.title" + type,
|
|
43613
|
-
description: "org.description" + type
|
|
43614
|
-
});
|
|
43615
|
-
};
|
|
43616
43523
|
const onSwitch = async (checked, record) => {
|
|
43617
43524
|
Modal.confirm({
|
|
43618
43525
|
title: !checked ? t2("uc_org.closeOrg") : t2("uc_org.openOrg"),
|
|
@@ -43636,18 +43543,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43636
43543
|
}
|
|
43637
43544
|
});
|
|
43638
43545
|
};
|
|
43639
|
-
const onSearch = () => {
|
|
43640
|
-
tableRef.value.refresh();
|
|
43641
|
-
};
|
|
43642
43546
|
const handleRefreshTable = () => {
|
|
43643
|
-
tableRef.value.refresh();
|
|
43547
|
+
tableRef.value && tableRef.value.refresh();
|
|
43644
43548
|
};
|
|
43645
43549
|
const onReset = () => {
|
|
43646
|
-
|
|
43647
|
-
|
|
43648
|
-
|
|
43649
|
-
});
|
|
43650
|
-
tableRef.value.refresh();
|
|
43550
|
+
queryParam.orgName = "";
|
|
43551
|
+
queryParam.orgStatus = null;
|
|
43552
|
+
handleRefreshTable();
|
|
43651
43553
|
};
|
|
43652
43554
|
const onAdd = (row = null, opType = "1") => {
|
|
43653
43555
|
modalStore.drawerComp({
|
|
@@ -43664,6 +43566,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43664
43566
|
} catch (error) {
|
|
43665
43567
|
} finally {
|
|
43666
43568
|
modalStore.drawerDestroy();
|
|
43569
|
+
handleRefreshTable();
|
|
43667
43570
|
}
|
|
43668
43571
|
},
|
|
43669
43572
|
onCancel: () => {
|
|
@@ -43678,7 +43581,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43678
43581
|
onAdd(record, "2");
|
|
43679
43582
|
};
|
|
43680
43583
|
const onRsPwd = (record) => {
|
|
43681
|
-
changeHead("3");
|
|
43682
43584
|
resetPwdParams.value = record;
|
|
43683
43585
|
showResetPwdModal.value = true;
|
|
43684
43586
|
};
|
|
@@ -43710,15 +43612,14 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43710
43612
|
const { result } = await deleteOrg({ orgId: row.orgId });
|
|
43711
43613
|
if (result) {
|
|
43712
43614
|
message.success(t2("uc_org.deleteOrgSucc"));
|
|
43713
|
-
|
|
43615
|
+
handleRefreshTable();
|
|
43714
43616
|
}
|
|
43715
43617
|
}
|
|
43716
43618
|
});
|
|
43717
43619
|
};
|
|
43718
43620
|
const onSubmit = () => {
|
|
43719
|
-
changeHead("0");
|
|
43720
43621
|
isEdit.value = false;
|
|
43721
|
-
|
|
43622
|
+
handleRefreshTable();
|
|
43722
43623
|
};
|
|
43723
43624
|
const onCancel = () => {
|
|
43724
43625
|
isEdit.value = false;
|
|
@@ -43791,9 +43692,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43791
43692
|
const _component_a_form_item = FormItem;
|
|
43792
43693
|
const _component_uc_btn_search = resolveComponent("uc-btn-search");
|
|
43793
43694
|
const _component_a_button = Button$1;
|
|
43794
|
-
const _component_FIBtnGroup = resolveComponent("FIBtnGroup");
|
|
43795
43695
|
const _component_a_form = Form;
|
|
43796
43696
|
const _component_uc_btn_add = resolveComponent("uc-btn-add");
|
|
43697
|
+
const _component_uc_btn_detail = resolveComponent("uc-btn-detail");
|
|
43797
43698
|
const _component_uc_pick_label = resolveComponent("uc-pick-label");
|
|
43798
43699
|
const _component_a_switch = Switch;
|
|
43799
43700
|
const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
|
|
@@ -43814,10 +43715,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43814
43715
|
createElementVNode("div", null, [
|
|
43815
43716
|
createVNode(_component_a_form, {
|
|
43816
43717
|
model: queryParam,
|
|
43817
|
-
ref: "formAddRef",
|
|
43818
|
-
onFinish: _ctx.handleSubmitAdd,
|
|
43819
43718
|
layout: "vertical",
|
|
43820
|
-
class: "
|
|
43719
|
+
class: "query-form"
|
|
43821
43720
|
}, {
|
|
43822
43721
|
default: withCtx(() => [
|
|
43823
43722
|
createVNode(_component_a_form_item, {
|
|
@@ -43827,20 +43726,16 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43827
43726
|
default: withCtx(() => [
|
|
43828
43727
|
createVNode(_component_a_input, {
|
|
43829
43728
|
placeholder: _ctx.$t("uc_common.plsSearch"),
|
|
43830
|
-
ref: "inputSearch",
|
|
43831
43729
|
value: queryParam.orgName,
|
|
43832
43730
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.orgName = $event),
|
|
43833
|
-
|
|
43834
|
-
allowClear: "",
|
|
43835
|
-
style: { "width": "200px", "margin-right": "16px" }
|
|
43731
|
+
allowClear: ""
|
|
43836
43732
|
}, null, 8, ["placeholder", "value"])
|
|
43837
43733
|
]),
|
|
43838
43734
|
_: 1
|
|
43839
43735
|
}, 8, ["label"]),
|
|
43840
43736
|
createVNode(_component_a_form_item, {
|
|
43841
43737
|
name: "orgStatus",
|
|
43842
|
-
label: _ctx.$t("uc_org.status")
|
|
43843
|
-
style: { "width": "200px" }
|
|
43738
|
+
label: _ctx.$t("uc_org.status")
|
|
43844
43739
|
}, {
|
|
43845
43740
|
default: withCtx(() => [
|
|
43846
43741
|
createVNode(DictSelect, {
|
|
@@ -43851,38 +43746,27 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43851
43746
|
]),
|
|
43852
43747
|
_: 1
|
|
43853
43748
|
}, 8, ["label"]),
|
|
43854
|
-
|
|
43855
|
-
|
|
43856
|
-
|
|
43857
|
-
|
|
43858
|
-
|
|
43859
|
-
|
|
43860
|
-
|
|
43861
|
-
|
|
43862
|
-
|
|
43863
|
-
|
|
43864
|
-
|
|
43865
|
-
|
|
43866
|
-
|
|
43867
|
-
|
|
43868
|
-
|
|
43869
|
-
|
|
43870
|
-
default: withCtx(() => [
|
|
43871
|
-
createTextVNode(toDisplayString(_ctx.$t("uc_common.btnReset")), 1)
|
|
43872
|
-
]),
|
|
43873
|
-
_: 1
|
|
43874
|
-
})
|
|
43875
|
-
]),
|
|
43876
|
-
_: 1
|
|
43877
|
-
})
|
|
43878
|
-
]),
|
|
43879
|
-
_: 1
|
|
43880
|
-
})
|
|
43749
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
43750
|
+
createVNode(_component_uc_btn_search, {
|
|
43751
|
+
onClick: handleRefreshTable,
|
|
43752
|
+
isWidth: true,
|
|
43753
|
+
showInput: false
|
|
43754
|
+
}),
|
|
43755
|
+
createVNode(_component_a_button, {
|
|
43756
|
+
onClick: onReset,
|
|
43757
|
+
style: { "margin-left": "8px" }
|
|
43758
|
+
}, {
|
|
43759
|
+
default: withCtx(() => [
|
|
43760
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_common.btnReset")), 1)
|
|
43761
|
+
]),
|
|
43762
|
+
_: 1
|
|
43763
|
+
})
|
|
43764
|
+
])
|
|
43881
43765
|
]),
|
|
43882
43766
|
_: 1
|
|
43883
|
-
}, 8, ["model"
|
|
43767
|
+
}, 8, ["model"])
|
|
43884
43768
|
]),
|
|
43885
|
-
createElementVNode("div",
|
|
43769
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
43886
43770
|
createVNode(_component_uc_btn_add, {
|
|
43887
43771
|
onClick: onAdd,
|
|
43888
43772
|
text: _ctx.$t("uc_org.createOrg"),
|
|
@@ -43899,44 +43783,32 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43899
43783
|
scroll: { x: 1e3, y: 550 }
|
|
43900
43784
|
}, {
|
|
43901
43785
|
bodyCell: withCtx(({ record, column }) => [
|
|
43902
|
-
column.key === "orgId" ? (openBlock(),
|
|
43903
|
-
|
|
43904
|
-
|
|
43905
|
-
|
|
43906
|
-
|
|
43907
|
-
|
|
43908
|
-
|
|
43909
|
-
|
|
43910
|
-
|
|
43911
|
-
|
|
43912
|
-
}, 1032, ["onClick"])
|
|
43913
|
-
])) : createCommentVNode("v-if", true),
|
|
43914
|
-
column.key === "index1" ? (openBlock(), createElementBlock("img", {
|
|
43915
|
-
key: 1,
|
|
43916
|
-
src: unref(OrgIcon),
|
|
43917
|
-
alt: "\u7EC4\u7EC7",
|
|
43918
|
-
style: { "width": "24px", "height": "24px" }
|
|
43919
|
-
}, null, 8, _hoisted_5$1)) : createCommentVNode("v-if", true),
|
|
43786
|
+
column.key === "orgId" ? (openBlock(), createBlock(_component_uc_btn_detail, {
|
|
43787
|
+
key: 0,
|
|
43788
|
+
type: "link",
|
|
43789
|
+
onClick: ($event) => onDetail(record)
|
|
43790
|
+
}, {
|
|
43791
|
+
default: withCtx(() => [
|
|
43792
|
+
createTextVNode(toDisplayString(record.orgId), 1)
|
|
43793
|
+
]),
|
|
43794
|
+
_: 2
|
|
43795
|
+
}, 1032, ["onClick"])) : createCommentVNode("v-if", true),
|
|
43920
43796
|
column.key === "cdate" ? (openBlock(), createBlock(_component_uc_pick_label, {
|
|
43921
|
-
key:
|
|
43797
|
+
key: 1,
|
|
43922
43798
|
defaultValue: record.cdate
|
|
43923
43799
|
}, null, 8, ["defaultValue"])) : createCommentVNode("v-if", true),
|
|
43924
|
-
column.key === "userId" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
43800
|
+
column.key === "userId" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
43925
43801
|
createTextVNode(toDisplayString(record.sysUser.userId), 1)
|
|
43926
43802
|
], 64)) : createCommentVNode("v-if", true),
|
|
43927
|
-
column.key === "mobile" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
43803
|
+
column.key === "mobile" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
43928
43804
|
createTextVNode(toDisplayString(record.sysUser.mobile), 1)
|
|
43929
43805
|
], 64)) : createCommentVNode("v-if", true),
|
|
43930
|
-
column.key === "orgStatus" ? (openBlock(),
|
|
43931
|
-
|
|
43932
|
-
|
|
43933
|
-
|
|
43934
|
-
|
|
43935
|
-
|
|
43936
|
-
onChange: (checked) => onSwitch(checked, record)
|
|
43937
|
-
}, null, 8, ["checked", "onChange"])) : Number(record.orgStatus) == 2 ? (openBlock(), createElementBlock("span", _hoisted_7$1, toDisplayString(_ctx.$t("dct.USER_STATUS2")), 1)) : createCommentVNode("v-if", true)
|
|
43938
|
-
])) : createCommentVNode("v-if", true),
|
|
43939
|
-
column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
|
|
43806
|
+
column.key === "orgStatus" ? (openBlock(), createBlock(_component_a_switch, {
|
|
43807
|
+
key: 4,
|
|
43808
|
+
checked: record.orgStatus == 0,
|
|
43809
|
+
onChange: (checked) => onSwitch(checked, record)
|
|
43810
|
+
}, null, 8, ["checked", "onChange"])) : createCommentVNode("v-if", true),
|
|
43811
|
+
column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
43940
43812
|
createVNode(_component_uc_btn_edit, {
|
|
43941
43813
|
onClick: ($event) => onUpdate(record),
|
|
43942
43814
|
type: "link"
|
|
@@ -43977,7 +43849,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43977
43849
|
}
|
|
43978
43850
|
});
|
|
43979
43851
|
const index_vue_vue_type_style_index_0_scoped_ae8d5b14_lang = "";
|
|
43980
|
-
const index_vue_vue_type_style_index_1_lang = "";
|
|
43981
43852
|
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-ae8d5b14"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/org/index.vue"]]);
|
|
43982
43853
|
function getParameterSearchTypeDetail(params) {
|
|
43983
43854
|
return handleRespPost({
|