@witlink/usercenter 1.2.69 → 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.
@@ -1,4 +1,4 @@
1
- import './assets/main.b000db64.css';var __defProp = Object.defineProperty;
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$H = /* @__PURE__ */ defineComponent({
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$H, [["__scopeId", "data-v-1d0da3f2"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/functions/AddMenu.vue"]]);
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$G = /* @__PURE__ */ defineComponent({
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$G, [["__scopeId", "data-v-04710d5f"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/functions/index.vue"]]);
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$F = /* @__PURE__ */ defineComponent({
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$F, [["__scopeId", "data-v-939f274f"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/inhe/input/InputTextarea.vue"]]);
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$E = /* @__PURE__ */ defineComponent({
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$E, [["__scopeId", "data-v-58074060"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/DeptEdit.vue"]]);
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$D = /* @__PURE__ */ defineComponent({
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$D, [["__scopeId", "data-v-db8da10b"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/BranchEdit.vue"]]);
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$C = /* @__PURE__ */ defineComponent({
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$C, [["__scopeId", "data-v-207f1e3e"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/BranDetail.vue"]]);
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$B = /* @__PURE__ */ defineComponent({
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$B, [["__scopeId", "data-v-7ab63a77"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/DeptDetail.vue"]]);
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$A = /* @__PURE__ */ defineComponent({
33747
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
33748
33748
  __name: "index",
33749
33749
  setup(__props, { expose: __expose }) {
33750
33750
  const { formatDate } = useSysParams();
@@ -33791,40 +33791,52 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
33791
33791
  const handleSelect = (value, option) => {
33792
33792
  queryParam.value.name = value;
33793
33793
  queryParam.value.id = option.id;
33794
+ queryById();
33794
33795
  };
33795
33796
  const selfId = ref(null);
33796
- const fetchChildListApi = (parentRow, j) => {
33797
- const params = {
33797
+ const fetchSearchInitList = async (parentRow) => {
33798
+ const res = await getRegionListAsync({
33798
33799
  parentId: parentRow.id,
33799
- page: j,
33800
+ page: 1,
33800
33801
  size: 10,
33801
- id: selfId.value ? selfId.value : null
33802
- };
33803
- return getRegionListAsync(params).then((res) => {
33804
- if (res.code === 0) {
33805
- const childs = res.result.list;
33806
- if (queryParam.value.id && queryParam.value.id === selfId.value) {
33807
- childs.push({
33808
- id: parentRow.id + "_loadMore_" + (j - 1),
33809
- parentId: parentRow.id,
33810
- name: t2("uc_organ.loadMore")
33811
- });
33812
- } else {
33813
- if (childs.length > 0 && res.result.hasMore) {
33814
- childs.push({
33815
- id: parentRow.id + "_loadMore_" + j,
33816
- parentId: parentRow.id,
33817
- name: t2("uc_organ.loadMore")
33818
- });
33819
- }
33820
- }
33821
- selfId.value = null;
33822
- return childs;
33823
- } else {
33824
- selfId.value = null;
33825
- return [];
33826
- }
33802
+ id: selfId.value
33827
33803
  });
33804
+ if (res.code !== 0)
33805
+ return [];
33806
+ const list = res.result.list || [];
33807
+ if (queryParam.value.id && queryParam.value.id === selfId.value) {
33808
+ list.push({
33809
+ id: `${parentRow.id}_loadMore_search`,
33810
+ parentId: parentRow.id,
33811
+ name: t2("uc_organ.loadMore"),
33812
+ _isLoadMore: true
33813
+ });
33814
+ selfId.value = null;
33815
+ }
33816
+ return list;
33817
+ };
33818
+ const fetchChildListApi = async (parentRow, page) => {
33819
+ const res = await getRegionListAsync({
33820
+ parentId: parentRow.id,
33821
+ page,
33822
+ size: 10,
33823
+ id: null
33824
+ });
33825
+ if (res.code !== 0)
33826
+ return [];
33827
+ let list = res.result.list || [];
33828
+ if (queryParam.value.id) {
33829
+ list = list.filter((item) => item.id !== queryParam.value.id);
33830
+ }
33831
+ if (res.result.hasMore) {
33832
+ list.push({
33833
+ id: `${parentRow.id}_loadMore_${page}`,
33834
+ parentId: parentRow.id,
33835
+ name: t2("uc_organ.loadMore"),
33836
+ _isLoadMore: true
33837
+ });
33838
+ }
33839
+ return list;
33828
33840
  };
33829
33841
  const treeConfig = reactive({
33830
33842
  transform: true,
@@ -33832,31 +33844,33 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
33832
33844
  parentField: "parentId",
33833
33845
  lazy: true,
33834
33846
  hasChild: "hasChild",
33835
- expandRowKeys: [],
33836
- loadMethod({ row }) {
33837
- return fetchChildListApi(row, 1);
33847
+ async loadMethod({ row }) {
33848
+ if (selfId.value && !row._searchInitLoaded) {
33849
+ row._searchInitLoaded = true;
33850
+ row._page = 1;
33851
+ const list2 = await fetchSearchInitList(row);
33852
+ row._lazyChildren = list2;
33853
+ return row._lazyChildren;
33854
+ }
33855
+ const page = row._page || 1;
33856
+ const list = await fetchChildListApi(row, page);
33857
+ if (!row._lazyChildren) {
33858
+ row._lazyChildren = [];
33859
+ }
33860
+ row._lazyChildren = row._lazyChildren.filter((item) => !item._isLoadMore);
33861
+ row._lazyChildren.push(...list);
33862
+ row._page = page + 1;
33863
+ return row._lazyChildren;
33838
33864
  }
33839
33865
  });
33840
33866
  const showMore = async (record) => {
33841
33867
  const parentRow = tableRef.value.getRowById(record.parentId);
33842
- const recordIdStr = record.id.toString();
33843
- const childs = await fetchChildListApi(
33844
- parentRow,
33845
- parseInt(recordIdStr.split("_loadMore_")[1]) + 1
33846
- );
33847
- if (queryParam.value.id) {
33848
- for (let i = 0; i < childs.length; i++) {
33849
- if (childs[i].id === queryParam.value.id) {
33850
- childs.splice(i, 1);
33851
- break;
33852
- }
33853
- }
33854
- }
33855
- tableRef.value.insertChildAt(childs, parentRow, record);
33856
- if (queryParam.value.id) {
33857
- parentRow.hasChild = false;
33858
- }
33868
+ if (!parentRow)
33869
+ return;
33859
33870
  tableRef.value.remove(record);
33871
+ parentRow._treeLoaded = false;
33872
+ await tableRef.value.setTreeExpand(parentRow, false);
33873
+ await tableRef.value.setTreeExpand(parentRow, true);
33860
33874
  };
33861
33875
  const showMoreOperation = (record) => {
33862
33876
  return [0, 1].includes(record.type) && (addShow.value || removeShow.value && record.deleteStatus == 0) && hideButtonArr.value.indexOf(record.id) === -1;
@@ -34004,17 +34018,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
34004
34018
  }
34005
34019
  };
34006
34020
  async function addOrDeleRefresh(row) {
34007
- if (row.children && row.children.length > 11) {
34008
- delete row.children;
34009
- await tableRef.value.setTreeExpand(row, false);
34010
- await tableRef.value.setTreeExpand(row, true);
34011
- } else {
34012
- const treeExpandRecords = tableRef.value.getTreeExpandRecords();
34013
- await tableRef.value.clearTreeExpandLoaded(row);
34014
- nextTick(() => {
34015
- tableRef.value.setTreeExpand(treeExpandRecords, true);
34016
- });
34017
- }
34021
+ row._page = 1;
34022
+ row._lazyChildren = [];
34023
+ const treeExpandRecords = tableRef.value.getTreeExpandRecords();
34024
+ await tableRef.value.clearTreeExpandLoaded(row);
34025
+ nextTick(() => {
34026
+ tableRef.value.setTreeExpand(treeExpandRecords, true);
34027
+ });
34018
34028
  }
34019
34029
  const onDelete = (record) => {
34020
34030
  if (record.type == "3") {
@@ -34081,7 +34091,6 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
34081
34091
  return (_ctx, _cache) => {
34082
34092
  const _component_a_auto_complete = AutoComplete;
34083
34093
  const _component_a_form_item = FormItem;
34084
- const _component_uc_btn_search = resolveComponent("uc-btn-search");
34085
34094
  const _component_a_button = Button$1;
34086
34095
  const _component_a_form = Form;
34087
34096
  const _component_a_tooltip = Tooltip;
@@ -34122,10 +34131,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
34122
34131
  _: 1
34123
34132
  }, 8, ["label"]),
34124
34133
  createElementVNode("div", _hoisted_3$7, [
34125
- createVNode(_component_uc_btn_search, {
34126
- onClick: queryById,
34127
- showInput: false
34128
- }),
34134
+ createCommentVNode(' <uc-btn-search\r\n @click="queryById"\r\n :showInput="false"\r\n ></uc-btn-search> '),
34129
34135
  createVNode(_component_a_button, {
34130
34136
  onClick: handleReset,
34131
34137
  style: { "margin-left": "8px" }
@@ -34174,7 +34180,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
34174
34180
  }, toDisplayString(_ctx.$t("uc_organ.type" + row.type)), 3),
34175
34181
  withDirectives(createVNode(_component_a_button, {
34176
34182
  type: "link",
34177
- onClick: ($event) => onDetail(row)
34183
+ onClick: ($event) => onDetail(row),
34184
+ class: "wrap-btn"
34178
34185
  }, {
34179
34186
  default: withCtx(() => [
34180
34187
  createTextVNode(toDisplayString(row.name), 1)
@@ -34183,7 +34190,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
34183
34190
  }, 1032, ["onClick"]), [
34184
34191
  [vShow, !row.operationPermissions && row.type != "3"]
34185
34192
  ]),
34186
- withDirectives(createElementVNode("span", { style: { "padding-left": "16px" } }, toDisplayString(row.name), 513), [
34193
+ withDirectives(createElementVNode("span", {
34194
+ style: { "padding-left": "16px" },
34195
+ class: "wrap-btn"
34196
+ }, toDisplayString(row.name), 513), [
34187
34197
  [vShow, !row.operationPermissions && row.type == "3"]
34188
34198
  ]),
34189
34199
  createVNode(_component_a_tooltip, { placement: "top" }, {
@@ -34532,9 +34542,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
34532
34542
  }
34533
34543
  });
34534
34544
  const index_vue_vue_type_style_index_0_scoped_32a76766_lang = "";
34535
- const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-32a76766"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/index.vue"]]);
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"]]);
34536
34546
  const index_vue_vue_type_style_index_0_scoped_6ed6a16f_lang = "";
34537
- const _sfc_main$z = Object.assign({
34547
+ const _sfc_main$A = Object.assign({
34538
34548
  inheritAttrs: false
34539
34549
  }, {
34540
34550
  __name: "index",
@@ -34636,7 +34646,7 @@ const _sfc_main$z = Object.assign({
34636
34646
  };
34637
34647
  }
34638
34648
  });
34639
- const STable = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-6ed6a16f"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/table/index.vue"]]);
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"]]);
34640
34650
  function getSearchList$1(params) {
34641
34651
  return handleRespPost({
34642
34652
  url: "/api/sys/role/search-list",
@@ -34753,7 +34763,7 @@ const _hoisted_24$1 = {
34753
34763
  key: 3,
34754
34764
  class: "no-auth-permission"
34755
34765
  };
34756
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
34766
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
34757
34767
  __name: "index",
34758
34768
  setup(__props) {
34759
34769
  const { hasPermissionId } = usePermissionId();
@@ -35270,7 +35280,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35270
35280
  getCurrentMenuAuthList(activeAuthId.value);
35271
35281
  }
35272
35282
  }
35273
- watch(
35283
+ watch$1(
35274
35284
  () => userStore.userLanguage,
35275
35285
  () => {
35276
35286
  if (!showTable.value) {
@@ -35642,7 +35652,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35642
35652
  }
35643
35653
  });
35644
35654
  const index_vue_vue_type_style_index_0_scoped_79d9b716_lang = "";
35645
- const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-79d9b716"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/role/index.vue"]]);
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"]]);
35646
35656
  function getSearchList(params) {
35647
35657
  return handleRespPost({
35648
35658
  url: "/api/sys/user/search-list",
@@ -35706,7 +35716,7 @@ function setUserResetPwd(params) {
35706
35716
  params
35707
35717
  });
35708
35718
  }
35709
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
35719
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35710
35720
  __name: "RoleSelect",
35711
35721
  props: {
35712
35722
  mode: {
@@ -35760,7 +35770,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35760
35770
  emit("update:value", value);
35761
35771
  }
35762
35772
  };
35763
- watch(
35773
+ watch$1(
35764
35774
  () => props.value,
35765
35775
  (value) => {
35766
35776
  if (value && value.length > 0 && value[0]) {
@@ -35808,8 +35818,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35808
35818
  };
35809
35819
  }
35810
35820
  });
35811
- const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/RoleSelect.vue"]]);
35812
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
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({
35813
35823
  __name: "BranchSelect",
35814
35824
  setup(__props) {
35815
35825
  const options = ref([]);
@@ -35834,8 +35844,80 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
35834
35844
  };
35835
35845
  }
35836
35846
  });
35837
- const BranchSelect = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/BranchSelect.vue"]]);
35838
- const _hoisted_1$d = { class: "add-menu" };
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" };
35839
35921
  const _hoisted_2$8 = { style: { "font-size": "12px", "color": "#86909c", "margin-left": "8px" } };
35840
35922
  const _hoisted_3$5 = { style: { "font-size": "12px", "color": "#86909c", "margin-left": "8px" } };
35841
35923
  const _hoisted_4$4 = ["onClick"];
@@ -35859,7 +35941,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35859
35941
  orgName: "",
35860
35942
  userCode: "",
35861
35943
  userName: "",
35862
- branchId: [],
35944
+ branchId: "",
35863
35945
  deptId: [],
35864
35946
  userDesc: "",
35865
35947
  mobile: "",
@@ -35867,7 +35949,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35867
35949
  roleId: [],
35868
35950
  roleIdOthers: []
35869
35951
  });
35870
- const data = reactive({});
35952
+ const data = ref({});
35871
35953
  const roleId = ref("");
35872
35954
  const roleIdOthers = ref([]);
35873
35955
  const roles = ref([]);
@@ -35923,44 +36005,40 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35923
36005
  const resetForm = () => {
35924
36006
  formRef.value && formRef.value.resetFields();
35925
36007
  };
35926
- function handleBranchInit(str) {
35927
- if (!str) {
35928
- return [];
35929
- }
35930
- const result = [];
35931
- for (let i = 0; i < str.length; i += 3) {
35932
- result.push(str.substring(0, i + 3));
35933
- }
35934
- return result;
36008
+ function handleBranchSelectChange(val) {
36009
+ form.value.branchId = val || "";
35935
36010
  }
35936
36011
  const initData = async () => {
35937
36012
  const { result } = await getUserUpdateLoad({ userId: props.params.userId });
35938
- Object.assign(data, result, {
35939
- deptId: result.deptId ? [result.deptId + ""] : [],
35940
- roleId: result.roleId ? [result.roleId + ""] : [],
35941
- roleIdOthers: result.roleIdOthers ? result.roleIdOthers.split(",") : [],
35942
- branchId: handleBranchInit(result.branchId)
35943
- });
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
+ };
35944
36022
  branchDisabled.value = result.businessFlag === "1";
35945
36023
  roleId.value = result.roleId;
35946
36024
  roleIdOthers.value = !result.roleIdOthers ? [] : result.roleIdOthers.split(",");
35947
- Object.assign(form.value, data);
36025
+ form.value = data.value;
35948
36026
  };
35949
36027
  const onCancel = () => {
35950
36028
  visible.value = false;
35951
36029
  roleId.value = "";
35952
36030
  resetForm();
35953
- Object.assign(data, {
36031
+ data.value = {
35954
36032
  userCode: "",
35955
36033
  userName: "",
35956
- branchId: [],
36034
+ branchId: "",
35957
36035
  deptId: [],
35958
36036
  userDesc: "",
35959
36037
  mobile: "",
35960
36038
  email: "",
35961
36039
  roleId: [],
35962
36040
  roleIdOthers: []
35963
- });
36041
+ };
35964
36042
  emit("cancel");
35965
36043
  };
35966
36044
  const onSubmit = () => {
@@ -35968,7 +36046,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35968
36046
  const formData = Object.assign({}, form.value);
35969
36047
  formData.roleId = formData.roleId[0];
35970
36048
  formData.roleIdOthers = formData.roleIdOthers.join(",");
35971
- formData.branchId = formData.branchId.length ? formData.branchId[formData.branchId.length - 1] : "";
35972
36049
  if (props.params.opType == "2") {
35973
36050
  const res = await setUserUpdate(formData);
35974
36051
  if (res.result) {
@@ -36070,299 +36147,294 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
36070
36147
  const _component_a_form = Form;
36071
36148
  const _component_a_button = Button$1;
36072
36149
  const _component_a_space = Space;
36073
- return openBlock(), createElementBlock(Fragment, null, [
36074
- createCommentVNode(` <a-drawer v-model:open="visible" @close="onCancel" :width="432" :title="$t('uc_user.title' + params.opType)"\r
36075
- :destroyOnClose="true"> `),
36076
- createElementVNode("div", _hoisted_1$d, [
36077
- createVNode(_component_a_form, {
36078
- model: form.value,
36079
- ref_key: "formRef",
36080
- ref: formRef,
36081
- rules: rules.value,
36082
- style: { "padding-bottom": "30px" },
36083
- layout: "vertical"
36084
- }, {
36085
- default: withCtx(() => [
36086
- props.params.opType == "2" ? (openBlock(), createBlock(_component_a_row, { key: 0 }, {
36087
- default: withCtx(() => [
36088
- createVNode(_component_a_col, { span: 24 }, {
36089
- default: withCtx(() => [
36090
- createVNode(_component_a_form_item, { name: "userCode" }, {
36091
- label: withCtx(() => [
36092
- createTextVNode(toDisplayString(_ctx.$t("uc_user.userCode")) + " ", 1),
36093
- createElementVNode("span", _hoisted_2$8, toDisplayString(_ctx.$t("uc_user.pwdCodeSameNote")), 1)
36094
- ]),
36095
- default: withCtx(() => [
36096
- createVNode(_component_a_input, {
36097
- placeholder: _ctx.$t("uc_common.plsEnter"),
36098
- disabled: true,
36099
- value: form.value.userCode,
36100
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.value.userCode = $event),
36101
- autocomplete: "off"
36102
- }, null, 8, ["placeholder", "value"])
36103
- ]),
36104
- _: 1
36105
- })
36106
- ]),
36107
- _: 1
36108
- })
36109
- ]),
36110
- _: 1
36111
- })) : createCommentVNode("v-if", true),
36112
- props.params.opType == "1" ? (openBlock(), createBlock(_component_a_row, { key: 1 }, {
36113
- default: withCtx(() => [
36114
- createVNode(_component_a_col, { span: 24 }, {
36115
- default: withCtx(() => [
36116
- createVNode(_component_a_form_item, {
36117
- name: "userCode",
36118
- rules: [
36119
- {
36120
- required: true,
36121
- trigger: ["blur", "change"],
36122
- validator: handleUserCodeValidator
36123
- }
36124
- ]
36125
- }, {
36126
- label: withCtx(() => [
36127
- createTextVNode(toDisplayString(_ctx.$t("uc_user.userCode")) + " ", 1),
36128
- createElementVNode("span", _hoisted_3$5, toDisplayString(_ctx.$t("uc_user.pwdCodeSameNote")), 1)
36129
- ]),
36130
- default: withCtx(() => [
36131
- createVNode(_component_a_input, {
36132
- placeholder: _ctx.$t("uc_common.plsEnter"),
36133
- value: form.value.userCode,
36134
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.userCode = $event),
36135
- maxlength: 64,
36136
- autocomplete: "off"
36137
- }, null, 8, ["placeholder", "value"])
36138
- ]),
36139
- _: 1
36140
- }, 8, ["rules"])
36141
- ]),
36142
- _: 1
36143
- })
36144
- ]),
36145
- _: 1
36146
- })) : createCommentVNode("v-if", true),
36147
- createVNode(_component_a_row, null, {
36148
- default: withCtx(() => [
36149
- createVNode(_component_a_col, { span: 24 }, {
36150
- default: withCtx(() => [
36151
- createVNode(_component_a_form_item, {
36152
- label: _ctx.$t("uc_user.userName"),
36153
- name: "userName"
36154
- }, {
36155
- default: withCtx(() => [
36156
- createVNode(_component_a_input, {
36157
- placeholder: _ctx.$t("uc_common.plsEnter"),
36158
- value: form.value.userName,
36159
- "onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.value.userName = $event),
36160
- maxlength: 64,
36161
- autocomplete: "off"
36162
- }, null, 8, ["placeholder", "value"])
36163
- ]),
36164
- _: 1
36165
- }, 8, ["label"])
36166
- ]),
36167
- _: 1
36168
- })
36169
- ]),
36170
- _: 1
36171
- }),
36172
- createVNode(_component_a_row, null, {
36173
- default: withCtx(() => [
36174
- createVNode(_component_a_col, { span: 24 }, {
36175
- default: withCtx(() => [
36176
- createVNode(_component_a_form_item, {
36177
- label: _ctx.$t("uc_user.deptBelong"),
36178
- name: "branchId"
36179
- }, {
36180
- default: withCtx(() => [
36181
- createVNode(BranchSelect, {
36182
- disabled: branchDisabled.value,
36183
- value: form.value.branchId,
36184
- "onUpdate:value": _cache[3] || (_cache[3] = ($event) => form.value.branchId = $event),
36185
- placeholder: _ctx.$t("uc_common.plsSelect")
36186
- }, null, 8, ["disabled", "value", "placeholder"])
36187
- ]),
36188
- _: 1
36189
- }, 8, ["label"])
36190
- ]),
36191
- _: 1
36192
- })
36193
- ]),
36194
- _: 1
36195
- }),
36196
- createVNode(_component_a_row, null, {
36197
- default: withCtx(() => [
36198
- createVNode(_component_a_col, { span: 24 }, {
36199
- default: withCtx(() => [
36200
- createVNode(_component_a_form_item, {
36201
- label: _ctx.$t("uc_user.roleMain"),
36202
- name: "roleId"
36203
- }, {
36204
- default: withCtx(() => [
36205
- createVNode(__unplugin_components_2, {
36206
- placeholder: _ctx.$t("uc_common.plsSelect"),
36207
- mode: "combobox",
36208
- value: form.value.roleId,
36209
- "onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.value.roleId = $event),
36210
- onChange: handleRoleSelectChange
36211
- }, null, 8, ["placeholder", "value"])
36212
- ]),
36213
- _: 1
36214
- }, 8, ["label"])
36215
- ]),
36216
- _: 1
36217
- })
36218
- ]),
36219
- _: 1
36220
- }),
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.othersRole"),
36227
- name: "roleIdOthers",
36228
- style: { "width": "400px" }
36229
- }, {
36230
- default: withCtx(() => [
36231
- createVNode(_component_a_select, {
36232
- value: form.value.roleIdOthers,
36233
- "onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.value.roleIdOthers = $event),
36234
- mode: "multiple",
36235
- placeholder: _ctx.$t("uc_common.plsSelect"),
36236
- options: rolesList.value,
36237
- allowClear: "",
36238
- showArrow: "",
36239
- dropdownRender,
36240
- class: "smart-tags-select",
36241
- "show-search": "",
36242
- "filter-option": filterOption
36243
- }, {
36244
- optionRender: withCtx(({ label, value }) => [
36245
- createElementVNode("div", {
36246
- onClick: withModifiers(() => toggleOption(value), ["stop"])
36247
- }, [
36248
- createVNode(_component_a_checkbox, {
36249
- checked: form.value.roleIdOthers.includes(value),
36250
- style: { "margin-right": "8px" },
36251
- onClick: _cache[5] || (_cache[5] = withModifiers(() => {
36252
- }, ["stop"]))
36253
- }, null, 8, ["checked"]),
36254
- createElementVNode("span", null, toDisplayString(label), 1)
36255
- ], 8, _hoisted_4$4)
36256
- ]),
36257
- _: 1
36258
- }, 8, ["value", "placeholder", "options"])
36259
- ]),
36260
- _: 1
36261
- }, 8, ["label"])
36262
- ]),
36263
- _: 1
36264
- })
36265
- ]),
36266
- _: 1
36267
- }),
36268
- createVNode(_component_a_row, null, {
36269
- default: withCtx(() => [
36270
- createVNode(_component_a_col, { span: 24 }, {
36271
- default: withCtx(() => [
36272
- createVNode(_component_a_form_item, {
36273
- label: _ctx.$t("uc_user.mobile"),
36274
- name: "mobile"
36275
- }, {
36276
- default: withCtx(() => [
36277
- createVNode(_component_a_input, {
36278
- placeholder: _ctx.$t("uc_common.plsEnter"),
36279
- value: form.value.mobile,
36280
- "onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.value.mobile = $event),
36281
- autocomplete: "off"
36282
- }, null, 8, ["placeholder", "value"])
36283
- ]),
36284
- _: 1
36285
- }, 8, ["label"])
36286
- ]),
36287
- _: 1
36288
- })
36289
- ]),
36290
- _: 1
36291
- }),
36292
- createVNode(_component_a_row, null, {
36293
- default: withCtx(() => [
36294
- createVNode(_component_a_col, { span: 24 }, {
36295
- default: withCtx(() => [
36296
- createVNode(_component_a_form_item, {
36297
- label: _ctx.$t("uc_user.email"),
36298
- name: "email"
36299
- }, {
36300
- default: withCtx(() => [
36301
- createVNode(_component_a_input, {
36302
- placeholder: _ctx.$t("uc_common.plsEnter"),
36303
- value: form.value.email,
36304
- "onUpdate:value": _cache[8] || (_cache[8] = ($event) => form.value.email = $event),
36305
- autocomplete: "off"
36306
- }, null, 8, ["placeholder", "value"])
36307
- ]),
36308
- _: 1
36309
- }, 8, ["label"])
36310
- ]),
36311
- _: 1
36312
- })
36313
- ]),
36314
- _: 1
36315
- }),
36316
- createVNode(_component_a_row, null, {
36317
- default: withCtx(() => [
36318
- createVNode(_component_a_col, { span: 24 }, {
36319
- default: withCtx(() => [
36320
- createVNode(_component_a_form_item, {
36321
- label: _ctx.$t("uc_user.userDesc"),
36322
- name: "userDesc"
36323
- }, {
36324
- default: withCtx(() => [
36325
- createVNode(_component_a_input, {
36326
- placeholder: _ctx.$t("uc_common.plsEnter"),
36327
- value: form.value.userDesc,
36328
- "onUpdate:value": _cache[9] || (_cache[9] = ($event) => form.value.userDesc = $event),
36329
- autocomplete: "off"
36330
- }, null, 8, ["placeholder", "value"])
36331
- ]),
36332
- _: 1
36333
- }, 8, ["label"])
36334
- ]),
36335
- _: 1
36336
- })
36337
- ]),
36338
- _: 1
36339
- })
36340
- ]),
36341
- _: 1
36342
- }, 8, ["model", "rules"]),
36343
- createVNode(_component_a_space, { class: "drawer-btns" }, {
36344
- default: withCtx(() => [
36345
- createVNode(_component_a_button, { onClick: onCancel }, {
36346
- default: withCtx(() => [
36347
- createTextVNode(toDisplayString(_ctx.$t("uc_common.btnCancel")), 1)
36348
- ]),
36349
- _: 1
36350
- }),
36351
- createVNode(_component_a_button, {
36352
- onClick: onSubmit,
36353
- type: "primary"
36354
- }, {
36355
- default: withCtx(() => [
36356
- createTextVNode(toDisplayString(_ctx.$t("uc_common.btnSubmit")), 1)
36357
- ]),
36358
- _: 1
36359
- })
36360
- ]),
36361
- _: 1
36362
- })
36363
- ]),
36364
- createCommentVNode(" </a-drawer> ")
36365
- ], 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
+ ]);
36366
36438
  };
36367
36439
  }
36368
36440
  });
@@ -38244,7 +38316,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
38244
38316
  if (props.dictType) {
38245
38317
  fetchDict();
38246
38318
  }
38247
- watch(
38319
+ watch$1(
38248
38320
  () => dictMap.value,
38249
38321
  () => {
38250
38322
  if (dictMapModel.value && typeof dictMapModel.value === "object") {
@@ -38682,7 +38754,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
38682
38754
  name: "branchId"
38683
38755
  }, {
38684
38756
  default: withCtx(() => [
38685
- createVNode(BranchSelect, {
38757
+ createVNode(BranchSelect$1, {
38686
38758
  value: queryParam.branchId,
38687
38759
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => queryParam.branchId = $event)
38688
38760
  }, null, 8, ["value"])
@@ -41989,13 +42061,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
41989
42061
  }
41990
42062
  emit("loaded", orgType.value);
41991
42063
  };
41992
- watch(
42064
+ watch$1(
41993
42065
  () => props.value,
41994
42066
  (val) => {
41995
42067
  val && val[0] ? currValue.value = val : currValue.value = [];
41996
42068
  }
41997
42069
  );
41998
- watch(isopen, (val) => {
42070
+ watch$1(isopen, (val) => {
41999
42071
  if (!val) {
42000
42072
  emit("click");
42001
42073
  }
@@ -42104,7 +42176,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
42104
42176
  const { result } = await getTimezoneCombo({});
42105
42177
  TimeZome.value = result;
42106
42178
  };
42107
- watch(
42179
+ watch$1(
42108
42180
  () => props.value,
42109
42181
  (value) => {
42110
42182
  value && value[0] ? currValue.value = value : null;
@@ -42181,7 +42253,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
42181
42253
  emit("update:value", value);
42182
42254
  }
42183
42255
  };
42184
- watch(
42256
+ watch$1(
42185
42257
  () => props.value,
42186
42258
  (value) => {
42187
42259
  value && value[0] ? currValue.value = value : null;
@@ -42291,7 +42363,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
42291
42363
  onPopupVisibleChange,
42292
42364
  getObject
42293
42365
  });
42294
- watch(
42366
+ watch$1(
42295
42367
  () => props.defaultVal,
42296
42368
  (val) => {
42297
42369
  initSelect(val);
@@ -44026,7 +44098,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
44026
44098
  const onChange = () => {
44027
44099
  emit("change", seaValue.value);
44028
44100
  };
44029
- watch(
44101
+ watch$1(
44030
44102
  () => props.value,
44031
44103
  (v) => {
44032
44104
  seaValue.value = v;
@@ -44524,7 +44596,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
44524
44596
  date.setMinutes(date.getMinutes() + offset.value);
44525
44597
  return dayjs(dayjs(date), format.value);
44526
44598
  }
44527
- watch(
44599
+ watch$1(
44528
44600
  () => props.value,
44529
44601
  (val) => {
44530
44602
  curValue.value = val ? formatDate(val) : null;
@@ -44587,7 +44659,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44587
44659
  date.setMinutes(date.getMinutes() + offset);
44588
44660
  return toFormatDate(date, dateFormat.value);
44589
44661
  };
44590
- watch(
44662
+ watch$1(
44591
44663
  () => props.defaultValue,
44592
44664
  (val) => {
44593
44665
  curValue.value = formatDate(val);