widget.qw 1.0.97 → 1.1.0

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.
@@ -51,13 +51,13 @@ var __async = (__this, __arguments, generator) => {
51
51
  }
52
52
  return target;
53
53
  };
54
- const _hoisted_1$m = {
54
+ const _hoisted_1$k = {
55
55
  class: "enterprise-header"
56
56
  };
57
- const _hoisted_2$f = {
57
+ const _hoisted_2$e = {
58
58
  class: "header-title"
59
59
  };
60
- const _sfc_main$x = {
60
+ const _sfc_main$u = {
61
61
  __name: "HeadBar",
62
62
  props: {
63
63
  title: {
@@ -89,13 +89,13 @@ var __async = (__this, __arguments, generator) => {
89
89
  };
90
90
  return (_ctx, _cache) => {
91
91
  const _component_van_icon = vue.resolveComponent("van-icon");
92
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [vue.unref(canGoBack) ? (vue.openBlock(), vue.createElementBlock("button", {
92
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [vue.unref(canGoBack) ? (vue.openBlock(), vue.createElementBlock("button", {
93
93
  key: 0,
94
94
  class: "header-btn back-btn",
95
95
  onClick: handleBack
96
96
  }, [vue.createVNode(_component_van_icon, {
97
97
  name: "arrow-left"
98
- })])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_2$f, vue.toDisplayString(__props2.title), 1), vue.createElementVNode("button", {
98
+ })])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_2$e, vue.toDisplayString(__props2.title), 1), vue.createElementVNode("button", {
99
99
  class: "header-btn home-btn",
100
100
  onClick: handleHome
101
101
  }, [vue.createVNode(_component_van_icon, {
@@ -104,7 +104,7 @@ var __async = (__this, __arguments, generator) => {
104
104
  };
105
105
  }
106
106
  };
107
- var HeadBar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-435ecee6"]]);
107
+ var HeadBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-435ecee6"]]);
108
108
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
109
109
  function getAugmentedNamespace(n) {
110
110
  if (n.__esModule)
@@ -17205,20 +17205,20 @@ var __async = (__this, __arguments, generator) => {
17205
17205
  var lodash = lodash$1.exports;
17206
17206
  var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-1e9a1a8a] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-1e9a1a8a] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-1e9a1a8a] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-1e9a1a8a] {\n width: 120px;\n}\n.apply-btn[data-v-1e9a1a8a] {\n width: 60vw;\n}\n.task-list[data-v-1e9a1a8a] {\n margin-top: 15px;\n}\n.task-title[data-v-1e9a1a8a] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-1e9a1a8a] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-1e9a1a8a] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
17207
17207
  var AuditBar_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "\n:root:root {\r\n --van-popover-action-width: 70vw;\n}\r\n")();
17208
- const _hoisted_1$l = {
17208
+ const _hoisted_1$j = {
17209
17209
  class: "widget"
17210
17210
  };
17211
- const _hoisted_2$e = /* @__PURE__ */ vue.createTextVNode("\u9A73\u56DE");
17211
+ const _hoisted_2$d = /* @__PURE__ */ vue.createTextVNode("\u9A73\u56DE");
17212
17212
  const _hoisted_3$a = /* @__PURE__ */ vue.createTextVNode("\u63D0\u4EA4");
17213
17213
  const _hoisted_4$9 = /* @__PURE__ */ vue.createTextVNode("\u7533\u8BF7");
17214
- const _hoisted_5$9 = {
17214
+ const _hoisted_5$8 = {
17215
17215
  key: 4,
17216
17216
  class: "audit-title"
17217
17217
  };
17218
- const _hoisted_6$8 = {
17218
+ const _hoisted_6$7 = {
17219
17219
  class: "task-title"
17220
17220
  };
17221
- const _sfc_main$w = {
17221
+ const _sfc_main$t = {
17222
17222
  __name: "AuditBar",
17223
17223
  props: {
17224
17224
  processId: {
@@ -17485,7 +17485,7 @@ var __async = (__this, __arguments, generator) => {
17485
17485
  const _component_van_popover = vue.resolveComponent("van-popover");
17486
17486
  const _component_van_step = vue.resolveComponent("van-step");
17487
17487
  const _component_van_steps = vue.resolveComponent("van-steps");
17488
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [vue.unref(canPass) || vue.unref(canRefuse) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
17488
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [vue.unref(canPass) || vue.unref(canRefuse) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
17489
17489
  key: 0,
17490
17490
  modelValue: data2.memo,
17491
17491
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.memo = $event),
@@ -17506,7 +17506,7 @@ var __async = (__this, __arguments, generator) => {
17506
17506
  type: "danger",
17507
17507
  onClick: onRefuse
17508
17508
  }, {
17509
- default: vue.withCtx(() => [_hoisted_2$e]),
17509
+ default: vue.withCtx(() => [_hoisted_2$d]),
17510
17510
  _: 1
17511
17511
  })]),
17512
17512
  _: 1
@@ -17528,7 +17528,7 @@ var __async = (__this, __arguments, generator) => {
17528
17528
  }, {
17529
17529
  default: vue.withCtx(() => [_hoisted_4$9]),
17530
17530
  _: 1
17531
- })) : vue.createCommentVNode("", true), data2.process && data2.process.id ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$9, vue.toDisplayString(vue.unref(formatProcessTitle)), 1)) : vue.createCommentVNode("", true), data2.process && data2.process.id ? (vue.openBlock(), vue.createBlock(_component_van_steps, {
17531
+ })) : vue.createCommentVNode("", true), data2.process && data2.process.id ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, vue.toDisplayString(vue.unref(formatProcessTitle)), 1)) : vue.createCommentVNode("", true), data2.process && data2.process.id ? (vue.openBlock(), vue.createBlock(_component_van_steps, {
17532
17532
  key: 5,
17533
17533
  class: "task-list",
17534
17534
  direction: "vertical",
@@ -17538,7 +17538,7 @@ var __async = (__this, __arguments, generator) => {
17538
17538
  return vue.openBlock(), vue.createBlock(_component_van_step, {
17539
17539
  key: i
17540
17540
  }, {
17541
- default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_6$8, vue.toDisplayString(formatTitle(task)), 1), task.executors ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, {
17541
+ default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_6$7, vue.toDisplayString(formatTitle(task)), 1), task.executors ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, {
17542
17542
  key: 0
17543
17543
  }, vue.renderList(task.executors, (executor, j) => {
17544
17544
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -17554,7 +17554,7 @@ var __async = (__this, __arguments, generator) => {
17554
17554
  };
17555
17555
  }
17556
17556
  };
17557
- var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-1e9a1a8a"]]);
17557
+ var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-1e9a1a8a"]]);
17558
17558
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
17559
17559
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
17560
17560
  const isDef = (val) => typeof val !== "undefined";
@@ -17621,10 +17621,26 @@ var __async = (__this, __arguments, generator) => {
17621
17621
  });
17622
17622
  }
17623
17623
  }
17624
- var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-3c30f32c] .label {\n color: #000 !important;\n}\n[data-v-3c30f32c] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
17625
- const _hoisted_1$k = /* @__PURE__ */ vue.createTextVNode(" + ");
17626
- const _hoisted_2$d = /* @__PURE__ */ vue.createTextVNode(" \u786E\u5B9A ");
17627
- const _sfc_main$v = {
17624
+ var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-bdbdf60a] .label {\n color: #000 !important;\n}\n[data-v-bdbdf60a] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
17625
+ const _hoisted_1$i = {
17626
+ style: {
17627
+ "display": "flex",
17628
+ "align-items": "center"
17629
+ }
17630
+ };
17631
+ const _hoisted_2$c = {
17632
+ style: {
17633
+ "font-size": "20px",
17634
+ "color": "#999"
17635
+ }
17636
+ };
17637
+ const _hoisted_3$9 = {
17638
+ style: {
17639
+ "margin": "15px 0 0 0"
17640
+ }
17641
+ };
17642
+ const _hoisted_4$8 = /* @__PURE__ */ vue.createTextVNode(" \u786E\u5B9A ");
17643
+ const _sfc_main$s = {
17628
17644
  __name: "Input",
17629
17645
  props: {
17630
17646
  modelValue: {
@@ -17705,8 +17721,9 @@ var __async = (__this, __arguments, generator) => {
17705
17721
  vue.onMounted(() => {
17706
17722
  });
17707
17723
  return (_ctx, _cache) => {
17708
- const _component_van_button = vue.resolveComponent("van-button");
17724
+ const _component_van_icon = vue.resolveComponent("van-icon");
17709
17725
  const _component_van_field = vue.resolveComponent("van-field");
17726
+ const _component_van_button = vue.resolveComponent("van-button");
17710
17727
  const _component_van_popup = vue.resolveComponent("van-popup");
17711
17728
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) && props.type === "number" ? (vue.openBlock(), vue.createBlock(_component_van_field, {
17712
17729
  key: 0,
@@ -17724,35 +17741,36 @@ var __async = (__this, __arguments, generator) => {
17724
17741
  autosize: props.autosize,
17725
17742
  rules: vue.unref(rules)
17726
17743
  }, {
17727
- button: vue.withCtx(() => [vue.createVNode(_component_van_button, {
17728
- size: "small",
17744
+ button: vue.withCtx(() => [vue.createVNode(_component_van_icon, {
17745
+ name: "plus",
17729
17746
  onClick: onCalc
17730
- }, {
17731
- default: vue.withCtx(() => [_hoisted_1$k]),
17732
- _: 1
17733
17747
  })]),
17734
17748
  _: 1
17735
17749
  }, 8, ["label", "modelValue", "disabled", "required", "placeholder", "type", "rows", "autosize", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
17736
17750
  show: data.isShowPop,
17737
17751
  "onUpdate:show": _cache[2] || (_cache[2] = ($event) => data.isShowPop = $event),
17738
17752
  position: "bottom",
17739
- round: ""
17753
+ round: "",
17754
+ style: {
17755
+ "padding": "25px 15px"
17756
+ }
17740
17757
  }, {
17741
- default: vue.withCtx(() => [vue.createVNode(_component_van_field, {
17758
+ default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$i, [vue.createElementVNode("span", _hoisted_2$c, vue.toDisplayString(props.modelValue || ""), 1), vue.createVNode(_component_van_field, {
17742
17759
  modelValue: data.express,
17743
17760
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => data.express = $event),
17744
17761
  placeholder: "\u8BF7\u8F93\u5165+/-\u6570\u5B57",
17745
- type: "text"
17762
+ type: "text",
17763
+ style: {
17764
+ "font-size": "20px"
17765
+ }
17766
+ }, null, 8, ["modelValue"])]), vue.createElementVNode("div", _hoisted_3$9, [vue.createVNode(_component_van_button, {
17767
+ onClick: onSubmit,
17768
+ type: "primary",
17769
+ size: "large"
17746
17770
  }, {
17747
- button: vue.withCtx(() => [vue.createVNode(_component_van_button, {
17748
- size: "small",
17749
- onClick: onSubmit
17750
- }, {
17751
- default: vue.withCtx(() => [_hoisted_2$d]),
17752
- _: 1
17753
- })]),
17771
+ default: vue.withCtx(() => [_hoisted_4$8]),
17754
17772
  _: 1
17755
- }, 8, ["modelValue"])]),
17773
+ })])]),
17756
17774
  _: 1
17757
17775
  }, 8, ["show"]), !vue.unref(isGone) && props.type != "number" ? (vue.openBlock(), vue.createBlock(_component_van_field, {
17758
17776
  key: 1,
@@ -17770,9 +17788,9 @@ var __async = (__this, __arguments, generator) => {
17770
17788
  };
17771
17789
  }
17772
17790
  };
17773
- var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-3c30f32c"]]);
17791
+ var Input = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-bdbdf60a"]]);
17774
17792
  var SinglePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-3ae83b36] .label {\n color: #000 !important;\n}\n[data-v-3ae83b36] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
17775
- const _sfc_main$u = {
17793
+ const _sfc_main$r = {
17776
17794
  __name: "SinglePicker",
17777
17795
  props: {
17778
17796
  id: String,
@@ -17888,16 +17906,16 @@ var __async = (__this, __arguments, generator) => {
17888
17906
  };
17889
17907
  }
17890
17908
  };
17891
- var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3ae83b36"]]);
17909
+ var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-3ae83b36"]]);
17892
17910
  var DataPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-box[data-v-10d79413] {\r\n min-height: 20vh;\r\n max-height: 40vh;\r\n overflow-y: auto;\n.checkbox-list[data-v-10d79413] {\r\n padding: 15px 25px;\n[data-v-10d79413] .van-checkbox__label {\r\n flex: 1;\r\n text-align: right;\n}\n}\n}\n.select-all-container[data-v-10d79413] {\r\n font-size: 14px;\r\n padding: 15px 25px 0 15px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-10d79413] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-10d79413] {\r\n margin-left: 8px;\n}\r\n")();
17893
- const _hoisted_1$j = {
17911
+ const _hoisted_1$h = {
17894
17912
  class: "select-all-container"
17895
17913
  };
17896
- const _hoisted_2$c = /* @__PURE__ */ vue.createTextVNode("\u5168\u9009");
17897
- const _hoisted_3$9 = {
17914
+ const _hoisted_2$b = /* @__PURE__ */ vue.createTextVNode("\u5168\u9009");
17915
+ const _hoisted_3$8 = {
17898
17916
  class: "checkbox-list"
17899
17917
  };
17900
- const _sfc_main$t = {
17918
+ const _sfc_main$q = {
17901
17919
  __name: "DataPop",
17902
17920
  props: {
17903
17921
  show: {
@@ -17944,16 +17962,16 @@ var __async = (__this, __arguments, generator) => {
17944
17962
  position: "bottom",
17945
17963
  class: "popup-box"
17946
17964
  }, {
17947
- default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$j, [vue.createVNode(_component_van_checkbox, {
17965
+ default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$h, [vue.createVNode(_component_van_checkbox, {
17948
17966
  shape: "square",
17949
17967
  modelValue: data2.isAllChecked,
17950
17968
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.isAllChecked = $event),
17951
17969
  onClick: onToggleAll,
17952
17970
  "label-position": "left"
17953
17971
  }, {
17954
- default: vue.withCtx(() => [_hoisted_2$c]),
17972
+ default: vue.withCtx(() => [_hoisted_2$b]),
17955
17973
  _: 1
17956
- }, 8, ["modelValue"])]), vue.createElementVNode("div", _hoisted_3$9, [vue.createVNode(_component_van_checkbox_group, {
17974
+ }, 8, ["modelValue"])]), vue.createElementVNode("div", _hoisted_3$8, [vue.createVNode(_component_van_checkbox_group, {
17957
17975
  modelValue: vue.unref(modelValue2),
17958
17976
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(modelValue2) ? modelValue2.value = $event : null),
17959
17977
  direction: "vertical"
@@ -17978,12 +17996,12 @@ var __async = (__this, __arguments, generator) => {
17978
17996
  };
17979
17997
  }
17980
17998
  };
17981
- var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-10d79413"]]);
17999
+ var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-10d79413"]]);
17982
18000
  var MultiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.data-item[data-v-17dcd144]{\r\n margin: 0 8px 8px 0;\r\n padding: 2px 5px;\n}\r\n")();
17983
- const _hoisted_1$i = {
18001
+ const _hoisted_1$g = {
17984
18002
  class: "data-list"
17985
18003
  };
17986
- const _sfc_main$s = {
18004
+ const _sfc_main$p = {
17987
18005
  __name: "MultiPicker",
17988
18006
  props: {
17989
18007
  id: String,
@@ -18098,7 +18116,7 @@ var __async = (__this, __arguments, generator) => {
18098
18116
  _: 2
18099
18117
  }, [vue.unref(selectOptions).length > 0 ? {
18100
18118
  name: "input",
18101
- fn: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$i, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectOptions), (item, i) => {
18119
+ fn: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$g, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectOptions), (item, i) => {
18102
18120
  return vue.openBlock(), vue.createBlock(_component_van_tag, {
18103
18121
  class: "data-item",
18104
18122
  closeable: !vue.unref(isDisabled2),
@@ -18121,9 +18139,9 @@ var __async = (__this, __arguments, generator) => {
18121
18139
  };
18122
18140
  }
18123
18141
  };
18124
- var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-17dcd144"]]);
18142
+ var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-17dcd144"]]);
18125
18143
  var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-c848ffbc] .label {\n color: #000 !important;\n}\n[data-v-c848ffbc] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
18126
- const _sfc_main$r = {
18144
+ const _sfc_main$o = {
18127
18145
  __name: "CheckGroup",
18128
18146
  props: {
18129
18147
  id: {
@@ -18249,8 +18267,8 @@ var __async = (__this, __arguments, generator) => {
18249
18267
  };
18250
18268
  }
18251
18269
  };
18252
- var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-c848ffbc"]]);
18253
- const _sfc_main$q = {
18270
+ var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-c848ffbc"]]);
18271
+ const _sfc_main$n = {
18254
18272
  __name: "DatetimePop",
18255
18273
  props: {
18256
18274
  isShow: {
@@ -18532,7 +18550,7 @@ var __async = (__this, __arguments, generator) => {
18532
18550
  };
18533
18551
  }
18534
18552
  };
18535
- const _sfc_main$p = {
18553
+ const _sfc_main$m = {
18536
18554
  __name: "DatetimePicker",
18537
18555
  props: {
18538
18556
  modelValue: {
@@ -18641,7 +18659,7 @@ var __async = (__this, __arguments, generator) => {
18641
18659
  rules: vue.unref(rules2),
18642
18660
  "right-icon": vue.unref(rightIcon),
18643
18661
  onClickRightIcon: onToggleShow
18644
- }, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules", "right-icon"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$q, {
18662
+ }, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules", "right-icon"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$n, {
18645
18663
  isShow: data2.isShow,
18646
18664
  "onUpdate:isShow": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
18647
18665
  modelValue: vue.unref(modelValue2),
@@ -18653,7 +18671,7 @@ var __async = (__this, __arguments, generator) => {
18653
18671
  };
18654
18672
  }
18655
18673
  };
18656
- const _sfc_main$o = {
18674
+ const _sfc_main$l = {
18657
18675
  __name: "DatetimeDropdown",
18658
18676
  props: {
18659
18677
  modelValue: {
@@ -18705,7 +18723,7 @@ var __async = (__this, __arguments, generator) => {
18705
18723
  return vue.openBlock(), vue.createBlock(_component_van_dropdown_item, {
18706
18724
  title: vue.unref(formatTitle)
18707
18725
  }, {
18708
- default: vue.withCtx(() => [vue.createVNode(_sfc_main$p, {
18726
+ default: vue.withCtx(() => [vue.createVNode(_sfc_main$m, {
18709
18727
  modelValue: vue.unref(modelValue2),
18710
18728
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(modelValue2) ? modelValue2.value = $event : null),
18711
18729
  placeholder: props2.placeholder,
@@ -18717,23 +18735,23 @@ var __async = (__this, __arguments, generator) => {
18717
18735
  }
18718
18736
  };
18719
18737
  var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-e306bd52] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-e306bd52] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-e306bd52] {\r\n border: 0;\n}\n.flex-between[data-v-e306bd52] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-e306bd52] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-e306bd52] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px);\r\n overflow-y: auto;\n}\n.select-all-container[data-v-e306bd52] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-e306bd52] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-e306bd52] {\r\n margin-left: 8px;\n}\r\n")();
18720
- const _hoisted_1$h = {
18738
+ const _hoisted_1$f = {
18721
18739
  class: "pad10 flex-between showMultipleButton"
18722
18740
  };
18723
- const _hoisted_2$b = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
18724
- const _hoisted_3$8 = {
18741
+ const _hoisted_2$a = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
18742
+ const _hoisted_3$7 = {
18725
18743
  class: "bold"
18726
18744
  };
18727
- const _hoisted_4$8 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
18728
- const _hoisted_5$8 = {
18745
+ const _hoisted_4$7 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
18746
+ const _hoisted_5$7 = {
18729
18747
  key: 0,
18730
18748
  class: "select-all-container"
18731
18749
  };
18732
- const _hoisted_6$7 = /* @__PURE__ */ vue.createTextVNode("\u5168\u9009");
18733
- const _hoisted_7$7 = {
18750
+ const _hoisted_6$6 = /* @__PURE__ */ vue.createTextVNode("\u5168\u9009");
18751
+ const _hoisted_7$6 = {
18734
18752
  class: "checkbox-style"
18735
18753
  };
18736
- const _sfc_main$n = {
18754
+ const _sfc_main$k = {
18737
18755
  __name: "data_selector",
18738
18756
  props: {
18739
18757
  multiple: {
@@ -18954,20 +18972,20 @@ var __async = (__this, __arguments, generator) => {
18954
18972
  position: "bottom",
18955
18973
  class: "popup-style"
18956
18974
  }, {
18957
- default: vue.withCtx(() => [vue.createElementVNode("div", null, [vue.createElementVNode("div", _hoisted_1$h, [vue.createVNode(_component_van_button, {
18975
+ default: vue.withCtx(() => [vue.createElementVNode("div", null, [vue.createElementVNode("div", _hoisted_1$f, [vue.createVNode(_component_van_button, {
18958
18976
  plain: "",
18959
18977
  size: "normal",
18960
18978
  onClick: cancelSelection
18961
18979
  }, {
18962
- default: vue.withCtx(() => [_hoisted_2$b]),
18980
+ default: vue.withCtx(() => [_hoisted_2$a]),
18963
18981
  _: 1
18964
- }), vue.createElementVNode("div", _hoisted_3$8, vue.toDisplayString(__props2.label), 1), vue.createVNode(_component_van_button, {
18982
+ }), vue.createElementVNode("div", _hoisted_3$7, vue.toDisplayString(__props2.label), 1), vue.createVNode(_component_van_button, {
18965
18983
  plain: "",
18966
18984
  type: "primary",
18967
18985
  size: "normal",
18968
18986
  onClick: confirmSelection
18969
18987
  }, {
18970
- default: vue.withCtx(() => [_hoisted_4$8]),
18988
+ default: vue.withCtx(() => [_hoisted_4$7]),
18971
18989
  _: 1
18972
18990
  })]), vue.createVNode(_component_van_field, {
18973
18991
  "left-icon": "search",
@@ -18978,16 +18996,16 @@ var __async = (__this, __arguments, generator) => {
18978
18996
  },
18979
18997
  clearable: "",
18980
18998
  placeholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u5B57"
18981
- }, null, 8, ["modelValue"]), props2.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [vue.createVNode(_component_van_checkbox, {
18999
+ }, null, 8, ["modelValue"]), props2.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [vue.createVNode(_component_van_checkbox, {
18982
19000
  shape: "square",
18983
19001
  modelValue: isAllChecked.value,
18984
19002
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isAllChecked.value = $event),
18985
19003
  onClick: toggleAllSelect,
18986
19004
  "label-position": "left"
18987
19005
  }, {
18988
- default: vue.withCtx(() => [_hoisted_6$7]),
19006
+ default: vue.withCtx(() => [_hoisted_6$6]),
18989
19007
  _: 1
18990
- }, 8, ["modelValue"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_7$7, [props2.multiple ? (vue.openBlock(), vue.createBlock(_component_van_checkbox_group, {
19008
+ }, 8, ["modelValue"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_7$6, [props2.multiple ? (vue.openBlock(), vue.createBlock(_component_van_checkbox_group, {
18991
19009
  key: 0,
18992
19010
  modelValue: checkedValue.value,
18993
19011
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => checkedValue.value = $event)
@@ -19042,16 +19060,16 @@ var __async = (__this, __arguments, generator) => {
19042
19060
  };
19043
19061
  }
19044
19062
  };
19045
- var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-e306bd52"]]);
19063
+ var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-e306bd52"]]);
19046
19064
  var mult_list_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\r\n/* // \u4FEE\u6539 confirmation-group \u548C confirmation-item \u7684\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n padding: 0 16px;\r\n --van-checkbox-disabled-icon-color: black;\n}\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 16px;\r\n margin: 0 -16px;\r\n border-bottom: 1px solid #f5f5f5;\r\n /* \u7981\u7528\u72B6\u6001\u6837\u5F0F */\n}\r\n\r\n/* // \u5728\u4E0B\u65B9\u6DFB\u52A0\u5A92\u4F53\u67E5\u8BE2\u9002\u914D\u5C0F\u5C4F\u5E55 */\n@media (max-width: 320px) {\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 8px;\r\n margin: 0 -8px;\n}\n}\n.confirmation-item[data-v-40a09897]:last-child {\r\n border-bottom: none;\n}\r\n\r\n/* \u65B0\u589E\u6837\u5F0F */\n.confirmation-tips[data-v-40a09897] {\r\n padding: 12px 16px;\r\n background: #f0faff;\r\n border-radius: 8px;\r\n margin: 10px 16px;\r\n display: flex;\r\n align-items: center;\r\n color: #1989fa;\r\n font-size: 13px;\r\n border: 1px solid #d9efff;\n}\n.confirmation-tips .van-icon[data-v-40a09897] {\r\n margin-right: 8px;\n}\r\n\r\n/* \u65B0\u589E\u5B57\u4F53\u7EE7\u627F\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n font-size: inherit; /* \u7EE7\u627F\u7236\u7EA7\u5B57\u4F53\u5927\u5C0F */\n}\n.option-text[data-v-40a09897] {\r\n font-size: 14px; /* \u660E\u786E\u6307\u5B9A\u5B57\u4F53\u5927\u5C0F */\r\n line-height: 1.5; /* \u4FDD\u6301\u884C\u9AD8\u4E00\u81F4 */\r\n /* color:black; */\n}\r\n\r\n/* \u9002\u914D\u79FB\u52A8\u7AEF\u7684\u5B57\u4F53\u8C03\u6574 */\n@media (max-width: 375px) {\n.option-text[data-v-40a09897] {\r\n font-size: 13px;\n}\n}\r\n\r\n/* \u65B0\u589E\u7981\u7528\u72B6\u6001\u6837\u5F0F */\n.custom-checkbox[data-v-40a09897]:disabled .--van-checkbox__icon {\r\n background-color: #f5f5f5;\r\n border-color: #ebedf0;\r\n transition: all 0.3s;\n}\n.custom-checkbox[data-v-40a09897]:disabled .van-checkbox__icon--checked {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\r\n opacity: 0.7;\n}\n.van-checkbox--disabled[data-v-40a09897] .option-text {\r\n color: #969799;\n}\n.van-checkbox--disabled.van-checkbox--checked[data-v-40a09897] .option-text {\r\n color: #1989fa;\r\n opacity: 0.8;\n}\r\n")();
19047
- const _hoisted_1$g = {
19065
+ const _hoisted_1$e = {
19048
19066
  key: 0,
19049
19067
  class: "confirmation-tips"
19050
19068
  };
19051
- const _hoisted_2$a = {
19069
+ const _hoisted_2$9 = {
19052
19070
  class: "option-text"
19053
19071
  };
19054
- const _sfc_main$m = {
19072
+ const _sfc_main$j = {
19055
19073
  __name: "mult_list_selector",
19056
19074
  props: {
19057
19075
  options: {
@@ -19086,7 +19104,7 @@ var __async = (__this, __arguments, generator) => {
19086
19104
  const _component_van_icon = vue.resolveComponent("van-icon");
19087
19105
  const _component_van_checkbox = vue.resolveComponent("van-checkbox");
19088
19106
  const _component_van_checkbox_group = vue.resolveComponent("van-checkbox-group");
19089
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [__props2.tips && __props2.tips.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [vue.createVNode(_component_van_icon, {
19107
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [__props2.tips && __props2.tips.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [vue.createVNode(_component_van_icon, {
19090
19108
  name: "info",
19091
19109
  color: "#1989fa"
19092
19110
  }), vue.createElementVNode("span", null, vue.toDisplayString(__props2.tips), 1)])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_checkbox_group, {
@@ -19107,7 +19125,7 @@ var __async = (__this, __arguments, generator) => {
19107
19125
  "icon-size": "18px",
19108
19126
  class: "custom-checkbox"
19109
19127
  }, {
19110
- default: vue.withCtx(() => [vue.createElementVNode("span", _hoisted_2$a, vue.toDisplayString(item.label), 1)]),
19128
+ default: vue.withCtx(() => [vue.createElementVNode("span", _hoisted_2$9, vue.toDisplayString(item.label), 1)]),
19111
19129
  _: 2
19112
19130
  }, 1032, ["name"])]);
19113
19131
  }), 128))]),
@@ -19116,26 +19134,26 @@ var __async = (__this, __arguments, generator) => {
19116
19134
  };
19117
19135
  }
19118
19136
  };
19119
- var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-40a09897"]]);
19137
+ var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-40a09897"]]);
19120
19138
  var subdepartment_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.department-popup[data-v-c4c3b896] {\r\n width: 100%;\r\n height: 60vh;\r\n border-radius: 16px 16px 0 0;\n}\n.popup-container[data-v-c4c3b896] {\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n height: 100%;\n}\n.picker-header[data-v-c4c3b896] {\r\n display: flex;\r\n align-items: center;\r\n padding: 12px;\r\n border-bottom: 1px solid #ebedf0;\r\n gap: 8px;\r\n background: #fff;\r\n /* flex-shrink: 0; */\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n height: 56px;\r\n /* \u56FA\u5B9A\u5934\u90E8\u9AD8\u5EA6 */\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u5934\u90E8\u88AB\u538B\u7F29 */\n}\n.scroll-container[data-v-c4c3b896] {\r\n flex: 1;\r\n height: 0;\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n /* height: calc(80vh - 170px); */\r\n /* \u8BA1\u7B97\u65B9\u5F0F\uFF1A\u603B\u9AD8\u5EA6(80vh) - \u5934\u90E8\u9AD8\u5EA6(56px) - \u641C\u7D22\u6846\u9AD8\u5EA6(52px) */\r\n position: relative;\r\n top: -1px;\n}\n.back-button[data-v-c4c3b896] {\r\n margin-right: 8px;\n}\n.current-path[data-v-c4c3b896] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.action-buttons[data-v-c4c3b896] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\r\n\r\n/* .scroll-container {\r\n flex: 1;\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n} */\n.cell-content[data-v-c4c3b896] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-c4c3b896] {\r\n width: 20px;\r\n height: 20px;\r\n border: 1px solid #ebedf0;\r\n border-radius: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: all 0.2s;\r\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-c4c3b896] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-c4c3b896] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-c4c3b896] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-c4c3b896] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-c4c3b896] {\r\n color: #969799;\n}\n.search-field[data-v-c4c3b896] {\r\n background: #fff;\r\n padding: 10px 16px;\r\n border-bottom: 1px solid #ebedf0;\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n margin-bottom: 10px;\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u538B\u7F29 */\n}\r\n")();
19121
- const _hoisted_1$f = {
19139
+ const _hoisted_1$d = {
19122
19140
  class: "department-selector"
19123
19141
  };
19124
- const _hoisted_2$9 = {
19142
+ const _hoisted_2$8 = {
19125
19143
  class: "popup-container"
19126
19144
  };
19127
- const _hoisted_3$7 = {
19145
+ const _hoisted_3$6 = {
19128
19146
  class: "picker-header"
19129
19147
  };
19130
- const _hoisted_4$7 = {
19148
+ const _hoisted_4$6 = {
19131
19149
  class: "current-path"
19132
19150
  };
19133
- const _hoisted_5$7 = {
19151
+ const _hoisted_5$6 = {
19134
19152
  class: "action-buttons"
19135
19153
  };
19136
- const _hoisted_6$6 = /* @__PURE__ */ vue.createTextVNode(" \u53D6\u6D88 ");
19137
- const _hoisted_7$6 = /* @__PURE__ */ vue.createTextVNode(" \u786E\u5B9A ");
19138
- const _hoisted_8$5 = {
19154
+ const _hoisted_6$5 = /* @__PURE__ */ vue.createTextVNode(" \u53D6\u6D88 ");
19155
+ const _hoisted_7$5 = /* @__PURE__ */ vue.createTextVNode(" \u786E\u5B9A ");
19156
+ const _hoisted_8$4 = {
19139
19157
  class: "scroll-container"
19140
19158
  };
19141
19159
  const _hoisted_9$3 = {
@@ -19145,7 +19163,7 @@ var __async = (__this, __arguments, generator) => {
19145
19163
  const _hoisted_11$2 = {
19146
19164
  class: "name"
19147
19165
  };
19148
- const _sfc_main$l = {
19166
+ const _sfc_main$i = {
19149
19167
  __name: "subdepartment_selector",
19150
19168
  props: {
19151
19169
  modelValue: [String, Number],
@@ -19388,7 +19406,7 @@ var __async = (__this, __arguments, generator) => {
19388
19406
  const _component_van_cell = vue.resolveComponent("van-cell");
19389
19407
  const _component_van_cell_group = vue.resolveComponent("van-cell-group");
19390
19408
  const _component_van_popup = vue.resolveComponent("van-popup");
19391
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [!vue.unref(isGone2) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
19409
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [!vue.unref(isGone2) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
19392
19410
  key: 0,
19393
19411
  "model-value": selectedDepartmentPath.value,
19394
19412
  readonly: "",
@@ -19408,18 +19426,18 @@ var __async = (__this, __arguments, generator) => {
19408
19426
  position: "bottom",
19409
19427
  class: "department-popup"
19410
19428
  }, {
19411
- default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$9, [vue.createElementVNode("div", _hoisted_3$7, [vue.unref(currentLevel) > 0 ? (vue.openBlock(), vue.createBlock(_component_van_button, {
19429
+ default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$8, [vue.createElementVNode("div", _hoisted_3$6, [vue.unref(currentLevel) > 0 ? (vue.openBlock(), vue.createBlock(_component_van_button, {
19412
19430
  key: 0,
19413
19431
  onClick: goBack,
19414
19432
  icon: "arrow-left",
19415
19433
  size: "small",
19416
19434
  class: "back-button"
19417
- })) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_4$7, vue.toDisplayString(vue.unref(currentPath)), 1), vue.createElementVNode("div", _hoisted_5$7, [vue.createVNode(_component_van_button, {
19435
+ })) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_4$6, vue.toDisplayString(vue.unref(currentPath)), 1), vue.createElementVNode("div", _hoisted_5$6, [vue.createVNode(_component_van_button, {
19418
19436
  size: "small",
19419
19437
  onClick: handleCancel,
19420
19438
  class: "cancel-btn"
19421
19439
  }, {
19422
- default: vue.withCtx(() => [_hoisted_6$6]),
19440
+ default: vue.withCtx(() => [_hoisted_6$5]),
19423
19441
  _: 1
19424
19442
  }), vue.createVNode(_component_van_button, {
19425
19443
  type: "primary",
@@ -19428,7 +19446,7 @@ var __async = (__this, __arguments, generator) => {
19428
19446
  disabled: !tempSelectedDepartment.value,
19429
19447
  class: "confirm-btn"
19430
19448
  }, {
19431
- default: vue.withCtx(() => [_hoisted_7$6]),
19449
+ default: vue.withCtx(() => [_hoisted_7$5]),
19432
19450
  _: 1
19433
19451
  }, 8, ["disabled"])])]), vue.createVNode(_component_van_field, {
19434
19452
  "left-icon": "search",
@@ -19440,7 +19458,7 @@ var __async = (__this, __arguments, generator) => {
19440
19458
  clearable: "",
19441
19459
  placeholder: "\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0\u641C\u7D22",
19442
19460
  class: "search-field"
19443
- }, null, 8, ["modelValue"]), vue.createElementVNode("div", _hoisted_8$5, [vue.createVNode(_component_van_cell_group, null, {
19461
+ }, null, 8, ["modelValue"]), vue.createElementVNode("div", _hoisted_8$4, [vue.createVNode(_component_van_cell_group, null, {
19444
19462
  default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(filteredDepartments), (item, index) => {
19445
19463
  return vue.openBlock(), vue.createBlock(_component_van_cell, {
19446
19464
  key: index,
@@ -19476,28 +19494,28 @@ var __async = (__this, __arguments, generator) => {
19476
19494
  };
19477
19495
  }
19478
19496
  };
19479
- var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c4c3b896"]]);
19497
+ var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-c4c3b896"]]);
19480
19498
  var user_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-850c4b52] {\r\n height: 60vh;\r\n width: 100%;\n}\n.picker-header[data-v-850c4b52] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.scroll-container[data-v-850c4b52] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.search-container[data-v-850c4b52] {\r\n padding: 10px;\r\n background: #fff;\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\n}\n[data-v-850c4b52] .search-container .van-search {\r\n flex: 1;\n}\n.search-btn[data-v-850c4b52] {\r\n flex-shrink: 0;\n}\n.select-all-container[data-v-850c4b52] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n[data-v-850c4b52] .van-checkbox__icon--square {\r\n border-radius: 4px;\n}\n[data-v-850c4b52] .van-checkbox__label {\r\n margin-left: 8px;\n}\n[data-v-850c4b52] .van-radio-group .van-cell,[data-v-850c4b52] .van-checkbox-group .van-cell {\r\n align-items: center;\n}\n.current-path[data-v-850c4b52] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-850c4b52] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-850c4b52] {\r\n color: #969799;\r\n margin-right: 5px;\n}\r\n")();
19481
- const _hoisted_1$e = {
19499
+ const _hoisted_1$c = {
19482
19500
  class: "user-selector"
19483
19501
  };
19484
- const _hoisted_2$8 = {
19502
+ const _hoisted_2$7 = {
19485
19503
  class: "popup-container"
19486
19504
  };
19487
- const _hoisted_3$6 = {
19505
+ const _hoisted_3$5 = {
19488
19506
  class: "picker-header"
19489
19507
  };
19490
- const _hoisted_4$6 = {
19508
+ const _hoisted_4$5 = {
19491
19509
  class: "header-left"
19492
19510
  };
19493
- const _hoisted_5$6 = {
19511
+ const _hoisted_5$5 = {
19494
19512
  class: "current-path"
19495
19513
  };
19496
- const _hoisted_6$5 = {
19514
+ const _hoisted_6$4 = {
19497
19515
  class: "header-right"
19498
19516
  };
19499
- const _hoisted_7$5 = /* @__PURE__ */ vue.createTextVNode("\u6E05\u7A7A");
19500
- const _hoisted_8$4 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
19517
+ const _hoisted_7$4 = /* @__PURE__ */ vue.createTextVNode("\u6E05\u7A7A");
19518
+ const _hoisted_8$3 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
19501
19519
  const _hoisted_9$2 = {
19502
19520
  key: 0,
19503
19521
  class: "select-all-container"
@@ -19510,7 +19528,7 @@ var __async = (__this, __arguments, generator) => {
19510
19528
  const _hoisted_13 = {
19511
19529
  class: "scroll-container"
19512
19530
  };
19513
- const _sfc_main$k = {
19531
+ const _sfc_main$h = {
19514
19532
  __name: "user_selector",
19515
19533
  props: {
19516
19534
  modelValue: [Array, String, Number],
@@ -19864,7 +19882,7 @@ var __async = (__this, __arguments, generator) => {
19864
19882
  const _component_van_radio = vue.resolveComponent("van-radio");
19865
19883
  const _component_van_radio_group = vue.resolveComponent("van-radio-group");
19866
19884
  const _component_van_popup = vue.resolveComponent("van-popup");
19867
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [!vue.unref(isGone2) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
19885
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [!vue.unref(isGone2) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
19868
19886
  key: 0,
19869
19887
  "model-value": vue.unref(selectedUserInfo),
19870
19888
  clickable: "",
@@ -19881,18 +19899,18 @@ var __async = (__this, __arguments, generator) => {
19881
19899
  position: "bottom",
19882
19900
  class: "user-popup"
19883
19901
  }, {
19884
- default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$8, [vue.createElementVNode("div", _hoisted_3$6, [vue.createElementVNode("div", _hoisted_4$6, [vue.unref(currentLevel) > 0 ? (vue.openBlock(), vue.createBlock(_component_van_button, {
19902
+ default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$7, [vue.createElementVNode("div", _hoisted_3$5, [vue.createElementVNode("div", _hoisted_4$5, [vue.unref(currentLevel) > 0 ? (vue.openBlock(), vue.createBlock(_component_van_button, {
19885
19903
  key: 0,
19886
19904
  onClick: goBack,
19887
19905
  icon: "arrow-left",
19888
19906
  size: "small",
19889
19907
  class: "back-button"
19890
- })) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_5$6, vue.toDisplayString(vue.unref(currentPath)), 1), vue.createElementVNode("div", _hoisted_6$5, [vue.createVNode(_component_van_button, {
19908
+ })) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_5$5, vue.toDisplayString(vue.unref(currentPath)), 1), vue.createElementVNode("div", _hoisted_6$4, [vue.createVNode(_component_van_button, {
19891
19909
  size: "small",
19892
19910
  onClick: handleClear,
19893
19911
  class: "cancel-btn"
19894
19912
  }, {
19895
- default: vue.withCtx(() => [_hoisted_7$5]),
19913
+ default: vue.withCtx(() => [_hoisted_7$4]),
19896
19914
  _: 1
19897
19915
  }), vue.createVNode(_component_van_button, {
19898
19916
  type: "primary",
@@ -19900,7 +19918,7 @@ var __async = (__this, __arguments, generator) => {
19900
19918
  onClick: confirmSelection,
19901
19919
  class: "confirm-btn"
19902
19920
  }, {
19903
- default: vue.withCtx(() => [_hoisted_8$4]),
19921
+ default: vue.withCtx(() => [_hoisted_8$3]),
19904
19922
  _: 1
19905
19923
  })])]), __props2.mode === "multiple" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$2, [vue.createVNode(_component_van_checkbox, {
19906
19924
  shape: "square",
@@ -20005,12 +20023,12 @@ var __async = (__this, __arguments, generator) => {
20005
20023
  };
20006
20024
  }
20007
20025
  };
20008
- var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-850c4b52"]]);
20026
+ var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-850c4b52"]]);
20009
20027
  var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-19fa5200] .label {\n color: #000 !important;\n}\n[data-v-19fa5200] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
20010
- const _hoisted_1$d = {
20028
+ const _hoisted_1$b = {
20011
20029
  class: "image-box"
20012
20030
  };
20013
- const _sfc_main$j = {
20031
+ const _sfc_main$g = {
20014
20032
  __name: "image_picker",
20015
20033
  props: {
20016
20034
  modelValue: {
@@ -20108,7 +20126,7 @@ var __async = (__this, __arguments, generator) => {
20108
20126
  "label-class": "label",
20109
20127
  placeholder: props2.placeholder
20110
20128
  }, {
20111
- input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$d, [props2.capture ? (vue.openBlock(), vue.createBlock(_component_van_uploader, {
20129
+ input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$b, [props2.capture ? (vue.openBlock(), vue.createBlock(_component_van_uploader, {
20112
20130
  key: 0,
20113
20131
  modelValue: files.value,
20114
20132
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
@@ -20137,13 +20155,13 @@ var __async = (__this, __arguments, generator) => {
20137
20155
  };
20138
20156
  }
20139
20157
  };
20140
- var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-19fa5200"]]);
20158
+ var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-19fa5200"]]);
20141
20159
  var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-box .cover[data-v-658f6012] {\n width: 80px;\n height: 80px;\n}")();
20142
- const _hoisted_1$c = {
20160
+ const _hoisted_1$a = {
20143
20161
  class: "image-box"
20144
20162
  };
20145
- const _hoisted_2$7 = ["src", "onClick"];
20146
- const _sfc_main$i = {
20163
+ const _hoisted_2$6 = ["src", "onClick"];
20164
+ const _sfc_main$f = {
20147
20165
  __name: "images_picker",
20148
20166
  props: {
20149
20167
  modelValue: {
@@ -20302,7 +20320,7 @@ var __async = (__this, __arguments, generator) => {
20302
20320
  placeholder: props2.placeholder,
20303
20321
  modelValue: vue.unref(modelValue2)
20304
20322
  }, {
20305
- input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$c, [props2.capture && !vue.unref(isReadonly2) && !vue.unref(isDisabled2) ? (vue.openBlock(), vue.createBlock(_component_van_uploader, {
20323
+ input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$a, [props2.capture && !vue.unref(isReadonly2) && !vue.unref(isDisabled2) ? (vue.openBlock(), vue.createBlock(_component_van_uploader, {
20306
20324
  key: 0,
20307
20325
  modelValue: files.value,
20308
20326
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
@@ -20335,7 +20353,7 @@ var __async = (__this, __arguments, generator) => {
20335
20353
  key: i,
20336
20354
  src: cover,
20337
20355
  onClick: ($event) => onPreview(i)
20338
- }, null, 8, _hoisted_2$7);
20356
+ }, null, 8, _hoisted_2$6);
20339
20357
  }), 128)) : vue.createCommentVNode("", true), (vue.unref(modelValue2) || []).length > props2.maxPreview && (vue.unref(isReadonly2) || vue.unref(isDisabled2)) ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
20340
20358
  key: 3,
20341
20359
  name: "ellipsis",
@@ -20346,12 +20364,12 @@ var __async = (__this, __arguments, generator) => {
20346
20364
  };
20347
20365
  }
20348
20366
  };
20349
- var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-658f6012"]]);
20367
+ var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-658f6012"]]);
20350
20368
  var FilePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-125192a8] .label {\n color: #000 !important;\n}\n[data-v-125192a8] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
20351
- const _hoisted_1$b = {
20369
+ const _hoisted_1$9 = {
20352
20370
  class: "file-box"
20353
20371
  };
20354
- const _sfc_main$h = {
20372
+ const _sfc_main$e = {
20355
20373
  __name: "FilePicker",
20356
20374
  props: {
20357
20375
  modelValue: {
@@ -20493,7 +20511,7 @@ var __async = (__this, __arguments, generator) => {
20493
20511
  "label-class": "label",
20494
20512
  placeholder: props2.placeholder
20495
20513
  }, {
20496
- input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$b, [vue.createVNode(_component_van_uploader, {
20514
+ input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$9, [vue.createVNode(_component_van_uploader, {
20497
20515
  modelValue: files.value,
20498
20516
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
20499
20517
  multiple: props2.multiple,
@@ -20511,29 +20529,29 @@ var __async = (__this, __arguments, generator) => {
20511
20529
  };
20512
20530
  }
20513
20531
  };
20514
- var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-125192a8"]]);
20532
+ var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-125192a8"]]);
20515
20533
  var SingleUserSelector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-c23caaf6] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-c23caaf6] {\r\n padding: 10px;\n}\n.search-buttons[data-v-c23caaf6] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-c23caaf6] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-c23caaf6] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-c23caaf6] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-c23caaf6] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-c23caaf6] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-c23caaf6] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-c23caaf6] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-c23caaf6] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
20516
- const _hoisted_1$a = {
20534
+ const _hoisted_1$8 = {
20517
20535
  class: "department-selector"
20518
20536
  };
20519
- const _hoisted_2$6 = {
20537
+ const _hoisted_2$5 = {
20520
20538
  class: "picker-header"
20521
20539
  };
20522
- const _hoisted_3$5 = {
20540
+ const _hoisted_3$4 = {
20523
20541
  class: "header-left"
20524
20542
  };
20525
- const _hoisted_4$5 = {
20543
+ const _hoisted_4$4 = {
20526
20544
  class: "current-path"
20527
20545
  };
20528
- const _hoisted_5$5 = {
20546
+ const _hoisted_5$4 = {
20529
20547
  class: "header-right"
20530
20548
  };
20531
- const _hoisted_6$4 = /* @__PURE__ */ vue.createTextVNode("\u6E05\u7A7A");
20532
- const _hoisted_7$4 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
20533
- const _hoisted_8$3 = {
20549
+ const _hoisted_6$3 = /* @__PURE__ */ vue.createTextVNode("\u6E05\u7A7A");
20550
+ const _hoisted_7$3 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
20551
+ const _hoisted_8$2 = {
20534
20552
  class: "scroll-container"
20535
20553
  };
20536
- const _sfc_main$g = {
20554
+ const _sfc_main$d = {
20537
20555
  __name: "SingleUserSelector",
20538
20556
  props: {
20539
20557
  modelValue: {
@@ -20801,16 +20819,16 @@ var __async = (__this, __arguments, generator) => {
20801
20819
  position: "bottom",
20802
20820
  class: "user-popup"
20803
20821
  }, {
20804
- default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$a, [vue.createElementVNode("div", _hoisted_2$6, [vue.createElementVNode("div", _hoisted_3$5, [vue.withDirectives(vue.createVNode(_component_van_button, {
20822
+ default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$8, [vue.createElementVNode("div", _hoisted_2$5, [vue.createElementVNode("div", _hoisted_3$4, [vue.withDirectives(vue.createVNode(_component_van_button, {
20805
20823
  onClick: goBack,
20806
20824
  icon: "arrow-left",
20807
20825
  size: "small"
20808
- }, null, 512), [[vue.vShow, currentPath.value !== "\u8BF7\u9009\u62E9\u90E8\u95E8"]])]), vue.createElementVNode("div", _hoisted_4$5, vue.toDisplayString(currentPath.value), 1), vue.createElementVNode("div", _hoisted_5$5, [vue.createVNode(_component_van_button, {
20826
+ }, null, 512), [[vue.vShow, currentPath.value !== "\u8BF7\u9009\u62E9\u90E8\u95E8"]])]), vue.createElementVNode("div", _hoisted_4$4, vue.toDisplayString(currentPath.value), 1), vue.createElementVNode("div", _hoisted_5$4, [vue.createVNode(_component_van_button, {
20809
20827
  size: "small",
20810
20828
  onClick: handleClear,
20811
20829
  class: "cancel-btn"
20812
20830
  }, {
20813
- default: vue.withCtx(() => [_hoisted_6$4]),
20831
+ default: vue.withCtx(() => [_hoisted_6$3]),
20814
20832
  _: 1
20815
20833
  }), vue.createVNode(_component_van_button, {
20816
20834
  type: "primary",
@@ -20818,7 +20836,7 @@ var __async = (__this, __arguments, generator) => {
20818
20836
  onClick: confirmSelection,
20819
20837
  class: "confirm-btn"
20820
20838
  }, {
20821
- default: vue.withCtx(() => [_hoisted_7$4]),
20839
+ default: vue.withCtx(() => [_hoisted_7$3]),
20822
20840
  _: 1
20823
20841
  })])]), vue.createVNode(_component_van_search, {
20824
20842
  modelValue: searchValue.value,
@@ -20833,7 +20851,7 @@ var __async = (__this, __arguments, generator) => {
20833
20851
  onClick: handleSearch
20834
20852
  }, "\u641C\u7D22")]),
20835
20853
  _: 1
20836
- }, 8, ["modelValue"]), vue.createElementVNode("div", _hoisted_8$3, [vue.createVNode(_component_van_cell_group, null, {
20854
+ }, 8, ["modelValue"]), vue.createElementVNode("div", _hoisted_8$2, [vue.createVNode(_component_van_cell_group, null, {
20837
20855
  default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(departments), (department) => {
20838
20856
  return vue.openBlock(), vue.createBlock(_component_van_cell, {
20839
20857
  key: department.id,
@@ -20868,579 +20886,61 @@ var __async = (__this, __arguments, generator) => {
20868
20886
  };
20869
20887
  }
20870
20888
  };
20871
- var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-c23caaf6"]]);
20872
- var UserPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-85dea264] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-85dea264] {\r\n padding: 10px;\n}\n.search-buttons[data-v-85dea264] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-85dea264] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-85dea264] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-85dea264] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-85dea264] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-85dea264] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-85dea264] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-85dea264] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-85dea264] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
20873
- const _hoisted_1$9 = {
20874
- class: "department-selector"
20889
+ var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-c23caaf6"]]);
20890
+ var UserProfile_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.widget[data-v-107e26c3] {\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: space-around;\r\n padding: 20px;\r\n background: linear-gradient(to right, #4a90e2, #87ceeb);\r\n border-radius: 10px;\r\n box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);\n.user-avatar[data-v-107e26c3] {\r\n margin-bottom: 15px;\n}\n.user-info[data-v-107e26c3] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-around;\r\n margin-bottom: 15px;\n.user-info-item[data-v-107e26c3] {\r\n font-size: 16px;\r\n line-height: 22px;\r\n color: #fff;\r\n text-align: center;\r\n padding: 0 3px;\n}\n}\n.space[data-v-107e26c3] {\r\n min-height: 10px;\r\n flex: 1;\n}\r\n\r\n /* \u6DFB\u52A0\u9000\u51FA\u6309\u94AE\u6837\u5F0F */\n.logout-button[data-v-107e26c3] {\r\n width: 70px;\r\n height: 30px;\r\n position: absolute;\r\n top: 20px;\r\n right: 20px;\r\n background-color: rgba(255, 255, 255, 0.2);\r\n color: white;\r\n border: none;\r\n border-radius: 15px;\r\n padding: 5px 15px;\r\n cursor: pointer;\r\n font-size: 14px;\r\n transition: background-color 0.3s;\n}\n.logout-button[data-v-107e26c3]:hover {\r\n background-color: rgba(255, 255, 255, 0.4);\n}\n.user-jobs[data-v-107e26c3] {\r\n display: flex;\r\n justify-content: center;\r\n gap: 15px;\r\n width: 100%;\r\n max-width: 300px;\n.job-item[data-v-107e26c3] {\r\n padding: 5px 10px;\r\n background-color: rgba(255, 255, 255, 0.2);\r\n border-radius: 20px;\r\n font-size: 12px;\r\n color: #fff;\n}\n}\n}\r\n")();
20891
+ const _hoisted_1$7 = {
20892
+ class: "widget"
20875
20893
  };
20876
- const _hoisted_2$5 = {
20877
- class: "picker-header"
20894
+ const _hoisted_2$4 = {
20895
+ class: "user-info"
20878
20896
  };
20879
- const _hoisted_3$4 = {
20880
- class: "header-left"
20897
+ const _hoisted_3$3 = {
20898
+ class: "user-info-item"
20881
20899
  };
20882
- const _hoisted_4$4 = {
20883
- class: "current-path"
20900
+ const _hoisted_4$3 = {
20901
+ class: "user-info-item"
20884
20902
  };
20885
- const _hoisted_5$4 = {
20886
- class: "header-right"
20903
+ const _hoisted_5$3 = {
20904
+ class: "user-info-item"
20887
20905
  };
20888
- const _hoisted_6$3 = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
20889
- const _hoisted_7$3 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
20890
- const _hoisted_8$2 = {
20891
- class: "scroll-container"
20906
+ const _hoisted_6$2 = {
20907
+ class: "user-jobs"
20892
20908
  };
20893
- const _sfc_main$f = {
20894
- __name: "UserPop",
20909
+ const _hoisted_7$2 = /* @__PURE__ */ vue.createTextVNode(" \u6CE8\u9500 ");
20910
+ const _sfc_main$c = {
20911
+ __name: "UserProfile",
20895
20912
  props: {
20896
- show: {
20897
- type: Boolean,
20898
- default: false
20913
+ avatar: {
20914
+ type: String,
20915
+ default: ""
20899
20916
  },
20900
- rootDeptId: {
20917
+ name: {
20901
20918
  type: String,
20902
- default: "1"
20919
+ default: ""
20903
20920
  },
20904
- deptRangeId: {
20921
+ position: {
20922
+ type: String,
20923
+ default: ""
20924
+ },
20925
+ mobile: {
20905
20926
  type: String,
20906
20927
  default: ""
20928
+ },
20929
+ departments: {
20930
+ type: Array,
20931
+ default: []
20907
20932
  }
20908
20933
  },
20909
- emits: ["update:show", "select"],
20934
+ emits: ["logout"],
20910
20935
  setup(__props2, {
20911
20936
  emit: emit2
20912
20937
  }) {
20913
20938
  const props2 = __props2;
20914
- const show = useVModel(props2, "show", emit2);
20915
- const data2 = vue.reactive({
20916
- selectedDeptId: "",
20917
- totalDepts: [],
20918
- keyword: "",
20919
- searchUsers: [],
20920
- selectedUser: null
20921
- });
20922
- function findDeptPaths(targetDept, tree, path = []) {
20923
- var _a;
20924
- if (!tree || tree.length < 1 || !targetDept || !targetDept.id)
20925
- return [];
20926
- for (const dept of tree) {
20927
- if (dept.id === targetDept.id) {
20928
- return [...path, dept];
20929
- }
20930
- if ((_a = dept.subDepartments) == null ? void 0 : _a.length) {
20931
- const found = findDeptPaths(targetDept, dept.subDepartments, [...path, dept]);
20932
- if (found && found.length > 0)
20933
- return found;
20934
- }
20935
- }
20936
- return [];
20937
- }
20938
- const selectedDept = vue.computed(() => {
20939
- if (!data2.selectedDeptId)
20940
- return null;
20941
- let targetDept = findDept(data2.selectedDeptId, data2.totalDepts);
20942
- return targetDept;
20943
- });
20944
- const pathsLabel = vue.computed(() => {
20945
- let paths = findDeptPaths(selectedDept.value, data2.totalDepts);
20946
- console.log("paths", paths);
20947
- let res = "";
20948
- paths.forEach((dept) => {
20949
- res += dept.name + "/";
20950
- });
20951
- return res;
20952
- });
20953
- const subDepts = vue.computed(() => {
20954
- if (data2.keyword)
20955
- return [];
20956
- else if (selectedDept.value)
20957
- return selectedDept.value.subDepartments;
20958
- else
20959
- return data2.totalDepts;
20960
- });
20961
- const subUsers = vue.computed(() => {
20962
- if (data2.keyword)
20963
- return data2.searchUsers;
20964
- else if (selectedDept.value)
20965
- return selectedDept.value.users;
20966
- else
20967
- return [];
20968
- });
20969
- const queryTotalDepts = () => __async(this, null, function* () {
20970
- const response = yield util.get_subdepartments_users({
20971
- departmentId: props2.rootDeptId,
20972
- hasGrandson: false
20973
- });
20974
- let level2Depts = [];
20975
- if (response.data)
20976
- level2Depts = response.data.subDepartments;
20977
- let level2DeptIds = [];
20978
- if (props2.deptRangeId) {
20979
- let res = yield util.dictionary_dict({
20980
- id: props2.deptRangeId
20981
- });
20982
- if (res.data.parseValue && res.data.parseValue.length > 0) {
20983
- level2DeptIds = res.data.parseValue;
20984
- }
20985
- }
20986
- if (props2.deptRangeId) {
20987
- if (level2DeptIds && level2DeptIds.length > 0) {
20988
- level2Depts = level2Depts.filter((item) => {
20989
- return level2DeptIds.includes(item.id);
20990
- });
20991
- }
20992
- }
20993
- data2.totalDepts = level2Depts || [];
20994
- });
20995
- function findDept(deptId, tree) {
20996
- if (!tree || tree.length < 1)
20997
- return null;
20998
- for (const dept of tree) {
20999
- if (dept.id === deptId) {
21000
- return dept;
21001
- }
21002
- const found = findDept(deptId, dept.subDepartments);
21003
- if (found)
21004
- return found;
21005
- }
21006
- return null;
21007
- }
21008
- const onSearch = () => __async(this, null, function* () {
21009
- if (!data2.keyword)
21010
- return;
21011
- const res = yield util.wx_user_list({
21012
- keyword: data2.keyword,
21013
- page: 1,
21014
- limit: 10
21015
- });
21016
- data2.searchUsers = res.data.list;
21017
- });
21018
- const onSelectDept = (department) => __async(this, null, function* () {
21019
- const res = yield util.get_subdepartments_users({
21020
- departmentId: department.id,
21021
- hasGrandson: false
21022
- });
21023
- let targetDept = findDept(department.id, data2.totalDepts);
21024
- targetDept.subDepartments = res.data.subDepartments;
21025
- targetDept.users = res.data.users;
21026
- data2.selectedDeptId = department.id;
21027
- });
21028
- const onBack = () => {
21029
- data2.keyword = "";
21030
- let paths = findDeptPaths(selectedDept.value, data2.totalDepts);
21031
- if (!paths || paths.length <= 1) {
21032
- data2.selectedDeptId = "";
21033
- return;
21034
- }
21035
- data2.selectedDeptId = paths[paths.length - 2].id;
21036
- };
21037
- const reset = () => {
21038
- data2.selectedDeptId = "";
21039
- data2.keyword = "";
21040
- data2.searchUsers = [];
21041
- data2.selectedUser = {};
21042
- };
21043
- const onSubmit2 = () => {
21044
- if (!data2.selectedUser) {
21045
- util.warnToast("\u8BF7\u9009\u62E9\u7528\u6237");
21046
- return;
21047
- }
21048
- emit2("select", data2.selectedUser);
21049
- show.value = false;
21050
- reset();
21051
- };
21052
- const onCancel = () => {
21053
- show.value = false;
21054
- reset();
20939
+ const onLogout = () => {
20940
+ emit2("logout");
21055
20941
  };
21056
- vue.onMounted(() => __async(this, null, function* () {
21057
- yield queryTotalDepts();
21058
- data2.selectedDept = findDept(props2.rootDeptId, data2.totalDepts);
21059
- }));
21060
- return (_ctx, _cache) => {
21061
- const _component_van_button = vue.resolveComponent("van-button");
21062
- const _component_van_search = vue.resolveComponent("van-search");
21063
- const _component_van_cell = vue.resolveComponent("van-cell");
21064
- const _component_van_cell_group = vue.resolveComponent("van-cell-group");
21065
- const _component_van_radio = vue.resolveComponent("van-radio");
21066
- const _component_van_radio_group = vue.resolveComponent("van-radio-group");
21067
- const _component_van_popup = vue.resolveComponent("van-popup");
21068
- return vue.openBlock(), vue.createBlock(_component_van_popup, {
21069
- show: vue.unref(show),
21070
- "onUpdate:show": _cache[2] || (_cache[2] = ($event) => vue.isRef(show) ? show.value = $event : null),
21071
- round: "",
21072
- position: "bottom",
21073
- class: "user-popup"
21074
- }, {
21075
- default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$9, [vue.createElementVNode("div", _hoisted_2$5, [vue.createElementVNode("div", _hoisted_3$4, [vue.createVNode(_component_van_button, {
21076
- onClick: onBack,
21077
- icon: "arrow-left",
21078
- size: "small"
21079
- })]), vue.createElementVNode("div", _hoisted_4$4, vue.toDisplayString(vue.unref(pathsLabel)), 1), vue.createElementVNode("div", _hoisted_5$4, [vue.createVNode(_component_van_button, {
21080
- size: "small",
21081
- onClick: onCancel,
21082
- class: "cancel-btn"
21083
- }, {
21084
- default: vue.withCtx(() => [_hoisted_6$3]),
21085
- _: 1
21086
- }), vue.createVNode(_component_van_button, {
21087
- type: "primary",
21088
- size: "small",
21089
- onClick: onSubmit2,
21090
- class: "confirm-btn"
21091
- }, {
21092
- default: vue.withCtx(() => [_hoisted_7$3]),
21093
- _: 1
21094
- })])]), vue.createVNode(_component_van_search, {
21095
- modelValue: data2.keyword,
21096
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.keyword = $event),
21097
- placeholder: "\u8F93\u5165\u5DE5\u53F7\u67E5\u8BE2",
21098
- onClear: _ctx.onClear,
21099
- onSearch,
21100
- onCancel: _ctx.onClear,
21101
- "show-action": ""
21102
- }, {
21103
- action: vue.withCtx(() => [vue.createElementVNode("div", {
21104
- onClick: onSearch
21105
- }, "\u641C\u7D22")]),
21106
- _: 1
21107
- }, 8, ["modelValue", "onClear", "onCancel"]), vue.createElementVNode("div", _hoisted_8$2, [vue.createVNode(_component_van_cell_group, null, {
21108
- default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(subDepts), (dept) => {
21109
- return vue.openBlock(), vue.createBlock(_component_van_cell, {
21110
- key: dept.id,
21111
- title: dept.name,
21112
- "is-link": "",
21113
- onClick: ($event) => onSelectDept(dept)
21114
- }, null, 8, ["title", "onClick"]);
21115
- }), 128))]),
21116
- _: 1
21117
- }), vue.createVNode(_component_van_radio_group, {
21118
- modelValue: data2.selectedUser,
21119
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => data2.selectedUser = $event)
21120
- }, {
21121
- default: vue.withCtx(() => [vue.createVNode(_component_van_cell_group, null, {
21122
- default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(subUsers), (user) => {
21123
- return vue.openBlock(), vue.createBlock(_component_van_cell, {
21124
- key: user.id,
21125
- title: `${user.userid} ${user.name}`
21126
- }, {
21127
- "right-icon": vue.withCtx(() => [vue.createVNode(_component_van_radio, {
21128
- name: user.userid
21129
- }, null, 8, ["name"])]),
21130
- _: 2
21131
- }, 1032, ["title"]);
21132
- }), 128))]),
21133
- _: 1
21134
- })]),
21135
- _: 1
21136
- }, 8, ["modelValue"])])])]),
21137
- _: 1
21138
- }, 8, ["show"]);
21139
- };
21140
- }
21141
- };
21142
- var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-85dea264"]]);
21143
- var UsersPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-item[data-v-2ccc13b6]{\r\n margin:3px;\n}\r\n")();
21144
- const _hoisted_1$8 = {
21145
- class: "user-list"
21146
- };
21147
- const _sfc_main$e = {
21148
- __name: "UsersPicker",
21149
- props: {
21150
- modelValue: {
21151
- type: Array,
21152
- default: []
21153
- },
21154
- label: {
21155
- type: String,
21156
- default: "\u9009\u62E9\u4EBA\u5458"
21157
- },
21158
- placeholder: {
21159
- type: String,
21160
- default: "\u8BF7\u9009\u62E9\u4EBA\u5458"
21161
- },
21162
- required: {
21163
- type: Boolean,
21164
- default: false
21165
- },
21166
- readonly: {
21167
- type: Boolean,
21168
- default: false
21169
- },
21170
- rules: {
21171
- type: Array,
21172
- default: () => []
21173
- },
21174
- rootDeptId: {
21175
- type: String,
21176
- default: "1"
21177
- },
21178
- deptRangeId: {
21179
- type: String,
21180
- default: ""
21181
- },
21182
- auth: {
21183
- type: String,
21184
- default: ""
21185
- }
21186
- },
21187
- emits: ["update:modelValue", "select"],
21188
- setup(__props2, {
21189
- emit: emit2
21190
- }) {
21191
- const props2 = __props2;
21192
- const data2 = vue.reactive({
21193
- isShowPop: false,
21194
- users: []
21195
- });
21196
- const modelValue2 = useVModel(props2, "modelValue", emit2);
21197
- const {
21198
- isRequired: isRequired2,
21199
- isReadonly: isReadonly2,
21200
- isGone: isGone2,
21201
- isDisabled: isDisabled2,
21202
- rules: rules2
21203
- } = util.props2auth(props2);
21204
- vue.onMounted(() => {
21205
- });
21206
- const onSelectUser = (userId) => {
21207
- let newAry = [...modelValue2.value || [], userId];
21208
- modelValue2.value = util.uniq(newAry);
21209
- };
21210
- const onDelete = (user) => {
21211
- modelValue2.value = (modelValue2.value || []).filter((item) => {
21212
- return item != user.userid;
21213
- });
21214
- };
21215
- vue.watch(() => modelValue2.value, (n, o) => __async(this, null, function* () {
21216
- if (!modelValue2.value || modelValue2.value.length < 1) {
21217
- data2.users = [];
21218
- return;
21219
- }
21220
- let ary = [];
21221
- for (var i = 0; i < modelValue2.value.length; i++) {
21222
- let res = yield util.get_wxuser_by_id({
21223
- userId: modelValue2.value[i]
21224
- });
21225
- ary.push(res.data);
21226
- }
21227
- data2.users = ary;
21228
- emit2("select", data2.users);
21229
- }), {
21230
- immediate: true
21231
- });
21232
- return (_ctx, _cache) => {
21233
- const _component_van_tag = vue.resolveComponent("van-tag");
21234
- const _component_van_field = vue.resolveComponent("van-field");
21235
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone2) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
21236
- key: 0,
21237
- label: props2.label,
21238
- required: vue.unref(isRequired2),
21239
- rules: vue.unref(rules2),
21240
- disabled: vue.unref(isDisabled2),
21241
- modelValue: vue.unref(modelValue2),
21242
- placeholder: props2.placeholder,
21243
- "is-link": vue.unref(isReadonly2) ? false : true,
21244
- onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !vue.unref(isReadonly2)),
21245
- "label-class": "label"
21246
- }, {
21247
- input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.users, (item, i) => {
21248
- return vue.openBlock(), vue.createBlock(_component_van_tag, {
21249
- class: "user-item",
21250
- closeable: !vue.unref(isDisabled2),
21251
- type: "primary",
21252
- plain: "",
21253
- key: item,
21254
- onClose: vue.withModifiers(($event) => onDelete(item), ["stop"])
21255
- }, {
21256
- default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(item.name), 1)]),
21257
- _: 2
21258
- }, 1032, ["closeable", "onClose"]);
21259
- }), 128))])]),
21260
- _: 1
21261
- }, 8, ["label", "required", "rules", "disabled", "modelValue", "placeholder", "is-link"])) : vue.createCommentVNode("", true), vue.createVNode(UserPop, {
21262
- show: data2.isShowPop,
21263
- "onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShowPop = $event),
21264
- rootDeptId: props2.rootDeptId,
21265
- deptRangeId: props2.deptRangeId,
21266
- onSelect: onSelectUser
21267
- }, null, 8, ["show", "rootDeptId", "deptRangeId"])], 64);
21268
- };
21269
- }
21270
- };
21271
- var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-2ccc13b6"]]);
21272
- var UserPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-d61f4f1a]{\r\n padding:4px 8px;\n}\r\n")();
21273
- const _sfc_main$d = {
21274
- __name: "UserPicker",
21275
- props: {
21276
- modelValue: {
21277
- type: String,
21278
- default: ""
21279
- },
21280
- label: {
21281
- type: String,
21282
- default: "\u9009\u62E9\u4EBA\u5458"
21283
- },
21284
- placeholder: {
21285
- type: String,
21286
- default: "\u8BF7\u9009\u62E9\u4EBA\u5458"
21287
- },
21288
- required: {
21289
- type: Boolean,
21290
- default: false
21291
- },
21292
- readonly: {
21293
- type: Boolean,
21294
- default: false
21295
- },
21296
- rules: {
21297
- type: Array,
21298
- default: []
21299
- },
21300
- rootDeptId: {
21301
- type: String,
21302
- default: "1"
21303
- },
21304
- deptRangeId: {
21305
- type: String,
21306
- default: ""
21307
- },
21308
- auth: {
21309
- type: String,
21310
- default: ""
21311
- }
21312
- },
21313
- emits: ["update:modelValue", "select"],
21314
- setup(__props2, {
21315
- emit: emit2
21316
- }) {
21317
- const props2 = __props2;
21318
- const data2 = vue.reactive({
21319
- isShowPop: false,
21320
- user: {}
21321
- });
21322
- const modelValue2 = useVModel(props2, "modelValue", emit2);
21323
- const {
21324
- isRequired: isRequired2,
21325
- isReadonly: isReadonly2,
21326
- isGone: isGone2,
21327
- isDisabled: isDisabled2,
21328
- rules: rules2
21329
- } = util.props2auth(props2);
21330
- vue.onMounted(() => {
21331
- });
21332
- const onSelectUser = (userId) => {
21333
- modelValue2.value = userId;
21334
- };
21335
- const onDelete = () => {
21336
- data2.user = {};
21337
- modelValue2.value = null;
21338
- };
21339
- vue.watch(() => modelValue2.value, (n, o) => __async(this, null, function* () {
21340
- if (!n) {
21341
- data2.user = {};
21342
- return;
21343
- }
21344
- let res = yield util.get_wxuser_by_id({
21345
- userId: n
21346
- });
21347
- data2.user = res.data;
21348
- emit2("select", data2.user);
21349
- }), {
21350
- immediate: true
21351
- });
21352
- return (_ctx, _cache) => {
21353
- const _component_van_tag = vue.resolveComponent("van-tag");
21354
- const _component_van_field = vue.resolveComponent("van-field");
21355
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone2) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
21356
- key: 0,
21357
- label: props2.label,
21358
- required: vue.unref(isRequired2),
21359
- rules: vue.unref(rules2),
21360
- disabled: vue.unref(isDisabled2),
21361
- placeholder: props2.placeholder,
21362
- "is-link": vue.unref(isReadonly2) ? false : true,
21363
- onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !vue.unref(isReadonly2)),
21364
- "label-class": "label",
21365
- modelValue: vue.unref(modelValue2)
21366
- }, {
21367
- input: vue.withCtx(() => [vue.unref(modelValue2) ? (vue.openBlock(), vue.createBlock(_component_van_tag, {
21368
- key: 0,
21369
- class: "user",
21370
- closeable: !vue.unref(isDisabled2),
21371
- type: "primary",
21372
- plain: "",
21373
- onClose: vue.withModifiers(onDelete, ["stop"])
21374
- }, {
21375
- default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(data2.user.name), 1)]),
21376
- _: 1
21377
- }, 8, ["closeable", "onClose"])) : vue.createCommentVNode("", true)]),
21378
- _: 1
21379
- }, 8, ["label", "required", "rules", "disabled", "placeholder", "is-link", "modelValue"])) : vue.createCommentVNode("", true), vue.createVNode(UserPop, {
21380
- show: data2.isShowPop,
21381
- "onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShowPop = $event),
21382
- rootDeptId: props2.rootDeptId,
21383
- deptRangeId: props2.deptRangeId,
21384
- onSelect: onSelectUser
21385
- }, null, 8, ["show", "rootDeptId", "deptRangeId"])], 64);
21386
- };
21387
- }
21388
- };
21389
- var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-d61f4f1a"]]);
21390
- var UserProfile_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.widget[data-v-107e26c3] {\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: space-around;\r\n padding: 20px;\r\n background: linear-gradient(to right, #4a90e2, #87ceeb);\r\n border-radius: 10px;\r\n box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);\n.user-avatar[data-v-107e26c3] {\r\n margin-bottom: 15px;\n}\n.user-info[data-v-107e26c3] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-around;\r\n margin-bottom: 15px;\n.user-info-item[data-v-107e26c3] {\r\n font-size: 16px;\r\n line-height: 22px;\r\n color: #fff;\r\n text-align: center;\r\n padding: 0 3px;\n}\n}\n.space[data-v-107e26c3] {\r\n min-height: 10px;\r\n flex: 1;\n}\r\n\r\n /* \u6DFB\u52A0\u9000\u51FA\u6309\u94AE\u6837\u5F0F */\n.logout-button[data-v-107e26c3] {\r\n width: 70px;\r\n height: 30px;\r\n position: absolute;\r\n top: 20px;\r\n right: 20px;\r\n background-color: rgba(255, 255, 255, 0.2);\r\n color: white;\r\n border: none;\r\n border-radius: 15px;\r\n padding: 5px 15px;\r\n cursor: pointer;\r\n font-size: 14px;\r\n transition: background-color 0.3s;\n}\n.logout-button[data-v-107e26c3]:hover {\r\n background-color: rgba(255, 255, 255, 0.4);\n}\n.user-jobs[data-v-107e26c3] {\r\n display: flex;\r\n justify-content: center;\r\n gap: 15px;\r\n width: 100%;\r\n max-width: 300px;\n.job-item[data-v-107e26c3] {\r\n padding: 5px 10px;\r\n background-color: rgba(255, 255, 255, 0.2);\r\n border-radius: 20px;\r\n font-size: 12px;\r\n color: #fff;\n}\n}\n}\r\n")();
21391
- const _hoisted_1$7 = {
21392
- class: "widget"
21393
- };
21394
- const _hoisted_2$4 = {
21395
- class: "user-info"
21396
- };
21397
- const _hoisted_3$3 = {
21398
- class: "user-info-item"
21399
- };
21400
- const _hoisted_4$3 = {
21401
- class: "user-info-item"
21402
- };
21403
- const _hoisted_5$3 = {
21404
- class: "user-info-item"
21405
- };
21406
- const _hoisted_6$2 = {
21407
- class: "user-jobs"
21408
- };
21409
- const _hoisted_7$2 = /* @__PURE__ */ vue.createTextVNode(" \u6CE8\u9500 ");
21410
- const _sfc_main$c = {
21411
- __name: "UserProfile",
21412
- props: {
21413
- avatar: {
21414
- type: String,
21415
- default: ""
21416
- },
21417
- name: {
21418
- type: String,
21419
- default: ""
21420
- },
21421
- position: {
21422
- type: String,
21423
- default: ""
21424
- },
21425
- mobile: {
21426
- type: String,
21427
- default: ""
21428
- },
21429
- departments: {
21430
- type: Array,
21431
- default: []
21432
- }
21433
- },
21434
- emits: ["logout"],
21435
- setup(__props2, {
21436
- emit: emit2
21437
- }) {
21438
- const props2 = __props2;
21439
- const onLogout = () => {
21440
- emit2("logout");
21441
- };
21442
- vue.onMounted(() => {
21443
- });
20942
+ vue.onMounted(() => {
20943
+ });
21444
20944
  return (_ctx, _cache) => {
21445
20945
  const _component_van_image = vue.resolveComponent("van-image");
21446
20946
  const _component_van_button = vue.resolveComponent("van-button");
@@ -22118,7 +21618,7 @@ var __async = (__this, __arguments, generator) => {
22118
21618
  }
22119
21619
  };
22120
21620
  var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-ebc14630"]]);
22121
- var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-37dc4af2] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.cascader-selector[data-v-37dc4af2] {\r\n padding: 10px;\n}\n.search-buttons[data-v-37dc4af2] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-37dc4af2] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-37dc4af2] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-37dc4af2] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.cascader-header[data-v-37dc4af2] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-37dc4af2] {\r\n flex: 1;\r\n font-size: 14px;\r\n margin-left:5px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-37dc4af2] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-37dc4af2] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-37dc4af2] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.cell-content[data-v-37dc4af2] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-37dc4af2] {\r\n width: 20px;\r\n height: 20px;\r\n border-radius: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: all 0.2s;\r\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-37dc4af2] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-37dc4af2] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-37dc4af2] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-37dc4af2] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-37dc4af2] {\r\n color: #969799;\n}\n.search-field[data-v-37dc4af2] {\r\n background: #fff;\r\n padding: 10px 16px;\r\n border-bottom: 1px solid #ebedf0;\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n margin-bottom: 10px;\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u538B\u7F29 */\n}\r\n")();
21621
+ var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-27ca3ce1] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.cascader-selector[data-v-27ca3ce1] {\r\n padding: 10px;\n}\n.search-buttons[data-v-27ca3ce1] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-27ca3ce1] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-27ca3ce1] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-27ca3ce1] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.cascader-header[data-v-27ca3ce1] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-27ca3ce1] {\r\n flex: 1;\r\n font-size: 14px;\r\n margin-left: 5px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-27ca3ce1] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-27ca3ce1] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-27ca3ce1] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.cell-content[data-v-27ca3ce1] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-27ca3ce1] {\r\n width: 20px;\r\n height: 20px;\r\n border-radius: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: all 0.2s;\r\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-27ca3ce1] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-27ca3ce1] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-27ca3ce1] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-27ca3ce1] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-27ca3ce1] {\r\n color: #969799;\n}\n.search-field[data-v-27ca3ce1] {\r\n background: #fff;\r\n padding: 10px 16px;\r\n border-bottom: 1px solid #ebedf0;\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n margin-bottom: 10px;\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u538B\u7F29 */\n}\r\n")();
22122
21622
  const _hoisted_1$3 = {
22123
21623
  class: "cascader-selector"
22124
21624
  };
@@ -22150,8 +21650,12 @@ var __async = (__this, __arguments, generator) => {
22150
21650
  __name: "CascaderPop",
22151
21651
  props: {
22152
21652
  modelValue: {
22153
- type: String,
22154
- default: ""
21653
+ type: [String, Array, Number],
21654
+ default: null
21655
+ },
21656
+ multiple: {
21657
+ type: Boolean,
21658
+ default: false
22155
21659
  },
22156
21660
  show: {
22157
21661
  type: Boolean,
@@ -22182,7 +21686,7 @@ var __async = (__this, __arguments, generator) => {
22182
21686
  const data2 = vue.reactive({
22183
21687
  parentNode: null,
22184
21688
  keyword: "",
22185
- selectedNodeId: ""
21689
+ selectedNodeIds: []
22186
21690
  });
22187
21691
  vue.onMounted(() => {
22188
21692
  });
@@ -22226,25 +21730,51 @@ var __async = (__this, __arguments, generator) => {
22226
21730
  };
22227
21731
  const reset = () => {
22228
21732
  data2.keyword = "";
21733
+ data2.selectedNodeIds = [];
22229
21734
  };
22230
- const onSubmit2 = () => {
22231
- if (!data2.selectedNodeId) {
21735
+ const ids2nodes2 = () => __async(this, null, function* () {
21736
+ if (!data2.selectedNodeIds || data2.selectedNodeIds.length < 1)
21737
+ return [];
21738
+ let promises = data2.selectedNodeIds.map((nodeId) => __async(this, null, function* () {
21739
+ let params = {};
21740
+ params.id = nodeId;
21741
+ params.isReturnParent = true;
21742
+ params.hasChildren = false;
21743
+ params.hasPaths = true;
21744
+ let selectNode = null;
21745
+ yield props2.idQueryNode(params, (node) => {
21746
+ data2.parentNode = node;
21747
+ selectNode = util.findNode(nodeId, data2.parentNode.children);
21748
+ });
21749
+ return selectNode;
21750
+ }));
21751
+ let selectNodes = yield Promise.all(promises);
21752
+ return selectNodes;
21753
+ });
21754
+ const onSubmit2 = () => __async(this, null, function* () {
21755
+ if (!data2.selectedNodeIds || data2.selectedNodeIds.length < 1) {
22232
21756
  util.warnToast("\u8BF7\u9009\u62E9");
22233
21757
  return;
22234
21758
  }
22235
- modelValue2.value = data2.selectedNodeId;
21759
+ let selectNodes = yield ids2nodes2();
21760
+ emit2("select", selectNodes);
21761
+ if (!props2.multiple) {
21762
+ modelValue2.value = data2.selectedNodeIds[0];
21763
+ } else {
21764
+ modelValue2.value = data2.selectedNodeIds;
21765
+ }
22236
21766
  show.value = false;
22237
21767
  reset();
22238
- };
21768
+ });
22239
21769
  const onCancel = () => {
22240
21770
  show.value = false;
22241
21771
  reset();
22242
21772
  };
22243
21773
  const onToggle = (node) => {
22244
- if (data2.selectedNodeId == node.id)
22245
- data2.selectedNodeId = "";
21774
+ if (data2.selectedNodeIds.includes(node.id))
21775
+ data2.selectedNodeIds = data2.selectedNodeIds.filter((item) => item != node.id);
22246
21776
  else
22247
- data2.selectedNodeId = node.id;
21777
+ data2.selectedNodeIds.push(node.id);
22248
21778
  };
22249
21779
  const onNextLevel = (node) => {
22250
21780
  props2.idQueryNode({
@@ -22256,55 +21786,26 @@ var __async = (__this, __arguments, generator) => {
22256
21786
  });
22257
21787
  };
22258
21788
  const query = () => __async(this, null, function* () {
22259
- data2.selectedNodeId = modelValue2.value;
22260
- if (!modelValue2.value) {
22261
- let params = {};
22262
- params.isReturnParent = true;
22263
- params.hasChildren = true;
22264
- params.hasPaths = true;
22265
- yield props2.idQueryNode(params, (node) => {
22266
- data2.parentNode = node;
22267
- if (!modelValue2.value)
22268
- return;
22269
- let childNode = util.findNode(modelValue2.value, data2.parentNode.children);
22270
- emit2("select", childNode);
22271
- });
22272
- } else {
22273
- if (!props2.show) {
22274
- let params = {};
22275
- params.id = modelValue2.value;
22276
- params.isReturnParent = true;
22277
- params.hasChildren = false;
22278
- params.hasPaths = true;
22279
- yield props2.idQueryNode(params, (node) => {
22280
- data2.parentNode = node;
22281
- let childNode = util.findNode(modelValue2.value, data2.parentNode.children);
22282
- emit2("select", childNode);
22283
- });
22284
- } else {
22285
- let params = {};
22286
- params.id = modelValue2.value;
22287
- params.isReturnParent = true;
22288
- params.hasChildren = true;
22289
- params.hasPaths = true;
22290
- yield props2.idQueryNode(params, (node) => {
22291
- data2.parentNode = node;
22292
- if (!modelValue2.value)
22293
- return;
22294
- let childNode = util.findNode(modelValue2.value, data2.parentNode.children);
22295
- emit2("select", childNode);
22296
- });
22297
- }
22298
- }
22299
- });
22300
- vue.watch(() => props2.show, () => {
22301
- if (!props2.show)
22302
- return;
22303
- query();
22304
- }, {
22305
- immediate: true
21789
+ if (!props2.multiple) {
21790
+ if (modelValue2.value)
21791
+ data2.selectedNodeIds = [modelValue2.value];
21792
+ else
21793
+ data2.selectedNodeIds = [];
21794
+ } else if (modelValue2.value && modelValue2.value.length > 0)
21795
+ data2.selectedNodeIds = modelValue2.value;
21796
+ else
21797
+ data2.selectedNodeIds = [];
21798
+ let params = {};
21799
+ if (data2.selectedNodeIds.length > 0)
21800
+ params.id = data2.selectedNodeIds[0];
21801
+ params.isReturnParent = true;
21802
+ params.hasChildren = true;
21803
+ params.hasPaths = true;
21804
+ yield props2.idQueryNode(params, (node) => {
21805
+ data2.parentNode = node;
21806
+ });
22306
21807
  });
22307
- vue.watch(() => modelValue2.value, (n, o) => __async(this, null, function* () {
21808
+ vue.watch(() => [modelValue2.value, props2.show], (n, o) => __async(this, null, function* () {
22308
21809
  query();
22309
21810
  }), {
22310
21811
  immediate: true
@@ -22364,12 +21865,12 @@ var __async = (__this, __arguments, generator) => {
22364
21865
  key: 0,
22365
21866
  class: "circle-selector",
22366
21867
  onClick: vue.withModifiers(($event) => onToggle(item), ["stop"])
22367
- }, [data2.selectedNodeId === item.id ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
21868
+ }, [data2.selectedNodeIds.includes(item.id) ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
22368
21869
  key: 0,
22369
21870
  name: "success",
22370
21871
  size: "20",
22371
21872
  color: "#409eff"
22372
- })) : vue.createCommentVNode("", true), data2.selectedNodeId != item.id ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
21873
+ })) : vue.createCommentVNode("", true), !data2.selectedNodeIds.includes(item.id) ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
22373
21874
  key: 1,
22374
21875
  name: "circle",
22375
21876
  size: "20",
@@ -22391,7 +21892,7 @@ var __async = (__this, __arguments, generator) => {
22391
21892
  };
22392
21893
  }
22393
21894
  };
22394
- var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-37dc4af2"]]);
21895
+ var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-27ca3ce1"]]);
22395
21896
  const _hoisted_1$2 = {
22396
21897
  style: {
22397
21898
  "display": "flex",
@@ -22453,7 +21954,7 @@ var __async = (__this, __arguments, generator) => {
22453
21954
  const data2 = vue.reactive({
22454
21955
  isShowPop: false,
22455
21956
  selectedNodes: [],
22456
- selectedNodeId: null
21957
+ selectedNodeIds: null
22457
21958
  });
22458
21959
  const modelValue2 = useVModel(props2, "modelValue", emit2);
22459
21960
  const {
@@ -22465,19 +21966,17 @@ var __async = (__this, __arguments, generator) => {
22465
21966
  } = util.props2auth(props2);
22466
21967
  vue.onMounted(() => {
22467
21968
  });
22468
- const onSelect = (node) => {
22469
- if (!node) {
21969
+ const onSelect = (nodes) => {
21970
+ if (!nodes) {
22470
21971
  emit2("select", null);
22471
21972
  return;
22472
21973
  }
22473
21974
  if (!props2.multiple) {
22474
- data2.selectedNodes = [node];
21975
+ data2.selectedNodes = nodes;
22475
21976
  emit2("select", data2.selectedNodes[0]);
22476
- modelValue2.value = node.id;
21977
+ modelValue2.value = data2.selectedNodes[0].id;
22477
21978
  } else {
22478
- let one = data2.selectedNodes.find((item) => item.id === node.id);
22479
- if (!one)
22480
- data2.selectedNodes = [...data2.selectedNodes, node];
21979
+ data2.selectedNodes = nodes;
22481
21980
  emit2("select", data2.selectedNodes);
22482
21981
  modelValue2.value = data2.selectedNodes.map((item) => item.id);
22483
21982
  }
@@ -22489,23 +21988,32 @@ var __async = (__this, __arguments, generator) => {
22489
21988
  modelValue2.value.splice(idx, 1);
22490
21989
  }
22491
21990
  };
21991
+ const ids2nodes2 = () => __async(this, null, function* () {
21992
+ if (!data2.selectedNodeIds || data2.selectedNodeIds.length < 1)
21993
+ return [];
21994
+ let promises = data2.selectedNodeIds.map((nodeId) => __async(this, null, function* () {
21995
+ let params = {};
21996
+ params.id = nodeId;
21997
+ params.isReturnParent = true;
21998
+ params.hasChildren = false;
21999
+ params.hasPaths = true;
22000
+ let selectNode = null;
22001
+ yield props2.idQueryNode(params, (node) => {
22002
+ data2.parentNode = node;
22003
+ selectNode = util.findNode(nodeId, data2.parentNode.children);
22004
+ });
22005
+ return selectNode;
22006
+ }));
22007
+ let selectNodes = yield Promise.all(promises);
22008
+ return selectNodes;
22009
+ });
22492
22010
  vue.watch(() => JSON.stringify(modelValue2.value), (n, o) => __async(this, null, function* () {
22011
+ data2.selectedNodeIds = modelValue2.value;
22012
+ data2.selectedNodes = yield ids2nodes2();
22493
22013
  if (!props2.multiple) {
22494
- data2.selectedNodeId = modelValue2.value;
22014
+ data2.selectedNodeIds = modelValue2.value;
22495
22015
  } else {
22496
- data2.selectedNodes = [];
22497
- let ids = modelValue2.value || [];
22498
- ids.forEach((id) => __async(this, null, function* () {
22499
- let params = {};
22500
- params.id = id;
22501
- params.isReturnParent = false;
22502
- params.hasChildren = false;
22503
- params.hasPaths = true;
22504
- yield props2.idQueryNode(params, (node) => {
22505
- let selectNode = util.findNode(id, node.children);
22506
- data2.selectedNodes = [...data2.selectedNodes, selectNode];
22507
- });
22508
- }));
22016
+ data2.selectedNodeIds = modelValue2.value;
22509
22017
  }
22510
22018
  }), {
22511
22019
  immediate: true
@@ -22560,15 +22068,16 @@ var __async = (__this, __arguments, generator) => {
22560
22068
  }, 1032, ["closeable", "onClose"]);
22561
22069
  }), 128)) : vue.createCommentVNode("", true)])])
22562
22070
  } : void 0]), 1032, ["label", "modelValue", "required", "rules", "disabled", "placeholder", "is-link"])) : vue.createCommentVNode("", true), vue.createVNode(CascaderPop, {
22071
+ multiple: props2.multiple,
22563
22072
  show: data2.isShowPop,
22564
22073
  "onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShowPop = $event),
22565
- modelValue: data2.selectedNodeId,
22566
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => data2.selectedNodeId = $event),
22074
+ modelValue: data2.selectedNodeIds,
22075
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => data2.selectedNodeIds = $event),
22567
22076
  placeholder: props2.placeholder,
22568
22077
  onSelect,
22569
22078
  keywordQueryNode: props2.keywordQueryNode,
22570
22079
  idQueryNode: props2.idQueryNode
22571
- }, null, 8, ["show", "modelValue", "placeholder", "keywordQueryNode", "idQueryNode"])], 64);
22080
+ }, null, 8, ["multiple", "show", "modelValue", "placeholder", "keywordQueryNode", "idQueryNode"])], 64);
22572
22081
  };
22573
22082
  }
22574
22083
  };
@@ -22681,7 +22190,7 @@ var __async = (__this, __arguments, generator) => {
22681
22190
  }
22682
22191
  };
22683
22192
  var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e7bb4e5c"]]);
22684
- var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-2b1d30d7] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n font-size: 12px;\n}\n.option[data-v-2b1d30d7] {\n margin: 0 8px 8px 0;\n padding: 5px 10px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-2b1d30d7] .van-field__label {\n margin: auto;\n}\n[data-v-2b1d30d7] .van-cell {\n font-size: 12px;\n padding: 5px 5px;\n}\n[data-v-2b1d30d7] .van-icon {\n font-size: 12px;\n}\n[data-v-2b1d30d7] .van-popup .van-cell {\n padding: 5px 25px;\n}")();
22193
+ var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-febc3832] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n font-size: 12px;\n}\n.option[data-v-febc3832] {\n margin: 0 8px 8px 0;\n padding: 5px 10px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-febc3832] .van-field__label {\n margin: auto;\n}\n[data-v-febc3832] .van-cell {\n font-size: 12px;\n padding: 5px 5px;\n}\n[data-v-febc3832] .van-icon {\n font-size: 12px;\n}\n[data-v-febc3832] .van-popup .van-cell {\n padding: 5px 25px;\n}")();
22685
22194
  const _hoisted_1 = {
22686
22195
  class: "widget-box"
22687
22196
  };
@@ -22848,11 +22357,13 @@ var __async = (__this, __arguments, generator) => {
22848
22357
  } else if ((_b = (_a = props2.schema[key]) == null ? void 0 : _a.schema) == null ? void 0 : _b.options) {
22849
22358
  let one = (_d = (_c = props2.schema[key]) == null ? void 0 : _c.schema) == null ? void 0 : _d.options.find((item2) => item2[Object.keys(item2)[1]] === v);
22850
22359
  return one ? one[Object.keys(one)[0]] : "";
22851
- } else {
22852
- if (props2.schema[key].type === "Boolean")
22853
- v = v ? "\u662F" : "\u5426";
22360
+ } else if (props2.schema[key].type === "Boolean") {
22361
+ v = v ? "\u662F" : "\u5426";
22362
+ return v;
22363
+ } else if (v == null) {
22364
+ return "";
22365
+ } else
22854
22366
  return v;
22855
- }
22856
22367
  };
22857
22368
  const onEdit = (index) => {
22858
22369
  data2.selectIndex = index;
@@ -22994,7 +22505,7 @@ var __async = (__this, __arguments, generator) => {
22994
22505
  disabled: props2.schema[key].auth === "readonly",
22995
22506
  modelValue: data2.inputValue[key],
22996
22507
  "onUpdate:modelValue": ($event) => data2.inputValue[key] = $event
22997
- }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("", true), props2.schema[key].type == "Datetime" ? (vue.openBlock(), vue.createBlock(_sfc_main$p, {
22508
+ }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("", true), props2.schema[key].type == "Datetime" ? (vue.openBlock(), vue.createBlock(_sfc_main$m, {
22998
22509
  key: 3,
22999
22510
  auth: props2.schema[key].auth,
23000
22511
  modelValue: data2.inputValue[key],
@@ -23054,7 +22565,7 @@ var __async = (__this, __arguments, generator) => {
23054
22565
  };
23055
22566
  }
23056
22567
  };
23057
- var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2b1d30d7"]]);
22568
+ var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-febc3832"]]);
23058
22569
  const secret_notify = () => {
23059
22570
  showNotify({ type: "danger", message: "\u4E25\u683C\u6267\u884C\u4FE1\u606F\u4FDD\u5BC6\u8981\u6C42\uFF0C\u5207\u5B9E\u9632\u8303\u4F01\u4E1A\u6CC4\u5BC6\u98CE\u9669", duration: 3e3 });
23060
22571
  };
@@ -23085,11 +22596,11 @@ var __async = (__this, __arguments, generator) => {
23085
22596
  },
23086
22597
  {
23087
22598
  name: "WidgetQwDatetimePicker",
23088
- widget: _sfc_main$p
22599
+ widget: _sfc_main$m
23089
22600
  },
23090
22601
  {
23091
22602
  name: "WidgetQwDatetimeDropdown",
23092
- widget: _sfc_main$o
22603
+ widget: _sfc_main$l
23093
22604
  },
23094
22605
  {
23095
22606
  name: "WidgetQwDataSelector",
@@ -23127,14 +22638,6 @@ var __async = (__this, __arguments, generator) => {
23127
22638
  name: "WidgetQwUserSelector",
23128
22639
  widget: UserSelector
23129
22640
  },
23130
- {
23131
- name: "WidgetQwUsersPicker",
23132
- widget: UsersPicker
23133
- },
23134
- {
23135
- name: "WidgetQwUserPicker",
23136
- widget: UserPicker
23137
- },
23138
22641
  {
23139
22642
  name: "WidgetQwUserProfile",
23140
22643
  widget: UserProfile