@witlink/usercenter 1.2.70 → 1.2.71
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.71f2a74d.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);
|
|
@@ -8,7 +8,7 @@ import { useI18n } from "vue-i18n";
|
|
|
8
8
|
import { defineStore, createPinia } from "pinia";
|
|
9
9
|
import Axios from "axios";
|
|
10
10
|
import { notification, App, Drawer, Button, ConfigProvider, message, Modal, Checkbox as Checkbox$1, Divider as Divider$1 } from "ant-design-vue";
|
|
11
|
-
import { ref, render, h, reactive, inject, computed, provide, createCommentVNode, defineComponent, watch, onMounted, nextTick, onUnmounted, TransitionGroup, Teleport, resolveComponent, onActivated, onDeactivated, onBeforeUnmount, openBlock, createElementBlock, createVNode, withCtx, unref, createBlock, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, normalizeClass, normalizeStyle, mergeProps, onBeforeMount, withDirectives, vShow, useSlots, createSlots, renderSlot, normalizeProps, guardReactiveProps, withModifiers, watchEffect, mergeModels, useModel, resolveDirective } from "vue";
|
|
11
|
+
import { ref, render, h, reactive, inject, computed, provide, createCommentVNode, defineComponent, watch as watch$1, onMounted, nextTick, onUnmounted, TransitionGroup, Teleport, resolveComponent, onActivated, onDeactivated, onBeforeUnmount, openBlock, createElementBlock, createVNode, withCtx, unref, createBlock, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, normalizeClass, normalizeStyle, mergeProps, onBeforeMount, withDirectives, vShow, useSlots, createSlots, renderSlot, normalizeProps, guardReactiveProps, withModifiers, watchEffect, mergeModels, useModel, resolveDirective } from "vue";
|
|
12
12
|
import { getUserInfo as getUserInfo$1, hasPermission } from "@witlink/components/utils";
|
|
13
13
|
import en_US from "ant-design-vue/es/locale/en_US";
|
|
14
14
|
import zh_CN from "ant-design-vue/es/locale/zh_CN";
|
|
@@ -9037,7 +9037,7 @@ function createColumn($xeTable, options, renderOptions) {
|
|
|
9037
9037
|
}
|
|
9038
9038
|
function watchColumn($xeTable, props, column) {
|
|
9039
9039
|
Object.keys(props).forEach((name) => {
|
|
9040
|
-
watch(() => props[name], (value) => {
|
|
9040
|
+
watch$1(() => props[name], (value) => {
|
|
9041
9041
|
column.update(name, value);
|
|
9042
9042
|
if ($xeTable) {
|
|
9043
9043
|
if (name === "filters") {
|
|
@@ -11622,7 +11622,7 @@ const TableHeaderComponent = defineVxeComponent({
|
|
|
11622
11622
|
])
|
|
11623
11623
|
]);
|
|
11624
11624
|
};
|
|
11625
|
-
watch(() => props.tableColumn, uploadColumn);
|
|
11625
|
+
watch$1(() => props.tableColumn, uploadColumn);
|
|
11626
11626
|
onMounted(() => {
|
|
11627
11627
|
nextTick(() => {
|
|
11628
11628
|
const { fixedType } = props;
|
|
@@ -31341,13 +31341,13 @@ const VxeTableComponent = defineVxeComponent({
|
|
|
31341
31341
|
]);
|
|
31342
31342
|
};
|
|
31343
31343
|
const dataFlag = ref(0);
|
|
31344
|
-
watch(() => props.data ? props.data.length : -1, () => {
|
|
31344
|
+
watch$1(() => props.data ? props.data.length : -1, () => {
|
|
31345
31345
|
dataFlag.value++;
|
|
31346
31346
|
});
|
|
31347
|
-
watch(() => props.data, () => {
|
|
31347
|
+
watch$1(() => props.data, () => {
|
|
31348
31348
|
dataFlag.value++;
|
|
31349
31349
|
});
|
|
31350
|
-
watch(dataFlag, () => {
|
|
31350
|
+
watch$1(dataFlag, () => {
|
|
31351
31351
|
const { initStatus } = internalData;
|
|
31352
31352
|
const value = props.data || [];
|
|
31353
31353
|
if (value && value.length >= 2e4) {
|
|
@@ -31368,93 +31368,93 @@ const VxeTableComponent = defineVxeComponent({
|
|
|
31368
31368
|
});
|
|
31369
31369
|
});
|
|
31370
31370
|
const staticColumnFlag = ref(0);
|
|
31371
|
-
watch(() => reactData.staticColumns.length, () => {
|
|
31371
|
+
watch$1(() => reactData.staticColumns.length, () => {
|
|
31372
31372
|
staticColumnFlag.value++;
|
|
31373
31373
|
});
|
|
31374
|
-
watch(() => reactData.staticColumns, () => {
|
|
31374
|
+
watch$1(() => reactData.staticColumns, () => {
|
|
31375
31375
|
staticColumnFlag.value++;
|
|
31376
31376
|
});
|
|
31377
|
-
watch(staticColumnFlag, () => {
|
|
31377
|
+
watch$1(staticColumnFlag, () => {
|
|
31378
31378
|
nextTick(() => handleInitColumn(xeUtils.clone(reactData.staticColumns)));
|
|
31379
31379
|
});
|
|
31380
31380
|
const tableColumnFlag = ref(0);
|
|
31381
|
-
watch(() => reactData.tableColumn.length, () => {
|
|
31381
|
+
watch$1(() => reactData.tableColumn.length, () => {
|
|
31382
31382
|
tableColumnFlag.value++;
|
|
31383
31383
|
});
|
|
31384
|
-
watch(() => reactData.tableColumn, () => {
|
|
31384
|
+
watch$1(() => reactData.tableColumn, () => {
|
|
31385
31385
|
tableColumnFlag.value++;
|
|
31386
31386
|
});
|
|
31387
|
-
watch(tableColumnFlag, () => {
|
|
31387
|
+
watch$1(tableColumnFlag, () => {
|
|
31388
31388
|
tablePrivateMethods.analyColumnWidth();
|
|
31389
31389
|
});
|
|
31390
|
-
watch(() => reactData.upDataFlag, () => {
|
|
31390
|
+
watch$1(() => reactData.upDataFlag, () => {
|
|
31391
31391
|
nextTick(() => {
|
|
31392
31392
|
tableMethods.updateData();
|
|
31393
31393
|
});
|
|
31394
31394
|
});
|
|
31395
|
-
watch(() => reactData.reColumnFlag, () => {
|
|
31395
|
+
watch$1(() => reactData.reColumnFlag, () => {
|
|
31396
31396
|
nextTick(() => {
|
|
31397
31397
|
tableMethods.refreshColumn();
|
|
31398
31398
|
});
|
|
31399
31399
|
});
|
|
31400
31400
|
const reLayoutFlag = ref(0);
|
|
31401
|
-
watch(computeSize, () => {
|
|
31401
|
+
watch$1(computeSize, () => {
|
|
31402
31402
|
reLayoutFlag.value++;
|
|
31403
31403
|
});
|
|
31404
|
-
watch(() => props.showHeader, () => {
|
|
31404
|
+
watch$1(() => props.showHeader, () => {
|
|
31405
31405
|
reLayoutFlag.value++;
|
|
31406
31406
|
});
|
|
31407
|
-
watch(() => props.showFooter, () => {
|
|
31407
|
+
watch$1(() => props.showFooter, () => {
|
|
31408
31408
|
reLayoutFlag.value++;
|
|
31409
31409
|
});
|
|
31410
|
-
watch(() => reactData.overflowX, () => {
|
|
31410
|
+
watch$1(() => reactData.overflowX, () => {
|
|
31411
31411
|
reLayoutFlag.value++;
|
|
31412
31412
|
});
|
|
31413
|
-
watch(() => reactData.overflowY, () => {
|
|
31413
|
+
watch$1(() => reactData.overflowY, () => {
|
|
31414
31414
|
reLayoutFlag.value++;
|
|
31415
31415
|
});
|
|
31416
|
-
watch(() => props.height, () => {
|
|
31416
|
+
watch$1(() => props.height, () => {
|
|
31417
31417
|
reLayoutFlag.value++;
|
|
31418
31418
|
});
|
|
31419
|
-
watch(() => props.maxHeight, () => {
|
|
31419
|
+
watch$1(() => props.maxHeight, () => {
|
|
31420
31420
|
reLayoutFlag.value++;
|
|
31421
31421
|
});
|
|
31422
|
-
watch(computeScrollbarXToTop, () => {
|
|
31422
|
+
watch$1(computeScrollbarXToTop, () => {
|
|
31423
31423
|
reLayoutFlag.value++;
|
|
31424
31424
|
});
|
|
31425
|
-
watch(computeScrollbarYToLeft, () => {
|
|
31425
|
+
watch$1(computeScrollbarYToLeft, () => {
|
|
31426
31426
|
reLayoutFlag.value++;
|
|
31427
31427
|
});
|
|
31428
|
-
watch(() => VxeUI.getLanguage(), () => {
|
|
31428
|
+
watch$1(() => VxeUI.getLanguage(), () => {
|
|
31429
31429
|
reLayoutFlag.value++;
|
|
31430
31430
|
});
|
|
31431
|
-
watch(() => {
|
|
31431
|
+
watch$1(() => {
|
|
31432
31432
|
const scrollbarXOpts = computeScrollbarXOpts.value;
|
|
31433
31433
|
return scrollbarXOpts.visible;
|
|
31434
31434
|
}, () => {
|
|
31435
31435
|
reLayoutFlag.value++;
|
|
31436
31436
|
});
|
|
31437
|
-
watch(() => {
|
|
31437
|
+
watch$1(() => {
|
|
31438
31438
|
const scrollbarYOpts = computeScrollbarYOpts.value;
|
|
31439
31439
|
return scrollbarYOpts.visible;
|
|
31440
31440
|
}, () => {
|
|
31441
31441
|
reLayoutFlag.value++;
|
|
31442
31442
|
});
|
|
31443
|
-
watch(reLayoutFlag, () => {
|
|
31443
|
+
watch$1(reLayoutFlag, () => {
|
|
31444
31444
|
$xeTable.recalculate(true);
|
|
31445
31445
|
});
|
|
31446
31446
|
const footFlag = ref(0);
|
|
31447
|
-
watch(() => props.footerData ? props.footerData.length : -1, () => {
|
|
31447
|
+
watch$1(() => props.footerData ? props.footerData.length : -1, () => {
|
|
31448
31448
|
footFlag.value++;
|
|
31449
31449
|
});
|
|
31450
|
-
watch(() => props.footerData, () => {
|
|
31450
|
+
watch$1(() => props.footerData, () => {
|
|
31451
31451
|
footFlag.value++;
|
|
31452
31452
|
});
|
|
31453
|
-
watch(footFlag, () => {
|
|
31453
|
+
watch$1(footFlag, () => {
|
|
31454
31454
|
internalData.footerFullDataRowData = {};
|
|
31455
31455
|
$xeTable.updateFooter();
|
|
31456
31456
|
});
|
|
31457
|
-
watch(() => props.syncResize, (value) => {
|
|
31457
|
+
watch$1(() => props.syncResize, (value) => {
|
|
31458
31458
|
if (value) {
|
|
31459
31459
|
handleUpdateResize();
|
|
31460
31460
|
nextTick(() => {
|
|
@@ -31464,46 +31464,46 @@ const VxeTableComponent = defineVxeComponent({
|
|
|
31464
31464
|
}
|
|
31465
31465
|
});
|
|
31466
31466
|
const mergeCellFlag = ref(0);
|
|
31467
|
-
watch(() => props.mergeCells ? props.mergeCells.length : -1, () => {
|
|
31467
|
+
watch$1(() => props.mergeCells ? props.mergeCells.length : -1, () => {
|
|
31468
31468
|
mergeCellFlag.value++;
|
|
31469
31469
|
});
|
|
31470
|
-
watch(() => props.mergeCells, () => {
|
|
31470
|
+
watch$1(() => props.mergeCells, () => {
|
|
31471
31471
|
mergeCellFlag.value++;
|
|
31472
31472
|
});
|
|
31473
|
-
watch(mergeCellFlag, () => {
|
|
31473
|
+
watch$1(mergeCellFlag, () => {
|
|
31474
31474
|
handleUpdateMergeBodyCells(props.mergeCells || []);
|
|
31475
31475
|
});
|
|
31476
31476
|
const mergeHeaderItemFlag = ref(0);
|
|
31477
|
-
watch(() => props.mergeHeaderCells ? props.mergeHeaderCells.length : -1, () => {
|
|
31477
|
+
watch$1(() => props.mergeHeaderCells ? props.mergeHeaderCells.length : -1, () => {
|
|
31478
31478
|
mergeHeaderItemFlag.value++;
|
|
31479
31479
|
});
|
|
31480
|
-
watch(() => props.mergeHeaderCells, () => {
|
|
31480
|
+
watch$1(() => props.mergeHeaderCells, () => {
|
|
31481
31481
|
mergeHeaderItemFlag.value++;
|
|
31482
31482
|
});
|
|
31483
|
-
watch(mergeHeaderItemFlag, () => {
|
|
31483
|
+
watch$1(mergeHeaderItemFlag, () => {
|
|
31484
31484
|
handleUpdateMergeHeaderCells(props.mergeHeaderCells || []);
|
|
31485
31485
|
});
|
|
31486
31486
|
const mergeFooteCellFlag = ref(0);
|
|
31487
|
-
watch(() => props.mergeFooterCells ? props.mergeFooterCells.length : -1, () => {
|
|
31487
|
+
watch$1(() => props.mergeFooterCells ? props.mergeFooterCells.length : -1, () => {
|
|
31488
31488
|
mergeFooteCellFlag.value++;
|
|
31489
31489
|
});
|
|
31490
|
-
watch(() => props.mergeFooterCells, () => {
|
|
31490
|
+
watch$1(() => props.mergeFooterCells, () => {
|
|
31491
31491
|
mergeFooteCellFlag.value++;
|
|
31492
31492
|
});
|
|
31493
|
-
watch(() => props.mergeFooterItems ? props.mergeFooterItems.length : -1, () => {
|
|
31493
|
+
watch$1(() => props.mergeFooterItems ? props.mergeFooterItems.length : -1, () => {
|
|
31494
31494
|
mergeFooteCellFlag.value++;
|
|
31495
31495
|
});
|
|
31496
|
-
watch(() => props.mergeFooterItems, () => {
|
|
31496
|
+
watch$1(() => props.mergeFooterItems, () => {
|
|
31497
31497
|
mergeFooteCellFlag.value++;
|
|
31498
31498
|
});
|
|
31499
|
-
watch(mergeFooteCellFlag, () => {
|
|
31499
|
+
watch$1(mergeFooteCellFlag, () => {
|
|
31500
31500
|
const mFooterCells = props.mergeFooterCells || props.mergeFooterItems;
|
|
31501
31501
|
handleUpdateMergeFooterCells(mFooterCells || []);
|
|
31502
31502
|
});
|
|
31503
|
-
watch(computeRowGroupFields, (val) => {
|
|
31503
|
+
watch$1(computeRowGroupFields, (val) => {
|
|
31504
31504
|
handleUpdateRowGroup(val);
|
|
31505
31505
|
});
|
|
31506
|
-
watch(computeRowField, () => {
|
|
31506
|
+
watch$1(computeRowField, () => {
|
|
31507
31507
|
const { inited, tableFullData } = internalData;
|
|
31508
31508
|
if (inited) {
|
|
31509
31509
|
handleKeyField();
|
|
@@ -31514,7 +31514,7 @@ const VxeTableComponent = defineVxeComponent({
|
|
|
31514
31514
|
}
|
|
31515
31515
|
});
|
|
31516
31516
|
if ($xeTabs) {
|
|
31517
|
-
watch(() => $xeTabs ? $xeTabs.reactData.resizeFlag : null, () => {
|
|
31517
|
+
watch$1(() => $xeTabs ? $xeTabs.reactData.resizeFlag : null, () => {
|
|
31518
31518
|
handleGlobalResizeEvent();
|
|
31519
31519
|
});
|
|
31520
31520
|
}
|
|
@@ -32103,7 +32103,7 @@ function useRequiredMessage() {
|
|
|
32103
32103
|
}
|
|
32104
32104
|
const _hoisted_1$m = { class: "add-menu" };
|
|
32105
32105
|
const _hoisted_2$d = { class: "actions-wrap" };
|
|
32106
|
-
const _sfc_main$
|
|
32106
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
32107
32107
|
__name: "AddMenu",
|
|
32108
32108
|
props: {
|
|
32109
32109
|
data: {
|
|
@@ -32322,7 +32322,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
32322
32322
|
}
|
|
32323
32323
|
return target;
|
|
32324
32324
|
};
|
|
32325
|
-
const AddMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32325
|
+
const AddMenu = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1d0da3f2"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/functions/AddMenu.vue"]]);
|
|
32326
32326
|
const cssvar = "";
|
|
32327
32327
|
const _hoisted_1$l = { class: "sys-functions" };
|
|
32328
32328
|
const _hoisted_2$c = {
|
|
@@ -32345,7 +32345,7 @@ const _hoisted_10$4 = {
|
|
|
32345
32345
|
};
|
|
32346
32346
|
const _hoisted_11$4 = { class: "no-data-text" };
|
|
32347
32347
|
const _hoisted_12$4 = { style: { "height": "32px", "margin-bottom": "10px" } };
|
|
32348
|
-
const _sfc_main$
|
|
32348
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
32349
32349
|
__name: "index",
|
|
32350
32350
|
setup(__props) {
|
|
32351
32351
|
const { t: t2 } = useI18n();
|
|
@@ -32805,7 +32805,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
32805
32805
|
}
|
|
32806
32806
|
});
|
|
32807
32807
|
const index_vue_vue_type_style_index_0_scoped_04710d5f_lang = "";
|
|
32808
|
-
const index$8 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32808
|
+
const index$8 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-04710d5f"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/functions/index.vue"]]);
|
|
32809
32809
|
function usePermissionId() {
|
|
32810
32810
|
const hasPermissionId = (id) => {
|
|
32811
32811
|
const hasPermission$1 = hasPermission(id);
|
|
@@ -32999,7 +32999,7 @@ function getRegionListById(params) {
|
|
|
32999
32999
|
});
|
|
33000
33000
|
}
|
|
33001
33001
|
const _hoisted_1$k = { class: "textarea-wrapper" };
|
|
33002
|
-
const _sfc_main$
|
|
33002
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
33003
33003
|
__name: "InputTextarea",
|
|
33004
33004
|
props: {
|
|
33005
33005
|
showCount: {
|
|
@@ -33045,9 +33045,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
33045
33045
|
}
|
|
33046
33046
|
});
|
|
33047
33047
|
const InputTextarea_vue_vue_type_style_index_0_scoped_939f274f_lang = "";
|
|
33048
|
-
const InputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33048
|
+
const InputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-939f274f"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/inhe/input/InputTextarea.vue"]]);
|
|
33049
33049
|
const _hoisted_1$j = ["spinning"];
|
|
33050
|
-
const _sfc_main$
|
|
33050
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
33051
33051
|
__name: "DeptEdit",
|
|
33052
33052
|
emits: ["ok"],
|
|
33053
33053
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -33260,9 +33260,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
33260
33260
|
}
|
|
33261
33261
|
});
|
|
33262
33262
|
const DeptEdit_vue_vue_type_style_index_0_scoped_58074060_lang = "";
|
|
33263
|
-
const DeptEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33263
|
+
const DeptEdit = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-58074060"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/DeptEdit.vue"]]);
|
|
33264
33264
|
const _hoisted_1$i = ["spinning"];
|
|
33265
|
-
const _sfc_main$
|
|
33265
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
33266
33266
|
__name: "BranchEdit",
|
|
33267
33267
|
emits: ["ok"],
|
|
33268
33268
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -33481,9 +33481,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
33481
33481
|
}
|
|
33482
33482
|
});
|
|
33483
33483
|
const BranchEdit_vue_vue_type_style_index_0_scoped_db8da10b_lang = "";
|
|
33484
|
-
const BranchEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33484
|
+
const BranchEdit = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-db8da10b"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/BranchEdit.vue"]]);
|
|
33485
33485
|
const _hoisted_1$h = { class: "branch-detail-wrap" };
|
|
33486
|
-
const _sfc_main$
|
|
33486
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
33487
33487
|
__name: "BranDetail",
|
|
33488
33488
|
props: {
|
|
33489
33489
|
type: {
|
|
@@ -33601,7 +33601,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
33601
33601
|
}
|
|
33602
33602
|
});
|
|
33603
33603
|
const BranDetail_vue_vue_type_style_index_0_scoped_207f1e3e_lang = "";
|
|
33604
|
-
const BranDetail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33604
|
+
const BranDetail = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-207f1e3e"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/BranDetail.vue"]]);
|
|
33605
33605
|
const _hoisted_1$g = { class: "pay_info" };
|
|
33606
33606
|
const _hoisted_2$b = { class: "pay_span" };
|
|
33607
33607
|
const _hoisted_3$8 = { class: "pay_span1" };
|
|
@@ -33630,7 +33630,7 @@ const _hoisted_18$2 = { style: {
|
|
|
33630
33630
|
textAlign: "center",
|
|
33631
33631
|
zIndex: 1
|
|
33632
33632
|
} };
|
|
33633
|
-
const _sfc_main$
|
|
33633
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
33634
33634
|
__name: "DeptDetail",
|
|
33635
33635
|
setup(__props, { expose: __expose }) {
|
|
33636
33636
|
const { formatDate } = useSysParams();
|
|
@@ -33717,7 +33717,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
33717
33717
|
}
|
|
33718
33718
|
});
|
|
33719
33719
|
const DeptDetail_vue_vue_type_style_index_0_scoped_7ab63a77_lang = "";
|
|
33720
|
-
const DeptDetail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33720
|
+
const DeptDetail = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-7ab63a77"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/DeptDetail.vue"]]);
|
|
33721
33721
|
function useInitUserinfo() {
|
|
33722
33722
|
onBeforeMount(async () => {
|
|
33723
33723
|
var _a;
|
|
@@ -33744,7 +33744,7 @@ const _hoisted_9$3 = {
|
|
|
33744
33744
|
class: "ant-dropdown-link",
|
|
33745
33745
|
style: { "color": "rgba(0, 0, 0, 0.25)" }
|
|
33746
33746
|
};
|
|
33747
|
-
const _sfc_main$
|
|
33747
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
33748
33748
|
__name: "index",
|
|
33749
33749
|
setup(__props, { expose: __expose }) {
|
|
33750
33750
|
const { formatDate } = useSysParams();
|
|
@@ -34542,9 +34542,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
34542
34542
|
}
|
|
34543
34543
|
});
|
|
34544
34544
|
const index_vue_vue_type_style_index_0_scoped_32a76766_lang = "";
|
|
34545
|
-
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34545
|
+
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-32a76766"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/index.vue"]]);
|
|
34546
34546
|
const index_vue_vue_type_style_index_0_scoped_6ed6a16f_lang = "";
|
|
34547
|
-
const _sfc_main$
|
|
34547
|
+
const _sfc_main$A = Object.assign({
|
|
34548
34548
|
inheritAttrs: false
|
|
34549
34549
|
}, {
|
|
34550
34550
|
__name: "index",
|
|
@@ -34646,7 +34646,7 @@ const _sfc_main$z = Object.assign({
|
|
|
34646
34646
|
};
|
|
34647
34647
|
}
|
|
34648
34648
|
});
|
|
34649
|
-
const STable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34649
|
+
const STable = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-6ed6a16f"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/table/index.vue"]]);
|
|
34650
34650
|
function getSearchList$1(params) {
|
|
34651
34651
|
return handleRespPost({
|
|
34652
34652
|
url: "/api/sys/role/search-list",
|
|
@@ -34763,7 +34763,7 @@ const _hoisted_24$1 = {
|
|
|
34763
34763
|
key: 3,
|
|
34764
34764
|
class: "no-auth-permission"
|
|
34765
34765
|
};
|
|
34766
|
-
const _sfc_main$
|
|
34766
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
34767
34767
|
__name: "index",
|
|
34768
34768
|
setup(__props) {
|
|
34769
34769
|
const { hasPermissionId } = usePermissionId();
|
|
@@ -35280,7 +35280,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
35280
35280
|
getCurrentMenuAuthList(activeAuthId.value);
|
|
35281
35281
|
}
|
|
35282
35282
|
}
|
|
35283
|
-
watch(
|
|
35283
|
+
watch$1(
|
|
35284
35284
|
() => userStore.userLanguage,
|
|
35285
35285
|
() => {
|
|
35286
35286
|
if (!showTable.value) {
|
|
@@ -35652,7 +35652,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
35652
35652
|
}
|
|
35653
35653
|
});
|
|
35654
35654
|
const index_vue_vue_type_style_index_0_scoped_79d9b716_lang = "";
|
|
35655
|
-
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
35655
|
+
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-79d9b716"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/role/index.vue"]]);
|
|
35656
35656
|
function getSearchList(params) {
|
|
35657
35657
|
return handleRespPost({
|
|
35658
35658
|
url: "/api/sys/user/search-list",
|
|
@@ -35716,7 +35716,7 @@ function setUserResetPwd(params) {
|
|
|
35716
35716
|
params
|
|
35717
35717
|
});
|
|
35718
35718
|
}
|
|
35719
|
-
const _sfc_main$
|
|
35719
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
35720
35720
|
__name: "RoleSelect",
|
|
35721
35721
|
props: {
|
|
35722
35722
|
mode: {
|
|
@@ -35770,7 +35770,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
35770
35770
|
emit("update:value", value);
|
|
35771
35771
|
}
|
|
35772
35772
|
};
|
|
35773
|
-
watch(
|
|
35773
|
+
watch$1(
|
|
35774
35774
|
() => props.value,
|
|
35775
35775
|
(value) => {
|
|
35776
35776
|
if (value && value.length > 0 && value[0]) {
|
|
@@ -35818,8 +35818,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
35818
35818
|
};
|
|
35819
35819
|
}
|
|
35820
35820
|
});
|
|
35821
|
-
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
35822
|
-
const _sfc_main$
|
|
35821
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/RoleSelect.vue"]]);
|
|
35822
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
35823
35823
|
__name: "BranchSelect",
|
|
35824
35824
|
setup(__props) {
|
|
35825
35825
|
const options = ref([]);
|
|
@@ -35844,8 +35844,80 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
35844
35844
|
};
|
|
35845
35845
|
}
|
|
35846
35846
|
});
|
|
35847
|
-
const BranchSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
35848
|
-
const
|
|
35847
|
+
const BranchSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/BranchSelect.vue"]]);
|
|
35848
|
+
const _sfc_main$w = {
|
|
35849
|
+
__name: "BranchSelectEdit",
|
|
35850
|
+
props: {
|
|
35851
|
+
initValue: {
|
|
35852
|
+
type: String,
|
|
35853
|
+
default: ""
|
|
35854
|
+
}
|
|
35855
|
+
},
|
|
35856
|
+
emits: ["customChange"],
|
|
35857
|
+
setup(__props, { emit: __emit }) {
|
|
35858
|
+
const emits = __emit;
|
|
35859
|
+
const props = __props;
|
|
35860
|
+
const options = ref([]);
|
|
35861
|
+
const selectedPath = ref([]);
|
|
35862
|
+
const initSelect = async () => {
|
|
35863
|
+
options.value = [];
|
|
35864
|
+
const { result } = await getPublicBranchRoot();
|
|
35865
|
+
if (result) {
|
|
35866
|
+
options.value = cloneDeep(result);
|
|
35867
|
+
}
|
|
35868
|
+
if (props.initValue) {
|
|
35869
|
+
selectedPath.value = findPathById(options.value, props.initValue) || [];
|
|
35870
|
+
}
|
|
35871
|
+
};
|
|
35872
|
+
onMounted(() => {
|
|
35873
|
+
initSelect();
|
|
35874
|
+
});
|
|
35875
|
+
watch(
|
|
35876
|
+
() => props.initValue,
|
|
35877
|
+
(newVal) => {
|
|
35878
|
+
if (newVal) {
|
|
35879
|
+
selectedPath.value = findPathById(options.value, props.initValue) || [];
|
|
35880
|
+
}
|
|
35881
|
+
}
|
|
35882
|
+
);
|
|
35883
|
+
function findPathById(tree, targetId, path = []) {
|
|
35884
|
+
for (const node of tree) {
|
|
35885
|
+
path.push(node.value);
|
|
35886
|
+
if (node.value === targetId) {
|
|
35887
|
+
return path;
|
|
35888
|
+
}
|
|
35889
|
+
if (node.children && node.children.length) {
|
|
35890
|
+
const result = findPathById(node.children, targetId, path);
|
|
35891
|
+
if (result)
|
|
35892
|
+
return result;
|
|
35893
|
+
}
|
|
35894
|
+
path.pop();
|
|
35895
|
+
}
|
|
35896
|
+
return null;
|
|
35897
|
+
}
|
|
35898
|
+
const handleChange = (value) => {
|
|
35899
|
+
if (value && value.length) {
|
|
35900
|
+
emits("customChange", value[value.length - 1]);
|
|
35901
|
+
} else {
|
|
35902
|
+
emits("customChange", "");
|
|
35903
|
+
}
|
|
35904
|
+
};
|
|
35905
|
+
return (_ctx, _cache) => {
|
|
35906
|
+
const _component_a_cascader = Cascader;
|
|
35907
|
+
return openBlock(), createBlock(_component_a_cascader, mergeProps({
|
|
35908
|
+
value: selectedPath.value,
|
|
35909
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => selectedPath.value = $event),
|
|
35910
|
+
options: options.value,
|
|
35911
|
+
"expand-trigger": "hover",
|
|
35912
|
+
placeholder: _ctx.$t("uc_common.plsSelect"),
|
|
35913
|
+
"change-on-select": "",
|
|
35914
|
+
onChange: handleChange
|
|
35915
|
+
}, _ctx.$attrs), null, 16, ["value", "options", "placeholder"]);
|
|
35916
|
+
};
|
|
35917
|
+
}
|
|
35918
|
+
};
|
|
35919
|
+
const BranchSelect = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/BranchSelectEdit.vue"]]);
|
|
35920
|
+
const _hoisted_1$d = { class: "add-user" };
|
|
35849
35921
|
const _hoisted_2$8 = { style: { "font-size": "12px", "color": "#86909c", "margin-left": "8px" } };
|
|
35850
35922
|
const _hoisted_3$5 = { style: { "font-size": "12px", "color": "#86909c", "margin-left": "8px" } };
|
|
35851
35923
|
const _hoisted_4$4 = ["onClick"];
|
|
@@ -35869,7 +35941,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
35869
35941
|
orgName: "",
|
|
35870
35942
|
userCode: "",
|
|
35871
35943
|
userName: "",
|
|
35872
|
-
branchId:
|
|
35944
|
+
branchId: "",
|
|
35873
35945
|
deptId: [],
|
|
35874
35946
|
userDesc: "",
|
|
35875
35947
|
mobile: "",
|
|
@@ -35877,7 +35949,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
35877
35949
|
roleId: [],
|
|
35878
35950
|
roleIdOthers: []
|
|
35879
35951
|
});
|
|
35880
|
-
const data =
|
|
35952
|
+
const data = ref({});
|
|
35881
35953
|
const roleId = ref("");
|
|
35882
35954
|
const roleIdOthers = ref([]);
|
|
35883
35955
|
const roles = ref([]);
|
|
@@ -35933,44 +36005,40 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
35933
36005
|
const resetForm = () => {
|
|
35934
36006
|
formRef.value && formRef.value.resetFields();
|
|
35935
36007
|
};
|
|
35936
|
-
function
|
|
35937
|
-
|
|
35938
|
-
return [];
|
|
35939
|
-
}
|
|
35940
|
-
const result = [];
|
|
35941
|
-
for (let i = 0; i < str.length; i += 3) {
|
|
35942
|
-
result.push(str.substring(0, i + 3));
|
|
35943
|
-
}
|
|
35944
|
-
return result;
|
|
36008
|
+
function handleBranchSelectChange(val) {
|
|
36009
|
+
form.value.branchId = val || "";
|
|
35945
36010
|
}
|
|
35946
36011
|
const initData = async () => {
|
|
35947
36012
|
const { result } = await getUserUpdateLoad({ userId: props.params.userId });
|
|
35948
|
-
|
|
35949
|
-
|
|
35950
|
-
|
|
35951
|
-
|
|
35952
|
-
|
|
35953
|
-
|
|
36013
|
+
data.value = {
|
|
36014
|
+
...result,
|
|
36015
|
+
...{
|
|
36016
|
+
deptId: result.deptId ? [result.deptId + ""] : [],
|
|
36017
|
+
roleId: result.roleId ? [result.roleId + ""] : [],
|
|
36018
|
+
roleIdOthers: result.roleIdOthers ? result.roleIdOthers.split(",") : [],
|
|
36019
|
+
branchId: result.branchId
|
|
36020
|
+
}
|
|
36021
|
+
};
|
|
35954
36022
|
branchDisabled.value = result.businessFlag === "1";
|
|
35955
36023
|
roleId.value = result.roleId;
|
|
35956
36024
|
roleIdOthers.value = !result.roleIdOthers ? [] : result.roleIdOthers.split(",");
|
|
35957
|
-
|
|
36025
|
+
form.value = data.value;
|
|
35958
36026
|
};
|
|
35959
36027
|
const onCancel = () => {
|
|
35960
36028
|
visible.value = false;
|
|
35961
36029
|
roleId.value = "";
|
|
35962
36030
|
resetForm();
|
|
35963
|
-
|
|
36031
|
+
data.value = {
|
|
35964
36032
|
userCode: "",
|
|
35965
36033
|
userName: "",
|
|
35966
|
-
branchId:
|
|
36034
|
+
branchId: "",
|
|
35967
36035
|
deptId: [],
|
|
35968
36036
|
userDesc: "",
|
|
35969
36037
|
mobile: "",
|
|
35970
36038
|
email: "",
|
|
35971
36039
|
roleId: [],
|
|
35972
36040
|
roleIdOthers: []
|
|
35973
|
-
}
|
|
36041
|
+
};
|
|
35974
36042
|
emit("cancel");
|
|
35975
36043
|
};
|
|
35976
36044
|
const onSubmit = () => {
|
|
@@ -35978,7 +36046,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
35978
36046
|
const formData = Object.assign({}, form.value);
|
|
35979
36047
|
formData.roleId = formData.roleId[0];
|
|
35980
36048
|
formData.roleIdOthers = formData.roleIdOthers.join(",");
|
|
35981
|
-
formData.branchId = formData.branchId.length ? formData.branchId[formData.branchId.length - 1] : "";
|
|
35982
36049
|
if (props.params.opType == "2") {
|
|
35983
36050
|
const res = await setUserUpdate(formData);
|
|
35984
36051
|
if (res.result) {
|
|
@@ -36080,299 +36147,294 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
36080
36147
|
const _component_a_form = Form;
|
|
36081
36148
|
const _component_a_button = Button$1;
|
|
36082
36149
|
const _component_a_space = Space;
|
|
36083
|
-
return openBlock(), createElementBlock(
|
|
36084
|
-
|
|
36085
|
-
|
|
36086
|
-
|
|
36087
|
-
|
|
36088
|
-
|
|
36089
|
-
|
|
36090
|
-
|
|
36091
|
-
|
|
36092
|
-
|
|
36093
|
-
|
|
36094
|
-
|
|
36095
|
-
|
|
36096
|
-
|
|
36097
|
-
|
|
36098
|
-
|
|
36099
|
-
|
|
36100
|
-
|
|
36101
|
-
|
|
36102
|
-
|
|
36103
|
-
|
|
36104
|
-
|
|
36105
|
-
|
|
36106
|
-
|
|
36107
|
-
|
|
36108
|
-
|
|
36109
|
-
|
|
36110
|
-
|
|
36111
|
-
|
|
36112
|
-
|
|
36113
|
-
|
|
36114
|
-
|
|
36115
|
-
|
|
36116
|
-
|
|
36117
|
-
|
|
36118
|
-
|
|
36119
|
-
|
|
36120
|
-
|
|
36121
|
-
|
|
36122
|
-
|
|
36123
|
-
|
|
36124
|
-
|
|
36125
|
-
|
|
36126
|
-
|
|
36127
|
-
|
|
36128
|
-
|
|
36129
|
-
|
|
36130
|
-
|
|
36131
|
-
|
|
36132
|
-
|
|
36133
|
-
|
|
36134
|
-
|
|
36135
|
-
|
|
36136
|
-
|
|
36137
|
-
|
|
36138
|
-
|
|
36139
|
-
|
|
36140
|
-
|
|
36141
|
-
|
|
36142
|
-
|
|
36143
|
-
|
|
36144
|
-
|
|
36145
|
-
|
|
36146
|
-
|
|
36147
|
-
|
|
36148
|
-
|
|
36149
|
-
|
|
36150
|
-
|
|
36151
|
-
|
|
36152
|
-
|
|
36153
|
-
|
|
36154
|
-
|
|
36155
|
-
|
|
36156
|
-
|
|
36157
|
-
|
|
36158
|
-
|
|
36159
|
-
|
|
36160
|
-
|
|
36161
|
-
|
|
36162
|
-
|
|
36163
|
-
|
|
36164
|
-
|
|
36165
|
-
|
|
36166
|
-
|
|
36167
|
-
|
|
36168
|
-
|
|
36169
|
-
|
|
36170
|
-
|
|
36171
|
-
|
|
36172
|
-
|
|
36173
|
-
|
|
36174
|
-
|
|
36175
|
-
|
|
36176
|
-
|
|
36177
|
-
|
|
36178
|
-
|
|
36179
|
-
|
|
36180
|
-
|
|
36181
|
-
|
|
36182
|
-
|
|
36183
|
-
|
|
36184
|
-
|
|
36185
|
-
|
|
36186
|
-
|
|
36187
|
-
|
|
36188
|
-
|
|
36189
|
-
|
|
36190
|
-
|
|
36191
|
-
|
|
36192
|
-
|
|
36193
|
-
|
|
36194
|
-
|
|
36195
|
-
|
|
36196
|
-
|
|
36197
|
-
|
|
36198
|
-
|
|
36199
|
-
|
|
36200
|
-
|
|
36201
|
-
|
|
36202
|
-
|
|
36203
|
-
|
|
36204
|
-
|
|
36205
|
-
|
|
36206
|
-
|
|
36207
|
-
|
|
36208
|
-
|
|
36209
|
-
|
|
36210
|
-
|
|
36211
|
-
|
|
36212
|
-
|
|
36213
|
-
|
|
36214
|
-
|
|
36215
|
-
|
|
36216
|
-
|
|
36217
|
-
|
|
36218
|
-
|
|
36219
|
-
|
|
36220
|
-
|
|
36221
|
-
|
|
36222
|
-
|
|
36223
|
-
|
|
36224
|
-
|
|
36225
|
-
|
|
36226
|
-
|
|
36227
|
-
|
|
36228
|
-
|
|
36229
|
-
|
|
36230
|
-
|
|
36231
|
-
|
|
36232
|
-
|
|
36233
|
-
|
|
36234
|
-
|
|
36235
|
-
|
|
36236
|
-
|
|
36237
|
-
|
|
36238
|
-
|
|
36239
|
-
|
|
36240
|
-
|
|
36241
|
-
|
|
36242
|
-
|
|
36243
|
-
|
|
36244
|
-
|
|
36245
|
-
|
|
36246
|
-
|
|
36247
|
-
|
|
36248
|
-
|
|
36249
|
-
|
|
36250
|
-
|
|
36251
|
-
|
|
36252
|
-
"
|
|
36253
|
-
|
|
36254
|
-
|
|
36255
|
-
|
|
36256
|
-
|
|
36257
|
-
|
|
36258
|
-
|
|
36259
|
-
|
|
36260
|
-
|
|
36261
|
-
|
|
36262
|
-
|
|
36263
|
-
|
|
36264
|
-
|
|
36265
|
-
|
|
36266
|
-
|
|
36267
|
-
|
|
36268
|
-
|
|
36269
|
-
|
|
36270
|
-
|
|
36271
|
-
|
|
36272
|
-
|
|
36273
|
-
|
|
36274
|
-
|
|
36275
|
-
|
|
36276
|
-
|
|
36277
|
-
|
|
36278
|
-
|
|
36279
|
-
|
|
36280
|
-
|
|
36281
|
-
|
|
36282
|
-
|
|
36283
|
-
|
|
36284
|
-
|
|
36285
|
-
|
|
36286
|
-
|
|
36287
|
-
|
|
36288
|
-
|
|
36289
|
-
|
|
36290
|
-
|
|
36291
|
-
|
|
36292
|
-
|
|
36293
|
-
|
|
36294
|
-
|
|
36295
|
-
|
|
36296
|
-
|
|
36297
|
-
|
|
36298
|
-
|
|
36299
|
-
|
|
36300
|
-
|
|
36301
|
-
|
|
36302
|
-
|
|
36303
|
-
|
|
36304
|
-
|
|
36305
|
-
|
|
36306
|
-
|
|
36307
|
-
|
|
36308
|
-
|
|
36309
|
-
|
|
36310
|
-
|
|
36311
|
-
|
|
36312
|
-
|
|
36313
|
-
|
|
36314
|
-
|
|
36315
|
-
|
|
36316
|
-
|
|
36317
|
-
|
|
36318
|
-
|
|
36319
|
-
|
|
36320
|
-
|
|
36321
|
-
|
|
36322
|
-
|
|
36323
|
-
|
|
36324
|
-
|
|
36325
|
-
|
|
36326
|
-
|
|
36327
|
-
|
|
36328
|
-
|
|
36329
|
-
|
|
36330
|
-
|
|
36331
|
-
|
|
36332
|
-
|
|
36333
|
-
|
|
36334
|
-
|
|
36335
|
-
|
|
36336
|
-
|
|
36337
|
-
|
|
36338
|
-
|
|
36339
|
-
|
|
36340
|
-
|
|
36341
|
-
|
|
36342
|
-
|
|
36343
|
-
|
|
36344
|
-
|
|
36345
|
-
|
|
36346
|
-
|
|
36347
|
-
|
|
36348
|
-
|
|
36349
|
-
|
|
36350
|
-
|
|
36351
|
-
|
|
36352
|
-
|
|
36353
|
-
|
|
36354
|
-
|
|
36355
|
-
|
|
36356
|
-
|
|
36357
|
-
|
|
36358
|
-
|
|
36359
|
-
|
|
36360
|
-
|
|
36361
|
-
|
|
36362
|
-
|
|
36363
|
-
|
|
36364
|
-
|
|
36365
|
-
|
|
36366
|
-
|
|
36367
|
-
|
|
36368
|
-
|
|
36369
|
-
|
|
36370
|
-
|
|
36371
|
-
_: 1
|
|
36372
|
-
})
|
|
36373
|
-
]),
|
|
36374
|
-
createCommentVNode(" </a-drawer> ")
|
|
36375
|
-
], 2112);
|
|
36150
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
36151
|
+
createVNode(_component_a_form, {
|
|
36152
|
+
model: form.value,
|
|
36153
|
+
ref_key: "formRef",
|
|
36154
|
+
ref: formRef,
|
|
36155
|
+
rules: rules.value,
|
|
36156
|
+
style: { "padding-bottom": "30px" },
|
|
36157
|
+
layout: "vertical"
|
|
36158
|
+
}, {
|
|
36159
|
+
default: withCtx(() => [
|
|
36160
|
+
props.params.opType == "2" ? (openBlock(), createBlock(_component_a_row, { key: 0 }, {
|
|
36161
|
+
default: withCtx(() => [
|
|
36162
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36163
|
+
default: withCtx(() => [
|
|
36164
|
+
createVNode(_component_a_form_item, { name: "userCode" }, {
|
|
36165
|
+
label: withCtx(() => [
|
|
36166
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.userCode")) + " ", 1),
|
|
36167
|
+
createElementVNode("span", _hoisted_2$8, toDisplayString(_ctx.$t("uc_user.pwdCodeSameNote")), 1)
|
|
36168
|
+
]),
|
|
36169
|
+
default: withCtx(() => [
|
|
36170
|
+
createVNode(_component_a_input, {
|
|
36171
|
+
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
36172
|
+
disabled: true,
|
|
36173
|
+
value: form.value.userCode,
|
|
36174
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.value.userCode = $event),
|
|
36175
|
+
autocomplete: "off"
|
|
36176
|
+
}, null, 8, ["placeholder", "value"])
|
|
36177
|
+
]),
|
|
36178
|
+
_: 1
|
|
36179
|
+
})
|
|
36180
|
+
]),
|
|
36181
|
+
_: 1
|
|
36182
|
+
})
|
|
36183
|
+
]),
|
|
36184
|
+
_: 1
|
|
36185
|
+
})) : createCommentVNode("v-if", true),
|
|
36186
|
+
props.params.opType == "1" ? (openBlock(), createBlock(_component_a_row, { key: 1 }, {
|
|
36187
|
+
default: withCtx(() => [
|
|
36188
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36189
|
+
default: withCtx(() => [
|
|
36190
|
+
createVNode(_component_a_form_item, {
|
|
36191
|
+
name: "userCode",
|
|
36192
|
+
rules: [
|
|
36193
|
+
{
|
|
36194
|
+
required: true,
|
|
36195
|
+
trigger: ["blur", "change"],
|
|
36196
|
+
validator: handleUserCodeValidator
|
|
36197
|
+
}
|
|
36198
|
+
]
|
|
36199
|
+
}, {
|
|
36200
|
+
label: withCtx(() => [
|
|
36201
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.userCode")) + " ", 1),
|
|
36202
|
+
createElementVNode("span", _hoisted_3$5, toDisplayString(_ctx.$t("uc_user.pwdCodeSameNote")), 1)
|
|
36203
|
+
]),
|
|
36204
|
+
default: withCtx(() => [
|
|
36205
|
+
createVNode(_component_a_input, {
|
|
36206
|
+
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
36207
|
+
value: form.value.userCode,
|
|
36208
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.userCode = $event),
|
|
36209
|
+
maxlength: 64,
|
|
36210
|
+
autocomplete: "off"
|
|
36211
|
+
}, null, 8, ["placeholder", "value"])
|
|
36212
|
+
]),
|
|
36213
|
+
_: 1
|
|
36214
|
+
}, 8, ["rules"])
|
|
36215
|
+
]),
|
|
36216
|
+
_: 1
|
|
36217
|
+
})
|
|
36218
|
+
]),
|
|
36219
|
+
_: 1
|
|
36220
|
+
})) : createCommentVNode("v-if", true),
|
|
36221
|
+
createVNode(_component_a_row, null, {
|
|
36222
|
+
default: withCtx(() => [
|
|
36223
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36224
|
+
default: withCtx(() => [
|
|
36225
|
+
createVNode(_component_a_form_item, {
|
|
36226
|
+
label: _ctx.$t("uc_user.userName"),
|
|
36227
|
+
name: "userName"
|
|
36228
|
+
}, {
|
|
36229
|
+
default: withCtx(() => [
|
|
36230
|
+
createVNode(_component_a_input, {
|
|
36231
|
+
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
36232
|
+
value: form.value.userName,
|
|
36233
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.value.userName = $event),
|
|
36234
|
+
maxlength: 64,
|
|
36235
|
+
autocomplete: "off"
|
|
36236
|
+
}, null, 8, ["placeholder", "value"])
|
|
36237
|
+
]),
|
|
36238
|
+
_: 1
|
|
36239
|
+
}, 8, ["label"])
|
|
36240
|
+
]),
|
|
36241
|
+
_: 1
|
|
36242
|
+
})
|
|
36243
|
+
]),
|
|
36244
|
+
_: 1
|
|
36245
|
+
}),
|
|
36246
|
+
createVNode(_component_a_row, null, {
|
|
36247
|
+
default: withCtx(() => [
|
|
36248
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36249
|
+
default: withCtx(() => [
|
|
36250
|
+
createVNode(_component_a_form_item, {
|
|
36251
|
+
label: _ctx.$t("uc_user.deptBelong"),
|
|
36252
|
+
name: "branchId"
|
|
36253
|
+
}, {
|
|
36254
|
+
default: withCtx(() => [
|
|
36255
|
+
createVNode(BranchSelect, {
|
|
36256
|
+
disabled: branchDisabled.value,
|
|
36257
|
+
initValue: form.value.branchId,
|
|
36258
|
+
placeholder: _ctx.$t("uc_common.plsSelect"),
|
|
36259
|
+
onCustomChange: handleBranchSelectChange
|
|
36260
|
+
}, null, 8, ["disabled", "initValue", "placeholder"])
|
|
36261
|
+
]),
|
|
36262
|
+
_: 1
|
|
36263
|
+
}, 8, ["label"])
|
|
36264
|
+
]),
|
|
36265
|
+
_: 1
|
|
36266
|
+
})
|
|
36267
|
+
]),
|
|
36268
|
+
_: 1
|
|
36269
|
+
}),
|
|
36270
|
+
createVNode(_component_a_row, null, {
|
|
36271
|
+
default: withCtx(() => [
|
|
36272
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36273
|
+
default: withCtx(() => [
|
|
36274
|
+
createVNode(_component_a_form_item, {
|
|
36275
|
+
label: _ctx.$t("uc_user.roleMain"),
|
|
36276
|
+
name: "roleId"
|
|
36277
|
+
}, {
|
|
36278
|
+
default: withCtx(() => [
|
|
36279
|
+
createVNode(__unplugin_components_2, {
|
|
36280
|
+
placeholder: _ctx.$t("uc_common.plsSelect"),
|
|
36281
|
+
mode: "combobox",
|
|
36282
|
+
value: form.value.roleId,
|
|
36283
|
+
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => form.value.roleId = $event),
|
|
36284
|
+
onChange: handleRoleSelectChange
|
|
36285
|
+
}, null, 8, ["placeholder", "value"])
|
|
36286
|
+
]),
|
|
36287
|
+
_: 1
|
|
36288
|
+
}, 8, ["label"])
|
|
36289
|
+
]),
|
|
36290
|
+
_: 1
|
|
36291
|
+
})
|
|
36292
|
+
]),
|
|
36293
|
+
_: 1
|
|
36294
|
+
}),
|
|
36295
|
+
createVNode(_component_a_row, null, {
|
|
36296
|
+
default: withCtx(() => [
|
|
36297
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36298
|
+
default: withCtx(() => [
|
|
36299
|
+
createVNode(_component_a_form_item, {
|
|
36300
|
+
label: _ctx.$t("uc_user.othersRole"),
|
|
36301
|
+
name: "roleIdOthers",
|
|
36302
|
+
style: { "width": "400px" }
|
|
36303
|
+
}, {
|
|
36304
|
+
default: withCtx(() => [
|
|
36305
|
+
createVNode(_component_a_select, {
|
|
36306
|
+
value: form.value.roleIdOthers,
|
|
36307
|
+
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => form.value.roleIdOthers = $event),
|
|
36308
|
+
mode: "multiple",
|
|
36309
|
+
placeholder: _ctx.$t("uc_common.plsSelect"),
|
|
36310
|
+
options: rolesList.value,
|
|
36311
|
+
allowClear: "",
|
|
36312
|
+
showArrow: "",
|
|
36313
|
+
dropdownRender,
|
|
36314
|
+
class: "smart-tags-select",
|
|
36315
|
+
"show-search": "",
|
|
36316
|
+
"filter-option": filterOption
|
|
36317
|
+
}, {
|
|
36318
|
+
optionRender: withCtx(({ label, value }) => [
|
|
36319
|
+
createElementVNode("div", {
|
|
36320
|
+
onClick: withModifiers(() => toggleOption(value), ["stop"])
|
|
36321
|
+
}, [
|
|
36322
|
+
createVNode(_component_a_checkbox, {
|
|
36323
|
+
checked: form.value.roleIdOthers.includes(value),
|
|
36324
|
+
style: { "margin-right": "8px" },
|
|
36325
|
+
onClick: _cache[4] || (_cache[4] = withModifiers(() => {
|
|
36326
|
+
}, ["stop"]))
|
|
36327
|
+
}, null, 8, ["checked"]),
|
|
36328
|
+
createElementVNode("span", null, toDisplayString(label), 1)
|
|
36329
|
+
], 8, _hoisted_4$4)
|
|
36330
|
+
]),
|
|
36331
|
+
_: 1
|
|
36332
|
+
}, 8, ["value", "placeholder", "options"])
|
|
36333
|
+
]),
|
|
36334
|
+
_: 1
|
|
36335
|
+
}, 8, ["label"])
|
|
36336
|
+
]),
|
|
36337
|
+
_: 1
|
|
36338
|
+
})
|
|
36339
|
+
]),
|
|
36340
|
+
_: 1
|
|
36341
|
+
}),
|
|
36342
|
+
createVNode(_component_a_row, null, {
|
|
36343
|
+
default: withCtx(() => [
|
|
36344
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36345
|
+
default: withCtx(() => [
|
|
36346
|
+
createVNode(_component_a_form_item, {
|
|
36347
|
+
label: _ctx.$t("uc_user.mobile"),
|
|
36348
|
+
name: "mobile"
|
|
36349
|
+
}, {
|
|
36350
|
+
default: withCtx(() => [
|
|
36351
|
+
createVNode(_component_a_input, {
|
|
36352
|
+
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
36353
|
+
value: form.value.mobile,
|
|
36354
|
+
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.value.mobile = $event),
|
|
36355
|
+
autocomplete: "off"
|
|
36356
|
+
}, null, 8, ["placeholder", "value"])
|
|
36357
|
+
]),
|
|
36358
|
+
_: 1
|
|
36359
|
+
}, 8, ["label"])
|
|
36360
|
+
]),
|
|
36361
|
+
_: 1
|
|
36362
|
+
})
|
|
36363
|
+
]),
|
|
36364
|
+
_: 1
|
|
36365
|
+
}),
|
|
36366
|
+
createVNode(_component_a_row, null, {
|
|
36367
|
+
default: withCtx(() => [
|
|
36368
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36369
|
+
default: withCtx(() => [
|
|
36370
|
+
createVNode(_component_a_form_item, {
|
|
36371
|
+
label: _ctx.$t("uc_user.email"),
|
|
36372
|
+
name: "email"
|
|
36373
|
+
}, {
|
|
36374
|
+
default: withCtx(() => [
|
|
36375
|
+
createVNode(_component_a_input, {
|
|
36376
|
+
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
36377
|
+
value: form.value.email,
|
|
36378
|
+
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.value.email = $event),
|
|
36379
|
+
autocomplete: "off"
|
|
36380
|
+
}, null, 8, ["placeholder", "value"])
|
|
36381
|
+
]),
|
|
36382
|
+
_: 1
|
|
36383
|
+
}, 8, ["label"])
|
|
36384
|
+
]),
|
|
36385
|
+
_: 1
|
|
36386
|
+
})
|
|
36387
|
+
]),
|
|
36388
|
+
_: 1
|
|
36389
|
+
}),
|
|
36390
|
+
createVNode(_component_a_row, null, {
|
|
36391
|
+
default: withCtx(() => [
|
|
36392
|
+
createVNode(_component_a_col, { span: 24 }, {
|
|
36393
|
+
default: withCtx(() => [
|
|
36394
|
+
createVNode(_component_a_form_item, {
|
|
36395
|
+
label: _ctx.$t("uc_user.userDesc"),
|
|
36396
|
+
name: "userDesc"
|
|
36397
|
+
}, {
|
|
36398
|
+
default: withCtx(() => [
|
|
36399
|
+
createVNode(_component_a_input, {
|
|
36400
|
+
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
36401
|
+
value: form.value.userDesc,
|
|
36402
|
+
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => form.value.userDesc = $event),
|
|
36403
|
+
autocomplete: "off"
|
|
36404
|
+
}, null, 8, ["placeholder", "value"])
|
|
36405
|
+
]),
|
|
36406
|
+
_: 1
|
|
36407
|
+
}, 8, ["label"])
|
|
36408
|
+
]),
|
|
36409
|
+
_: 1
|
|
36410
|
+
})
|
|
36411
|
+
]),
|
|
36412
|
+
_: 1
|
|
36413
|
+
})
|
|
36414
|
+
]),
|
|
36415
|
+
_: 1
|
|
36416
|
+
}, 8, ["model", "rules"]),
|
|
36417
|
+
createVNode(_component_a_space, { class: "drawer-btns" }, {
|
|
36418
|
+
default: withCtx(() => [
|
|
36419
|
+
createVNode(_component_a_button, { onClick: onCancel }, {
|
|
36420
|
+
default: withCtx(() => [
|
|
36421
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_common.btnCancel")), 1)
|
|
36422
|
+
]),
|
|
36423
|
+
_: 1
|
|
36424
|
+
}),
|
|
36425
|
+
createVNode(_component_a_button, {
|
|
36426
|
+
onClick: onSubmit,
|
|
36427
|
+
type: "primary"
|
|
36428
|
+
}, {
|
|
36429
|
+
default: withCtx(() => [
|
|
36430
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_common.btnSubmit")), 1)
|
|
36431
|
+
]),
|
|
36432
|
+
_: 1
|
|
36433
|
+
})
|
|
36434
|
+
]),
|
|
36435
|
+
_: 1
|
|
36436
|
+
})
|
|
36437
|
+
]);
|
|
36376
36438
|
};
|
|
36377
36439
|
}
|
|
36378
36440
|
});
|
|
@@ -38254,7 +38316,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
38254
38316
|
if (props.dictType) {
|
|
38255
38317
|
fetchDict();
|
|
38256
38318
|
}
|
|
38257
|
-
watch(
|
|
38319
|
+
watch$1(
|
|
38258
38320
|
() => dictMap.value,
|
|
38259
38321
|
() => {
|
|
38260
38322
|
if (dictMapModel.value && typeof dictMapModel.value === "object") {
|
|
@@ -38692,7 +38754,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
38692
38754
|
name: "branchId"
|
|
38693
38755
|
}, {
|
|
38694
38756
|
default: withCtx(() => [
|
|
38695
|
-
createVNode(BranchSelect, {
|
|
38757
|
+
createVNode(BranchSelect$1, {
|
|
38696
38758
|
value: queryParam.branchId,
|
|
38697
38759
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => queryParam.branchId = $event)
|
|
38698
38760
|
}, null, 8, ["value"])
|
|
@@ -41999,13 +42061,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
41999
42061
|
}
|
|
42000
42062
|
emit("loaded", orgType.value);
|
|
42001
42063
|
};
|
|
42002
|
-
watch(
|
|
42064
|
+
watch$1(
|
|
42003
42065
|
() => props.value,
|
|
42004
42066
|
(val) => {
|
|
42005
42067
|
val && val[0] ? currValue.value = val : currValue.value = [];
|
|
42006
42068
|
}
|
|
42007
42069
|
);
|
|
42008
|
-
watch(isopen, (val) => {
|
|
42070
|
+
watch$1(isopen, (val) => {
|
|
42009
42071
|
if (!val) {
|
|
42010
42072
|
emit("click");
|
|
42011
42073
|
}
|
|
@@ -42114,7 +42176,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
42114
42176
|
const { result } = await getTimezoneCombo({});
|
|
42115
42177
|
TimeZome.value = result;
|
|
42116
42178
|
};
|
|
42117
|
-
watch(
|
|
42179
|
+
watch$1(
|
|
42118
42180
|
() => props.value,
|
|
42119
42181
|
(value) => {
|
|
42120
42182
|
value && value[0] ? currValue.value = value : null;
|
|
@@ -42191,7 +42253,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
42191
42253
|
emit("update:value", value);
|
|
42192
42254
|
}
|
|
42193
42255
|
};
|
|
42194
|
-
watch(
|
|
42256
|
+
watch$1(
|
|
42195
42257
|
() => props.value,
|
|
42196
42258
|
(value) => {
|
|
42197
42259
|
value && value[0] ? currValue.value = value : null;
|
|
@@ -42301,7 +42363,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
42301
42363
|
onPopupVisibleChange,
|
|
42302
42364
|
getObject
|
|
42303
42365
|
});
|
|
42304
|
-
watch(
|
|
42366
|
+
watch$1(
|
|
42305
42367
|
() => props.defaultVal,
|
|
42306
42368
|
(val) => {
|
|
42307
42369
|
initSelect(val);
|
|
@@ -44036,7 +44098,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
44036
44098
|
const onChange = () => {
|
|
44037
44099
|
emit("change", seaValue.value);
|
|
44038
44100
|
};
|
|
44039
|
-
watch(
|
|
44101
|
+
watch$1(
|
|
44040
44102
|
() => props.value,
|
|
44041
44103
|
(v) => {
|
|
44042
44104
|
seaValue.value = v;
|
|
@@ -44534,7 +44596,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
44534
44596
|
date.setMinutes(date.getMinutes() + offset.value);
|
|
44535
44597
|
return dayjs(dayjs(date), format.value);
|
|
44536
44598
|
}
|
|
44537
|
-
watch(
|
|
44599
|
+
watch$1(
|
|
44538
44600
|
() => props.value,
|
|
44539
44601
|
(val) => {
|
|
44540
44602
|
curValue.value = val ? formatDate(val) : null;
|
|
@@ -44597,7 +44659,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44597
44659
|
date.setMinutes(date.getMinutes() + offset);
|
|
44598
44660
|
return toFormatDate(date, dateFormat.value);
|
|
44599
44661
|
};
|
|
44600
|
-
watch(
|
|
44662
|
+
watch$1(
|
|
44601
44663
|
() => props.defaultValue,
|
|
44602
44664
|
(val) => {
|
|
44603
44665
|
curValue.value = formatDate(val);
|