@witlink/usercenter 1.2.95 → 1.2.97

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.f4a6fe3c.css';var __defProp = Object.defineProperty;
1
+ import './assets/main.c4d4ef03.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);
@@ -38107,16 +38107,16 @@ const _hoisted_2$a = {
38107
38107
  class: "left-syslist"
38108
38108
  };
38109
38109
  const _hoisted_3$7 = { class: "page-title" };
38110
- const _hoisted_4$6 = ["onClick"];
38110
+ const _hoisted_4$7 = ["onClick"];
38111
38111
  const _hoisted_5$5 = ["src"];
38112
- const _hoisted_6$4 = { class: "sys-item-name" };
38112
+ const _hoisted_6$5 = { class: "sys-item-name" };
38113
38113
  const _hoisted_7$4 = { class: "sys-item-name" };
38114
38114
  const _hoisted_8$4 = { class: "sys-item-desc" };
38115
- const _hoisted_9$3 = {
38115
+ const _hoisted_9$4 = {
38116
38116
  key: 0,
38117
38117
  class: "page-title"
38118
38118
  };
38119
- const _hoisted_10$3 = { style: { "min-height": "32px", "margin-bottom": "10px" } };
38119
+ const _hoisted_10$4 = { style: { "min-height": "32px", "margin-bottom": "10px" } };
38120
38120
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
38121
38121
  __name: "index",
38122
38122
  setup(__props) {
@@ -38330,19 +38330,19 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
38330
38330
  alt: "icon",
38331
38331
  class: "sys-item-icon"
38332
38332
  }, null, 8, _hoisted_5$5),
38333
- createElementVNode("div", _hoisted_6$4, [
38333
+ createElementVNode("div", _hoisted_6$5, [
38334
38334
  createElementVNode("div", _hoisted_7$4, toDisplayString(item.systemName), 1),
38335
38335
  createElementVNode("div", _hoisted_8$4, toDisplayString(item.description), 1)
38336
38336
  ])
38337
- ], 10, _hoisted_4$6);
38337
+ ], 10, _hoisted_4$7);
38338
38338
  }), 128))
38339
38339
  ])) : createCommentVNode("v-if", true),
38340
38340
  createElementVNode("div", {
38341
38341
  class: "right-content",
38342
38342
  style: normalizeStyle({ left: unref(systemId) == 1 ? "312px" : "0px" })
38343
38343
  }, [
38344
- unref(systemId) == 1 ? (openBlock(), createElementBlock("div", _hoisted_9$3, toDisplayString(_ctx.$t("uc_fun.fun_configs")), 1)) : createCommentVNode("v-if", true),
38345
- createElementVNode("div", _hoisted_10$3, [
38344
+ unref(systemId) == 1 ? (openBlock(), createElementBlock("div", _hoisted_9$4, toDisplayString(_ctx.$t("uc_fun.fun_configs")), 1)) : createCommentVNode("v-if", true),
38345
+ createElementVNode("div", _hoisted_10$4, [
38346
38346
  createVNode(ImportMenu, {
38347
38347
  onSuccess: initTable,
38348
38348
  systemId: selectedSys.value,
@@ -39451,11 +39451,13 @@ const DeptDetail = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data
39451
39451
  const _hoisted_1$d = { class: "organ-wrap" };
39452
39452
  const _hoisted_2$9 = { class: "topInfo" };
39453
39453
  const _hoisted_3$6 = { class: "form-btns" };
39454
- const _hoisted_4$5 = ["onClick"];
39454
+ const _hoisted_4$6 = ["onClick"];
39455
39455
  const _hoisted_5$4 = { class: "show_more_button" };
39456
- const _hoisted_6$3 = { key: 1 };
39457
- const _hoisted_7$3 = { class: "ant-dropdown-link" };
39458
- const _hoisted_8$3 = {
39456
+ const _hoisted_6$4 = { key: 1 };
39457
+ const _hoisted_7$3 = { class: "uc-btns-action" };
39458
+ const _hoisted_8$3 = { class: "ant-dropdown-link" };
39459
+ const _hoisted_9$3 = { class: "uc-btns-action" };
39460
+ const _hoisted_10$3 = {
39459
39461
  class: "ant-dropdown-link",
39460
39462
  style: { "color": "rgba(0, 0, 0, 0.25)" }
39461
39463
  };
@@ -39936,7 +39938,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
39936
39938
  onClick: ($event) => showMore(row)
39937
39939
  }, [
39938
39940
  createElementVNode("div", _hoisted_5$4, toDisplayString(row.name), 1)
39939
- ], 8, _hoisted_4$5)) : (openBlock(), createElementBlock("span", _hoisted_6$3, [
39941
+ ], 8, _hoisted_4$6)) : (openBlock(), createElementBlock("span", _hoisted_6$4, [
39940
39942
  createElementVNode("div", {
39941
39943
  class: normalizeClass("organ_type" + row.type)
39942
39944
  }, toDisplayString(_ctx.$t("uc_organ.type" + row.type)), 3),
@@ -40012,7 +40014,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40012
40014
  var _a, _b;
40013
40015
  return [
40014
40016
  row.name !== _ctx.$t("uc_organ.loadMore") ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
40015
- withDirectives(createElementVNode("div", null, [
40017
+ withDirectives(createElementVNode("div", _hoisted_7$3, [
40016
40018
  withDirectives(createVNode(_component_a_button, {
40017
40019
  type: "link",
40018
40020
  style: { "padding": "0" },
@@ -40025,12 +40027,6 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40025
40027
  }, 8, ["onClick"]), [
40026
40028
  [vShow, editShow.value]
40027
40029
  ]),
40028
- withDirectives(createVNode(_component_a_divider, { type: "vertical" }, null, 512), [
40029
- [
40030
- vShow,
40031
- (row.type == 2 || row.type == 3) && addShow.value && editShow.value && !hideButtonArr.value.includes(row.id)
40032
- ]
40033
- ]),
40034
40030
  createCommentVNode(" \u533A\u57DF\u6700\u5927\u5C42\u7EA7\u4E3A5\u5C42 "),
40035
40031
  ((_a = row.deptId) == null ? void 0 : _a.length) - ((_b = row.branchId) == null ? void 0 : _b.length) == 15 ? (openBlock(), createBlock(_component_a_tooltip, {
40036
40032
  key: 0,
@@ -40074,12 +40070,6 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40074
40070
  (row.type == 2 || row.type == 3) && addShow.value && !hideButtonArr.value.includes(row.id)
40075
40071
  ]
40076
40072
  ]),
40077
- withDirectives(createVNode(_component_a_divider, { type: "vertical" }, null, 512), [
40078
- [
40079
- vShow,
40080
- row.type == 3 && removeShow.value && row.status == 1 && row.deletable
40081
- ]
40082
- ]),
40083
40073
  withDirectives(createVNode(_component_a_button, {
40084
40074
  type: "link",
40085
40075
  style: { "padding": "0" },
@@ -40095,7 +40085,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40095
40085
  row.type == 3 && removeShow.value && row.status == 1 && row.deletable
40096
40086
  ]
40097
40087
  ]),
40098
- withDirectives(createVNode(_component_a_divider, { type: "vertical" }, null, 512), [
40088
+ withDirectives(createVNode(_component_a_divider, {
40089
+ type: "vertical",
40090
+ style: { "margin": "0 6px 0 0" }
40091
+ }, null, 512), [
40099
40092
  [vShow, showMoreOperation(row)]
40100
40093
  ]),
40101
40094
  withDirectives(createElementVNode("span", null, [
@@ -40178,8 +40171,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40178
40171
  }, 1024)
40179
40172
  ]),
40180
40173
  default: withCtx(() => [
40181
- createElementVNode("a", _hoisted_7$3, [
40182
- createTextVNode(toDisplayString(_ctx.$t("common.btn_more")) + " ", 1),
40174
+ createElementVNode("a", _hoisted_8$3, [
40175
+ createTextVNode(toDisplayString(_ctx.$t("uc_organ.btn_more")) + " ", 1),
40183
40176
  createVNode(unref(DownOutlined))
40184
40177
  ])
40185
40178
  ]),
@@ -40191,7 +40184,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40191
40184
  ], 512), [
40192
40185
  [vShow, row.hasOperationPermissions]
40193
40186
  ]),
40194
- withDirectives(createElementVNode("div", null, [
40187
+ withDirectives(createElementVNode("div", _hoisted_9$3, [
40195
40188
  createVNode(_component_a_tooltip, { placement: "top" }, {
40196
40189
  title: withCtx(() => [
40197
40190
  createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
@@ -40213,12 +40206,6 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40213
40206
  ]),
40214
40207
  _: 2
40215
40208
  }, 1024),
40216
- withDirectives(createVNode(_component_a_divider, { type: "vertical" }, null, 512), [
40217
- [
40218
- vShow,
40219
- (row.type == 2 || row.type == 3) && addShow.value && editShow.value
40220
- ]
40221
- ]),
40222
40209
  createVNode(_component_a_tooltip, { placement: "top" }, {
40223
40210
  title: withCtx(() => [
40224
40211
  createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
@@ -40240,12 +40227,6 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40240
40227
  ]),
40241
40228
  _: 2
40242
40229
  }, 1024),
40243
- withDirectives(createVNode(_component_a_divider, { type: "vertical" }, null, 512), [
40244
- [
40245
- vShow,
40246
- removeShow.value && row.type == 3 && row.status == 1 && row.deletable
40247
- ]
40248
- ]),
40249
40230
  createVNode(_component_a_tooltip, { placement: "top" }, {
40250
40231
  title: withCtx(() => [
40251
40232
  createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
@@ -40270,7 +40251,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40270
40251
  ]),
40271
40252
  _: 2
40272
40253
  }, 1024),
40273
- withDirectives(createVNode(_component_a_divider, { type: "vertical" }, null, 512), [
40254
+ withDirectives(createVNode(_component_a_divider, {
40255
+ type: "vertical",
40256
+ style: { "margin": "0 6px 0 0" }
40257
+ }, null, 512), [
40274
40258
  [vShow, row.type != 3 && row.type != 2]
40275
40259
  ]),
40276
40260
  createVNode(_component_a_tooltip, { placement: "top" }, {
@@ -40282,8 +40266,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40282
40266
  createVNode(_component_a_dropdown, { disabled: "" }, {
40283
40267
  overlay: withCtx(() => [..._cache[1] || (_cache[1] = [])]),
40284
40268
  default: withCtx(() => [
40285
- createElementVNode("a", _hoisted_8$3, [
40286
- createTextVNode(toDisplayString(_ctx.$t("common.btn_more")) + " ", 1),
40269
+ createElementVNode("a", _hoisted_10$3, [
40270
+ createTextVNode(toDisplayString(_ctx.$t("uc_organ.btn_more")) + " ", 1),
40287
40271
  createVNode(unref(DownOutlined))
40288
40272
  ])
40289
40273
  ]),
@@ -40571,12 +40555,12 @@ const _hoisted_1$c = {
40571
40555
  };
40572
40556
  const _hoisted_2$8 = { class: "form-btns" };
40573
40557
  const _hoisted_3$5 = { style: { "height": "32px", "margin-bottom": "10px" } };
40574
- const _hoisted_4$4 = {
40558
+ const _hoisted_4$5 = {
40575
40559
  key: 1,
40576
40560
  class: "role-auth"
40577
40561
  };
40578
40562
  const _hoisted_5$3 = { class: "header-auth" };
40579
- const _hoisted_6$2 = { class: "title" };
40563
+ const _hoisted_6$3 = { class: "title" };
40580
40564
  const _hoisted_7$2 = {
40581
40565
  key: 0,
40582
40566
  class: "operate",
@@ -41343,9 +41327,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
41343
41327
  ]),
41344
41328
  _: 1
41345
41329
  }, 8, ["columns"])
41346
- ])) : (openBlock(), createElementBlock("div", _hoisted_4$4, [
41330
+ ])) : (openBlock(), createElementBlock("div", _hoisted_4$5, [
41347
41331
  createElementVNode("div", _hoisted_5$3, [
41348
- createElementVNode("div", _hoisted_6$2, [
41332
+ createElementVNode("div", _hoisted_6$3, [
41349
41333
  createVNode(unref(LeftOutlined), {
41350
41334
  style: { "font-size": "14px", "margin-right": "4px", "cursor": "pointer" },
41351
41335
  onClick: handleCancel
@@ -41464,7 +41448,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
41464
41448
  class: normalizeClass(["category-item", { active: item.id === activeCategoryId.value }]),
41465
41449
  key: item.id,
41466
41450
  onClick: ($event) => handleCategoryClick(item)
41467
- }, toDisplayString(item.name), 11, _hoisted_17$2);
41451
+ }, [
41452
+ createVNode(TextEllipsis, {
41453
+ text: item.name
41454
+ }, null, 8, ["text"])
41455
+ ], 10, _hoisted_17$2);
41468
41456
  }), 128))
41469
41457
  ])
41470
41458
  ]),
@@ -41844,7 +41832,7 @@ function getUserDetail(params) {
41844
41832
  const _hoisted_1$b = { class: "add-user" };
41845
41833
  const _hoisted_2$7 = { style: { "font-size": "12px", "color": "#86909c", "margin-left": "8px" } };
41846
41834
  const _hoisted_3$4 = { style: { "font-size": "12px", "color": "#86909c", "margin-left": "8px" } };
41847
- const _hoisted_4$3 = ["onClick"];
41835
+ const _hoisted_4$4 = ["onClick"];
41848
41836
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
41849
41837
  __name: "UserEdit",
41850
41838
  props: {
@@ -42250,7 +42238,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
42250
42238
  }, ["stop"]))
42251
42239
  }, null, 8, ["checked"]),
42252
42240
  createElementVNode("span", null, toDisplayString(label), 1)
42253
- ], 8, _hoisted_4$3)
42241
+ ], 8, _hoisted_4$4)
42254
42242
  ]),
42255
42243
  _: 1
42256
42244
  }, 8, ["value", "placeholder", "options"])
@@ -42763,6 +42751,10 @@ const _hoisted_3$3 = {
42763
42751
  key: 1,
42764
42752
  style: { "display": "block", "padding": "0", "height": "auto", "width": "100%", "text-align": "left" }
42765
42753
  };
42754
+ const _hoisted_4$3 = {
42755
+ key: 6,
42756
+ class: "uc-btns-action"
42757
+ };
42766
42758
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
42767
42759
  __name: "index",
42768
42760
  setup(__props) {
@@ -42956,7 +42948,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
42956
42948
  const _component_uc_btn_add = resolveComponent("uc-btn-add");
42957
42949
  const _component_uc_btn_switch = resolveComponent("uc-btn-switch");
42958
42950
  const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
42959
- const _component_a_divider = Divider;
42960
42951
  const _component_uc_btn_reset_pwd = resolveComponent("uc-btn-reset-pwd");
42961
42952
  const _component_a_config_provider = ConfigProvider$1;
42962
42953
  return openBlock(), createBlock(_component_a_config_provider, {
@@ -43112,17 +43103,16 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
43112
43103
  column.key === "createTime" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
43113
43104
  createTextVNode(toDisplayString(unref(formatDate)(record.createTime) || "-"), 1)
43114
43105
  ], 64)) : createCommentVNode("v-if", true),
43115
- column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
43106
+ column.key === "action" ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
43116
43107
  createVNode(_component_uc_btn_edit, {
43117
43108
  onClick: ($event) => onUpdate(record),
43118
43109
  type: "link"
43119
43110
  }, null, 8, ["onClick"]),
43120
- createVNode(_component_a_divider, { type: "vertical" }),
43121
43111
  createVNode(_component_uc_btn_reset_pwd, {
43122
43112
  onClick: ($event) => onRsPwd(record),
43123
43113
  type: "link"
43124
43114
  }, null, 8, ["onClick"])
43125
- ], 64)) : createCommentVNode("v-if", true)
43115
+ ])) : createCommentVNode("v-if", true)
43126
43116
  ]),
43127
43117
  _: 1
43128
43118
  }, 8, ["columns"]),
@@ -44916,7 +44906,7 @@ const _hoisted_2$4 = { class: "userinfo-container" };
44916
44906
  const _hoisted_3$2 = { class: "userinfo-menu" };
44917
44907
  const _hoisted_4$2 = { class: "userinfo-header" };
44918
44908
  const _hoisted_5$2 = { class: "username" };
44919
- const _hoisted_6$1 = { class: "menu-tabs" };
44909
+ const _hoisted_6$2 = { class: "menu-tabs" };
44920
44910
  const _hoisted_7$1 = ["onClick"];
44921
44911
  const _hoisted_8$1 = { class: "userinfo-content" };
44922
44912
  const _hoisted_9$1 = {
@@ -45166,7 +45156,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
45166
45156
  }, null, 8, ["text"])
45167
45157
  ])
45168
45158
  ]),
45169
- createElementVNode("div", _hoisted_6$1, [
45159
+ createElementVNode("div", _hoisted_6$2, [
45170
45160
  (openBlock(), createElementBlock(Fragment, null, renderList(menuTabs, (tab, index2) => {
45171
45161
  return createElementVNode("div", {
45172
45162
  key: index2,
@@ -46584,6 +46574,10 @@ const _hoisted_3$1 = {
46584
46574
  };
46585
46575
  const _hoisted_4$1 = { key: 0 };
46586
46576
  const _hoisted_5$1 = { key: 1 };
46577
+ const _hoisted_6$1 = {
46578
+ key: 6,
46579
+ class: "uc-btns-action"
46580
+ };
46587
46581
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
46588
46582
  __name: "index",
46589
46583
  setup(__props) {
@@ -46783,7 +46777,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
46783
46777
  const _component_a_tooltip = Tooltip;
46784
46778
  const _component_a_switch = Switch;
46785
46779
  const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
46786
- const _component_a_divider = Divider;
46787
46780
  const _component_uc_btn_reset_pwd = resolveComponent("uc-btn-reset-pwd");
46788
46781
  const _component_uc_btn_remove = resolveComponent("uc-btn-remove");
46789
46782
  const _component_a_config_provider = ConfigProvider$1;
@@ -46913,23 +46906,21 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
46913
46906
  checked: record.status == 0,
46914
46907
  onChange: (checked) => onSwitch(checked, record)
46915
46908
  }, null, 8, ["checked", "onChange"])) : createCommentVNode("v-if", true),
46916
- column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
46909
+ column.key === "action" ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
46917
46910
  createVNode(_component_uc_btn_edit, {
46918
46911
  onClick: ($event) => onUpdate(record),
46919
46912
  type: "link"
46920
46913
  }, null, 8, ["onClick"]),
46921
- createVNode(_component_a_divider, { type: "vertical" }),
46922
46914
  createVNode(_component_uc_btn_reset_pwd, {
46923
46915
  onClick: ($event) => onRsPwd(record),
46924
46916
  type: "link",
46925
46917
  text: _ctx.$t("uc_org.resetPwd")
46926
46918
  }, null, 8, ["onClick", "text"]),
46927
- createVNode(_component_a_divider, { type: "vertical" }),
46928
46919
  createVNode(_component_uc_btn_remove, {
46929
46920
  onClick: ($event) => onDelete(record),
46930
46921
  type: "link"
46931
46922
  }, null, 8, ["onClick"])
46932
- ], 64)) : createCommentVNode("v-if", true)
46923
+ ])) : createCommentVNode("v-if", true)
46933
46924
  ]),
46934
46925
  _: 1
46935
46926
  }, 8, ["columns"])