@witlink/usercenter 1.2.80 → 1.2.82

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.025c4d4d.css';var __defProp = Object.defineProperty;
1
+ import './assets/main.4904cb40.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);
@@ -38722,7 +38722,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
38722
38722
  form.parentRegion = result.parentRegion || "-";
38723
38723
  form.autoGenerated = result.autoGenerated;
38724
38724
  if (result.autoGenerated == 1) {
38725
- const res = await getAutoRefCode({ parentId: params.id, type: params.type });
38725
+ const res = await getAutoRefCode({ parentId: params.id, type: 3 });
38726
38726
  form.refCode = res.result;
38727
38727
  }
38728
38728
  loading.value = false;
@@ -39020,7 +39020,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
39020
39020
  form.parentBranch = result.parentBranch;
39021
39021
  form.autoGenerated = result.autoGenerated;
39022
39022
  if (result.autoGenerated == 1) {
39023
- const res = await getAutoRefCode({ parentId: params.id, type: params.type });
39023
+ const res = await getAutoRefCode({ parentId: params.id, type: 1 });
39024
39024
  form.refCode = res.result;
39025
39025
  }
39026
39026
  };
@@ -40023,7 +40023,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40023
40023
  createVNode(unref(VxeColumn), {
40024
40024
  field: "refCode",
40025
40025
  title: _ctx.$t("uc_organ.refCode"),
40026
- width: "180"
40026
+ width: "200"
40027
40027
  }, null, 8, ["title"]),
40028
40028
  createVNode(unref(VxeColumn), {
40029
40029
  field: "createOperator",
@@ -41292,7 +41292,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
41292
41292
  key: 0,
41293
41293
  onClick: ($event) => handleDetail(record),
41294
41294
  type: "link",
41295
- style: { "padding": "0", "height": "auto", "width": "100%" }
41295
+ style: { "padding": "0", "height": "auto", "width": "100%", "text-align": "left" }
41296
41296
  }, {
41297
41297
  default: withCtx(() => [
41298
41298
  createVNode(TextEllipsis, {
@@ -43026,7 +43026,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
43026
43026
  key: 1,
43027
43027
  text: record.name
43028
43028
  }, null, 8, ["text"])) : createCommentVNode("v-if", true),
43029
- column.key === "userCode" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
43029
+ column.key === "mainRoleName" ? (openBlock(), createBlock(TextEllipsis, {
43030
+ key: 2,
43031
+ text: record.mainRoleName
43032
+ }, null, 8, ["text"])) : createCommentVNode("v-if", true),
43033
+ column.key === "userCode" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
43030
43034
  detailShow.value ? (openBlock(), createBlock(_component_a_button, {
43031
43035
  key: 0,
43032
43036
  type: "link",
@@ -43040,14 +43044,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
43040
43044
  }, 1032, ["onClick"])) : (openBlock(), createElementBlock("span", _hoisted_3$3, toDisplayString(record.code), 1))
43041
43045
  ], 64)) : createCommentVNode("v-if", true),
43042
43046
  column.key === "userStatus" ? (openBlock(), createBlock(_component_uc_btn_switch, {
43043
- key: 3,
43047
+ key: 4,
43044
43048
  checked: record.status == 0,
43045
43049
  onClick: (checked) => onSwitch(checked, record)
43046
43050
  }, null, 8, ["checked", "onClick"])) : createCommentVNode("v-if", true),
43047
- column.key === "createTime" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
43051
+ column.key === "createTime" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
43048
43052
  createTextVNode(toDisplayString(unref(formatDate)(record.createTime) || "-"), 1)
43049
43053
  ], 64)) : createCommentVNode("v-if", true),
43050
- column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
43054
+ column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
43051
43055
  createVNode(_component_uc_btn_edit, {
43052
43056
  onClick: ($event) => onUpdate(record),
43053
43057
  type: "link"
@@ -44625,7 +44629,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
44625
44629
  const loading = ref(false);
44626
44630
  const cropperRef = ref();
44627
44631
  const fileList = ref([]);
44628
- const previewData = ref({ url: "", img: {} });
44632
+ const previewData = ref({
44633
+ url: "",
44634
+ img: {}
44635
+ });
44629
44636
  const cropperOptions = reactive({
44630
44637
  img: "",
44631
44638
  autoCrop: true,
@@ -44752,7 +44759,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
44752
44759
  _cache[3] || (_cache[3] = createElementVNode("br", null, null, -1)),
44753
44760
  createVNode(_component_a_row, {
44754
44761
  gutter: 8,
44755
- align: "middle"
44762
+ align: "middle",
44763
+ style: { "justify-content": "space-between" }
44756
44764
  }, {
44757
44765
  default: withCtx(() => [
44758
44766
  createVNode(_component_a_col, { span: 3 }, {
@@ -44808,7 +44816,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
44808
44816
  }),
44809
44817
  createVNode(_component_a_col, {
44810
44818
  span: 3,
44811
- offset: 15
44819
+ offset: 15,
44820
+ style: { "flex": "unset" }
44812
44821
  }, {
44813
44822
  default: withCtx(() => [
44814
44823
  createVNode(_component_a_button, {