@witlink/usercenter 1.2.55 → 1.2.57
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();
|
|
@@ -37841,17 +37989,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
37841
37989
|
userName: "",
|
|
37842
37990
|
userCode: "",
|
|
37843
37991
|
branchId: [],
|
|
37844
|
-
roleId: []
|
|
37992
|
+
roleId: [],
|
|
37993
|
+
userStatus: void 0
|
|
37845
37994
|
});
|
|
37846
37995
|
const editParams = reactive({});
|
|
37847
37996
|
const tableRef = ref();
|
|
37848
37997
|
const userEditRef = ref();
|
|
37849
37998
|
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
37999
|
const showUserEditDrawer = ref(false);
|
|
37856
38000
|
const loadData = async (parameter) => {
|
|
37857
38001
|
const params = {
|
|
@@ -37910,24 +38054,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
37910
38054
|
width: "180px"
|
|
37911
38055
|
}
|
|
37912
38056
|
]);
|
|
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
38057
|
const onSwitch = async (checked, record) => {
|
|
37932
38058
|
Modal.confirm({
|
|
37933
38059
|
title: !checked ? t2("uc_user.closeUser") : t2("uc_user.openUser"),
|
|
@@ -38050,20 +38176,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38050
38176
|
tableRef.value && tableRef.value.refresh();
|
|
38051
38177
|
};
|
|
38052
38178
|
const handleReset = () => {
|
|
38053
|
-
|
|
38054
|
-
|
|
38055
|
-
|
|
38056
|
-
|
|
38057
|
-
|
|
38058
|
-
|
|
38059
|
-
treeSelectedKeys.value = [];
|
|
38060
|
-
onSearch();
|
|
38061
|
-
isFiltered.value = false;
|
|
38179
|
+
queryParam.branchId = [];
|
|
38180
|
+
queryParam.userName = "";
|
|
38181
|
+
queryParam.userCode = "";
|
|
38182
|
+
queryParam.roleId = [];
|
|
38183
|
+
queryParam.userStatus = void 0;
|
|
38184
|
+
handleSearchTable();
|
|
38062
38185
|
};
|
|
38063
|
-
onMounted(() => {
|
|
38064
|
-
fetchData();
|
|
38065
|
-
onRoleSelsect();
|
|
38066
|
-
});
|
|
38067
38186
|
return (_ctx, _cache) => {
|
|
38068
38187
|
const _component_a_input = Input;
|
|
38069
38188
|
const _component_a_form_item = FormItem;
|
|
@@ -38072,6 +38191,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38072
38191
|
const _component_a_button = Button$1;
|
|
38073
38192
|
const _component_a_form = Form;
|
|
38074
38193
|
const _component_uc_btn_add = resolveComponent("uc-btn-add");
|
|
38194
|
+
const _component_uc_btn_detail = resolveComponent("uc-btn-detail");
|
|
38075
38195
|
const _component_uc_btn_switch = resolveComponent("uc-btn-switch");
|
|
38076
38196
|
const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
|
|
38077
38197
|
const _component_a_divider = Divider;
|
|
@@ -38089,12 +38209,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38089
38209
|
createElementVNode("div", _hoisted_1$c, [
|
|
38090
38210
|
createVNode(_component_a_form, {
|
|
38091
38211
|
layout: "vertical",
|
|
38092
|
-
class: "query-form"
|
|
38093
|
-
name: "userName"
|
|
38212
|
+
class: "query-form"
|
|
38094
38213
|
}, {
|
|
38095
38214
|
default: withCtx(() => [
|
|
38096
38215
|
createVNode(_component_a_form_item, {
|
|
38097
|
-
label: _ctx.$t("uc_user.userName")
|
|
38216
|
+
label: _ctx.$t("uc_user.userName"),
|
|
38217
|
+
name: "userName"
|
|
38098
38218
|
}, {
|
|
38099
38219
|
default: withCtx(() => [
|
|
38100
38220
|
createVNode(_component_a_input, {
|
|
@@ -38143,6 +38263,19 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38143
38263
|
]),
|
|
38144
38264
|
_: 1
|
|
38145
38265
|
}, 8, ["label"]),
|
|
38266
|
+
createVNode(_component_a_form_item, {
|
|
38267
|
+
label: _ctx.$t("uc_user.user_status"),
|
|
38268
|
+
name: "userStatus"
|
|
38269
|
+
}, {
|
|
38270
|
+
default: withCtx(() => [
|
|
38271
|
+
createVNode(DictSelect, {
|
|
38272
|
+
value: queryParam.userStatus,
|
|
38273
|
+
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => queryParam.userStatus = $event),
|
|
38274
|
+
dictType: "USER_STATUS"
|
|
38275
|
+
}, null, 8, ["value"])
|
|
38276
|
+
]),
|
|
38277
|
+
_: 1
|
|
38278
|
+
}, 8, ["label"]),
|
|
38146
38279
|
createElementVNode("div", _hoisted_2$7, [
|
|
38147
38280
|
createVNode(_component_uc_btn_search, {
|
|
38148
38281
|
onClick: handleSearchTable,
|
|
@@ -38180,47 +38313,44 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38180
38313
|
column.key === "branchId" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
38181
38314
|
createTextVNode(toDisplayString(record.branchName), 1)
|
|
38182
38315
|
], 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, [
|
|
38316
|
+
column.key === "userCode" ? (openBlock(), createBlock(_component_uc_btn_detail, {
|
|
38317
|
+
key: 1,
|
|
38318
|
+
type: "link",
|
|
38319
|
+
onClick: ($event) => onDetail(record)
|
|
38320
|
+
}, {
|
|
38321
|
+
default: withCtx(() => [
|
|
38322
|
+
createTextVNode(toDisplayString(record.userCode), 1)
|
|
38323
|
+
]),
|
|
38324
|
+
_: 2
|
|
38325
|
+
}, 1032, ["onClick"])) : createCommentVNode("v-if", true),
|
|
38326
|
+
column.key === "userStatus" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
38195
38327
|
[0, 1].includes(Number(record.userStatus)) ? (openBlock(), createBlock(_component_uc_btn_switch, {
|
|
38196
38328
|
key: 0,
|
|
38197
38329
|
checked: record.userStatus == 0,
|
|
38198
38330
|
onClick: (checked) => onSwitch(checked, record)
|
|
38199
|
-
}, null, 8, ["checked", "onClick"])) : Number(record.userStatus) == 2 ? (openBlock(), createElementBlock("span",
|
|
38200
|
-
])) : createCommentVNode("v-if", true),
|
|
38331
|
+
}, 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)
|
|
38332
|
+
], 64)) : createCommentVNode("v-if", true),
|
|
38201
38333
|
column.key === "cdate" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
38202
38334
|
createTextVNode(toDisplayString(unref(formatDate)(record.cdate) || "-"), 1)
|
|
38203
38335
|
], 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)
|
|
38336
|
+
column.key === "action" ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
38337
|
+
createVNode(_component_uc_btn_edit, {
|
|
38338
|
+
onClick: ($event) => onUpdate(record),
|
|
38339
|
+
type: "link"
|
|
38340
|
+
}, null, 8, ["onClick"]),
|
|
38341
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
|
38342
|
+
createVNode(_component_uc_btn_reset_pwd, {
|
|
38343
|
+
onClick: ($event) => onRsPwd(record),
|
|
38344
|
+
type: "link"
|
|
38345
|
+
}, null, 8, ["onClick"]),
|
|
38346
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
|
38347
|
+
createVNode(_component_uc_btn_remove, {
|
|
38348
|
+
onClick: ($event) => onRemove(record),
|
|
38349
|
+
type: "link"
|
|
38350
|
+
}, null, 8, ["onClick"])
|
|
38351
|
+
], 512)), [
|
|
38352
|
+
[vShow, record.userStatus != 2]
|
|
38353
|
+
]) : createCommentVNode("v-if", true)
|
|
38224
38354
|
]),
|
|
38225
38355
|
_: 1
|
|
38226
38356
|
}, 8, ["columns"]),
|
|
@@ -38233,13 +38363,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38233
38363
|
createVNode(ResetPwdModal$1, {
|
|
38234
38364
|
ref_key: "resetPwdModalRef",
|
|
38235
38365
|
ref: resetPwdModalRef
|
|
38236
|
-
}, null, 512)
|
|
38237
|
-
withDirectives(createVNode(BranchSelect, {
|
|
38238
|
-
ref_key: "deptRef",
|
|
38239
|
-
ref: deptRef
|
|
38240
|
-
}, null, 512), [
|
|
38241
|
-
[vShow, false]
|
|
38242
|
-
])
|
|
38366
|
+
}, null, 512)
|
|
38243
38367
|
])
|
|
38244
38368
|
]),
|
|
38245
38369
|
_: 1
|
|
@@ -38249,13 +38373,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38249
38373
|
});
|
|
38250
38374
|
const index_vue_vue_type_style_index_0_scoped_451ba823_lang = "";
|
|
38251
38375
|
const index_vue_vue_type_style_index_1_scoped_451ba823_lang = "";
|
|
38252
|
-
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38376
|
+
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
38377
|
function isValidEmail(email) {
|
|
38254
38378
|
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
38255
38379
|
return emailRegex.test(email);
|
|
38256
38380
|
}
|
|
38257
38381
|
const _hoisted_1$b = ["spinning"];
|
|
38258
|
-
const _sfc_main$
|
|
38382
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
38259
38383
|
__name: "ModalEdit",
|
|
38260
38384
|
emits: ["ok", "cancel"],
|
|
38261
38385
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -38684,7 +38808,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
38684
38808
|
});
|
|
38685
38809
|
const ModalEdit_vue_vue_type_style_index_0_scoped_8dbc9ba3_lang = "";
|
|
38686
38810
|
const ModalEdit_vue_vue_type_style_index_1_lang = "";
|
|
38687
|
-
const ModalEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38811
|
+
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
38812
|
function getUserInfoSearchBase(params) {
|
|
38689
38813
|
return handleRespPost({
|
|
38690
38814
|
url: "/api/sys/userinfo/search-base",
|
|
@@ -39721,7 +39845,7 @@ function U(t2, e, i, s2, r2, o) {
|
|
|
39721
39845
|
const M = /* @__PURE__ */ $(z, [["render", U], ["__scopeId", "data-v-a742df44"]]);
|
|
39722
39846
|
const _hoisted_1$a = { class: "avatar-upload-preview" };
|
|
39723
39847
|
const _hoisted_2$6 = ["src"];
|
|
39724
|
-
const _sfc_main$
|
|
39848
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
39725
39849
|
__name: "AvatarModal",
|
|
39726
39850
|
emits: ["ok"],
|
|
39727
39851
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -39934,14 +40058,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
39934
40058
|
}
|
|
39935
40059
|
});
|
|
39936
40060
|
const AvatarModal_vue_vue_type_style_index_0_scoped_8812fb97_lang = "";
|
|
39937
|
-
const AvatarModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40061
|
+
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
40062
|
const _hoisted_1$9 = { class: "parent-container" };
|
|
39939
40063
|
const _hoisted_2$5 = { class: "child-box" };
|
|
39940
40064
|
const _hoisted_3$4 = { class: "box userInfoMenu" };
|
|
39941
40065
|
const _hoisted_4$2 = { class: "avatar" };
|
|
39942
|
-
const _hoisted_5$
|
|
39943
|
-
const _hoisted_6$
|
|
39944
|
-
const _hoisted_7$
|
|
40066
|
+
const _hoisted_5$1 = ["src"];
|
|
40067
|
+
const _hoisted_6$1 = { class: "text-content" };
|
|
40068
|
+
const _hoisted_7$1 = { class: "text" };
|
|
39945
40069
|
const _hoisted_8$1 = { class: "menu" };
|
|
39946
40070
|
const _hoisted_9$1 = ["onClick"];
|
|
39947
40071
|
const _hoisted_10$1 = {
|
|
@@ -40003,7 +40127,7 @@ const _hoisted_48 = {
|
|
|
40003
40127
|
style: { "height": "372px" }
|
|
40004
40128
|
};
|
|
40005
40129
|
const _hoisted_49 = { class: "content-title" };
|
|
40006
|
-
const _sfc_main$
|
|
40130
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
40007
40131
|
...{
|
|
40008
40132
|
name: "Function102"
|
|
40009
40133
|
},
|
|
@@ -40236,13 +40360,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
40236
40360
|
src: avatar.value,
|
|
40237
40361
|
class: "icon",
|
|
40238
40362
|
onClick: _cache[0] || (_cache[0] = ($event) => handleUploadPreview(option))
|
|
40239
|
-
}, null, 8, _hoisted_5$
|
|
40363
|
+
}, null, 8, _hoisted_5$1)
|
|
40240
40364
|
]),
|
|
40241
40365
|
_: 1
|
|
40242
40366
|
}, 8, ["title"]),
|
|
40243
40367
|
createCommentVNode(" \u53F3\u4FA7\u6587\u5B57\u533A\u57DF "),
|
|
40244
|
-
createElementVNode("div", _hoisted_6$
|
|
40245
|
-
createElementVNode("p", _hoisted_7$
|
|
40368
|
+
createElementVNode("div", _hoisted_6$1, [
|
|
40369
|
+
createElementVNode("p", _hoisted_7$1, toDisplayString(userInfo.value.userName), 1)
|
|
40246
40370
|
])
|
|
40247
40371
|
]),
|
|
40248
40372
|
createElementVNode("div", _hoisted_8$1, [
|
|
@@ -40455,7 +40579,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
40455
40579
|
}
|
|
40456
40580
|
});
|
|
40457
40581
|
const index_vue_vue_type_style_index_0_scoped_1275f3db_lang = "";
|
|
40458
|
-
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40582
|
+
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
40583
|
function getLangSearchLangList(params) {
|
|
40460
40584
|
return handleRespPost({
|
|
40461
40585
|
url: "/api/sys/lang/search-lang-list",
|
|
@@ -40498,7 +40622,7 @@ function setLangExport() {
|
|
|
40498
40622
|
responseType: "blob"
|
|
40499
40623
|
});
|
|
40500
40624
|
}
|
|
40501
|
-
const _sfc_main$
|
|
40625
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
40502
40626
|
...{
|
|
40503
40627
|
name: "LangAdd"
|
|
40504
40628
|
},
|
|
@@ -40644,8 +40768,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
40644
40768
|
};
|
|
40645
40769
|
}
|
|
40646
40770
|
});
|
|
40647
|
-
const LangAdd = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40648
|
-
const _sfc_main$
|
|
40771
|
+
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"]]);
|
|
40772
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
40649
40773
|
__name: "FormItemBtnGroup",
|
|
40650
40774
|
props: {
|
|
40651
40775
|
top: {
|
|
@@ -40676,14 +40800,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
40676
40800
|
}
|
|
40677
40801
|
});
|
|
40678
40802
|
const FormItemBtnGroup_vue_vue_type_style_index_0_scoped_ffd7f8e3_lang = "";
|
|
40679
|
-
const FIBtnGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40803
|
+
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
40804
|
const _hoisted_1$8 = {
|
|
40681
40805
|
bordered: false,
|
|
40682
40806
|
class: "lang-warp"
|
|
40683
40807
|
};
|
|
40684
40808
|
const _hoisted_2$4 = { style: { "margin": "10px 0 6px 10px" } };
|
|
40685
40809
|
const _hoisted_3$3 = { class: "table-page-search-wrapper" };
|
|
40686
|
-
const _sfc_main$
|
|
40810
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
40687
40811
|
__name: "index",
|
|
40688
40812
|
setup(__props) {
|
|
40689
40813
|
const appStore = useAppStore();
|
|
@@ -41072,11 +41196,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
41072
41196
|
}
|
|
41073
41197
|
});
|
|
41074
41198
|
const index_vue_vue_type_style_index_0_scoped_9e1f799b_lang = "";
|
|
41075
|
-
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41199
|
+
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
41200
|
const _hoisted_1$7 = { class: "uc-pro-footer-toolbar" };
|
|
41077
41201
|
const _hoisted_2$3 = { style: { "float": "left" } };
|
|
41078
41202
|
const _hoisted_3$2 = { style: { "text-align": "center" } };
|
|
41079
|
-
const _sfc_main$
|
|
41203
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
41080
41204
|
...{
|
|
41081
41205
|
name: "FooterToolBar"
|
|
41082
41206
|
},
|
|
@@ -41108,10 +41232,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
41108
41232
|
}
|
|
41109
41233
|
});
|
|
41110
41234
|
const FooterToolBar_vue_vue_type_style_index_0_scoped_040ae207_lang = "";
|
|
41111
|
-
const FooterToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41235
|
+
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
41236
|
const _hoisted_1$6 = { key: 1 };
|
|
41113
41237
|
const _hoisted_2$2 = { key: 2 };
|
|
41114
|
-
const _sfc_main$
|
|
41238
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
41115
41239
|
__name: "DictEx",
|
|
41116
41240
|
props: {
|
|
41117
41241
|
server: {
|
|
@@ -41319,8 +41443,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
41319
41443
|
};
|
|
41320
41444
|
}
|
|
41321
41445
|
});
|
|
41322
|
-
const DictEx = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41323
|
-
const _sfc_main$
|
|
41446
|
+
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"]]);
|
|
41447
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
41324
41448
|
__name: "TimeZone",
|
|
41325
41449
|
props: {
|
|
41326
41450
|
mode: {
|
|
@@ -41400,8 +41524,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
41400
41524
|
};
|
|
41401
41525
|
}
|
|
41402
41526
|
});
|
|
41403
|
-
const TimeZone = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41404
|
-
const _sfc_main$
|
|
41527
|
+
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"]]);
|
|
41528
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
41405
41529
|
__name: "LangCombo",
|
|
41406
41530
|
props: {
|
|
41407
41531
|
mode: {
|
|
@@ -41481,8 +41605,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
41481
41605
|
};
|
|
41482
41606
|
}
|
|
41483
41607
|
});
|
|
41484
|
-
const LangCombo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41485
|
-
const _sfc_main$
|
|
41608
|
+
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"]]);
|
|
41609
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
41486
41610
|
__name: "RegionSelect",
|
|
41487
41611
|
props: {
|
|
41488
41612
|
modelValue: {
|
|
@@ -41570,8 +41694,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
41570
41694
|
};
|
|
41571
41695
|
}
|
|
41572
41696
|
});
|
|
41573
|
-
const RegionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41574
|
-
const _sfc_main$
|
|
41697
|
+
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"]]);
|
|
41698
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
41575
41699
|
__name: "index",
|
|
41576
41700
|
props: {
|
|
41577
41701
|
className: {
|
|
@@ -41633,7 +41757,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
41633
41757
|
}
|
|
41634
41758
|
});
|
|
41635
41759
|
const index_vue_vue_type_style_index_0_scoped_ce85d961_lang = "";
|
|
41636
|
-
const PhTip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41760
|
+
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
41761
|
function resetPassword(params) {
|
|
41638
41762
|
return handleRespPost({
|
|
41639
41763
|
url: "/api/sys/org/resetpwd",
|
|
@@ -41683,7 +41807,7 @@ function orgSwitchStatus(params) {
|
|
|
41683
41807
|
data: params
|
|
41684
41808
|
});
|
|
41685
41809
|
}
|
|
41686
|
-
const _sfc_main$
|
|
41810
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
41687
41811
|
__name: "OrgEdit",
|
|
41688
41812
|
props: {
|
|
41689
41813
|
params: {
|
|
@@ -42336,9 +42460,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
42336
42460
|
}
|
|
42337
42461
|
});
|
|
42338
42462
|
const OrgEdit_vue_vue_type_style_index_0_scoped_bc1e3beb_lang = "";
|
|
42339
|
-
const OrgEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
42463
|
+
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
42464
|
const _hoisted_1$5 = { class: "rwd" };
|
|
42341
|
-
const _sfc_main$
|
|
42465
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
42342
42466
|
__name: "ResetPwdModal",
|
|
42343
42467
|
props: {
|
|
42344
42468
|
params: {
|
|
@@ -42488,195 +42612,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
42488
42612
|
}
|
|
42489
42613
|
});
|
|
42490
42614
|
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"]]);
|
|
42615
|
+
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
42616
|
const _hoisted_1$4 = { class: "add-menu" };
|
|
42681
42617
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
42682
42618
|
__name: "AddOrg",
|
|
@@ -43553,33 +43489,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
43553
43489
|
});
|
|
43554
43490
|
const OrgDetail_vue_vue_type_style_index_0_scoped_b1c0cf37_lang = "";
|
|
43555
43491
|
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
43492
|
const _hoisted_1$2 = { class: "org-box" };
|
|
43574
43493
|
const _hoisted_2$1 = { bordered: false };
|
|
43575
|
-
const _hoisted_3$1 = {
|
|
43494
|
+
const _hoisted_3$1 = { class: "form-btns" };
|
|
43495
|
+
const _hoisted_4$1 = {
|
|
43576
43496
|
class: "table-page-search-wrapper",
|
|
43577
43497
|
style: { "margin-bottom": "16px" }
|
|
43578
43498
|
};
|
|
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
43499
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
43584
43500
|
__name: "index",
|
|
43585
43501
|
setup(__props) {
|
|
@@ -43589,7 +43505,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43589
43505
|
const modalStore = useModalStore();
|
|
43590
43506
|
const prefixCls = "uc";
|
|
43591
43507
|
const { t: t2 } = useI18n();
|
|
43592
|
-
useDistByType("CMS_STATUS");
|
|
43593
43508
|
const tableRef = ref();
|
|
43594
43509
|
const showResetPwdModal = ref(false);
|
|
43595
43510
|
const isEdit = ref(false);
|
|
@@ -43607,12 +43522,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43607
43522
|
const handleCloseResetPwdModal = () => {
|
|
43608
43523
|
showResetPwdModal.value = false;
|
|
43609
43524
|
};
|
|
43610
|
-
const changeHead = (type) => {
|
|
43611
|
-
bus.emit("change", {
|
|
43612
|
-
title: "org.title" + type,
|
|
43613
|
-
description: "org.description" + type
|
|
43614
|
-
});
|
|
43615
|
-
};
|
|
43616
43525
|
const onSwitch = async (checked, record) => {
|
|
43617
43526
|
Modal.confirm({
|
|
43618
43527
|
title: !checked ? t2("uc_org.closeOrg") : t2("uc_org.openOrg"),
|
|
@@ -43636,18 +43545,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43636
43545
|
}
|
|
43637
43546
|
});
|
|
43638
43547
|
};
|
|
43639
|
-
const onSearch = () => {
|
|
43640
|
-
tableRef.value.refresh();
|
|
43641
|
-
};
|
|
43642
43548
|
const handleRefreshTable = () => {
|
|
43643
|
-
tableRef.value.refresh();
|
|
43549
|
+
tableRef.value && tableRef.value.refresh();
|
|
43644
43550
|
};
|
|
43645
43551
|
const onReset = () => {
|
|
43646
|
-
|
|
43647
|
-
|
|
43648
|
-
|
|
43649
|
-
});
|
|
43650
|
-
tableRef.value.refresh();
|
|
43552
|
+
queryParam.orgName = "";
|
|
43553
|
+
queryParam.orgStatus = null;
|
|
43554
|
+
handleRefreshTable();
|
|
43651
43555
|
};
|
|
43652
43556
|
const onAdd = (row = null, opType = "1") => {
|
|
43653
43557
|
modalStore.drawerComp({
|
|
@@ -43664,6 +43568,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43664
43568
|
} catch (error) {
|
|
43665
43569
|
} finally {
|
|
43666
43570
|
modalStore.drawerDestroy();
|
|
43571
|
+
handleRefreshTable();
|
|
43667
43572
|
}
|
|
43668
43573
|
},
|
|
43669
43574
|
onCancel: () => {
|
|
@@ -43678,7 +43583,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43678
43583
|
onAdd(record, "2");
|
|
43679
43584
|
};
|
|
43680
43585
|
const onRsPwd = (record) => {
|
|
43681
|
-
changeHead("3");
|
|
43682
43586
|
resetPwdParams.value = record;
|
|
43683
43587
|
showResetPwdModal.value = true;
|
|
43684
43588
|
};
|
|
@@ -43710,15 +43614,14 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43710
43614
|
const { result } = await deleteOrg({ orgId: row.orgId });
|
|
43711
43615
|
if (result) {
|
|
43712
43616
|
message.success(t2("uc_org.deleteOrgSucc"));
|
|
43713
|
-
|
|
43617
|
+
handleRefreshTable();
|
|
43714
43618
|
}
|
|
43715
43619
|
}
|
|
43716
43620
|
});
|
|
43717
43621
|
};
|
|
43718
43622
|
const onSubmit = () => {
|
|
43719
|
-
changeHead("0");
|
|
43720
43623
|
isEdit.value = false;
|
|
43721
|
-
|
|
43624
|
+
handleRefreshTable();
|
|
43722
43625
|
};
|
|
43723
43626
|
const onCancel = () => {
|
|
43724
43627
|
isEdit.value = false;
|
|
@@ -43791,9 +43694,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43791
43694
|
const _component_a_form_item = FormItem;
|
|
43792
43695
|
const _component_uc_btn_search = resolveComponent("uc-btn-search");
|
|
43793
43696
|
const _component_a_button = Button$1;
|
|
43794
|
-
const _component_FIBtnGroup = resolveComponent("FIBtnGroup");
|
|
43795
43697
|
const _component_a_form = Form;
|
|
43796
43698
|
const _component_uc_btn_add = resolveComponent("uc-btn-add");
|
|
43699
|
+
const _component_uc_btn_detail = resolveComponent("uc-btn-detail");
|
|
43797
43700
|
const _component_uc_pick_label = resolveComponent("uc-pick-label");
|
|
43798
43701
|
const _component_a_switch = Switch;
|
|
43799
43702
|
const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
|
|
@@ -43814,10 +43717,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43814
43717
|
createElementVNode("div", null, [
|
|
43815
43718
|
createVNode(_component_a_form, {
|
|
43816
43719
|
model: queryParam,
|
|
43817
|
-
ref: "formAddRef",
|
|
43818
|
-
onFinish: _ctx.handleSubmitAdd,
|
|
43819
43720
|
layout: "vertical",
|
|
43820
|
-
class: "
|
|
43721
|
+
class: "query-form"
|
|
43821
43722
|
}, {
|
|
43822
43723
|
default: withCtx(() => [
|
|
43823
43724
|
createVNode(_component_a_form_item, {
|
|
@@ -43827,20 +43728,16 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43827
43728
|
default: withCtx(() => [
|
|
43828
43729
|
createVNode(_component_a_input, {
|
|
43829
43730
|
placeholder: _ctx.$t("uc_common.plsSearch"),
|
|
43830
|
-
ref: "inputSearch",
|
|
43831
43731
|
value: queryParam.orgName,
|
|
43832
43732
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.orgName = $event),
|
|
43833
|
-
|
|
43834
|
-
allowClear: "",
|
|
43835
|
-
style: { "width": "200px", "margin-right": "16px" }
|
|
43733
|
+
allowClear: ""
|
|
43836
43734
|
}, null, 8, ["placeholder", "value"])
|
|
43837
43735
|
]),
|
|
43838
43736
|
_: 1
|
|
43839
43737
|
}, 8, ["label"]),
|
|
43840
43738
|
createVNode(_component_a_form_item, {
|
|
43841
43739
|
name: "orgStatus",
|
|
43842
|
-
label: _ctx.$t("uc_org.status")
|
|
43843
|
-
style: { "width": "200px" }
|
|
43740
|
+
label: _ctx.$t("uc_org.status")
|
|
43844
43741
|
}, {
|
|
43845
43742
|
default: withCtx(() => [
|
|
43846
43743
|
createVNode(DictSelect, {
|
|
@@ -43851,38 +43748,27 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43851
43748
|
]),
|
|
43852
43749
|
_: 1
|
|
43853
43750
|
}, 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
|
-
})
|
|
43751
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
43752
|
+
createVNode(_component_uc_btn_search, {
|
|
43753
|
+
onClick: handleRefreshTable,
|
|
43754
|
+
isWidth: true,
|
|
43755
|
+
showInput: false
|
|
43756
|
+
}),
|
|
43757
|
+
createVNode(_component_a_button, {
|
|
43758
|
+
onClick: onReset,
|
|
43759
|
+
style: { "margin-left": "8px" }
|
|
43760
|
+
}, {
|
|
43761
|
+
default: withCtx(() => [
|
|
43762
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_common.btnReset")), 1)
|
|
43763
|
+
]),
|
|
43764
|
+
_: 1
|
|
43765
|
+
})
|
|
43766
|
+
])
|
|
43881
43767
|
]),
|
|
43882
43768
|
_: 1
|
|
43883
|
-
}, 8, ["model"
|
|
43769
|
+
}, 8, ["model"])
|
|
43884
43770
|
]),
|
|
43885
|
-
createElementVNode("div",
|
|
43771
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
43886
43772
|
createVNode(_component_uc_btn_add, {
|
|
43887
43773
|
onClick: onAdd,
|
|
43888
43774
|
text: _ctx.$t("uc_org.createOrg"),
|
|
@@ -43899,44 +43785,32 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43899
43785
|
scroll: { x: 1e3, y: 550 }
|
|
43900
43786
|
}, {
|
|
43901
43787
|
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),
|
|
43788
|
+
column.key === "orgId" ? (openBlock(), createBlock(_component_uc_btn_detail, {
|
|
43789
|
+
key: 0,
|
|
43790
|
+
type: "link",
|
|
43791
|
+
onClick: ($event) => onDetail(record)
|
|
43792
|
+
}, {
|
|
43793
|
+
default: withCtx(() => [
|
|
43794
|
+
createTextVNode(toDisplayString(record.orgId), 1)
|
|
43795
|
+
]),
|
|
43796
|
+
_: 2
|
|
43797
|
+
}, 1032, ["onClick"])) : createCommentVNode("v-if", true),
|
|
43920
43798
|
column.key === "cdate" ? (openBlock(), createBlock(_component_uc_pick_label, {
|
|
43921
|
-
key:
|
|
43799
|
+
key: 1,
|
|
43922
43800
|
defaultValue: record.cdate
|
|
43923
43801
|
}, null, 8, ["defaultValue"])) : createCommentVNode("v-if", true),
|
|
43924
|
-
column.key === "userId" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
43802
|
+
column.key === "userId" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
43925
43803
|
createTextVNode(toDisplayString(record.sysUser.userId), 1)
|
|
43926
43804
|
], 64)) : createCommentVNode("v-if", true),
|
|
43927
|
-
column.key === "mobile" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
43805
|
+
column.key === "mobile" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
43928
43806
|
createTextVNode(toDisplayString(record.sysUser.mobile), 1)
|
|
43929
43807
|
], 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 }, [
|
|
43808
|
+
column.key === "orgStatus" ? (openBlock(), createBlock(_component_a_switch, {
|
|
43809
|
+
key: 4,
|
|
43810
|
+
checked: record.orgStatus == 0,
|
|
43811
|
+
onChange: (checked) => onSwitch(checked, record)
|
|
43812
|
+
}, null, 8, ["checked", "onChange"])) : createCommentVNode("v-if", true),
|
|
43813
|
+
column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
43940
43814
|
createVNode(_component_uc_btn_edit, {
|
|
43941
43815
|
onClick: ($event) => onUpdate(record),
|
|
43942
43816
|
type: "link"
|
|
@@ -43977,7 +43851,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
43977
43851
|
}
|
|
43978
43852
|
});
|
|
43979
43853
|
const index_vue_vue_type_style_index_0_scoped_ae8d5b14_lang = "";
|
|
43980
|
-
const index_vue_vue_type_style_index_1_lang = "";
|
|
43981
43854
|
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
43855
|
function getParameterSearchTypeDetail(params) {
|
|
43983
43856
|
return handleRespPost({
|