widget.qw 1.0.44 → 1.0.46

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.
@@ -10312,7 +10312,18 @@ var TreeUtil = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
10312
10312
  isChildNode,
10313
10313
  isExistChildNode
10314
10314
  }, Symbol.toStringTag, { value: "Module" }));
10315
- var util = __spreadProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, AuthUtil), ArrayUtil), StrUtil), BoolUtil), RouteUtil), TimeUtil), ApiUtil), ToastUtil), EvalUtil), ImageUtil), TreeUtil), {
10315
+ function uuid8() {
10316
+ let hex = Date.now().toString(16).slice(-8);
10317
+ if (hex.length < 8) {
10318
+ hex = "0".repeat(8 - hex.length) + hex;
10319
+ }
10320
+ return hex;
10321
+ }
10322
+ var UuidUtil = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10323
+ __proto__: null,
10324
+ uuid8
10325
+ }, Symbol.toStringTag, { value: "Module" }));
10326
+ var util = __spreadProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, AuthUtil), ArrayUtil), StrUtil), BoolUtil), RouteUtil), TimeUtil), ApiUtil), ToastUtil), EvalUtil), ImageUtil), TreeUtil), UuidUtil), {
10316
10327
  href(url) {
10317
10328
  window.location.href = url;
10318
10329
  },
@@ -15764,20 +15775,20 @@ var _export_sfc = (sfc, props) => {
15764
15775
  }
15765
15776
  return target;
15766
15777
  };
15767
- const _hoisted_1$i = {
15778
+ const _hoisted_1$j = {
15768
15779
  class: "widget"
15769
15780
  };
15770
- const _hoisted_2$b = /* @__PURE__ */ createTextVNode("\u9A73\u56DE");
15771
- const _hoisted_3$9 = /* @__PURE__ */ createTextVNode("\u63D0\u4EA4");
15772
- const _hoisted_4$8 = /* @__PURE__ */ createTextVNode("\u7533\u8BF7");
15773
- const _hoisted_5$8 = {
15781
+ const _hoisted_2$c = /* @__PURE__ */ createTextVNode("\u9A73\u56DE");
15782
+ const _hoisted_3$a = /* @__PURE__ */ createTextVNode("\u63D0\u4EA4");
15783
+ const _hoisted_4$9 = /* @__PURE__ */ createTextVNode("\u7533\u8BF7");
15784
+ const _hoisted_5$9 = {
15774
15785
  key: 4,
15775
15786
  class: "audit-title"
15776
15787
  };
15777
- const _hoisted_6$7 = {
15788
+ const _hoisted_6$8 = {
15778
15789
  class: "task-title"
15779
15790
  };
15780
- const _sfc_main$u = {
15791
+ const _sfc_main$v = {
15781
15792
  __name: "AuditBar",
15782
15793
  props: {
15783
15794
  processId: Number,
@@ -16011,7 +16022,7 @@ const _sfc_main$u = {
16011
16022
  const _component_van_popover = resolveComponent("van-popover");
16012
16023
  const _component_van_step = resolveComponent("van-step");
16013
16024
  const _component_van_steps = resolveComponent("van-steps");
16014
- return openBlock(), createElementBlock("div", _hoisted_1$i, [unref(canPass) || unref(canRefuse) ? (openBlock(), createBlock(_component_van_field, {
16025
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [unref(canPass) || unref(canRefuse) ? (openBlock(), createBlock(_component_van_field, {
16015
16026
  key: 0,
16016
16027
  modelValue: data2.memo,
16017
16028
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.memo = $event),
@@ -16032,7 +16043,7 @@ const _sfc_main$u = {
16032
16043
  type: "danger",
16033
16044
  onClick: onRefuse
16034
16045
  }, {
16035
- default: withCtx(() => [_hoisted_2$b]),
16046
+ default: withCtx(() => [_hoisted_2$c]),
16036
16047
  _: 1
16037
16048
  })]),
16038
16049
  _: 1
@@ -16043,7 +16054,7 @@ const _sfc_main$u = {
16043
16054
  "native-type": "submit",
16044
16055
  onClick: onPass
16045
16056
  }, {
16046
- default: withCtx(() => [_hoisted_3$9]),
16057
+ default: withCtx(() => [_hoisted_3$a]),
16047
16058
  _: 1
16048
16059
  })) : createCommentVNode("", true), data2.canApply ? (openBlock(), createBlock(_component_van_button, {
16049
16060
  key: 3,
@@ -16052,9 +16063,9 @@ const _sfc_main$u = {
16052
16063
  "native-type": "submit",
16053
16064
  onClick: onApply
16054
16065
  }, {
16055
- default: withCtx(() => [_hoisted_4$8]),
16066
+ default: withCtx(() => [_hoisted_4$9]),
16056
16067
  _: 1
16057
- })) : createCommentVNode("", true), data2.process && data2.process.id ? (openBlock(), createElementBlock("div", _hoisted_5$8, toDisplayString(unref(formatProcessTitle)), 1)) : createCommentVNode("", true), data2.process && data2.process.id ? (openBlock(), createBlock(_component_van_steps, {
16068
+ })) : createCommentVNode("", true), data2.process && data2.process.id ? (openBlock(), createElementBlock("div", _hoisted_5$9, toDisplayString(unref(formatProcessTitle)), 1)) : createCommentVNode("", true), data2.process && data2.process.id ? (openBlock(), createBlock(_component_van_steps, {
16058
16069
  key: 5,
16059
16070
  class: "task-list",
16060
16071
  direction: "vertical",
@@ -16064,7 +16075,7 @@ const _sfc_main$u = {
16064
16075
  return openBlock(), createBlock(_component_van_step, {
16065
16076
  key: i
16066
16077
  }, {
16067
- default: withCtx(() => [createElementVNode("div", _hoisted_6$7, toDisplayString(formatTitle(task)), 1), task.executors ? (openBlock(true), createElementBlock(Fragment, {
16078
+ default: withCtx(() => [createElementVNode("div", _hoisted_6$8, toDisplayString(formatTitle(task)), 1), task.executors ? (openBlock(true), createElementBlock(Fragment, {
16068
16079
  key: 0
16069
16080
  }, renderList(task.executors, (executor, j) => {
16070
16081
  return openBlock(), createElementBlock("div", {
@@ -16080,7 +16091,7 @@ const _sfc_main$u = {
16080
16091
  };
16081
16092
  }
16082
16093
  };
16083
- var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c9c18a98"]]);
16094
+ var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-c9c18a98"]]);
16084
16095
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
16085
16096
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
16086
16097
  const isDef = (val) => typeof val !== "undefined";
@@ -16148,7 +16159,7 @@ function useVModel(props, key, emit, options = {}) {
16148
16159
  }
16149
16160
  }
16150
16161
  var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-ec78c334] .label {\n color: #000 !important;\n}\n[data-v-ec78c334] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
16151
- const _sfc_main$t = {
16162
+ const _sfc_main$u = {
16152
16163
  __name: "Input",
16153
16164
  props: {
16154
16165
  modelValue: {
@@ -16243,9 +16254,9 @@ const _sfc_main$t = {
16243
16254
  };
16244
16255
  }
16245
16256
  };
16246
- var Input = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-ec78c334"]]);
16257
+ var Input = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-ec78c334"]]);
16247
16258
  var SinglePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-24e62c3a] .label {\n color: #000 !important;\n}\n[data-v-24e62c3a] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
16248
- const _sfc_main$s = {
16259
+ const _sfc_main$t = {
16249
16260
  __name: "SinglePicker",
16250
16261
  props: {
16251
16262
  id: String,
@@ -16361,16 +16372,16 @@ const _sfc_main$s = {
16361
16372
  };
16362
16373
  }
16363
16374
  };
16364
- var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-24e62c3a"]]);
16375
+ var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-24e62c3a"]]);
16365
16376
  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")();
16366
- const _hoisted_1$h = {
16377
+ const _hoisted_1$i = {
16367
16378
  class: "select-all-container"
16368
16379
  };
16369
- const _hoisted_2$a = /* @__PURE__ */ createTextVNode("\u5168\u9009");
16370
- const _hoisted_3$8 = {
16380
+ const _hoisted_2$b = /* @__PURE__ */ createTextVNode("\u5168\u9009");
16381
+ const _hoisted_3$9 = {
16371
16382
  class: "checkbox-list"
16372
16383
  };
16373
- const _sfc_main$r = {
16384
+ const _sfc_main$s = {
16374
16385
  __name: "DataPop",
16375
16386
  props: {
16376
16387
  show: {
@@ -16417,16 +16428,16 @@ const _sfc_main$r = {
16417
16428
  position: "bottom",
16418
16429
  class: "popup-box"
16419
16430
  }, {
16420
- default: withCtx(() => [createElementVNode("div", _hoisted_1$h, [createVNode(_component_van_checkbox, {
16431
+ default: withCtx(() => [createElementVNode("div", _hoisted_1$i, [createVNode(_component_van_checkbox, {
16421
16432
  shape: "square",
16422
16433
  modelValue: data2.isAllChecked,
16423
16434
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.isAllChecked = $event),
16424
16435
  onClick: onToggleAll,
16425
16436
  "label-position": "left"
16426
16437
  }, {
16427
- default: withCtx(() => [_hoisted_2$a]),
16438
+ default: withCtx(() => [_hoisted_2$b]),
16428
16439
  _: 1
16429
- }, 8, ["modelValue"])]), createElementVNode("div", _hoisted_3$8, [createVNode(_component_van_checkbox_group, {
16440
+ }, 8, ["modelValue"])]), createElementVNode("div", _hoisted_3$9, [createVNode(_component_van_checkbox_group, {
16430
16441
  modelValue: unref(modelValue),
16431
16442
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
16432
16443
  direction: "vertical"
@@ -16451,12 +16462,12 @@ const _sfc_main$r = {
16451
16462
  };
16452
16463
  }
16453
16464
  };
16454
- var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-10d79413"]]);
16465
+ var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-10d79413"]]);
16455
16466
  var MultiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.data-item[data-v-95e8cb3c]{\r\n margin: 0 8px 8px 0;\r\n padding: 2px 5px;\n}\r\n")();
16456
- const _hoisted_1$g = {
16467
+ const _hoisted_1$h = {
16457
16468
  class: "data-list"
16458
16469
  };
16459
- const _sfc_main$q = {
16470
+ const _sfc_main$r = {
16460
16471
  __name: "MultiPicker",
16461
16472
  props: {
16462
16473
  id: String,
@@ -16569,7 +16580,7 @@ const _sfc_main$q = {
16569
16580
  _: 2
16570
16581
  }, [unref(selectOptions).length > 0 ? {
16571
16582
  name: "input",
16572
- fn: withCtx(() => [createElementVNode("div", _hoisted_1$g, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectOptions), (item, i) => {
16583
+ fn: withCtx(() => [createElementVNode("div", _hoisted_1$h, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectOptions), (item, i) => {
16573
16584
  return openBlock(), createBlock(_component_van_tag, {
16574
16585
  class: "data-item",
16575
16586
  closeable: !unref(isDisabled),
@@ -16592,9 +16603,9 @@ const _sfc_main$q = {
16592
16603
  };
16593
16604
  }
16594
16605
  };
16595
- var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-95e8cb3c"]]);
16606
+ var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-95e8cb3c"]]);
16596
16607
  var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-7f5a06de] .label {\n color: #000 !important;\n}\n[data-v-7f5a06de] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
16597
- const _sfc_main$p = {
16608
+ const _sfc_main$q = {
16598
16609
  __name: "CheckGroup",
16599
16610
  props: {
16600
16611
  id: {
@@ -16718,8 +16729,8 @@ const _sfc_main$p = {
16718
16729
  };
16719
16730
  }
16720
16731
  };
16721
- var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-7f5a06de"]]);
16722
- const _sfc_main$o = {
16732
+ var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7f5a06de"]]);
16733
+ const _sfc_main$p = {
16723
16734
  __name: "DatetimePop",
16724
16735
  props: {
16725
16736
  isShow: {
@@ -17001,7 +17012,7 @@ const _sfc_main$o = {
17001
17012
  };
17002
17013
  }
17003
17014
  };
17004
- const _sfc_main$n = {
17015
+ const _sfc_main$o = {
17005
17016
  __name: "index",
17006
17017
  props: {
17007
17018
  modelValue: {
@@ -17096,7 +17107,7 @@ const _sfc_main$n = {
17096
17107
  }, {
17097
17108
  input: withCtx(() => [createTextVNode(toDisplayString(formatTime(props.modelValue)), 1)]),
17098
17109
  _: 1
17099
- }, 8, ["modelValue", "label", "placeholder", "required", "rules", "is-link"])) : createCommentVNode("", true), createVNode(_sfc_main$o, {
17110
+ }, 8, ["modelValue", "label", "placeholder", "required", "rules", "is-link"])) : createCommentVNode("", true), createVNode(_sfc_main$p, {
17100
17111
  isShow: data2.isShow,
17101
17112
  "onUpdate:isShow": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
17102
17113
  modelValue: unref(modelValue),
@@ -17108,24 +17119,24 @@ const _sfc_main$n = {
17108
17119
  };
17109
17120
  }
17110
17121
  };
17111
- var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-3f1c4b3e] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-3f1c4b3e] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-3f1c4b3e] {\r\n border: 0;\n}\n.flex-between[data-v-3f1c4b3e] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-3f1c4b3e] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-3f1c4b3e] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px); \r\n overflow-y: auto;\n}\n.select-all-container[data-v-3f1c4b3e] {\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-3f1c4b3e] {\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-3f1c4b3e] {\r\n margin-left: 8px;\n}\r\n \r\n")();
17112
- const _hoisted_1$f = {
17122
+ var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-778dc594] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-778dc594] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-778dc594] {\r\n border: 0;\n}\n.flex-between[data-v-778dc594] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-778dc594] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-778dc594] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px); \r\n overflow-y: auto;\n}\n.select-all-container[data-v-778dc594] {\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-778dc594] {\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-778dc594] {\r\n margin-left: 8px;\n}\r\n \r\n")();
17123
+ const _hoisted_1$g = {
17113
17124
  class: "pad10 flex-between showMultipleButton"
17114
17125
  };
17115
- const _hoisted_2$9 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
17116
- const _hoisted_3$7 = {
17126
+ const _hoisted_2$a = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
17127
+ const _hoisted_3$8 = {
17117
17128
  class: "bold"
17118
17129
  };
17119
- const _hoisted_4$7 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
17120
- const _hoisted_5$7 = {
17130
+ const _hoisted_4$8 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
17131
+ const _hoisted_5$8 = {
17121
17132
  key: 0,
17122
17133
  class: "select-all-container"
17123
17134
  };
17124
- const _hoisted_6$6 = /* @__PURE__ */ createTextVNode("\u5168\u9009");
17125
- const _hoisted_7$6 = {
17135
+ const _hoisted_6$7 = /* @__PURE__ */ createTextVNode("\u5168\u9009");
17136
+ const _hoisted_7$7 = {
17126
17137
  class: "checkbox-style"
17127
17138
  };
17128
- const _sfc_main$m = {
17139
+ const _sfc_main$n = {
17129
17140
  __name: "data_selector",
17130
17141
  props: {
17131
17142
  multiple: {
@@ -17139,6 +17150,13 @@ const _sfc_main$m = {
17139
17150
  modelValue: {
17140
17151
  type: [Array, String, Number]
17141
17152
  },
17153
+ columnsFieldNames: {
17154
+ type: Object,
17155
+ default: {
17156
+ text: "text",
17157
+ value: "value"
17158
+ }
17159
+ },
17142
17160
  rules: {
17143
17161
  type: Array,
17144
17162
  default: () => []
@@ -17180,6 +17198,16 @@ const _sfc_main$m = {
17180
17198
  const checkboxRefs = ref([]);
17181
17199
  const checkedValue = ref([]);
17182
17200
  const isAllChecked = ref(false);
17201
+ const formatOptions = computed(() => {
17202
+ if (!props.options)
17203
+ return [];
17204
+ return props.options.map((item) => {
17205
+ return {
17206
+ text: item[props.columnsFieldNames.text],
17207
+ value: item[props.columnsFieldNames.value]
17208
+ };
17209
+ });
17210
+ });
17183
17211
  const findTextsByValues = (valuesToFind, data2) => {
17184
17212
  return valuesToFind.map((value) => {
17185
17213
  const foundItem = data2.find((item) => item.value === value);
@@ -17187,18 +17215,18 @@ const _sfc_main$m = {
17187
17215
  });
17188
17216
  };
17189
17217
  const values2items = (values) => {
17190
- if (!values || values.length < 1 || !props.options || props.options.length < 1)
17218
+ if (!values || values.length < 1 || !formatOptions.value || formatOptions.value.length < 1)
17191
17219
  return [];
17192
- let res = props.options.filter((option) => values.includes(option.value));
17220
+ let res = formatOptions.value.filter((option) => values.includes(option.value));
17193
17221
  return res;
17194
17222
  };
17195
17223
  const reShow = () => {
17196
17224
  if (props.modelValue) {
17197
- if (Array.isArray(props.options)) {
17225
+ if (Array.isArray(formatOptions.value)) {
17198
17226
  if (props.multiple) {
17199
- selectedItems.value = findTextsByValues(props.modelValue, props.options);
17227
+ selectedItems.value = findTextsByValues(props.modelValue, formatOptions.value);
17200
17228
  } else {
17201
- const foundItem = props.options.find((item) => item.value === props.modelValue);
17229
+ const foundItem = formatOptions.value.find((item) => item.value === props.modelValue);
17202
17230
  selectedItems.value = foundItem ? [foundItem.text] : [];
17203
17231
  }
17204
17232
  }
@@ -17231,11 +17259,11 @@ const _sfc_main$m = {
17231
17259
  };
17232
17260
  const confirmSelection = () => {
17233
17261
  if (props.multiple) {
17234
- selectedItems.value = findTextsByValues(checkedValue.value, props.options);
17262
+ selectedItems.value = findTextsByValues(checkedValue.value, formatOptions.value);
17235
17263
  emit("update:modelValue", checkedValue.value);
17236
17264
  emit("select", values2items(checkedValue.value));
17237
17265
  } else {
17238
- const foundItem = props.options.find((item) => item.value === checkedValue.value);
17266
+ const foundItem = formatOptions.value.find((item) => item.value === checkedValue.value);
17239
17267
  selectedItems.value = foundItem ? [foundItem.text] : [];
17240
17268
  emit("update:modelValue", checkedValue.value);
17241
17269
  emit("select", foundItem);
@@ -17253,7 +17281,7 @@ const _sfc_main$m = {
17253
17281
  checkedValue.value = value;
17254
17282
  };
17255
17283
  const filteredColumns = computed(() => {
17256
- return props.options.filter((item) => {
17284
+ return formatOptions.value.filter((item) => {
17257
17285
  return item.text.includes(searchKeyword.value) || item.value.includes(searchKeyword.value);
17258
17286
  });
17259
17287
  });
@@ -17276,7 +17304,7 @@ const _sfc_main$m = {
17276
17304
  deep: true,
17277
17305
  immediate: true
17278
17306
  });
17279
- watch(() => props.options, () => {
17307
+ watch(() => formatOptions.value, () => {
17280
17308
  reShow();
17281
17309
  }, {
17282
17310
  deep: true
@@ -17315,20 +17343,20 @@ const _sfc_main$m = {
17315
17343
  position: "bottom",
17316
17344
  class: "popup-style"
17317
17345
  }, {
17318
- default: withCtx(() => [createElementVNode("div", null, [createElementVNode("div", _hoisted_1$f, [createVNode(_component_van_button, {
17346
+ default: withCtx(() => [createElementVNode("div", null, [createElementVNode("div", _hoisted_1$g, [createVNode(_component_van_button, {
17319
17347
  plain: "",
17320
17348
  size: "normal",
17321
17349
  onClick: cancelSelection
17322
17350
  }, {
17323
- default: withCtx(() => [_hoisted_2$9]),
17351
+ default: withCtx(() => [_hoisted_2$a]),
17324
17352
  _: 1
17325
- }), createElementVNode("div", _hoisted_3$7, toDisplayString(__props.label), 1), createVNode(_component_van_button, {
17353
+ }), createElementVNode("div", _hoisted_3$8, toDisplayString(__props.label), 1), createVNode(_component_van_button, {
17326
17354
  plain: "",
17327
17355
  type: "primary",
17328
17356
  size: "normal",
17329
17357
  onClick: confirmSelection
17330
17358
  }, {
17331
- default: withCtx(() => [_hoisted_4$7]),
17359
+ default: withCtx(() => [_hoisted_4$8]),
17332
17360
  _: 1
17333
17361
  })]), createVNode(_component_van_field, {
17334
17362
  "left-icon": "search",
@@ -17339,16 +17367,16 @@ const _sfc_main$m = {
17339
17367
  },
17340
17368
  clearable: "",
17341
17369
  placeholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u5B57"
17342
- }, null, 8, ["modelValue"]), props.multiple ? (openBlock(), createElementBlock("div", _hoisted_5$7, [createVNode(_component_van_checkbox, {
17370
+ }, null, 8, ["modelValue"]), props.multiple ? (openBlock(), createElementBlock("div", _hoisted_5$8, [createVNode(_component_van_checkbox, {
17343
17371
  shape: "square",
17344
17372
  modelValue: isAllChecked.value,
17345
17373
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isAllChecked.value = $event),
17346
17374
  onClick: toggleAllSelect,
17347
17375
  "label-position": "left"
17348
17376
  }, {
17349
- default: withCtx(() => [_hoisted_6$6]),
17377
+ default: withCtx(() => [_hoisted_6$7]),
17350
17378
  _: 1
17351
- }, 8, ["modelValue"])])) : createCommentVNode("", true), createElementVNode("div", _hoisted_7$6, [props.multiple ? (openBlock(), createBlock(_component_van_checkbox_group, {
17379
+ }, 8, ["modelValue"])])) : createCommentVNode("", true), createElementVNode("div", _hoisted_7$7, [props.multiple ? (openBlock(), createBlock(_component_van_checkbox_group, {
17352
17380
  key: 0,
17353
17381
  modelValue: checkedValue.value,
17354
17382
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => checkedValue.value = $event)
@@ -17403,16 +17431,16 @@ const _sfc_main$m = {
17403
17431
  };
17404
17432
  }
17405
17433
  };
17406
- var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-3f1c4b3e"]]);
17434
+ var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-778dc594"]]);
17407
17435
  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")();
17408
- const _hoisted_1$e = {
17436
+ const _hoisted_1$f = {
17409
17437
  key: 0,
17410
17438
  class: "confirmation-tips"
17411
17439
  };
17412
- const _hoisted_2$8 = {
17440
+ const _hoisted_2$9 = {
17413
17441
  class: "option-text"
17414
17442
  };
17415
- const _sfc_main$l = {
17443
+ const _sfc_main$m = {
17416
17444
  __name: "mult_list_selector",
17417
17445
  props: {
17418
17446
  options: {
@@ -17447,7 +17475,7 @@ const _sfc_main$l = {
17447
17475
  const _component_van_icon = resolveComponent("van-icon");
17448
17476
  const _component_van_checkbox = resolveComponent("van-checkbox");
17449
17477
  const _component_van_checkbox_group = resolveComponent("van-checkbox-group");
17450
- return openBlock(), createElementBlock(Fragment, null, [__props.tips && __props.tips.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$e, [createVNode(_component_van_icon, {
17478
+ return openBlock(), createElementBlock(Fragment, null, [__props.tips && __props.tips.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$f, [createVNode(_component_van_icon, {
17451
17479
  name: "info",
17452
17480
  color: "#1989fa"
17453
17481
  }), createElementVNode("span", null, toDisplayString(__props.tips), 1)])) : createCommentVNode("", true), createVNode(_component_van_checkbox_group, {
@@ -17468,7 +17496,7 @@ const _sfc_main$l = {
17468
17496
  "icon-size": "18px",
17469
17497
  class: "custom-checkbox"
17470
17498
  }, {
17471
- default: withCtx(() => [createElementVNode("span", _hoisted_2$8, toDisplayString(item.label), 1)]),
17499
+ default: withCtx(() => [createElementVNode("span", _hoisted_2$9, toDisplayString(item.label), 1)]),
17472
17500
  _: 2
17473
17501
  }, 1032, ["name"])]);
17474
17502
  }), 128))]),
@@ -17477,25 +17505,25 @@ const _sfc_main$l = {
17477
17505
  };
17478
17506
  }
17479
17507
  };
17480
- var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-40a09897"]]);
17508
+ var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-40a09897"]]);
17481
17509
  var subdepartment_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.department-popup[data-v-73eb43f3] {\r\n width: 100%;\r\n height: 60vh;\r\n border-radius: 16px 16px 0 0;\n}\n.popup-container[data-v-73eb43f3] {\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n height: 100%;\n}\n.picker-header[data-v-73eb43f3] {\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-73eb43f3] {\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-73eb43f3] {\r\n margin-right: 8px;\n}\n.current-path[data-v-73eb43f3] {\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-73eb43f3] {\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-73eb43f3] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-73eb43f3] {\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-73eb43f3] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-73eb43f3] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-73eb43f3] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-73eb43f3] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-73eb43f3] {\r\n color: #969799;\n}\n.search-field[data-v-73eb43f3] {\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")();
17482
- const _hoisted_1$d = {
17510
+ const _hoisted_1$e = {
17483
17511
  class: "department-selector"
17484
17512
  };
17485
- const _hoisted_2$7 = {
17513
+ const _hoisted_2$8 = {
17486
17514
  class: "popup-container"
17487
17515
  };
17488
- const _hoisted_3$6 = {
17516
+ const _hoisted_3$7 = {
17489
17517
  class: "picker-header"
17490
17518
  };
17491
- const _hoisted_4$6 = {
17519
+ const _hoisted_4$7 = {
17492
17520
  class: "current-path"
17493
17521
  };
17494
- const _hoisted_5$6 = {
17522
+ const _hoisted_5$7 = {
17495
17523
  class: "action-buttons"
17496
17524
  };
17497
- const _hoisted_6$5 = /* @__PURE__ */ createTextVNode(" \u53D6\u6D88 ");
17498
- const _hoisted_7$5 = /* @__PURE__ */ createTextVNode(" \u786E\u5B9A ");
17525
+ const _hoisted_6$6 = /* @__PURE__ */ createTextVNode(" \u53D6\u6D88 ");
17526
+ const _hoisted_7$6 = /* @__PURE__ */ createTextVNode(" \u786E\u5B9A ");
17499
17527
  const _hoisted_8$4 = {
17500
17528
  class: "scroll-container"
17501
17529
  };
@@ -17506,7 +17534,7 @@ const _hoisted_10$2 = ["onClick"];
17506
17534
  const _hoisted_11$2 = {
17507
17535
  class: "name"
17508
17536
  };
17509
- const _sfc_main$k = {
17537
+ const _sfc_main$l = {
17510
17538
  __name: "subdepartment_selector",
17511
17539
  props: {
17512
17540
  modelValue: [String, Number],
@@ -17749,7 +17777,7 @@ const _sfc_main$k = {
17749
17777
  const _component_van_cell = resolveComponent("van-cell");
17750
17778
  const _component_van_cell_group = resolveComponent("van-cell-group");
17751
17779
  const _component_van_popup = resolveComponent("van-popup");
17752
- return openBlock(), createElementBlock("div", _hoisted_1$d, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
17780
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
17753
17781
  key: 0,
17754
17782
  "model-value": selectedDepartmentPath.value,
17755
17783
  readonly: "",
@@ -17769,18 +17797,18 @@ const _sfc_main$k = {
17769
17797
  position: "bottom",
17770
17798
  class: "department-popup"
17771
17799
  }, {
17772
- default: withCtx(() => [createElementVNode("div", _hoisted_2$7, [createElementVNode("div", _hoisted_3$6, [unref(currentLevel) > 0 ? (openBlock(), createBlock(_component_van_button, {
17800
+ default: withCtx(() => [createElementVNode("div", _hoisted_2$8, [createElementVNode("div", _hoisted_3$7, [unref(currentLevel) > 0 ? (openBlock(), createBlock(_component_van_button, {
17773
17801
  key: 0,
17774
17802
  onClick: goBack,
17775
17803
  icon: "arrow-left",
17776
17804
  size: "small",
17777
17805
  class: "back-button"
17778
- })) : createCommentVNode("", true), createElementVNode("div", _hoisted_4$6, toDisplayString(unref(currentPath)), 1), createElementVNode("div", _hoisted_5$6, [createVNode(_component_van_button, {
17806
+ })) : createCommentVNode("", true), createElementVNode("div", _hoisted_4$7, toDisplayString(unref(currentPath)), 1), createElementVNode("div", _hoisted_5$7, [createVNode(_component_van_button, {
17779
17807
  size: "small",
17780
17808
  onClick: handleCancel,
17781
17809
  class: "cancel-btn"
17782
17810
  }, {
17783
- default: withCtx(() => [_hoisted_6$5]),
17811
+ default: withCtx(() => [_hoisted_6$6]),
17784
17812
  _: 1
17785
17813
  }), createVNode(_component_van_button, {
17786
17814
  type: "primary",
@@ -17789,7 +17817,7 @@ const _sfc_main$k = {
17789
17817
  disabled: !tempSelectedDepartment.value,
17790
17818
  class: "confirm-btn"
17791
17819
  }, {
17792
- default: withCtx(() => [_hoisted_7$5]),
17820
+ default: withCtx(() => [_hoisted_7$6]),
17793
17821
  _: 1
17794
17822
  }, 8, ["disabled"])])]), createVNode(_component_van_field, {
17795
17823
  "left-icon": "search",
@@ -17837,27 +17865,27 @@ const _sfc_main$k = {
17837
17865
  };
17838
17866
  }
17839
17867
  };
17840
- var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-73eb43f3"]]);
17868
+ var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-73eb43f3"]]);
17841
17869
  var user_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-6c4b4fc8] {\r\n height: 60vh;\r\n width: 100%;\n}\n.picker-header[data-v-6c4b4fc8] {\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-6c4b4fc8] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.search-container[data-v-6c4b4fc8] {\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-6c4b4fc8] .search-container .van-search {\r\n flex: 1;\n}\n.search-btn[data-v-6c4b4fc8] {\r\n flex-shrink: 0;\n}\n.select-all-container[data-v-6c4b4fc8] {\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-6c4b4fc8] .van-checkbox__icon--square {\r\n border-radius: 4px;\n}\n[data-v-6c4b4fc8] .van-checkbox__label {\r\n margin-left: 8px;\n}\n[data-v-6c4b4fc8] .van-radio-group .van-cell,[data-v-6c4b4fc8] .van-checkbox-group .van-cell {\r\n align-items: center;\n}\n.current-path[data-v-6c4b4fc8] {\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-6c4b4fc8] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-6c4b4fc8] {\r\n color: #969799;\r\n margin-right: 5px;\n}\r\n")();
17842
- const _hoisted_1$c = {
17870
+ const _hoisted_1$d = {
17843
17871
  class: "user-selector"
17844
17872
  };
17845
- const _hoisted_2$6 = {
17873
+ const _hoisted_2$7 = {
17846
17874
  class: "popup-container"
17847
17875
  };
17848
- const _hoisted_3$5 = {
17876
+ const _hoisted_3$6 = {
17849
17877
  class: "picker-header"
17850
17878
  };
17851
- const _hoisted_4$5 = {
17879
+ const _hoisted_4$6 = {
17852
17880
  class: "header-left"
17853
17881
  };
17854
- const _hoisted_5$5 = {
17882
+ const _hoisted_5$6 = {
17855
17883
  class: "current-path"
17856
17884
  };
17857
- const _hoisted_6$4 = {
17885
+ const _hoisted_6$5 = {
17858
17886
  class: "header-right"
17859
17887
  };
17860
- const _hoisted_7$4 = /* @__PURE__ */ createTextVNode("\u6E05\u7A7A");
17888
+ const _hoisted_7$5 = /* @__PURE__ */ createTextVNode("\u6E05\u7A7A");
17861
17889
  const _hoisted_8$3 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
17862
17890
  const _hoisted_9$1 = {
17863
17891
  key: 0,
@@ -17871,7 +17899,7 @@ const _hoisted_12 = /* @__PURE__ */ createTextVNode("\u641C\u7D22");
17871
17899
  const _hoisted_13 = {
17872
17900
  class: "scroll-container"
17873
17901
  };
17874
- const _sfc_main$j = {
17902
+ const _sfc_main$k = {
17875
17903
  __name: "user_selector",
17876
17904
  props: {
17877
17905
  modelValue: [Array, String, Number],
@@ -18224,7 +18252,7 @@ const _sfc_main$j = {
18224
18252
  const _component_van_radio = resolveComponent("van-radio");
18225
18253
  const _component_van_radio_group = resolveComponent("van-radio-group");
18226
18254
  const _component_van_popup = resolveComponent("van-popup");
18227
- return openBlock(), createElementBlock("div", _hoisted_1$c, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
18255
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
18228
18256
  key: 0,
18229
18257
  "model-value": unref(selectedUserInfo),
18230
18258
  clickable: "",
@@ -18241,18 +18269,18 @@ const _sfc_main$j = {
18241
18269
  position: "bottom",
18242
18270
  class: "user-popup"
18243
18271
  }, {
18244
- default: withCtx(() => [createElementVNode("div", _hoisted_2$6, [createElementVNode("div", _hoisted_3$5, [createElementVNode("div", _hoisted_4$5, [unref(currentLevel) > 0 ? (openBlock(), createBlock(_component_van_button, {
18272
+ default: withCtx(() => [createElementVNode("div", _hoisted_2$7, [createElementVNode("div", _hoisted_3$6, [createElementVNode("div", _hoisted_4$6, [unref(currentLevel) > 0 ? (openBlock(), createBlock(_component_van_button, {
18245
18273
  key: 0,
18246
18274
  onClick: goBack,
18247
18275
  icon: "arrow-left",
18248
18276
  size: "small",
18249
18277
  class: "back-button"
18250
- })) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_5$5, toDisplayString(unref(currentPath)), 1), createElementVNode("div", _hoisted_6$4, [createVNode(_component_van_button, {
18278
+ })) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_5$6, toDisplayString(unref(currentPath)), 1), createElementVNode("div", _hoisted_6$5, [createVNode(_component_van_button, {
18251
18279
  size: "small",
18252
18280
  onClick: handleClear,
18253
18281
  class: "cancel-btn"
18254
18282
  }, {
18255
- default: withCtx(() => [_hoisted_7$4]),
18283
+ default: withCtx(() => [_hoisted_7$5]),
18256
18284
  _: 1
18257
18285
  }), createVNode(_component_van_button, {
18258
18286
  type: "primary",
@@ -18365,12 +18393,12 @@ const _sfc_main$j = {
18365
18393
  };
18366
18394
  }
18367
18395
  };
18368
- var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-6c4b4fc8"]]);
18396
+ var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6c4b4fc8"]]);
18369
18397
  var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-6008668e] .label {\n color: #000 !important;\n}\n[data-v-6008668e] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
18370
- const _hoisted_1$b = {
18398
+ const _hoisted_1$c = {
18371
18399
  class: "image-box"
18372
18400
  };
18373
- const _sfc_main$i = {
18401
+ const _sfc_main$j = {
18374
18402
  __name: "image_picker",
18375
18403
  props: {
18376
18404
  modelValue: {
@@ -18466,7 +18494,7 @@ const _sfc_main$i = {
18466
18494
  "label-class": "label",
18467
18495
  placeholder: props.placeholder
18468
18496
  }, {
18469
- input: withCtx(() => [createElementVNode("div", _hoisted_1$b, [props.capture ? (openBlock(), createBlock(_component_van_uploader, {
18497
+ input: withCtx(() => [createElementVNode("div", _hoisted_1$c, [props.capture ? (openBlock(), createBlock(_component_van_uploader, {
18470
18498
  key: 0,
18471
18499
  modelValue: files.value,
18472
18500
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
@@ -18493,12 +18521,12 @@ const _sfc_main$i = {
18493
18521
  };
18494
18522
  }
18495
18523
  };
18496
- var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6008668e"]]);
18524
+ var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-6008668e"]]);
18497
18525
  var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-1b4c046a] {\n text-align: center;\n}\n.widget .btn[data-v-1b4c046a] {\n position: fixed;\n bottom: 1rem;\n left: 0;\n right: 0;\n margin: auto auto;\n color: white;\n font-size: 14px;\n background: rgb(58, 136, 255);\n padding: 8px 35px;\n width: 100px;\n text-align: center;\n display: inline-block;\n border-radius: 2px;\n}")();
18498
- const _hoisted_1$a = {
18526
+ const _hoisted_1$b = {
18499
18527
  class: "image-box"
18500
18528
  };
18501
- const _sfc_main$h = {
18529
+ const _sfc_main$i = {
18502
18530
  __name: "images_picker",
18503
18531
  props: {
18504
18532
  modelValue: {
@@ -18608,7 +18636,7 @@ const _sfc_main$h = {
18608
18636
  "label-class": "label",
18609
18637
  placeholder: props.placeholder
18610
18638
  }, {
18611
- input: withCtx(() => [createElementVNode("div", _hoisted_1$a, [props.capture ? (openBlock(), createBlock(_component_van_uploader, {
18639
+ input: withCtx(() => [createElementVNode("div", _hoisted_1$b, [props.capture ? (openBlock(), createBlock(_component_van_uploader, {
18612
18640
  key: 0,
18613
18641
  modelValue: files.value,
18614
18642
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
@@ -18635,12 +18663,12 @@ const _sfc_main$h = {
18635
18663
  };
18636
18664
  }
18637
18665
  };
18638
- var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-1b4c046a"]]);
18666
+ var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1b4c046a"]]);
18639
18667
  var FilePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-a0846250] .label {\n color: #000 !important;\n}\n[data-v-a0846250] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
18640
- const _hoisted_1$9 = {
18668
+ const _hoisted_1$a = {
18641
18669
  class: "image-box"
18642
18670
  };
18643
- const _sfc_main$g = {
18671
+ const _sfc_main$h = {
18644
18672
  __name: "FilePicker",
18645
18673
  props: {
18646
18674
  modelValue: {
@@ -18732,7 +18760,7 @@ const _sfc_main$g = {
18732
18760
  "label-class": "label",
18733
18761
  placeholder: props.placeholder
18734
18762
  }, {
18735
- input: withCtx(() => [createElementVNode("div", _hoisted_1$9, [createVNode(_component_van_uploader, {
18763
+ input: withCtx(() => [createElementVNode("div", _hoisted_1$a, [createVNode(_component_van_uploader, {
18736
18764
  modelValue: files.value,
18737
18765
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
18738
18766
  "max-count": 1,
@@ -18749,29 +18777,29 @@ const _sfc_main$g = {
18749
18777
  };
18750
18778
  }
18751
18779
  };
18752
- var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a0846250"]]);
18780
+ var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-a0846250"]]);
18753
18781
  var SingleUserSelector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-a489ca4c] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-a489ca4c] {\r\n padding: 10px;\n}\n.search-buttons[data-v-a489ca4c] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-a489ca4c] {\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-a489ca4c] {\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-a489ca4c] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-a489ca4c] {\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-a489ca4c] {\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-a489ca4c] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-a489ca4c] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-a489ca4c] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
18754
- const _hoisted_1$8 = {
18782
+ const _hoisted_1$9 = {
18755
18783
  class: "department-selector"
18756
18784
  };
18757
- const _hoisted_2$5 = {
18785
+ const _hoisted_2$6 = {
18758
18786
  class: "picker-header"
18759
18787
  };
18760
- const _hoisted_3$4 = {
18788
+ const _hoisted_3$5 = {
18761
18789
  class: "header-left"
18762
18790
  };
18763
- const _hoisted_4$4 = {
18791
+ const _hoisted_4$5 = {
18764
18792
  class: "current-path"
18765
18793
  };
18766
- const _hoisted_5$4 = {
18794
+ const _hoisted_5$5 = {
18767
18795
  class: "header-right"
18768
18796
  };
18769
- const _hoisted_6$3 = /* @__PURE__ */ createTextVNode("\u6E05\u7A7A");
18770
- const _hoisted_7$3 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
18797
+ const _hoisted_6$4 = /* @__PURE__ */ createTextVNode("\u6E05\u7A7A");
18798
+ const _hoisted_7$4 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
18771
18799
  const _hoisted_8$2 = {
18772
18800
  class: "scroll-container"
18773
18801
  };
18774
- const _sfc_main$f = {
18802
+ const _sfc_main$g = {
18775
18803
  __name: "SingleUserSelector",
18776
18804
  props: {
18777
18805
  modelValue: {
@@ -19038,16 +19066,16 @@ const _sfc_main$f = {
19038
19066
  position: "bottom",
19039
19067
  class: "user-popup"
19040
19068
  }, {
19041
- default: withCtx(() => [createElementVNode("div", _hoisted_1$8, [createElementVNode("div", _hoisted_2$5, [createElementVNode("div", _hoisted_3$4, [withDirectives(createVNode(_component_van_button, {
19069
+ default: withCtx(() => [createElementVNode("div", _hoisted_1$9, [createElementVNode("div", _hoisted_2$6, [createElementVNode("div", _hoisted_3$5, [withDirectives(createVNode(_component_van_button, {
19042
19070
  onClick: goBack,
19043
19071
  icon: "arrow-left",
19044
19072
  size: "small"
19045
- }, null, 512), [[vShow, currentPath.value !== "\u8BF7\u9009\u62E9\u90E8\u95E8"]])]), createElementVNode("div", _hoisted_4$4, toDisplayString(currentPath.value), 1), createElementVNode("div", _hoisted_5$4, [createVNode(_component_van_button, {
19073
+ }, null, 512), [[vShow, currentPath.value !== "\u8BF7\u9009\u62E9\u90E8\u95E8"]])]), createElementVNode("div", _hoisted_4$5, toDisplayString(currentPath.value), 1), createElementVNode("div", _hoisted_5$5, [createVNode(_component_van_button, {
19046
19074
  size: "small",
19047
19075
  onClick: handleClear,
19048
19076
  class: "cancel-btn"
19049
19077
  }, {
19050
- default: withCtx(() => [_hoisted_6$3]),
19078
+ default: withCtx(() => [_hoisted_6$4]),
19051
19079
  _: 1
19052
19080
  }), createVNode(_component_van_button, {
19053
19081
  type: "primary",
@@ -19055,7 +19083,7 @@ const _sfc_main$f = {
19055
19083
  onClick: confirmSelection,
19056
19084
  class: "confirm-btn"
19057
19085
  }, {
19058
- default: withCtx(() => [_hoisted_7$3]),
19086
+ default: withCtx(() => [_hoisted_7$4]),
19059
19087
  _: 1
19060
19088
  })])]), createVNode(_component_van_search, {
19061
19089
  modelValue: searchValue.value,
@@ -19105,29 +19133,29 @@ const _sfc_main$f = {
19105
19133
  };
19106
19134
  }
19107
19135
  };
19108
- var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a489ca4c"]]);
19136
+ var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a489ca4c"]]);
19109
19137
  var UserPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-78c036bd] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-78c036bd] {\r\n padding: 10px;\n}\n.search-buttons[data-v-78c036bd] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-78c036bd] {\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-78c036bd] {\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-78c036bd] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-78c036bd] {\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-78c036bd] {\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-78c036bd] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-78c036bd] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-78c036bd] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
19110
- const _hoisted_1$7 = {
19138
+ const _hoisted_1$8 = {
19111
19139
  class: "department-selector"
19112
19140
  };
19113
- const _hoisted_2$4 = {
19141
+ const _hoisted_2$5 = {
19114
19142
  class: "picker-header"
19115
19143
  };
19116
- const _hoisted_3$3 = {
19144
+ const _hoisted_3$4 = {
19117
19145
  class: "header-left"
19118
19146
  };
19119
- const _hoisted_4$3 = {
19147
+ const _hoisted_4$4 = {
19120
19148
  class: "current-path"
19121
19149
  };
19122
- const _hoisted_5$3 = {
19150
+ const _hoisted_5$4 = {
19123
19151
  class: "header-right"
19124
19152
  };
19125
- const _hoisted_6$2 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
19126
- const _hoisted_7$2 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
19153
+ const _hoisted_6$3 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
19154
+ const _hoisted_7$3 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
19127
19155
  const _hoisted_8$1 = {
19128
19156
  class: "scroll-container"
19129
19157
  };
19130
- const _sfc_main$e = {
19158
+ const _sfc_main$f = {
19131
19159
  __name: "UserPop",
19132
19160
  props: {
19133
19161
  show: {
@@ -19310,16 +19338,16 @@ const _sfc_main$e = {
19310
19338
  position: "bottom",
19311
19339
  class: "user-popup"
19312
19340
  }, {
19313
- default: withCtx(() => [createElementVNode("div", _hoisted_1$7, [createElementVNode("div", _hoisted_2$4, [createElementVNode("div", _hoisted_3$3, [createVNode(_component_van_button, {
19341
+ default: withCtx(() => [createElementVNode("div", _hoisted_1$8, [createElementVNode("div", _hoisted_2$5, [createElementVNode("div", _hoisted_3$4, [createVNode(_component_van_button, {
19314
19342
  onClick: onBack,
19315
19343
  icon: "arrow-left",
19316
19344
  size: "small"
19317
- })]), createElementVNode("div", _hoisted_4$3, toDisplayString(unref(pathsLabel)), 1), createElementVNode("div", _hoisted_5$3, [createVNode(_component_van_button, {
19345
+ })]), createElementVNode("div", _hoisted_4$4, toDisplayString(unref(pathsLabel)), 1), createElementVNode("div", _hoisted_5$4, [createVNode(_component_van_button, {
19318
19346
  size: "small",
19319
19347
  onClick: onCancel,
19320
19348
  class: "cancel-btn"
19321
19349
  }, {
19322
- default: withCtx(() => [_hoisted_6$2]),
19350
+ default: withCtx(() => [_hoisted_6$3]),
19323
19351
  _: 1
19324
19352
  }), createVNode(_component_van_button, {
19325
19353
  type: "primary",
@@ -19327,7 +19355,7 @@ const _sfc_main$e = {
19327
19355
  onClick: onSubmit,
19328
19356
  class: "confirm-btn"
19329
19357
  }, {
19330
- default: withCtx(() => [_hoisted_7$2]),
19358
+ default: withCtx(() => [_hoisted_7$3]),
19331
19359
  _: 1
19332
19360
  })])]), createVNode(_component_van_search, {
19333
19361
  modelValue: data2.keyword,
@@ -19377,12 +19405,12 @@ const _sfc_main$e = {
19377
19405
  };
19378
19406
  }
19379
19407
  };
19380
- var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-78c036bd"]]);
19408
+ var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-78c036bd"]]);
19381
19409
  var UsersPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-item[data-v-4022cd82]{\r\n margin:3px;\n}\r\n")();
19382
- const _hoisted_1$6 = {
19410
+ const _hoisted_1$7 = {
19383
19411
  class: "user-list"
19384
19412
  };
19385
- const _sfc_main$d = {
19413
+ const _sfc_main$e = {
19386
19414
  __name: "UsersPicker",
19387
19415
  props: {
19388
19416
  modelValue: {
@@ -19480,7 +19508,7 @@ const _sfc_main$d = {
19480
19508
  onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !unref(isReadonly)),
19481
19509
  "label-class": "label"
19482
19510
  }, {
19483
- input: withCtx(() => [createElementVNode("div", _hoisted_1$6, [(openBlock(true), createElementBlock(Fragment, null, renderList(data2.users, (item, i) => {
19511
+ input: withCtx(() => [createElementVNode("div", _hoisted_1$7, [(openBlock(true), createElementBlock(Fragment, null, renderList(data2.users, (item, i) => {
19484
19512
  return openBlock(), createBlock(_component_van_tag, {
19485
19513
  class: "user-item",
19486
19514
  closeable: !unref(isDisabled),
@@ -19504,9 +19532,9 @@ const _sfc_main$d = {
19504
19532
  };
19505
19533
  }
19506
19534
  };
19507
- var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4022cd82"]]);
19535
+ var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-4022cd82"]]);
19508
19536
  var UserPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-58929b5a]{\r\n padding:4px 8px;\n}\r\n")();
19509
- const _sfc_main$c = {
19537
+ const _sfc_main$d = {
19510
19538
  __name: "UserPicker",
19511
19539
  props: {
19512
19540
  modelValue: {
@@ -19620,28 +19648,28 @@ const _sfc_main$c = {
19620
19648
  };
19621
19649
  }
19622
19650
  };
19623
- var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-58929b5a"]]);
19651
+ var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-58929b5a"]]);
19624
19652
  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")();
19625
- const _hoisted_1$5 = {
19653
+ const _hoisted_1$6 = {
19626
19654
  class: "widget"
19627
19655
  };
19628
- const _hoisted_2$3 = {
19656
+ const _hoisted_2$4 = {
19629
19657
  class: "user-info"
19630
19658
  };
19631
- const _hoisted_3$2 = {
19659
+ const _hoisted_3$3 = {
19632
19660
  class: "user-info-item"
19633
19661
  };
19634
- const _hoisted_4$2 = {
19662
+ const _hoisted_4$3 = {
19635
19663
  class: "user-info-item"
19636
19664
  };
19637
- const _hoisted_5$2 = {
19665
+ const _hoisted_5$3 = {
19638
19666
  class: "user-info-item"
19639
19667
  };
19640
- const _hoisted_6$1 = {
19668
+ const _hoisted_6$2 = {
19641
19669
  class: "user-jobs"
19642
19670
  };
19643
- const _hoisted_7$1 = /* @__PURE__ */ createTextVNode(" \u6CE8\u9500 ");
19644
- const _sfc_main$b = {
19671
+ const _hoisted_7$2 = /* @__PURE__ */ createTextVNode(" \u6CE8\u9500 ");
19672
+ const _sfc_main$c = {
19645
19673
  __name: "UserProfile",
19646
19674
  props: {
19647
19675
  avatar: {
@@ -19678,13 +19706,13 @@ const _sfc_main$b = {
19678
19706
  return (_ctx, _cache) => {
19679
19707
  const _component_van_image = resolveComponent("van-image");
19680
19708
  const _component_van_button = resolveComponent("van-button");
19681
- return openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_van_image, {
19709
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [createVNode(_component_van_image, {
19682
19710
  round: "",
19683
19711
  width: "80px",
19684
19712
  height: "80px",
19685
19713
  src: props.avatar,
19686
19714
  class: "user-avatar"
19687
- }, null, 8, ["src"]), createElementVNode("div", _hoisted_2$3, [createElementVNode("span", _hoisted_3$2, toDisplayString(props.name), 1), createElementVNode("span", _hoisted_4$2, toDisplayString(props.position), 1), createElementVNode("span", _hoisted_5$2, toDisplayString(props.mobile), 1)]), createElementVNode("div", _hoisted_6$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.departments, (item, i) => {
19715
+ }, null, 8, ["src"]), createElementVNode("div", _hoisted_2$4, [createElementVNode("span", _hoisted_3$3, toDisplayString(props.name), 1), createElementVNode("span", _hoisted_4$3, toDisplayString(props.position), 1), createElementVNode("span", _hoisted_5$3, toDisplayString(props.mobile), 1)]), createElementVNode("div", _hoisted_6$2, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.departments, (item, i) => {
19688
19716
  return openBlock(), createElementBlock("span", {
19689
19717
  class: "job-item",
19690
19718
  key: i
@@ -19694,30 +19722,30 @@ const _sfc_main$b = {
19694
19722
  class: "logout-button",
19695
19723
  onClick: onLogout
19696
19724
  }, {
19697
- default: withCtx(() => [_hoisted_7$1]),
19725
+ default: withCtx(() => [_hoisted_7$2]),
19698
19726
  _: 1
19699
19727
  })]);
19700
19728
  };
19701
19729
  }
19702
19730
  };
19703
- var UserProfile = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-107e26c3"]]);
19731
+ var UserProfile = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-107e26c3"]]);
19704
19732
  var BillCard_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-68bdd6bc] {\n background-color: white;\n border-radius: 8px;\n box-shadow: var(--van-dropdown-menu-shadow);\n color: 14px;\n}\n.widget .card-box[data-v-68bdd6bc] {\n padding-bottom: 8px;\n}\n.widget .card-box .card-header[data-v-68bdd6bc] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 15px 10px;\n border-bottom: 1px solid #eee;\n}\n.widget .card-box .card-header .card-sum[data-v-68bdd6bc] {\n flex: 1;\n font-size: 14px;\n text-align: left;\n}\n.widget .card-box .card-header .user-state[data-v-68bdd6bc] {\n margin-right: 1px;\n}\n[data-v-68bdd6bc] .van-cell__value {\n flex: 2 !important;\n}\n[data-v-68bdd6bc] .van-cell__title {\n font-size: 12px !important;\n color: #666 !important;\n text-align: left !important;\n}\n[data-v-68bdd6bc] .van-cell__value {\n font-size: 12px !important;\n color: #888 !important;\n}\n[data-v-68bdd6bc] .van-cell {\n padding: 2px 10px !important;\n}")();
19705
- const _hoisted_1$4 = {
19733
+ const _hoisted_1$5 = {
19706
19734
  class: "widget"
19707
19735
  };
19708
- const _hoisted_2$2 = {
19736
+ const _hoisted_2$3 = {
19709
19737
  class: "card-header"
19710
19738
  };
19711
- const _hoisted_3$1 = {
19739
+ const _hoisted_3$2 = {
19712
19740
  class: "card-sum"
19713
19741
  };
19714
- const _hoisted_4$1 = {
19742
+ const _hoisted_4$2 = {
19715
19743
  class: "card-type"
19716
19744
  };
19717
- const _hoisted_5$1 = {
19745
+ const _hoisted_5$2 = {
19718
19746
  class: "card-no"
19719
19747
  };
19720
- const _sfc_main$a = {
19748
+ const _sfc_main$b = {
19721
19749
  __name: "BillCard",
19722
19750
  props: {
19723
19751
  category: {
@@ -19798,11 +19826,11 @@ const _sfc_main$a = {
19798
19826
  const _component_van_tag = resolveComponent("van-tag");
19799
19827
  const _component_van_cell = resolveComponent("van-cell");
19800
19828
  const _component_van_cell_group = resolveComponent("van-cell-group");
19801
- return openBlock(), createElementBlock("div", _hoisted_1$4, [createVNode(_component_van_cell_group, {
19829
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_van_cell_group, {
19802
19830
  inset: "",
19803
19831
  class: "card-box"
19804
19832
  }, {
19805
- default: withCtx(() => [createElementVNode("div", _hoisted_2$2, [createElementVNode("div", _hoisted_3$1, [createElementVNode("div", _hoisted_4$1, toDisplayString(props.category), 1), createElementVNode("div", _hoisted_5$1, toDisplayString(props.no), 1)]), createVNode(_component_van_tag, {
19833
+ default: withCtx(() => [createElementVNode("div", _hoisted_2$3, [createElementVNode("div", _hoisted_3$2, [createElementVNode("div", _hoisted_4$2, toDisplayString(props.category), 1), createElementVNode("div", _hoisted_5$2, toDisplayString(props.no), 1)]), createVNode(_component_van_tag, {
19806
19834
  class: "user-state",
19807
19835
  size: "large",
19808
19836
  color: userState2color(props.userState)
@@ -19831,8 +19859,8 @@ const _sfc_main$a = {
19831
19859
  };
19832
19860
  }
19833
19861
  };
19834
- var BillCard = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-68bdd6bc"]]);
19835
- const _sfc_main$9 = {
19862
+ var BillCard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-68bdd6bc"]]);
19863
+ const _sfc_main$a = {
19836
19864
  __name: "YearDropdown",
19837
19865
  props: {
19838
19866
  modelValue: {
@@ -19890,7 +19918,7 @@ const _sfc_main$9 = {
19890
19918
  };
19891
19919
  }
19892
19920
  };
19893
- const _sfc_main$8 = {
19921
+ const _sfc_main$9 = {
19894
19922
  __name: "MonthDropdown",
19895
19923
  props: {
19896
19924
  modelValue: {
@@ -19940,7 +19968,7 @@ const _sfc_main$8 = {
19940
19968
  };
19941
19969
  }
19942
19970
  };
19943
- const _sfc_main$7 = {
19971
+ const _sfc_main$8 = {
19944
19972
  __name: "DayDropdown",
19945
19973
  props: {
19946
19974
  year: {
@@ -20000,7 +20028,7 @@ const _sfc_main$7 = {
20000
20028
  }
20001
20029
  };
20002
20030
  var Switch_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-d8d21ade] .label {\n color: #000 !important;\n}\n[data-v-d8d21ade] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
20003
- const _sfc_main$6 = {
20031
+ const _sfc_main$7 = {
20004
20032
  __name: "Switch",
20005
20033
  props: {
20006
20034
  modelValue: {
@@ -20068,17 +20096,17 @@ const _sfc_main$6 = {
20068
20096
  };
20069
20097
  }
20070
20098
  };
20071
- var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-d8d21ade"]]);
20099
+ var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-d8d21ade"]]);
20072
20100
  var Sheet_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".item-box[data-v-2bd62a7a] {\n position: relative;\n padding-bottom: 5px;\n border-bottom: 1px solid #e1e1e1;\n}\n.actionbar[data-v-2bd62a7a] {\n display: flex;\n justify-content: center;\n margin-top: 5px;\n}\n[data-v-2bd62a7a] .label {\n color: #000 !important;\n}\n[data-v-2bd62a7a] .van-field__control--custom {\n display: block;\n}")();
20073
- const _hoisted_1$3 = {
20101
+ const _hoisted_1$4 = {
20074
20102
  key: 0,
20075
20103
  class: "actionbar"
20076
20104
  };
20077
- const _hoisted_2$1 = {
20105
+ const _hoisted_2$2 = {
20078
20106
  key: 0,
20079
20107
  class: "actionbar"
20080
20108
  };
20081
- const _sfc_main$5 = {
20109
+ const _sfc_main$6 = {
20082
20110
  __name: "Sheet",
20083
20111
  props: {
20084
20112
  modelValue: {
@@ -20142,7 +20170,7 @@ const _sfc_main$5 = {
20142
20170
  required: unref(isRequired),
20143
20171
  placeholder: props.placeholder
20144
20172
  }, {
20145
- input: withCtx(() => [!unref(isGone) && !unref(isDisabled) && !unref(isReadonly) ? (openBlock(), createElementBlock("div", _hoisted_1$3, [createVNode(_component_van_button, {
20173
+ input: withCtx(() => [!unref(isGone) && !unref(isDisabled) && !unref(isReadonly) ? (openBlock(), createElementBlock("div", _hoisted_1$4, [createVNode(_component_van_button, {
20146
20174
  icon: "plus",
20147
20175
  type: "primary",
20148
20176
  size: "mini",
@@ -20154,7 +20182,7 @@ const _sfc_main$5 = {
20154
20182
  }, [renderSlot(_ctx.$slots, "item", {
20155
20183
  item,
20156
20184
  auth: props.auth
20157
- }, void 0, true), !unref(isGone) && !unref(isDisabled) && !unref(isReadonly) ? (openBlock(), createElementBlock("div", _hoisted_2$1, [createVNode(_component_van_button, {
20185
+ }, void 0, true), !unref(isGone) && !unref(isDisabled) && !unref(isReadonly) ? (openBlock(), createElementBlock("div", _hoisted_2$2, [createVNode(_component_van_button, {
20158
20186
  icon: "plus",
20159
20187
  type: "primary",
20160
20188
  size: "mini",
@@ -20171,9 +20199,9 @@ const _sfc_main$5 = {
20171
20199
  };
20172
20200
  }
20173
20201
  };
20174
- var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-2bd62a7a"]]);
20202
+ var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-2bd62a7a"]]);
20175
20203
  var TreePop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-box[data-v-571370f8] {\r\n min-height: 20vh;\r\n max-height: 40vh;\r\n overflow-y: auto;\n.checkbox-list[data-v-571370f8] {\r\n padding: 15px 25px;\n[data-v-571370f8] .van-checkbox__label {\r\n flex: 1;\r\n text-align: right;\n}\n}\n}\n.select-all-container[data-v-571370f8] {\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-571370f8] {\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-571370f8] {\r\n margin-left: 8px;\n}\r\n")();
20176
- const _sfc_main$4 = {
20204
+ const _sfc_main$5 = {
20177
20205
  __name: "TreePop",
20178
20206
  props: {
20179
20207
  show: {
@@ -20222,12 +20250,12 @@ const _sfc_main$4 = {
20222
20250
  };
20223
20251
  }
20224
20252
  };
20225
- var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-571370f8"]]);
20253
+ var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-571370f8"]]);
20226
20254
  var TreePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.select-item[data-v-6744b874]{\r\n margin:3px;\n}\r\n")();
20227
- const _hoisted_1$2 = {
20255
+ const _hoisted_1$3 = {
20228
20256
  class: "select-list"
20229
20257
  };
20230
- const _sfc_main$3 = {
20258
+ const _sfc_main$4 = {
20231
20259
  __name: "TreePicker",
20232
20260
  props: {
20233
20261
  modelValue: {
@@ -20321,7 +20349,7 @@ const _sfc_main$3 = {
20321
20349
  onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !unref(isReadonly)),
20322
20350
  "label-class": "label"
20323
20351
  }, {
20324
- input: withCtx(() => [createElementVNode("div", _hoisted_1$2, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectOptions), (item, i) => {
20352
+ input: withCtx(() => [createElementVNode("div", _hoisted_1$3, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectOptions), (item, i) => {
20325
20353
  return openBlock(), createBlock(_component_van_tag, {
20326
20354
  class: "select-item",
20327
20355
  closeable: !unref(isDisabled),
@@ -20345,25 +20373,25 @@ const _sfc_main$3 = {
20345
20373
  };
20346
20374
  }
20347
20375
  };
20348
- var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-6744b874"]]);
20376
+ var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6744b874"]]);
20349
20377
  var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-0f636c64] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.cascader-selector[data-v-0f636c64] {\r\n padding: 10px;\n}\n.search-buttons[data-v-0f636c64] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-0f636c64] {\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-0f636c64] {\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-0f636c64] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.cascader-header[data-v-0f636c64] {\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-0f636c64] {\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-0f636c64] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-0f636c64] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-0f636c64] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.cell-content[data-v-0f636c64] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-0f636c64] {\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-0f636c64] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-0f636c64] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-0f636c64] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-0f636c64] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-0f636c64] {\r\n color: #969799;\n}\n.search-field[data-v-0f636c64] {\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")();
20350
- const _hoisted_1$1 = {
20378
+ const _hoisted_1$2 = {
20351
20379
  class: "cascader-selector"
20352
20380
  };
20353
- const _hoisted_2 = {
20381
+ const _hoisted_2$1 = {
20354
20382
  class: "cascader-header"
20355
20383
  };
20356
- const _hoisted_3 = {
20384
+ const _hoisted_3$1 = {
20357
20385
  class: "header-left"
20358
20386
  };
20359
- const _hoisted_4 = {
20387
+ const _hoisted_4$1 = {
20360
20388
  class: "current-path"
20361
20389
  };
20362
- const _hoisted_5 = {
20390
+ const _hoisted_5$1 = {
20363
20391
  class: "header-right"
20364
20392
  };
20365
- const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
20366
- const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
20393
+ const _hoisted_6$1 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
20394
+ const _hoisted_7$1 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
20367
20395
  const _hoisted_8 = {
20368
20396
  class: "scroll-container"
20369
20397
  };
@@ -20374,7 +20402,7 @@ const _hoisted_10 = ["onClick"];
20374
20402
  const _hoisted_11 = {
20375
20403
  class: "name"
20376
20404
  };
20377
- const _sfc_main$2 = {
20405
+ const _sfc_main$3 = {
20378
20406
  __name: "CascaderPop",
20379
20407
  props: {
20380
20408
  modelValue: {
@@ -20511,16 +20539,16 @@ const _sfc_main$2 = {
20511
20539
  position: "bottom",
20512
20540
  class: "cascader-pop"
20513
20541
  }, {
20514
- default: withCtx(() => [createElementVNode("div", _hoisted_1$1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(_component_van_button, {
20542
+ default: withCtx(() => [createElementVNode("div", _hoisted_1$2, [createElementVNode("div", _hoisted_2$1, [createElementVNode("div", _hoisted_3$1, [createVNode(_component_van_button, {
20515
20543
  onClick: onBack,
20516
20544
  icon: "arrow-left",
20517
20545
  size: "small"
20518
- })]), createElementVNode("div", _hoisted_4, toDisplayString(unref(pathsLabel)), 1), createElementVNode("div", _hoisted_5, [createVNode(_component_van_button, {
20546
+ })]), createElementVNode("div", _hoisted_4$1, toDisplayString(unref(pathsLabel)), 1), createElementVNode("div", _hoisted_5$1, [createVNode(_component_van_button, {
20519
20547
  size: "small",
20520
20548
  onClick: onCancel,
20521
20549
  class: "cancel-btn"
20522
20550
  }, {
20523
- default: withCtx(() => [_hoisted_6]),
20551
+ default: withCtx(() => [_hoisted_6$1]),
20524
20552
  _: 1
20525
20553
  }), createVNode(_component_van_button, {
20526
20554
  type: "primary",
@@ -20528,7 +20556,7 @@ const _sfc_main$2 = {
20528
20556
  onClick: onSubmit,
20529
20557
  class: "confirm-btn"
20530
20558
  }, {
20531
- default: withCtx(() => [_hoisted_7]),
20559
+ default: withCtx(() => [_hoisted_7$1]),
20532
20560
  _: 1
20533
20561
  })])]), createVNode(_component_van_search, {
20534
20562
  modelValue: data2.keyword,
@@ -20579,8 +20607,8 @@ const _sfc_main$2 = {
20579
20607
  };
20580
20608
  }
20581
20609
  };
20582
- var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-0f636c64"]]);
20583
- const _sfc_main$1 = {
20610
+ var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-0f636c64"]]);
20611
+ const _sfc_main$2 = {
20584
20612
  __name: "CascaderPicker",
20585
20613
  props: {
20586
20614
  modelValue: {
@@ -20750,10 +20778,10 @@ const _sfc_main$1 = {
20750
20778
  }
20751
20779
  };
20752
20780
  var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-0c8e09c0] {\n /* \u7EDF\u4E00\u5B57\u6BB5\u95F4\u8DDD */\n}\n.widget[data-v-0c8e09c0] .van-cell {\n align-items: center;\n}\n.widget[data-v-0c8e09c0] .van-field__label {\n width: 90px;\n flex: none;\n}\n.widget .readonly-field[data-v-0c8e09c0] {\n /* \u6DFB\u52A0\u5FC5\u586B\u661F\u53F7\u5BF9\u9F50 */\n}\n.widget .readonly-field[data-v-0c8e09c0] .van-field__control {\n color: #323233;\n /* \u4FEE\u6539\u6587\u5B57\u989C\u8272\u4E0E\u666E\u901A\u5B57\u6BB5\u4E00\u81F4 */\n padding-right: 16px;\n}\n.widget .readonly-field.van-field--required[data-v-0c8e09c0] .van-field__label::before {\n margin-right: 4px;\n}\n.widget .readonly-field[data-v-0c8e09c0] {\n margin: 4px 0;\n}')();
20753
- const _hoisted_1 = {
20781
+ const _hoisted_1$1 = {
20754
20782
  class: "widget"
20755
20783
  };
20756
- const _sfc_main = {
20784
+ const _sfc_main$1 = {
20757
20785
  __name: "SingleApiPicker",
20758
20786
  props: {
20759
20787
  label: {
@@ -20823,7 +20851,7 @@ const _sfc_main = {
20823
20851
  const _component_van_field = resolveComponent("van-field");
20824
20852
  const _component_van_picker = resolveComponent("van-picker");
20825
20853
  const _component_van_popup = resolveComponent("van-popup");
20826
- return openBlock(), createElementBlock("div", _hoisted_1, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
20854
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
20827
20855
  key: 0,
20828
20856
  modelValue: unref(formatLabel),
20829
20857
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(formatLabel) ? formatLabel.value = $event : null),
@@ -20851,7 +20879,303 @@ const _sfc_main = {
20851
20879
  };
20852
20880
  }
20853
20881
  };
20854
- var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0c8e09c0"]]);
20882
+ var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
20883
+ var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-756f99e9] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.widget .option[data-v-756f99e9] {\n margin: 8px 8px;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-756f99e9] .van-field__label {\n margin: auto;\n}")();
20884
+ const _hoisted_1 = {
20885
+ class: "widget"
20886
+ };
20887
+ const _hoisted_2 = {
20888
+ style: {
20889
+ "display": "flex",
20890
+ "align-items": "center"
20891
+ }
20892
+ };
20893
+ const _hoisted_3 = {
20894
+ style: {
20895
+ "padding": "5px 5px"
20896
+ }
20897
+ };
20898
+ const _hoisted_4 = {
20899
+ style: {
20900
+ "display": "flex",
20901
+ "flex-direction": "column",
20902
+ "cursor": "pointer"
20903
+ }
20904
+ };
20905
+ const _hoisted_5 = {
20906
+ style: {
20907
+ "margin": "16px",
20908
+ "display": "flex",
20909
+ "align-items": "center",
20910
+ "justify-content": "center"
20911
+ }
20912
+ };
20913
+ const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
20914
+ const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
20915
+ const _sfc_main = {
20916
+ __name: "ObjsEditor",
20917
+ props: {
20918
+ modelValue: {
20919
+ type: Array,
20920
+ default: []
20921
+ },
20922
+ isShowAdd: {
20923
+ type: Boolean,
20924
+ default: true
20925
+ },
20926
+ schema: {
20927
+ type: Object,
20928
+ default: {
20929
+ type: "String",
20930
+ label: "\u540D\u79F0",
20931
+ default: "",
20932
+ auth: "option"
20933
+ }
20934
+ }
20935
+ },
20936
+ emits: ["update:modelValue"],
20937
+ setup(__props, {
20938
+ emit
20939
+ }) {
20940
+ const props = __props;
20941
+ const modelValue = useVModel(props, "modelValue", emit);
20942
+ const data2 = reactive({
20943
+ inputValue: {},
20944
+ isShowInput: false,
20945
+ selectIndex: -1
20946
+ });
20947
+ const keys2 = Object.keys(props.schema);
20948
+ const visiableKeys = keys2.filter((k) => props.schema[k].auth != "gone");
20949
+ onMounted(() => {
20950
+ init();
20951
+ });
20952
+ const init = () => {
20953
+ if (modelValue.value)
20954
+ return;
20955
+ modelValue.value = [];
20956
+ };
20957
+ const makeDefaultValue = () => {
20958
+ let res = {};
20959
+ keys2.forEach((key) => {
20960
+ if (props.schema[key].default === "uuid")
20961
+ res[key] = util.uuid8();
20962
+ else
20963
+ res[key] = JSON.parse(JSON.stringify(props.schema[key].default));
20964
+ });
20965
+ return res;
20966
+ };
20967
+ const onForward = (index) => {
20968
+ util.arySwapPrev(modelValue.value, index);
20969
+ };
20970
+ const onBack = (index) => {
20971
+ util.arySwapNext(modelValue.value, index);
20972
+ };
20973
+ const onDelete = (index) => {
20974
+ modelValue.value.splice(index, 1);
20975
+ };
20976
+ const key2name = (key) => {
20977
+ return props.schema[key].label;
20978
+ };
20979
+ const key2value = (key, item) => {
20980
+ var _a, _b, _c, _d;
20981
+ console.log("key2value", key, item[key], item);
20982
+ let v = item[key];
20983
+ if (Array.isArray(v)) {
20984
+ let formatValues = v.map((e) => {
20985
+ let kvs = Object.keys(e).map((k) => {
20986
+ var _a2, _b2, _c2, _d2;
20987
+ console.log("1111111");
20988
+ console.log(props.schema[key]);
20989
+ console.log(key);
20990
+ console.log(v);
20991
+ console.log(k);
20992
+ let label = props.schema[key].schema[k].label;
20993
+ let formatValue = e[k];
20994
+ if ((_b2 = (_a2 = props.schema[key].schema[k]) == null ? void 0 : _a2.schema) == null ? void 0 : _b2.options) {
20995
+ let one = (_d2 = (_c2 = props.schema[key].schema[k]) == null ? void 0 : _c2.schema) == null ? void 0 : _d2.options.find((item2) => item2[Object.keys(item2)[1]] === formatValue);
20996
+ if (one)
20997
+ formatValue = one[Object.keys(one)[0]];
20998
+ else
20999
+ formatValue = "";
21000
+ }
21001
+ if (typeof formatValue === "boolean")
21002
+ formatValue = formatValue ? "\u662F" : "\u5426";
21003
+ return `${label}:${formatValue}`;
21004
+ });
21005
+ return kvs.join(",");
21006
+ });
21007
+ return formatValues.join(" > ");
21008
+ } else if ((_b = (_a = props.schema[key]) == null ? void 0 : _a.schema) == null ? void 0 : _b.options) {
21009
+ let one = (_d = (_c = props.schema[key]) == null ? void 0 : _c.schema) == null ? void 0 : _d.options.find((item2) => item2[Object.keys(item2)[1]] === v);
21010
+ return one ? one[Object.keys(one)[0]] : "";
21011
+ } else {
21012
+ return v;
21013
+ }
21014
+ };
21015
+ const onEdit = (index) => {
21016
+ data2.isShowInput = true;
21017
+ data2.selectIndex = index;
21018
+ data2.inputValue = modelValue.value[data2.selectIndex];
21019
+ };
21020
+ const onNewOption = () => {
21021
+ data2.selectIndex = -1;
21022
+ data2.inputValue = makeDefaultValue();
21023
+ data2.isShowInput = true;
21024
+ };
21025
+ const onInputConfirm = () => {
21026
+ let idx = modelValue.value.indexOf((item) => JSON.stringify(item) === JSON.stringify(data2.inputValue));
21027
+ if (idx > -1 && idx != data2.selectIndex) {
21028
+ util.warnToast("\u91CD\u590D\u6DFB\u52A0");
21029
+ return;
21030
+ }
21031
+ if (!data2.inputValue) {
21032
+ data2.isShowInput = false;
21033
+ data2.inputValue = makeDefaultValue();
21034
+ return;
21035
+ }
21036
+ if (data2.selectIndex < 0) {
21037
+ modelValue.value.push(data2.inputValue);
21038
+ } else {
21039
+ modelValue.value[data2.selectIndex] = data2.inputValue;
21040
+ }
21041
+ data2.isShowInput = false;
21042
+ data2.inputValue = makeDefaultValue();
21043
+ };
21044
+ const onInputCancel = () => {
21045
+ data2.isShowInput = false;
21046
+ data2.inputValue = makeDefaultValue();
21047
+ };
21048
+ const onChangeOption = (key) => {
21049
+ var _a, _b;
21050
+ console.log("onChangeOption", key, data2.inputValue[key], (_b = (_a = props.schema[key]) == null ? void 0 : _a.schema) == null ? void 0 : _b.options);
21051
+ let val = data2.inputValue[key];
21052
+ let options = props.schema[key].schema.options;
21053
+ let option = options.find((item) => item[Object.keys(item)[1]] === val);
21054
+ Object.keys(option).forEach((k) => {
21055
+ if (props.schema[k])
21056
+ data2.inputValue[k] = option[k];
21057
+ });
21058
+ };
21059
+ return (_ctx, _cache) => {
21060
+ const _component_van_icon = resolveComponent("van-icon");
21061
+ const _component_van_field = resolveComponent("van-field");
21062
+ const _component_van_switch = resolveComponent("van-switch");
21063
+ const _component_ObjsEditor = resolveComponent("ObjsEditor", true);
21064
+ const _component_van_button = resolveComponent("van-button");
21065
+ const _component_van_form = resolveComponent("van-form");
21066
+ return openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(modelValue), (item, index) => {
21067
+ return openBlock(), createElementBlock("div", {
21068
+ class: "option",
21069
+ key: index
21070
+ }, [createElementVNode("div", _hoisted_2, [createVNode(_component_van_icon, {
21071
+ name: "arrow-left",
21072
+ onClick: withModifiers(($event) => onForward(index), ["stop"])
21073
+ }, null, 8, ["onClick"]), createElementVNode("div", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(visiableKeys), (k, j) => {
21074
+ return openBlock(), createElementBlock("div", {
21075
+ key: j,
21076
+ style: {
21077
+ "padding": "2px 2px"
21078
+ }
21079
+ }, toDisplayString(`${key2name(k)}:${key2value(k, item)}`), 1);
21080
+ }), 128))]), createElementVNode("div", _hoisted_4, [props.schema.auth != "readonly" ? (openBlock(), createBlock(_component_van_icon, {
21081
+ key: 0,
21082
+ name: "edit",
21083
+ onClick: withModifiers(($event) => onEdit(index), ["stop"])
21084
+ }, null, 8, ["onClick"])) : createCommentVNode("", true), createVNode(_component_van_icon, {
21085
+ name: "arrow",
21086
+ onClick: withModifiers(($event) => onBack(index), ["stop"]),
21087
+ style: {
21088
+ "margin": "8px 0"
21089
+ }
21090
+ }, null, 8, ["onClick"]), props.schema.auth != "readonly" ? (openBlock(), createBlock(_component_van_icon, {
21091
+ key: 1,
21092
+ name: "cross",
21093
+ onClick: withModifiers(($event) => onDelete(index), ["stop"])
21094
+ }, null, 8, ["onClick"])) : createCommentVNode("", true)])])]);
21095
+ }), 128)), props.isShowAdd && !data2.isShowInput ? (openBlock(), createBlock(_component_van_icon, {
21096
+ key: 0,
21097
+ name: "plus",
21098
+ onClick: onNewOption
21099
+ })) : createCommentVNode("", true), data2.isShowInput ? (openBlock(), createBlock(_component_van_form, {
21100
+ key: 1,
21101
+ model: data2.inputValue
21102
+ }, {
21103
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(keys2), (key, i) => {
21104
+ return withDirectives((openBlock(), createBlock(_component_van_field, {
21105
+ key: i,
21106
+ label: props.schema[key].label,
21107
+ required: props.schema[key].auth === "required",
21108
+ disabled: props.schema[key].auth === "readonly"
21109
+ }, {
21110
+ input: withCtx(() => {
21111
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
21112
+ return [props.schema[key].type == "String" && !((_b = (_a = props.schema[key]) == null ? void 0 : _a.schema) == null ? void 0 : _b.options) ? (openBlock(), createBlock(_component_van_field, {
21113
+ key: 0,
21114
+ modelValue: data2.inputValue[key],
21115
+ "onUpdate:modelValue": ($event) => data2.inputValue[key] = $event,
21116
+ placeholder: `\u8BF7\u8F93\u5165${key2name(key)}`,
21117
+ type: "text"
21118
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : createCommentVNode("", true), props.schema[key].type == "Number" && !((_d = (_c = props.schema[key]) == null ? void 0 : _c.schema) == null ? void 0 : _d.options) ? (openBlock(), createBlock(_component_van_field, {
21119
+ key: 1,
21120
+ modelValue: data2.inputValue[key],
21121
+ "onUpdate:modelValue": ($event) => data2.inputValue[key] = $event,
21122
+ modelModifiers: {
21123
+ number: true
21124
+ },
21125
+ placeholder: `\u8BF7\u8F93\u5165${key2name(key)}`,
21126
+ type: "number"
21127
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : createCommentVNode("", true), props.schema[key].type == "Boolean" ? (openBlock(), createBlock(_component_van_switch, {
21128
+ key: 2,
21129
+ modelValue: data2.inputValue[key],
21130
+ "onUpdate:modelValue": ($event) => data2.inputValue[key] = $event
21131
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("", true), props.schema[key].type == "Datetime" ? (openBlock(), createBlock(_sfc_main$o, {
21132
+ key: 3,
21133
+ modelValue: data2.inputValue[key],
21134
+ "onUpdate:modelValue": ($event) => data2.inputValue[key] = $event,
21135
+ placeholder: "\u9009\u62E9\u65F6\u95F4"
21136
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("", true), ((_f = (_e = props.schema[key]) == null ? void 0 : _e.schema) == null ? void 0 : _f.options) ? (openBlock(), createBlock(DataSelector, {
21137
+ key: 4,
21138
+ modelValue: data2.inputValue[key],
21139
+ "onUpdate:modelValue": ($event) => data2.inputValue[key] = $event,
21140
+ options: (_h = (_g = props.schema[key]) == null ? void 0 : _g.schema) == null ? void 0 : _h.options,
21141
+ placeholder: `\u8BF7\u8F93\u5165${key2name(key)}`,
21142
+ columnsFieldNames: {
21143
+ text: (((_j = (_i = props.schema[key]) == null ? void 0 : _i.schema) == null ? void 0 : _j.options) || []).length > 0 ? Object.keys(props.schema[key].schema.options[0])[0] : "",
21144
+ value: (((_l = (_k = props.schema[key]) == null ? void 0 : _k.schema) == null ? void 0 : _l.options) || []).length > 0 ? Object.keys(props.schema[key].schema.options[0])[1] : ""
21145
+ },
21146
+ onSelect: ($event) => onChangeOption(key)
21147
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "placeholder", "columnsFieldNames", "onSelect"])) : createCommentVNode("", true), props.schema[key].type == "Array" && props.schema[key].auth != "gone" ? (openBlock(), createBlock(_component_ObjsEditor, {
21148
+ key: 5,
21149
+ modelValue: data2.inputValue[key],
21150
+ "onUpdate:modelValue": ($event) => data2.inputValue[key] = $event,
21151
+ schema: props.schema[key].schema
21152
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : createCommentVNode("", true)];
21153
+ }),
21154
+ _: 2
21155
+ }, 1032, ["label", "required", "disabled"])), [[vShow, props.schema[key].auth != "gone"]]);
21156
+ }), 128)), createElementVNode("div", _hoisted_5, [data2.isShowInput ? (openBlock(), createBlock(_component_van_button, {
21157
+ key: 0,
21158
+ onClick: onInputConfirm,
21159
+ type: "primary",
21160
+ size: "mini"
21161
+ }, {
21162
+ default: withCtx(() => [_hoisted_6]),
21163
+ _: 1
21164
+ })) : createCommentVNode("", true), data2.isShowInput ? (openBlock(), createBlock(_component_van_button, {
21165
+ key: 1,
21166
+ onClick: onInputCancel,
21167
+ type: "primary",
21168
+ size: "mini"
21169
+ }, {
21170
+ default: withCtx(() => [_hoisted_7]),
21171
+ _: 1
21172
+ })) : createCommentVNode("", true)])]),
21173
+ _: 1
21174
+ }, 8, ["model"])) : createCommentVNode("", true)]);
21175
+ };
21176
+ }
21177
+ };
21178
+ var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-756f99e9"]]);
20855
21179
  const secret_notify = () => {
20856
21180
  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 });
20857
21181
  };
@@ -20878,7 +21202,7 @@ const components = [
20878
21202
  },
20879
21203
  {
20880
21204
  name: "WidgetQwDatetimePicker",
20881
- widget: _sfc_main$n
21205
+ widget: _sfc_main$o
20882
21206
  },
20883
21207
  {
20884
21208
  name: "WidgetQwDataSelector",
@@ -20930,15 +21254,15 @@ const components = [
20930
21254
  },
20931
21255
  {
20932
21256
  name: "WidgetQwYearDropdown",
20933
- widget: _sfc_main$9
21257
+ widget: _sfc_main$a
20934
21258
  },
20935
21259
  {
20936
21260
  name: "WidgetQwMonthDropdown",
20937
- widget: _sfc_main$8
21261
+ widget: _sfc_main$9
20938
21262
  },
20939
21263
  {
20940
21264
  name: "WidgetQwDayDropdown",
20941
- widget: _sfc_main$7
21265
+ widget: _sfc_main$8
20942
21266
  },
20943
21267
  {
20944
21268
  name: "WidgetQwSwitch",
@@ -20958,11 +21282,15 @@ const components = [
20958
21282
  },
20959
21283
  {
20960
21284
  name: "WidgetQwCascaderPicker",
20961
- widget: _sfc_main$1
21285
+ widget: _sfc_main$2
20962
21286
  },
20963
21287
  {
20964
21288
  name: "WidgetQwSingleApiPicker",
20965
21289
  widget: SingleApiPicker
21290
+ },
21291
+ {
21292
+ name: "WidgetQwObjsEditor",
21293
+ widget: ObjsEditor
20966
21294
  }
20967
21295
  ];
20968
21296
  const WidgetQw = {