@witlink/usercenter 1.2.80 → 1.2.81

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.
@@ -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"