widget.qw 1.0.63 → 1.0.65
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.
- package/build/style.css +22 -22
- package/build/widget.qw.es.js +65 -56
- package/build/widget.qw.umd.js +65 -56
- package/package.json +1 -1
- package/src/api/index.js +8 -0
- package/src/components/CascaderPicker.vue +14 -17
- package/src/components/CascaderPop.vue +2 -2
- package/src/components/ObjsEditor.vue +4 -9
- package/src/views/cascaderpicker/index.vue +0 -0
- package/src/views/objseditor/index.vue +1 -1
package/build/style.css
CHANGED
|
@@ -709,25 +709,25 @@
|
|
|
709
709
|
margin:3px;
|
|
710
710
|
}
|
|
711
711
|
|
|
712
|
-
.cascader-pop[data-v-
|
|
712
|
+
.cascader-pop[data-v-bfe589fe] {
|
|
713
713
|
width: 100%;
|
|
714
714
|
overflow: hidden;
|
|
715
715
|
}
|
|
716
|
-
.cascader-selector[data-v-
|
|
716
|
+
.cascader-selector[data-v-bfe589fe] {
|
|
717
717
|
padding: 10px;
|
|
718
718
|
}
|
|
719
|
-
.search-buttons[data-v-
|
|
719
|
+
.search-buttons[data-v-bfe589fe] {
|
|
720
720
|
display: flex;
|
|
721
721
|
gap: 10px;
|
|
722
722
|
}
|
|
723
|
-
.clear-btn[data-v-
|
|
723
|
+
.clear-btn[data-v-bfe589fe] {
|
|
724
724
|
background-color: #f2f3f5;
|
|
725
725
|
border: none;
|
|
726
726
|
border-radius: 4px;
|
|
727
727
|
padding: 4px 8px;
|
|
728
728
|
font-size: 14px;
|
|
729
729
|
}
|
|
730
|
-
.confirm-btn[data-v-
|
|
730
|
+
.confirm-btn[data-v-bfe589fe] {
|
|
731
731
|
background-color: #1989fa;
|
|
732
732
|
color: white;
|
|
733
733
|
border: none;
|
|
@@ -735,19 +735,19 @@
|
|
|
735
735
|
padding: 4px 8px;
|
|
736
736
|
font-size: 14px;
|
|
737
737
|
}
|
|
738
|
-
.no-results[data-v-
|
|
738
|
+
.no-results[data-v-bfe589fe] {
|
|
739
739
|
text-align: center;
|
|
740
740
|
padding: 20px;
|
|
741
741
|
color: #969799;
|
|
742
742
|
}
|
|
743
|
-
.cascader-header[data-v-
|
|
743
|
+
.cascader-header[data-v-bfe589fe] {
|
|
744
744
|
padding: 10px;
|
|
745
745
|
border-bottom: 1px solid #ebedf0;
|
|
746
746
|
display: flex;
|
|
747
747
|
justify-content: space-between;
|
|
748
748
|
align-items: center;
|
|
749
749
|
}
|
|
750
|
-
.current-path[data-v-
|
|
750
|
+
.current-path[data-v-bfe589fe] {
|
|
751
751
|
flex: 1;
|
|
752
752
|
font-size: 14px;
|
|
753
753
|
color: #323233;
|
|
@@ -755,25 +755,25 @@
|
|
|
755
755
|
overflow: hidden;
|
|
756
756
|
text-overflow: ellipsis;
|
|
757
757
|
}
|
|
758
|
-
.header-right[data-v-
|
|
758
|
+
.header-right[data-v-bfe589fe] {
|
|
759
759
|
display: flex;
|
|
760
760
|
gap: 8px;
|
|
761
761
|
margin-left: auto;
|
|
762
762
|
}
|
|
763
|
-
.cancel-btn[data-v-
|
|
763
|
+
.cancel-btn[data-v-bfe589fe] {
|
|
764
764
|
color: #969799;
|
|
765
765
|
margin-right: 5px;
|
|
766
766
|
}
|
|
767
|
-
.scroll-container[data-v-
|
|
767
|
+
.scroll-container[data-v-bfe589fe] {
|
|
768
768
|
height: calc(80vh - 150px);
|
|
769
769
|
overflow-y: auto;
|
|
770
770
|
}
|
|
771
|
-
.cell-content[data-v-
|
|
771
|
+
.cell-content[data-v-bfe589fe] {
|
|
772
772
|
display: flex;
|
|
773
773
|
align-items: center;
|
|
774
774
|
gap: 12px;
|
|
775
775
|
}
|
|
776
|
-
.circle-selector[data-v-
|
|
776
|
+
.circle-selector[data-v-bfe589fe] {
|
|
777
777
|
width: 20px;
|
|
778
778
|
height: 20px;
|
|
779
779
|
border-radius: 50%;
|
|
@@ -783,29 +783,29 @@
|
|
|
783
783
|
transition: all 0.2s;
|
|
784
784
|
flex-shrink: 0;
|
|
785
785
|
}
|
|
786
|
-
.circle-selector.selected[data-v-
|
|
786
|
+
.circle-selector.selected[data-v-bfe589fe] {
|
|
787
787
|
background-color: #1989fa;
|
|
788
788
|
border-color: #1989fa;
|
|
789
789
|
}
|
|
790
|
-
.circle-selector.selected .van-icon[data-v-
|
|
790
|
+
.circle-selector.selected .van-icon[data-v-bfe589fe] {
|
|
791
791
|
color: white;
|
|
792
792
|
font-size: 14px;
|
|
793
793
|
}
|
|
794
|
-
.van-cell__right-icon[data-v-
|
|
794
|
+
.van-cell__right-icon[data-v-bfe589fe] {
|
|
795
795
|
color: #969799;
|
|
796
796
|
font-size: 16px;
|
|
797
797
|
margin-left: 8px;
|
|
798
798
|
}
|
|
799
|
-
.name[data-v-
|
|
799
|
+
.name[data-v-bfe589fe] {
|
|
800
800
|
flex: 1;
|
|
801
801
|
overflow: hidden;
|
|
802
802
|
text-overflow: ellipsis;
|
|
803
803
|
white-space: nowrap;
|
|
804
804
|
}
|
|
805
|
-
.cancel-btn[data-v-
|
|
805
|
+
.cancel-btn[data-v-bfe589fe] {
|
|
806
806
|
color: #969799;
|
|
807
807
|
}
|
|
808
|
-
.search-field[data-v-
|
|
808
|
+
.search-field[data-v-bfe589fe] {
|
|
809
809
|
background: #fff;
|
|
810
810
|
padding: 10px 16px;
|
|
811
811
|
border-bottom: 1px solid #ebedf0;
|
|
@@ -840,13 +840,13 @@
|
|
|
840
840
|
}
|
|
841
841
|
.widget .readonly-field[data-v-0c8e09c0] {
|
|
842
842
|
margin: 4px 0;
|
|
843
|
-
}.widget[data-v-
|
|
843
|
+
}.widget[data-v-9c2543e2] {
|
|
844
844
|
background: #fff;
|
|
845
845
|
box-sizing: border-box;
|
|
846
846
|
height: 100%;
|
|
847
847
|
text-align: left;
|
|
848
848
|
}
|
|
849
|
-
.option[data-v-
|
|
849
|
+
.option[data-v-9c2543e2] {
|
|
850
850
|
margin: 0 8px 8px 0;
|
|
851
851
|
padding: 5px 5px;
|
|
852
852
|
border-radius: 6px;
|
|
@@ -856,6 +856,6 @@
|
|
|
856
856
|
display: inline-block;
|
|
857
857
|
position: relative;
|
|
858
858
|
}
|
|
859
|
-
[data-v-
|
|
859
|
+
[data-v-9c2543e2] .van-field__label {
|
|
860
860
|
margin: auto;
|
|
861
861
|
}
|
package/build/widget.qw.es.js
CHANGED
|
@@ -3309,6 +3309,13 @@ const qw_department_children = (data2) => {
|
|
|
3309
3309
|
data: data2
|
|
3310
3310
|
});
|
|
3311
3311
|
};
|
|
3312
|
+
const qw_user_detail = (data2) => {
|
|
3313
|
+
return service$3({
|
|
3314
|
+
url: vm.urlCallback() + "/ac-api/qw/user/detail",
|
|
3315
|
+
method: "POST",
|
|
3316
|
+
data: data2
|
|
3317
|
+
});
|
|
3318
|
+
};
|
|
3312
3319
|
const reform_detail = (data2) => {
|
|
3313
3320
|
return service$3({
|
|
3314
3321
|
url: vm.urlCallback() + "/ac-api/reform/detail",
|
|
@@ -3335,6 +3342,7 @@ var ApiUtil = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
3335
3342
|
part_children,
|
|
3336
3343
|
part_detail,
|
|
3337
3344
|
qw_department_children,
|
|
3345
|
+
qw_user_detail,
|
|
3338
3346
|
reform_detail
|
|
3339
3347
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3340
3348
|
function noop() {
|
|
@@ -15783,7 +15791,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
15783
15791
|
}
|
|
15784
15792
|
return target;
|
|
15785
15793
|
};
|
|
15786
|
-
const _hoisted_1$
|
|
15794
|
+
const _hoisted_1$k = {
|
|
15787
15795
|
class: "widget"
|
|
15788
15796
|
};
|
|
15789
15797
|
const _hoisted_2$c = /* @__PURE__ */ createTextVNode("\u9A73\u56DE");
|
|
@@ -16063,7 +16071,7 @@ const _sfc_main$v = {
|
|
|
16063
16071
|
const _component_van_popover = resolveComponent("van-popover");
|
|
16064
16072
|
const _component_van_step = resolveComponent("van-step");
|
|
16065
16073
|
const _component_van_steps = resolveComponent("van-steps");
|
|
16066
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16074
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [unref(canPass) || unref(canRefuse) ? (openBlock(), createBlock(_component_van_field, {
|
|
16067
16075
|
key: 0,
|
|
16068
16076
|
modelValue: data2.memo,
|
|
16069
16077
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.memo = $event),
|
|
@@ -16415,7 +16423,7 @@ const _sfc_main$t = {
|
|
|
16415
16423
|
};
|
|
16416
16424
|
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-24e62c3a"]]);
|
|
16417
16425
|
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")();
|
|
16418
|
-
const _hoisted_1$
|
|
16426
|
+
const _hoisted_1$j = {
|
|
16419
16427
|
class: "select-all-container"
|
|
16420
16428
|
};
|
|
16421
16429
|
const _hoisted_2$b = /* @__PURE__ */ createTextVNode("\u5168\u9009");
|
|
@@ -16469,7 +16477,7 @@ const _sfc_main$s = {
|
|
|
16469
16477
|
position: "bottom",
|
|
16470
16478
|
class: "popup-box"
|
|
16471
16479
|
}, {
|
|
16472
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
16480
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$j, [createVNode(_component_van_checkbox, {
|
|
16473
16481
|
shape: "square",
|
|
16474
16482
|
modelValue: data2.isAllChecked,
|
|
16475
16483
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.isAllChecked = $event),
|
|
@@ -16505,7 +16513,7 @@ const _sfc_main$s = {
|
|
|
16505
16513
|
};
|
|
16506
16514
|
var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-10d79413"]]);
|
|
16507
16515
|
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")();
|
|
16508
|
-
const _hoisted_1$
|
|
16516
|
+
const _hoisted_1$i = {
|
|
16509
16517
|
class: "data-list"
|
|
16510
16518
|
};
|
|
16511
16519
|
const _sfc_main$r = {
|
|
@@ -16621,7 +16629,7 @@ const _sfc_main$r = {
|
|
|
16621
16629
|
_: 2
|
|
16622
16630
|
}, [unref(selectOptions).length > 0 ? {
|
|
16623
16631
|
name: "input",
|
|
16624
|
-
fn: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
16632
|
+
fn: withCtx(() => [createElementVNode("div", _hoisted_1$i, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectOptions), (item, i) => {
|
|
16625
16633
|
return openBlock(), createBlock(_component_van_tag, {
|
|
16626
16634
|
class: "data-item",
|
|
16627
16635
|
closeable: !unref(isDisabled),
|
|
@@ -17174,7 +17182,7 @@ const _sfc_main$o = {
|
|
|
17174
17182
|
}
|
|
17175
17183
|
};
|
|
17176
17184
|
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-3925cc28] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-3925cc28] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-3925cc28] {\r\n border: 0;\n}\n.flex-between[data-v-3925cc28] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-3925cc28] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-3925cc28] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px); \r\n overflow-y: auto;\n}\n.select-all-container[data-v-3925cc28] {\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-3925cc28] {\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-3925cc28] {\r\n margin-left: 8px;\n}\r\n \r\n")();
|
|
17177
|
-
const _hoisted_1$
|
|
17185
|
+
const _hoisted_1$h = {
|
|
17178
17186
|
class: "pad10 flex-between showMultipleButton"
|
|
17179
17187
|
};
|
|
17180
17188
|
const _hoisted_2$a = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
|
|
@@ -17397,7 +17405,7 @@ const _sfc_main$n = {
|
|
|
17397
17405
|
position: "bottom",
|
|
17398
17406
|
class: "popup-style"
|
|
17399
17407
|
}, {
|
|
17400
|
-
default: withCtx(() => [createElementVNode("div", null, [createElementVNode("div", _hoisted_1$
|
|
17408
|
+
default: withCtx(() => [createElementVNode("div", null, [createElementVNode("div", _hoisted_1$h, [createVNode(_component_van_button, {
|
|
17401
17409
|
plain: "",
|
|
17402
17410
|
size: "normal",
|
|
17403
17411
|
onClick: cancelSelection
|
|
@@ -17487,7 +17495,7 @@ const _sfc_main$n = {
|
|
|
17487
17495
|
};
|
|
17488
17496
|
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3925cc28"]]);
|
|
17489
17497
|
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")();
|
|
17490
|
-
const _hoisted_1$
|
|
17498
|
+
const _hoisted_1$g = {
|
|
17491
17499
|
key: 0,
|
|
17492
17500
|
class: "confirmation-tips"
|
|
17493
17501
|
};
|
|
@@ -17529,7 +17537,7 @@ const _sfc_main$m = {
|
|
|
17529
17537
|
const _component_van_icon = resolveComponent("van-icon");
|
|
17530
17538
|
const _component_van_checkbox = resolveComponent("van-checkbox");
|
|
17531
17539
|
const _component_van_checkbox_group = resolveComponent("van-checkbox-group");
|
|
17532
|
-
return openBlock(), createElementBlock(Fragment, null, [__props.tips && __props.tips.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
17540
|
+
return openBlock(), createElementBlock(Fragment, null, [__props.tips && __props.tips.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$g, [createVNode(_component_van_icon, {
|
|
17533
17541
|
name: "info",
|
|
17534
17542
|
color: "#1989fa"
|
|
17535
17543
|
}), createElementVNode("span", null, toDisplayString(__props.tips), 1)])) : createCommentVNode("", true), createVNode(_component_van_checkbox_group, {
|
|
@@ -17561,7 +17569,7 @@ const _sfc_main$m = {
|
|
|
17561
17569
|
};
|
|
17562
17570
|
var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-40a09897"]]);
|
|
17563
17571
|
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")();
|
|
17564
|
-
const _hoisted_1$
|
|
17572
|
+
const _hoisted_1$f = {
|
|
17565
17573
|
class: "department-selector"
|
|
17566
17574
|
};
|
|
17567
17575
|
const _hoisted_2$8 = {
|
|
@@ -17831,7 +17839,7 @@ const _sfc_main$l = {
|
|
|
17831
17839
|
const _component_van_cell = resolveComponent("van-cell");
|
|
17832
17840
|
const _component_van_cell_group = resolveComponent("van-cell-group");
|
|
17833
17841
|
const _component_van_popup = resolveComponent("van-popup");
|
|
17834
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17842
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
17835
17843
|
key: 0,
|
|
17836
17844
|
"model-value": selectedDepartmentPath.value,
|
|
17837
17845
|
readonly: "",
|
|
@@ -17921,7 +17929,7 @@ const _sfc_main$l = {
|
|
|
17921
17929
|
};
|
|
17922
17930
|
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-73eb43f3"]]);
|
|
17923
17931
|
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")();
|
|
17924
|
-
const _hoisted_1$
|
|
17932
|
+
const _hoisted_1$e = {
|
|
17925
17933
|
class: "user-selector"
|
|
17926
17934
|
};
|
|
17927
17935
|
const _hoisted_2$7 = {
|
|
@@ -18306,7 +18314,7 @@ const _sfc_main$k = {
|
|
|
18306
18314
|
const _component_van_radio = resolveComponent("van-radio");
|
|
18307
18315
|
const _component_van_radio_group = resolveComponent("van-radio-group");
|
|
18308
18316
|
const _component_van_popup = resolveComponent("van-popup");
|
|
18309
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18317
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
18310
18318
|
key: 0,
|
|
18311
18319
|
"model-value": unref(selectedUserInfo),
|
|
18312
18320
|
clickable: "",
|
|
@@ -18449,7 +18457,7 @@ const _sfc_main$k = {
|
|
|
18449
18457
|
};
|
|
18450
18458
|
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6c4b4fc8"]]);
|
|
18451
18459
|
var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-0c9127e8] .label {\n color: #000 !important;\n}\n[data-v-0c9127e8] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
18452
|
-
const _hoisted_1$
|
|
18460
|
+
const _hoisted_1$d = {
|
|
18453
18461
|
class: "image-box"
|
|
18454
18462
|
};
|
|
18455
18463
|
const _sfc_main$j = {
|
|
@@ -18552,7 +18560,7 @@ const _sfc_main$j = {
|
|
|
18552
18560
|
"label-class": "label",
|
|
18553
18561
|
placeholder: props.placeholder
|
|
18554
18562
|
}, {
|
|
18555
|
-
input: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
18563
|
+
input: withCtx(() => [createElementVNode("div", _hoisted_1$d, [props.capture ? (openBlock(), createBlock(_component_van_uploader, {
|
|
18556
18564
|
key: 0,
|
|
18557
18565
|
modelValue: files.value,
|
|
18558
18566
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
@@ -18583,7 +18591,7 @@ const _sfc_main$j = {
|
|
|
18583
18591
|
};
|
|
18584
18592
|
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0c9127e8"]]);
|
|
18585
18593
|
var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-8a570fc4] {\n text-align: center;\n}\n.widget .btn[data-v-8a570fc4] {\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}")();
|
|
18586
|
-
const _hoisted_1$
|
|
18594
|
+
const _hoisted_1$c = {
|
|
18587
18595
|
class: "image-box"
|
|
18588
18596
|
};
|
|
18589
18597
|
const _sfc_main$i = {
|
|
@@ -18700,7 +18708,7 @@ const _sfc_main$i = {
|
|
|
18700
18708
|
"label-class": "label",
|
|
18701
18709
|
placeholder: props.placeholder
|
|
18702
18710
|
}, {
|
|
18703
|
-
input: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
18711
|
+
input: withCtx(() => [createElementVNode("div", _hoisted_1$c, [props.capture ? (openBlock(), createBlock(_component_van_uploader, {
|
|
18704
18712
|
key: 0,
|
|
18705
18713
|
modelValue: files.value,
|
|
18706
18714
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
@@ -18731,7 +18739,7 @@ const _sfc_main$i = {
|
|
|
18731
18739
|
};
|
|
18732
18740
|
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-8a570fc4"]]);
|
|
18733
18741
|
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}")();
|
|
18734
|
-
const _hoisted_1$
|
|
18742
|
+
const _hoisted_1$b = {
|
|
18735
18743
|
class: "image-box"
|
|
18736
18744
|
};
|
|
18737
18745
|
const _sfc_main$h = {
|
|
@@ -18826,7 +18834,7 @@ const _sfc_main$h = {
|
|
|
18826
18834
|
"label-class": "label",
|
|
18827
18835
|
placeholder: props.placeholder
|
|
18828
18836
|
}, {
|
|
18829
|
-
input: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
18837
|
+
input: withCtx(() => [createElementVNode("div", _hoisted_1$b, [createVNode(_component_van_uploader, {
|
|
18830
18838
|
modelValue: files.value,
|
|
18831
18839
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
18832
18840
|
"max-count": 1,
|
|
@@ -18845,7 +18853,7 @@ const _sfc_main$h = {
|
|
|
18845
18853
|
};
|
|
18846
18854
|
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-a0846250"]]);
|
|
18847
18855
|
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")();
|
|
18848
|
-
const _hoisted_1$
|
|
18856
|
+
const _hoisted_1$a = {
|
|
18849
18857
|
class: "department-selector"
|
|
18850
18858
|
};
|
|
18851
18859
|
const _hoisted_2$6 = {
|
|
@@ -19132,7 +19140,7 @@ const _sfc_main$g = {
|
|
|
19132
19140
|
position: "bottom",
|
|
19133
19141
|
class: "user-popup"
|
|
19134
19142
|
}, {
|
|
19135
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
19143
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$a, [createElementVNode("div", _hoisted_2$6, [createElementVNode("div", _hoisted_3$5, [withDirectives(createVNode(_component_van_button, {
|
|
19136
19144
|
onClick: goBack,
|
|
19137
19145
|
icon: "arrow-left",
|
|
19138
19146
|
size: "small"
|
|
@@ -19201,7 +19209,7 @@ const _sfc_main$g = {
|
|
|
19201
19209
|
};
|
|
19202
19210
|
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a489ca4c"]]);
|
|
19203
19211
|
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")();
|
|
19204
|
-
const _hoisted_1$
|
|
19212
|
+
const _hoisted_1$9 = {
|
|
19205
19213
|
class: "department-selector"
|
|
19206
19214
|
};
|
|
19207
19215
|
const _hoisted_2$5 = {
|
|
@@ -19404,7 +19412,7 @@ const _sfc_main$f = {
|
|
|
19404
19412
|
position: "bottom",
|
|
19405
19413
|
class: "user-popup"
|
|
19406
19414
|
}, {
|
|
19407
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
19415
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$9, [createElementVNode("div", _hoisted_2$5, [createElementVNode("div", _hoisted_3$4, [createVNode(_component_van_button, {
|
|
19408
19416
|
onClick: onBack,
|
|
19409
19417
|
icon: "arrow-left",
|
|
19410
19418
|
size: "small"
|
|
@@ -19473,7 +19481,7 @@ const _sfc_main$f = {
|
|
|
19473
19481
|
};
|
|
19474
19482
|
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-78c036bd"]]);
|
|
19475
19483
|
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")();
|
|
19476
|
-
const _hoisted_1$
|
|
19484
|
+
const _hoisted_1$8 = {
|
|
19477
19485
|
class: "user-list"
|
|
19478
19486
|
};
|
|
19479
19487
|
const _sfc_main$e = {
|
|
@@ -19574,7 +19582,7 @@ const _sfc_main$e = {
|
|
|
19574
19582
|
onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !unref(isReadonly)),
|
|
19575
19583
|
"label-class": "label"
|
|
19576
19584
|
}, {
|
|
19577
|
-
input: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
19585
|
+
input: withCtx(() => [createElementVNode("div", _hoisted_1$8, [(openBlock(true), createElementBlock(Fragment, null, renderList(data2.users, (item, i) => {
|
|
19578
19586
|
return openBlock(), createBlock(_component_van_tag, {
|
|
19579
19587
|
class: "user-item",
|
|
19580
19588
|
closeable: !unref(isDisabled),
|
|
@@ -19716,7 +19724,7 @@ const _sfc_main$d = {
|
|
|
19716
19724
|
};
|
|
19717
19725
|
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-58929b5a"]]);
|
|
19718
19726
|
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")();
|
|
19719
|
-
const _hoisted_1$
|
|
19727
|
+
const _hoisted_1$7 = {
|
|
19720
19728
|
class: "widget"
|
|
19721
19729
|
};
|
|
19722
19730
|
const _hoisted_2$4 = {
|
|
@@ -19772,7 +19780,7 @@ const _sfc_main$c = {
|
|
|
19772
19780
|
return (_ctx, _cache) => {
|
|
19773
19781
|
const _component_van_image = resolveComponent("van-image");
|
|
19774
19782
|
const _component_van_button = resolveComponent("van-button");
|
|
19775
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19783
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [createVNode(_component_van_image, {
|
|
19776
19784
|
round: "",
|
|
19777
19785
|
width: "80px",
|
|
19778
19786
|
height: "80px",
|
|
@@ -19796,7 +19804,7 @@ const _sfc_main$c = {
|
|
|
19796
19804
|
};
|
|
19797
19805
|
var UserProfile = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-107e26c3"]]);
|
|
19798
19806
|
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}")();
|
|
19799
|
-
const _hoisted_1$
|
|
19807
|
+
const _hoisted_1$6 = {
|
|
19800
19808
|
class: "widget"
|
|
19801
19809
|
};
|
|
19802
19810
|
const _hoisted_2$3 = {
|
|
@@ -19892,7 +19900,7 @@ const _sfc_main$b = {
|
|
|
19892
19900
|
const _component_van_tag = resolveComponent("van-tag");
|
|
19893
19901
|
const _component_van_cell = resolveComponent("van-cell");
|
|
19894
19902
|
const _component_van_cell_group = resolveComponent("van-cell-group");
|
|
19895
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19903
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [createVNode(_component_van_cell_group, {
|
|
19896
19904
|
inset: "",
|
|
19897
19905
|
class: "card-box"
|
|
19898
19906
|
}, {
|
|
@@ -20164,7 +20172,7 @@ const _sfc_main$7 = {
|
|
|
20164
20172
|
};
|
|
20165
20173
|
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-d8d21ade"]]);
|
|
20166
20174
|
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}")();
|
|
20167
|
-
const _hoisted_1$
|
|
20175
|
+
const _hoisted_1$5 = {
|
|
20168
20176
|
key: 0,
|
|
20169
20177
|
class: "actionbar"
|
|
20170
20178
|
};
|
|
@@ -20236,7 +20244,7 @@ const _sfc_main$6 = {
|
|
|
20236
20244
|
required: unref(isRequired),
|
|
20237
20245
|
placeholder: props.placeholder
|
|
20238
20246
|
}, {
|
|
20239
|
-
input: withCtx(() => [!unref(isGone) && !unref(isDisabled) && !unref(isReadonly) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
20247
|
+
input: withCtx(() => [!unref(isGone) && !unref(isDisabled) && !unref(isReadonly) ? (openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_van_button, {
|
|
20240
20248
|
icon: "plus",
|
|
20241
20249
|
type: "primary",
|
|
20242
20250
|
size: "mini",
|
|
@@ -20318,7 +20326,7 @@ const _sfc_main$5 = {
|
|
|
20318
20326
|
};
|
|
20319
20327
|
var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-571370f8"]]);
|
|
20320
20328
|
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")();
|
|
20321
|
-
const _hoisted_1$
|
|
20329
|
+
const _hoisted_1$4 = {
|
|
20322
20330
|
class: "select-list"
|
|
20323
20331
|
};
|
|
20324
20332
|
const _sfc_main$4 = {
|
|
@@ -20415,7 +20423,7 @@ const _sfc_main$4 = {
|
|
|
20415
20423
|
onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !unref(isReadonly)),
|
|
20416
20424
|
"label-class": "label"
|
|
20417
20425
|
}, {
|
|
20418
|
-
input: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
20426
|
+
input: withCtx(() => [createElementVNode("div", _hoisted_1$4, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectOptions), (item, i) => {
|
|
20419
20427
|
return openBlock(), createBlock(_component_van_tag, {
|
|
20420
20428
|
class: "select-item",
|
|
20421
20429
|
closeable: !unref(isDisabled),
|
|
@@ -20440,8 +20448,8 @@ const _sfc_main$4 = {
|
|
|
20440
20448
|
}
|
|
20441
20449
|
};
|
|
20442
20450
|
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6744b874"]]);
|
|
20443
|
-
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-
|
|
20444
|
-
const _hoisted_1$
|
|
20451
|
+
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-bfe589fe] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.cascader-selector[data-v-bfe589fe] {\r\n padding: 10px;\n}\n.search-buttons[data-v-bfe589fe] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-bfe589fe] {\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-bfe589fe] {\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-bfe589fe] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.cascader-header[data-v-bfe589fe] {\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-bfe589fe] {\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-bfe589fe] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-bfe589fe] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-bfe589fe] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.cell-content[data-v-bfe589fe] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-bfe589fe] {\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-bfe589fe] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-bfe589fe] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-bfe589fe] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-bfe589fe] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-bfe589fe] {\r\n color: #969799;\n}\n.search-field[data-v-bfe589fe] {\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")();
|
|
20452
|
+
const _hoisted_1$3 = {
|
|
20445
20453
|
class: "cascader-selector"
|
|
20446
20454
|
};
|
|
20447
20455
|
const _hoisted_2$1 = {
|
|
@@ -20537,7 +20545,8 @@ const _sfc_main$3 = {
|
|
|
20537
20545
|
data2.keyword = "";
|
|
20538
20546
|
props.idQueryNode({
|
|
20539
20547
|
id: parentId,
|
|
20540
|
-
isReturnParent
|
|
20548
|
+
isReturnParent,
|
|
20549
|
+
hasChildren: false
|
|
20541
20550
|
}, (node) => {
|
|
20542
20551
|
data2.parentNode = node;
|
|
20543
20552
|
});
|
|
@@ -20570,7 +20579,8 @@ const _sfc_main$3 = {
|
|
|
20570
20579
|
const onNextLevel = (node) => {
|
|
20571
20580
|
props.idQueryNode({
|
|
20572
20581
|
id: node.id,
|
|
20573
|
-
isReturnParent: false
|
|
20582
|
+
isReturnParent: false,
|
|
20583
|
+
hasChildren: true
|
|
20574
20584
|
}, (node2) => {
|
|
20575
20585
|
data2.parentNode = node2;
|
|
20576
20586
|
});
|
|
@@ -20605,7 +20615,7 @@ const _sfc_main$3 = {
|
|
|
20605
20615
|
position: "bottom",
|
|
20606
20616
|
class: "cascader-pop"
|
|
20607
20617
|
}, {
|
|
20608
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
20618
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$3, [createElementVNode("div", _hoisted_2$1, [createElementVNode("div", _hoisted_3$1, [createVNode(_component_van_button, {
|
|
20609
20619
|
onClick: onBack,
|
|
20610
20620
|
icon: "arrow-left",
|
|
20611
20621
|
size: "small"
|
|
@@ -20673,7 +20683,14 @@ const _sfc_main$3 = {
|
|
|
20673
20683
|
};
|
|
20674
20684
|
}
|
|
20675
20685
|
};
|
|
20676
|
-
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
20686
|
+
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-bfe589fe"]]);
|
|
20687
|
+
const _hoisted_1$2 = {
|
|
20688
|
+
style: {
|
|
20689
|
+
"display": "flex",
|
|
20690
|
+
"align-items": "center",
|
|
20691
|
+
"flex-wrap": "wrap"
|
|
20692
|
+
}
|
|
20693
|
+
};
|
|
20677
20694
|
const _sfc_main$2 = {
|
|
20678
20695
|
__name: "CascaderPicker",
|
|
20679
20696
|
props: {
|
|
@@ -20770,12 +20787,8 @@ const _sfc_main$2 = {
|
|
|
20770
20787
|
params.id = id;
|
|
20771
20788
|
params.isReturnParent = false;
|
|
20772
20789
|
params.hasChildren = false;
|
|
20773
|
-
params.hasUsers = true;
|
|
20774
20790
|
yield props.idQueryNode(params, (node) => {
|
|
20775
|
-
|
|
20776
|
-
if (one) {
|
|
20777
|
-
data2.selectedNodes = [...data2.selectedNodes, one];
|
|
20778
|
-
}
|
|
20791
|
+
data2.selectedNodes = [...data2.selectedNodes, node];
|
|
20779
20792
|
});
|
|
20780
20793
|
}));
|
|
20781
20794
|
}
|
|
@@ -20800,7 +20813,7 @@ const _sfc_main$2 = {
|
|
|
20800
20813
|
_: 2
|
|
20801
20814
|
}, [unref(modelValue) ? {
|
|
20802
20815
|
name: "input",
|
|
20803
|
-
fn: withCtx(() => [!props.multiple ? (openBlock(), createBlock(_component_van_tag, {
|
|
20816
|
+
fn: withCtx(() => [createElementVNode("div", _hoisted_1$2, [!props.multiple ? (openBlock(), createBlock(_component_van_tag, {
|
|
20804
20817
|
key: 0,
|
|
20805
20818
|
class: "selected-node",
|
|
20806
20819
|
closeable: !unref(isDisabled),
|
|
@@ -20829,7 +20842,7 @@ const _sfc_main$2 = {
|
|
|
20829
20842
|
default: withCtx(() => [createTextVNode(toDisplayString(item.path), 1)]),
|
|
20830
20843
|
_: 2
|
|
20831
20844
|
}, 1032, ["closeable", "onClose"]);
|
|
20832
|
-
}), 128)) : createCommentVNode("", true)])
|
|
20845
|
+
}), 128)) : createCommentVNode("", true)])])
|
|
20833
20846
|
} : void 0]), 1032, ["label", "required", "rules", "disabled", "placeholder", "is-link"])) : createCommentVNode("", true), createVNode(CascaderPop, {
|
|
20834
20847
|
show: data2.isShowPop,
|
|
20835
20848
|
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShowPop = $event),
|
|
@@ -20946,7 +20959,7 @@ const _sfc_main$1 = {
|
|
|
20946
20959
|
}
|
|
20947
20960
|
};
|
|
20948
20961
|
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
|
|
20949
|
-
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-
|
|
20962
|
+
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-9c2543e2] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.option[data-v-9c2543e2] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-9c2543e2] .van-field__label {\n margin: auto;\n}")();
|
|
20950
20963
|
const _hoisted_1 = {
|
|
20951
20964
|
class: "widget-box"
|
|
20952
20965
|
};
|
|
@@ -21037,6 +21050,8 @@ const _sfc_main = {
|
|
|
21037
21050
|
const keys2 = Object.keys(props.schema);
|
|
21038
21051
|
const visiableKeys = keys2.filter((k) => props.schema[k].auth != "gone");
|
|
21039
21052
|
watch(() => JSON.stringify(modelValue.value), (n, o) => {
|
|
21053
|
+
if (!modelValue.value)
|
|
21054
|
+
modelValue.value = [];
|
|
21040
21055
|
data2.oldModelValue = JSON.parse(JSON.stringify(modelValue.value));
|
|
21041
21056
|
}, {
|
|
21042
21057
|
immediate: true
|
|
@@ -21044,13 +21059,7 @@ const _sfc_main = {
|
|
|
21044
21059
|
deep: true
|
|
21045
21060
|
});
|
|
21046
21061
|
onMounted(() => {
|
|
21047
|
-
init();
|
|
21048
21062
|
});
|
|
21049
|
-
const init = () => {
|
|
21050
|
-
if (modelValue.value)
|
|
21051
|
-
return;
|
|
21052
|
-
modelValue.value = [];
|
|
21053
|
-
};
|
|
21054
21063
|
const makeDefaultValue = () => {
|
|
21055
21064
|
let res = {};
|
|
21056
21065
|
keys2.forEach((key) => {
|
|
@@ -21115,7 +21124,7 @@ const _sfc_main = {
|
|
|
21115
21124
|
};
|
|
21116
21125
|
const onNewOption = () => {
|
|
21117
21126
|
let oldModelValue = JSON.parse(JSON.stringify(modelValue.value));
|
|
21118
|
-
modelValue.value = [...modelValue.value, makeDefaultValue()];
|
|
21127
|
+
modelValue.value = [...modelValue.value || [], makeDefaultValue()];
|
|
21119
21128
|
nextTick(() => {
|
|
21120
21129
|
data2.oldModelValue = oldModelValue;
|
|
21121
21130
|
onEdit(modelValue.value.length - 1);
|
|
@@ -21280,7 +21289,7 @@ const _sfc_main = {
|
|
|
21280
21289
|
};
|
|
21281
21290
|
}
|
|
21282
21291
|
};
|
|
21283
|
-
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
21292
|
+
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c2543e2"]]);
|
|
21284
21293
|
const secret_notify = () => {
|
|
21285
21294
|
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 });
|
|
21286
21295
|
};
|
package/build/widget.qw.umd.js
CHANGED
|
@@ -3312,6 +3312,13 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3312
3312
|
data: data2
|
|
3313
3313
|
});
|
|
3314
3314
|
};
|
|
3315
|
+
const qw_user_detail = (data2) => {
|
|
3316
|
+
return service$3({
|
|
3317
|
+
url: vm.urlCallback() + "/ac-api/qw/user/detail",
|
|
3318
|
+
method: "POST",
|
|
3319
|
+
data: data2
|
|
3320
|
+
});
|
|
3321
|
+
};
|
|
3315
3322
|
const reform_detail = (data2) => {
|
|
3316
3323
|
return service$3({
|
|
3317
3324
|
url: vm.urlCallback() + "/ac-api/reform/detail",
|
|
@@ -3338,6 +3345,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3338
3345
|
part_children,
|
|
3339
3346
|
part_detail,
|
|
3340
3347
|
qw_department_children,
|
|
3348
|
+
qw_user_detail,
|
|
3341
3349
|
reform_detail
|
|
3342
3350
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3343
3351
|
function noop() {
|
|
@@ -15786,7 +15794,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15786
15794
|
}
|
|
15787
15795
|
return target;
|
|
15788
15796
|
};
|
|
15789
|
-
const _hoisted_1$
|
|
15797
|
+
const _hoisted_1$k = {
|
|
15790
15798
|
class: "widget"
|
|
15791
15799
|
};
|
|
15792
15800
|
const _hoisted_2$c = /* @__PURE__ */ vue.createTextVNode("\u9A73\u56DE");
|
|
@@ -16066,7 +16074,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16066
16074
|
const _component_van_popover = vue.resolveComponent("van-popover");
|
|
16067
16075
|
const _component_van_step = vue.resolveComponent("van-step");
|
|
16068
16076
|
const _component_van_steps = vue.resolveComponent("van-steps");
|
|
16069
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
16077
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [vue.unref(canPass) || vue.unref(canRefuse) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
16070
16078
|
key: 0,
|
|
16071
16079
|
modelValue: data2.memo,
|
|
16072
16080
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.memo = $event),
|
|
@@ -16418,7 +16426,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16418
16426
|
};
|
|
16419
16427
|
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-24e62c3a"]]);
|
|
16420
16428
|
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")();
|
|
16421
|
-
const _hoisted_1$
|
|
16429
|
+
const _hoisted_1$j = {
|
|
16422
16430
|
class: "select-all-container"
|
|
16423
16431
|
};
|
|
16424
16432
|
const _hoisted_2$b = /* @__PURE__ */ vue.createTextVNode("\u5168\u9009");
|
|
@@ -16472,7 +16480,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16472
16480
|
position: "bottom",
|
|
16473
16481
|
class: "popup-box"
|
|
16474
16482
|
}, {
|
|
16475
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
16483
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$j, [vue.createVNode(_component_van_checkbox, {
|
|
16476
16484
|
shape: "square",
|
|
16477
16485
|
modelValue: data2.isAllChecked,
|
|
16478
16486
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.isAllChecked = $event),
|
|
@@ -16508,7 +16516,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16508
16516
|
};
|
|
16509
16517
|
var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-10d79413"]]);
|
|
16510
16518
|
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")();
|
|
16511
|
-
const _hoisted_1$
|
|
16519
|
+
const _hoisted_1$i = {
|
|
16512
16520
|
class: "data-list"
|
|
16513
16521
|
};
|
|
16514
16522
|
const _sfc_main$r = {
|
|
@@ -16624,7 +16632,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16624
16632
|
_: 2
|
|
16625
16633
|
}, [vue.unref(selectOptions).length > 0 ? {
|
|
16626
16634
|
name: "input",
|
|
16627
|
-
fn: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
16635
|
+
fn: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$i, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectOptions), (item, i) => {
|
|
16628
16636
|
return vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
16629
16637
|
class: "data-item",
|
|
16630
16638
|
closeable: !vue.unref(isDisabled),
|
|
@@ -17177,7 +17185,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17177
17185
|
}
|
|
17178
17186
|
};
|
|
17179
17187
|
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-3925cc28] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-3925cc28] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-3925cc28] {\r\n border: 0;\n}\n.flex-between[data-v-3925cc28] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-3925cc28] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-3925cc28] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px); \r\n overflow-y: auto;\n}\n.select-all-container[data-v-3925cc28] {\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-3925cc28] {\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-3925cc28] {\r\n margin-left: 8px;\n}\r\n \r\n")();
|
|
17180
|
-
const _hoisted_1$
|
|
17188
|
+
const _hoisted_1$h = {
|
|
17181
17189
|
class: "pad10 flex-between showMultipleButton"
|
|
17182
17190
|
};
|
|
17183
17191
|
const _hoisted_2$a = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
|
|
@@ -17400,7 +17408,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17400
17408
|
position: "bottom",
|
|
17401
17409
|
class: "popup-style"
|
|
17402
17410
|
}, {
|
|
17403
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", null, [vue.createElementVNode("div", _hoisted_1$
|
|
17411
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", null, [vue.createElementVNode("div", _hoisted_1$h, [vue.createVNode(_component_van_button, {
|
|
17404
17412
|
plain: "",
|
|
17405
17413
|
size: "normal",
|
|
17406
17414
|
onClick: cancelSelection
|
|
@@ -17490,7 +17498,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17490
17498
|
};
|
|
17491
17499
|
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3925cc28"]]);
|
|
17492
17500
|
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")();
|
|
17493
|
-
const _hoisted_1$
|
|
17501
|
+
const _hoisted_1$g = {
|
|
17494
17502
|
key: 0,
|
|
17495
17503
|
class: "confirmation-tips"
|
|
17496
17504
|
};
|
|
@@ -17532,7 +17540,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17532
17540
|
const _component_van_icon = vue.resolveComponent("van-icon");
|
|
17533
17541
|
const _component_van_checkbox = vue.resolveComponent("van-checkbox");
|
|
17534
17542
|
const _component_van_checkbox_group = vue.resolveComponent("van-checkbox-group");
|
|
17535
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [__props.tips && __props.tips.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17543
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [__props.tips && __props.tips.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [vue.createVNode(_component_van_icon, {
|
|
17536
17544
|
name: "info",
|
|
17537
17545
|
color: "#1989fa"
|
|
17538
17546
|
}), vue.createElementVNode("span", null, vue.toDisplayString(__props.tips), 1)])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_checkbox_group, {
|
|
@@ -17564,7 +17572,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17564
17572
|
};
|
|
17565
17573
|
var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-40a09897"]]);
|
|
17566
17574
|
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")();
|
|
17567
|
-
const _hoisted_1$
|
|
17575
|
+
const _hoisted_1$f = {
|
|
17568
17576
|
class: "department-selector"
|
|
17569
17577
|
};
|
|
17570
17578
|
const _hoisted_2$8 = {
|
|
@@ -17834,7 +17842,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17834
17842
|
const _component_van_cell = vue.resolveComponent("van-cell");
|
|
17835
17843
|
const _component_van_cell_group = vue.resolveComponent("van-cell-group");
|
|
17836
17844
|
const _component_van_popup = vue.resolveComponent("van-popup");
|
|
17837
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17845
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
17838
17846
|
key: 0,
|
|
17839
17847
|
"model-value": selectedDepartmentPath.value,
|
|
17840
17848
|
readonly: "",
|
|
@@ -17924,7 +17932,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17924
17932
|
};
|
|
17925
17933
|
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-73eb43f3"]]);
|
|
17926
17934
|
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")();
|
|
17927
|
-
const _hoisted_1$
|
|
17935
|
+
const _hoisted_1$e = {
|
|
17928
17936
|
class: "user-selector"
|
|
17929
17937
|
};
|
|
17930
17938
|
const _hoisted_2$7 = {
|
|
@@ -18309,7 +18317,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18309
18317
|
const _component_van_radio = vue.resolveComponent("van-radio");
|
|
18310
18318
|
const _component_van_radio_group = vue.resolveComponent("van-radio-group");
|
|
18311
18319
|
const _component_van_popup = vue.resolveComponent("van-popup");
|
|
18312
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18320
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
18313
18321
|
key: 0,
|
|
18314
18322
|
"model-value": vue.unref(selectedUserInfo),
|
|
18315
18323
|
clickable: "",
|
|
@@ -18452,7 +18460,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18452
18460
|
};
|
|
18453
18461
|
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6c4b4fc8"]]);
|
|
18454
18462
|
var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-0c9127e8] .label {\n color: #000 !important;\n}\n[data-v-0c9127e8] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
18455
|
-
const _hoisted_1$
|
|
18463
|
+
const _hoisted_1$d = {
|
|
18456
18464
|
class: "image-box"
|
|
18457
18465
|
};
|
|
18458
18466
|
const _sfc_main$j = {
|
|
@@ -18555,7 +18563,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18555
18563
|
"label-class": "label",
|
|
18556
18564
|
placeholder: props.placeholder
|
|
18557
18565
|
}, {
|
|
18558
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
18566
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$d, [props.capture ? (vue.openBlock(), vue.createBlock(_component_van_uploader, {
|
|
18559
18567
|
key: 0,
|
|
18560
18568
|
modelValue: files.value,
|
|
18561
18569
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
@@ -18586,7 +18594,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18586
18594
|
};
|
|
18587
18595
|
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0c9127e8"]]);
|
|
18588
18596
|
var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-8a570fc4] {\n text-align: center;\n}\n.widget .btn[data-v-8a570fc4] {\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}")();
|
|
18589
|
-
const _hoisted_1$
|
|
18597
|
+
const _hoisted_1$c = {
|
|
18590
18598
|
class: "image-box"
|
|
18591
18599
|
};
|
|
18592
18600
|
const _sfc_main$i = {
|
|
@@ -18703,7 +18711,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18703
18711
|
"label-class": "label",
|
|
18704
18712
|
placeholder: props.placeholder
|
|
18705
18713
|
}, {
|
|
18706
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
18714
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$c, [props.capture ? (vue.openBlock(), vue.createBlock(_component_van_uploader, {
|
|
18707
18715
|
key: 0,
|
|
18708
18716
|
modelValue: files.value,
|
|
18709
18717
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
@@ -18734,7 +18742,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18734
18742
|
};
|
|
18735
18743
|
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-8a570fc4"]]);
|
|
18736
18744
|
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}")();
|
|
18737
|
-
const _hoisted_1$
|
|
18745
|
+
const _hoisted_1$b = {
|
|
18738
18746
|
class: "image-box"
|
|
18739
18747
|
};
|
|
18740
18748
|
const _sfc_main$h = {
|
|
@@ -18829,7 +18837,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18829
18837
|
"label-class": "label",
|
|
18830
18838
|
placeholder: props.placeholder
|
|
18831
18839
|
}, {
|
|
18832
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
18840
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$b, [vue.createVNode(_component_van_uploader, {
|
|
18833
18841
|
modelValue: files.value,
|
|
18834
18842
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
18835
18843
|
"max-count": 1,
|
|
@@ -18848,7 +18856,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18848
18856
|
};
|
|
18849
18857
|
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-a0846250"]]);
|
|
18850
18858
|
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")();
|
|
18851
|
-
const _hoisted_1$
|
|
18859
|
+
const _hoisted_1$a = {
|
|
18852
18860
|
class: "department-selector"
|
|
18853
18861
|
};
|
|
18854
18862
|
const _hoisted_2$6 = {
|
|
@@ -19135,7 +19143,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19135
19143
|
position: "bottom",
|
|
19136
19144
|
class: "user-popup"
|
|
19137
19145
|
}, {
|
|
19138
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
19146
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$a, [vue.createElementVNode("div", _hoisted_2$6, [vue.createElementVNode("div", _hoisted_3$5, [vue.withDirectives(vue.createVNode(_component_van_button, {
|
|
19139
19147
|
onClick: goBack,
|
|
19140
19148
|
icon: "arrow-left",
|
|
19141
19149
|
size: "small"
|
|
@@ -19204,7 +19212,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19204
19212
|
};
|
|
19205
19213
|
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a489ca4c"]]);
|
|
19206
19214
|
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")();
|
|
19207
|
-
const _hoisted_1$
|
|
19215
|
+
const _hoisted_1$9 = {
|
|
19208
19216
|
class: "department-selector"
|
|
19209
19217
|
};
|
|
19210
19218
|
const _hoisted_2$5 = {
|
|
@@ -19407,7 +19415,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19407
19415
|
position: "bottom",
|
|
19408
19416
|
class: "user-popup"
|
|
19409
19417
|
}, {
|
|
19410
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
19418
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$9, [vue.createElementVNode("div", _hoisted_2$5, [vue.createElementVNode("div", _hoisted_3$4, [vue.createVNode(_component_van_button, {
|
|
19411
19419
|
onClick: onBack,
|
|
19412
19420
|
icon: "arrow-left",
|
|
19413
19421
|
size: "small"
|
|
@@ -19476,7 +19484,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19476
19484
|
};
|
|
19477
19485
|
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-78c036bd"]]);
|
|
19478
19486
|
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")();
|
|
19479
|
-
const _hoisted_1$
|
|
19487
|
+
const _hoisted_1$8 = {
|
|
19480
19488
|
class: "user-list"
|
|
19481
19489
|
};
|
|
19482
19490
|
const _sfc_main$e = {
|
|
@@ -19577,7 +19585,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19577
19585
|
onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !vue.unref(isReadonly)),
|
|
19578
19586
|
"label-class": "label"
|
|
19579
19587
|
}, {
|
|
19580
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
19588
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.users, (item, i) => {
|
|
19581
19589
|
return vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
19582
19590
|
class: "user-item",
|
|
19583
19591
|
closeable: !vue.unref(isDisabled),
|
|
@@ -19719,7 +19727,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19719
19727
|
};
|
|
19720
19728
|
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-58929b5a"]]);
|
|
19721
19729
|
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")();
|
|
19722
|
-
const _hoisted_1$
|
|
19730
|
+
const _hoisted_1$7 = {
|
|
19723
19731
|
class: "widget"
|
|
19724
19732
|
};
|
|
19725
19733
|
const _hoisted_2$4 = {
|
|
@@ -19775,7 +19783,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19775
19783
|
return (_ctx, _cache) => {
|
|
19776
19784
|
const _component_van_image = vue.resolveComponent("van-image");
|
|
19777
19785
|
const _component_van_button = vue.resolveComponent("van-button");
|
|
19778
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19786
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [vue.createVNode(_component_van_image, {
|
|
19779
19787
|
round: "",
|
|
19780
19788
|
width: "80px",
|
|
19781
19789
|
height: "80px",
|
|
@@ -19799,7 +19807,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19799
19807
|
};
|
|
19800
19808
|
var UserProfile = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-107e26c3"]]);
|
|
19801
19809
|
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}")();
|
|
19802
|
-
const _hoisted_1$
|
|
19810
|
+
const _hoisted_1$6 = {
|
|
19803
19811
|
class: "widget"
|
|
19804
19812
|
};
|
|
19805
19813
|
const _hoisted_2$3 = {
|
|
@@ -19895,7 +19903,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19895
19903
|
const _component_van_tag = vue.resolveComponent("van-tag");
|
|
19896
19904
|
const _component_van_cell = vue.resolveComponent("van-cell");
|
|
19897
19905
|
const _component_van_cell_group = vue.resolveComponent("van-cell-group");
|
|
19898
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19906
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [vue.createVNode(_component_van_cell_group, {
|
|
19899
19907
|
inset: "",
|
|
19900
19908
|
class: "card-box"
|
|
19901
19909
|
}, {
|
|
@@ -20167,7 +20175,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20167
20175
|
};
|
|
20168
20176
|
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-d8d21ade"]]);
|
|
20169
20177
|
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}")();
|
|
20170
|
-
const _hoisted_1$
|
|
20178
|
+
const _hoisted_1$5 = {
|
|
20171
20179
|
key: 0,
|
|
20172
20180
|
class: "actionbar"
|
|
20173
20181
|
};
|
|
@@ -20239,7 +20247,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20239
20247
|
required: vue.unref(isRequired),
|
|
20240
20248
|
placeholder: props.placeholder
|
|
20241
20249
|
}, {
|
|
20242
|
-
input: vue.withCtx(() => [!vue.unref(isGone) && !vue.unref(isDisabled) && !vue.unref(isReadonly) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20250
|
+
input: vue.withCtx(() => [!vue.unref(isGone) && !vue.unref(isDisabled) && !vue.unref(isReadonly) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [vue.createVNode(_component_van_button, {
|
|
20243
20251
|
icon: "plus",
|
|
20244
20252
|
type: "primary",
|
|
20245
20253
|
size: "mini",
|
|
@@ -20321,7 +20329,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20321
20329
|
};
|
|
20322
20330
|
var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-571370f8"]]);
|
|
20323
20331
|
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")();
|
|
20324
|
-
const _hoisted_1$
|
|
20332
|
+
const _hoisted_1$4 = {
|
|
20325
20333
|
class: "select-list"
|
|
20326
20334
|
};
|
|
20327
20335
|
const _sfc_main$4 = {
|
|
@@ -20418,7 +20426,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20418
20426
|
onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !vue.unref(isReadonly)),
|
|
20419
20427
|
"label-class": "label"
|
|
20420
20428
|
}, {
|
|
20421
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
20429
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$4, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectOptions), (item, i) => {
|
|
20422
20430
|
return vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
20423
20431
|
class: "select-item",
|
|
20424
20432
|
closeable: !vue.unref(isDisabled),
|
|
@@ -20443,8 +20451,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20443
20451
|
}
|
|
20444
20452
|
};
|
|
20445
20453
|
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6744b874"]]);
|
|
20446
|
-
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-
|
|
20447
|
-
const _hoisted_1$
|
|
20454
|
+
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-bfe589fe] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.cascader-selector[data-v-bfe589fe] {\r\n padding: 10px;\n}\n.search-buttons[data-v-bfe589fe] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-bfe589fe] {\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-bfe589fe] {\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-bfe589fe] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.cascader-header[data-v-bfe589fe] {\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-bfe589fe] {\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-bfe589fe] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-bfe589fe] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-bfe589fe] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.cell-content[data-v-bfe589fe] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-bfe589fe] {\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-bfe589fe] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-bfe589fe] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-bfe589fe] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-bfe589fe] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-bfe589fe] {\r\n color: #969799;\n}\n.search-field[data-v-bfe589fe] {\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")();
|
|
20455
|
+
const _hoisted_1$3 = {
|
|
20448
20456
|
class: "cascader-selector"
|
|
20449
20457
|
};
|
|
20450
20458
|
const _hoisted_2$1 = {
|
|
@@ -20540,7 +20548,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20540
20548
|
data2.keyword = "";
|
|
20541
20549
|
props.idQueryNode({
|
|
20542
20550
|
id: parentId,
|
|
20543
|
-
isReturnParent
|
|
20551
|
+
isReturnParent,
|
|
20552
|
+
hasChildren: false
|
|
20544
20553
|
}, (node) => {
|
|
20545
20554
|
data2.parentNode = node;
|
|
20546
20555
|
});
|
|
@@ -20573,7 +20582,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20573
20582
|
const onNextLevel = (node) => {
|
|
20574
20583
|
props.idQueryNode({
|
|
20575
20584
|
id: node.id,
|
|
20576
|
-
isReturnParent: false
|
|
20585
|
+
isReturnParent: false,
|
|
20586
|
+
hasChildren: true
|
|
20577
20587
|
}, (node2) => {
|
|
20578
20588
|
data2.parentNode = node2;
|
|
20579
20589
|
});
|
|
@@ -20608,7 +20618,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20608
20618
|
position: "bottom",
|
|
20609
20619
|
class: "cascader-pop"
|
|
20610
20620
|
}, {
|
|
20611
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
20621
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$3, [vue.createElementVNode("div", _hoisted_2$1, [vue.createElementVNode("div", _hoisted_3$1, [vue.createVNode(_component_van_button, {
|
|
20612
20622
|
onClick: onBack,
|
|
20613
20623
|
icon: "arrow-left",
|
|
20614
20624
|
size: "small"
|
|
@@ -20676,7 +20686,14 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20676
20686
|
};
|
|
20677
20687
|
}
|
|
20678
20688
|
};
|
|
20679
|
-
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
20689
|
+
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-bfe589fe"]]);
|
|
20690
|
+
const _hoisted_1$2 = {
|
|
20691
|
+
style: {
|
|
20692
|
+
"display": "flex",
|
|
20693
|
+
"align-items": "center",
|
|
20694
|
+
"flex-wrap": "wrap"
|
|
20695
|
+
}
|
|
20696
|
+
};
|
|
20680
20697
|
const _sfc_main$2 = {
|
|
20681
20698
|
__name: "CascaderPicker",
|
|
20682
20699
|
props: {
|
|
@@ -20773,12 +20790,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20773
20790
|
params.id = id;
|
|
20774
20791
|
params.isReturnParent = false;
|
|
20775
20792
|
params.hasChildren = false;
|
|
20776
|
-
params.hasUsers = true;
|
|
20777
20793
|
yield props.idQueryNode(params, (node) => {
|
|
20778
|
-
|
|
20779
|
-
if (one) {
|
|
20780
|
-
data2.selectedNodes = [...data2.selectedNodes, one];
|
|
20781
|
-
}
|
|
20794
|
+
data2.selectedNodes = [...data2.selectedNodes, node];
|
|
20782
20795
|
});
|
|
20783
20796
|
}));
|
|
20784
20797
|
}
|
|
@@ -20803,7 +20816,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20803
20816
|
_: 2
|
|
20804
20817
|
}, [vue.unref(modelValue) ? {
|
|
20805
20818
|
name: "input",
|
|
20806
|
-
fn: vue.withCtx(() => [!props.multiple ? (vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
20819
|
+
fn: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$2, [!props.multiple ? (vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
20807
20820
|
key: 0,
|
|
20808
20821
|
class: "selected-node",
|
|
20809
20822
|
closeable: !vue.unref(isDisabled),
|
|
@@ -20832,7 +20845,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20832
20845
|
default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(item.path), 1)]),
|
|
20833
20846
|
_: 2
|
|
20834
20847
|
}, 1032, ["closeable", "onClose"]);
|
|
20835
|
-
}), 128)) : vue.createCommentVNode("", true)])
|
|
20848
|
+
}), 128)) : vue.createCommentVNode("", true)])])
|
|
20836
20849
|
} : void 0]), 1032, ["label", "required", "rules", "disabled", "placeholder", "is-link"])) : vue.createCommentVNode("", true), vue.createVNode(CascaderPop, {
|
|
20837
20850
|
show: data2.isShowPop,
|
|
20838
20851
|
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShowPop = $event),
|
|
@@ -20949,7 +20962,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20949
20962
|
}
|
|
20950
20963
|
};
|
|
20951
20964
|
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
|
|
20952
|
-
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-
|
|
20965
|
+
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-9c2543e2] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.option[data-v-9c2543e2] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-9c2543e2] .van-field__label {\n margin: auto;\n}")();
|
|
20953
20966
|
const _hoisted_1 = {
|
|
20954
20967
|
class: "widget-box"
|
|
20955
20968
|
};
|
|
@@ -21040,6 +21053,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21040
21053
|
const keys2 = Object.keys(props.schema);
|
|
21041
21054
|
const visiableKeys = keys2.filter((k) => props.schema[k].auth != "gone");
|
|
21042
21055
|
vue.watch(() => JSON.stringify(modelValue.value), (n, o) => {
|
|
21056
|
+
if (!modelValue.value)
|
|
21057
|
+
modelValue.value = [];
|
|
21043
21058
|
data2.oldModelValue = JSON.parse(JSON.stringify(modelValue.value));
|
|
21044
21059
|
}, {
|
|
21045
21060
|
immediate: true
|
|
@@ -21047,13 +21062,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21047
21062
|
deep: true
|
|
21048
21063
|
});
|
|
21049
21064
|
vue.onMounted(() => {
|
|
21050
|
-
init();
|
|
21051
21065
|
});
|
|
21052
|
-
const init = () => {
|
|
21053
|
-
if (modelValue.value)
|
|
21054
|
-
return;
|
|
21055
|
-
modelValue.value = [];
|
|
21056
|
-
};
|
|
21057
21066
|
const makeDefaultValue = () => {
|
|
21058
21067
|
let res = {};
|
|
21059
21068
|
keys2.forEach((key) => {
|
|
@@ -21118,7 +21127,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21118
21127
|
};
|
|
21119
21128
|
const onNewOption = () => {
|
|
21120
21129
|
let oldModelValue = JSON.parse(JSON.stringify(modelValue.value));
|
|
21121
|
-
modelValue.value = [...modelValue.value, makeDefaultValue()];
|
|
21130
|
+
modelValue.value = [...modelValue.value || [], makeDefaultValue()];
|
|
21122
21131
|
vue.nextTick(() => {
|
|
21123
21132
|
data2.oldModelValue = oldModelValue;
|
|
21124
21133
|
onEdit(modelValue.value.length - 1);
|
|
@@ -21283,7 +21292,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21283
21292
|
};
|
|
21284
21293
|
}
|
|
21285
21294
|
};
|
|
21286
|
-
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
21295
|
+
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c2543e2"]]);
|
|
21287
21296
|
const secret_notify = () => {
|
|
21288
21297
|
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 });
|
|
21289
21298
|
};
|
package/package.json
CHANGED
package/src/api/index.js
CHANGED
|
@@ -149,6 +149,14 @@ export const qw_department_children = (data) => {
|
|
|
149
149
|
})
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
+
export const qw_user_detail = (data) => {
|
|
153
|
+
return request_json({
|
|
154
|
+
url: vm.urlCallback() + "/ac-api/qw/user/detail",
|
|
155
|
+
method: "POST",
|
|
156
|
+
data: data,
|
|
157
|
+
})
|
|
158
|
+
}
|
|
159
|
+
|
|
152
160
|
export const reform_detail = (data) => {
|
|
153
161
|
return request_json({
|
|
154
162
|
url: vm.urlCallback() + "/ac-api/reform/detail",
|
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
:disabled="isDisabled" :placeholder="props.placeholder" :is-link="isReadonly ? false : true"
|
|
4
4
|
@click="data.isShowPop = !isReadonly" label-class="label">
|
|
5
5
|
<template #input v-if="modelValue">
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
<div style="display: flex; align-items: center; flex-wrap: wrap;">
|
|
7
|
+
<van-tag class="selected-node" v-if="!props.multiple" :closeable="!isDisabled" color="#fff"
|
|
8
|
+
text-color="#333" size="medium" @close.stop="onDelete">
|
|
9
|
+
{{ data.selectedNodes[0]?.path }}
|
|
10
|
+
</van-tag>
|
|
11
|
+
<van-tag class="selected-node" v-if="props.multiple" v-for="(item, i) in data.selectedNodes" :key="i"
|
|
12
|
+
:closeable="!isDisabled" color="#fff" text-color="#333" size="medium" @close.stop="onDelete(i)">
|
|
13
|
+
{{ item.path }}
|
|
14
|
+
</van-tag>
|
|
15
|
+
</div>
|
|
14
16
|
</template>
|
|
15
17
|
</van-field>
|
|
16
18
|
|
|
@@ -94,7 +96,7 @@ const onSelect = (node) => {
|
|
|
94
96
|
if (!one)
|
|
95
97
|
data.selectedNodes = [...data.selectedNodes, node]
|
|
96
98
|
emit('select', data.selectedNodes)
|
|
97
|
-
modelValue.value = data.selectedNodes.map(item=>item.id)
|
|
99
|
+
modelValue.value = data.selectedNodes.map(item => item.id)
|
|
98
100
|
}
|
|
99
101
|
}
|
|
100
102
|
|
|
@@ -112,20 +114,15 @@ watch(() => JSON.stringify(modelValue.value), async (n, o) => {
|
|
|
112
114
|
} else {
|
|
113
115
|
data.selectedNodes = []
|
|
114
116
|
let ids = modelValue.value || []
|
|
115
|
-
ids.forEach(async(id) => {
|
|
117
|
+
ids.forEach(async (id) => {
|
|
116
118
|
let params = {}
|
|
117
119
|
params.id = id
|
|
118
120
|
params.isReturnParent = false
|
|
119
121
|
params.hasChildren = false
|
|
120
|
-
params
|
|
121
|
-
|
|
122
|
-
let one = util.findNode(id, node.children)
|
|
123
|
-
if(one){
|
|
124
|
-
data.selectedNodes = [...data.selectedNodes, one]
|
|
125
|
-
}
|
|
122
|
+
await props.idQueryNode(params, (node) => {
|
|
123
|
+
data.selectedNodes = [...data.selectedNodes, node]
|
|
126
124
|
})
|
|
127
125
|
})
|
|
128
|
-
|
|
129
126
|
}
|
|
130
127
|
}, {
|
|
131
128
|
immediate: true
|
|
@@ -126,7 +126,7 @@ const onBack = () => {
|
|
|
126
126
|
isReturnParent = true
|
|
127
127
|
|
|
128
128
|
data.keyword = ""
|
|
129
|
-
props.idQueryNode({ id: parentId, isReturnParent: isReturnParent }, (node) => {
|
|
129
|
+
props.idQueryNode({ id: parentId, isReturnParent: isReturnParent,hasChildren:false }, (node) => {
|
|
130
130
|
data.parentNode = node
|
|
131
131
|
})
|
|
132
132
|
}
|
|
@@ -168,7 +168,7 @@ const onToggle = (node) => {
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
const onNextLevel = (node) => {
|
|
171
|
-
props.idQueryNode({ id: node.id, isReturnParent: false }, (node) => {
|
|
171
|
+
props.idQueryNode({ id: node.id, isReturnParent: false, hasChildren:true }, (node) => {
|
|
172
172
|
data.parentNode = node
|
|
173
173
|
})
|
|
174
174
|
}
|
|
@@ -131,6 +131,9 @@ const keys = Object.keys(props.schema)
|
|
|
131
131
|
const visiableKeys = keys.filter(k => props.schema[k].auth != 'gone')
|
|
132
132
|
|
|
133
133
|
watch(()=>JSON.stringify(modelValue.value),(n,o)=>{
|
|
134
|
+
if(!modelValue.value)
|
|
135
|
+
modelValue.value = []
|
|
136
|
+
|
|
134
137
|
data.oldModelValue = JSON.parse(JSON.stringify(modelValue.value))
|
|
135
138
|
},{
|
|
136
139
|
immediate:true
|
|
@@ -139,16 +142,8 @@ watch(()=>JSON.stringify(modelValue.value),(n,o)=>{
|
|
|
139
142
|
})
|
|
140
143
|
|
|
141
144
|
onMounted(() => {
|
|
142
|
-
init()
|
|
143
145
|
})
|
|
144
146
|
|
|
145
|
-
const init = () => {
|
|
146
|
-
if (modelValue.value)
|
|
147
|
-
return
|
|
148
|
-
|
|
149
|
-
modelValue.value = []
|
|
150
|
-
}
|
|
151
|
-
|
|
152
147
|
const makeDefaultValue = () => {
|
|
153
148
|
let res = {}
|
|
154
149
|
|
|
@@ -233,7 +228,7 @@ const onEdit = (index) => {
|
|
|
233
228
|
|
|
234
229
|
const onNewOption = () => {
|
|
235
230
|
let oldModelValue = JSON.parse(JSON.stringify(modelValue.value))
|
|
236
|
-
modelValue.value = [...modelValue.value, makeDefaultValue()]
|
|
231
|
+
modelValue.value = [...(modelValue.value || []), makeDefaultValue()]
|
|
237
232
|
nextTick(()=>{
|
|
238
233
|
data.oldModelValue = oldModelValue
|
|
239
234
|
onEdit(modelValue.value.length - 1)
|
|
Binary file
|