widget.qw 1.0.88 → 1.0.90
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 +99 -99
- package/build/widget.qw.es.js +153 -162
- package/build/widget.qw.umd.js +152 -161
- package/package.json +1 -1
- package/src/components/CascaderPicker.vue +2 -2
- package/src/components/CheckGroup.vue +2 -2
- package/src/components/DatetimePicker.vue +2 -2
- package/src/components/FilePicker.vue +2 -2
- package/src/components/HeadBar.vue +5 -10
- package/src/components/Input.vue +7 -4
- package/src/components/MultiPicker.vue +2 -2
- package/src/components/ObjsEditor.vue +2 -2
- package/src/components/Sheet.vue +2 -2
- package/src/components/SingleApiPicker.vue +7 -2
- package/src/components/SinglePicker.vue +1 -1
- package/src/components/SingleUserSelector.vue +2 -2
- package/src/components/Switch.vue +1 -1
- package/src/components/TreePicker.vue +2 -2
- package/src/components/UserPicker.vue +2 -2
- package/src/components/UsersPicker.vue +2 -2
- package/src/components/data_selector.vue +2 -2
- package/src/components/image_picker.vue +2 -2
- package/src/components/images_picker.vue +6 -2
- package/src/components/subdepartment_selector.vue +1 -1
- package/src/components/user_selector.vue +2 -2
- package/src/components/widget/UserPop.vue +1 -1
- package/src/main.js +3 -0
- package/src/util/auth_util.js +23 -15
- package/src/views/dataSelector/index.vue +17 -5
package/build/widget.qw.es.js
CHANGED
|
@@ -38,41 +38,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
38
38
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
39
39
|
});
|
|
40
40
|
};
|
|
41
|
-
import {
|
|
41
|
+
import { computed, resolveComponent, openBlock, createElementBlock, unref, createVNode, createCommentVNode, createElementVNode, toDisplayString, onUnmounted, onDeactivated, isRef, watch, onMounted, nextTick, onActivated, ref, reactive, getCurrentInstance, provide, inject, isVNode, defineComponent, onBeforeUnmount, watchEffect, mergeProps, Transition, Teleport, withDirectives, vShow, Fragment, createApp, resolveDirective, createBlock, withCtx, renderList, createTextVNode, createSlots, withModifiers, onBeforeUpdate, normalizeClass, renderSlot } from "vue";
|
|
42
42
|
var vm = {};
|
|
43
|
-
|
|
44
|
-
* vue-router v4.0.15
|
|
45
|
-
* (c) 2022 Eduardo San Martin Morote
|
|
46
|
-
* @license MIT
|
|
47
|
-
*/
|
|
48
|
-
const hasSymbol = typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol";
|
|
49
|
-
const PolySymbol = (name2) => hasSymbol ? Symbol(name2) : "_vr_" + name2;
|
|
50
|
-
const routerKey = /* @__PURE__ */ PolySymbol("r");
|
|
51
|
-
const routeLocationKey = /* @__PURE__ */ PolySymbol("rl");
|
|
52
|
-
var NavigationType;
|
|
53
|
-
(function(NavigationType2) {
|
|
54
|
-
NavigationType2["pop"] = "pop";
|
|
55
|
-
NavigationType2["push"] = "push";
|
|
56
|
-
})(NavigationType || (NavigationType = {}));
|
|
57
|
-
var NavigationDirection;
|
|
58
|
-
(function(NavigationDirection2) {
|
|
59
|
-
NavigationDirection2["back"] = "back";
|
|
60
|
-
NavigationDirection2["forward"] = "forward";
|
|
61
|
-
NavigationDirection2["unknown"] = "";
|
|
62
|
-
})(NavigationDirection || (NavigationDirection = {}));
|
|
63
|
-
var NavigationFailureType;
|
|
64
|
-
(function(NavigationFailureType2) {
|
|
65
|
-
NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
|
|
66
|
-
NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
|
|
67
|
-
NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
|
|
68
|
-
})(NavigationFailureType || (NavigationFailureType = {}));
|
|
69
|
-
function useRouter() {
|
|
70
|
-
return inject(routerKey);
|
|
71
|
-
}
|
|
72
|
-
function useRoute() {
|
|
73
|
-
return inject(routeLocationKey);
|
|
74
|
-
}
|
|
75
|
-
var HeadBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.enterprise-header[data-v-d3934054] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n height: 48px;\r\n background-color: #2d8cf0; /* \u4F01\u4E1A\u5FAE\u4FE1\u98CE\u683C\u84DD\u8272 */\r\n background-color: #fff;\r\n color: white;\r\n color: #000;\r\n position: relative;\r\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);\r\n margin-bottom: 4px;\n}\n.header-title[data-v-d3934054] {\r\n font-size: 14px;\r\n font-weight: 500;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n max-width: 70%;\n}\n.header-btn[data-v-d3934054] {\r\n position: absolute;\r\n width: 48px;\r\n height: 48px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: transparent;\r\n border: none;\r\n color: white;\r\n color: #000;\r\n font-size: 20px;\r\n cursor: pointer;\r\n padding: 0;\n}\n.header-btn[data-v-d3934054]:disabled {\r\n opacity: 0.5;\r\n cursor: not-allowed;\n}\n.back-btn[data-v-d3934054] {\r\n left: 0;\n}\n.home-btn[data-v-d3934054] {\r\n right: 0;\n}\r\n \r\n \r\n ")();
|
|
43
|
+
var HeadBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.enterprise-header[data-v-435ecee6] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n height: 48px;\r\n background-color: #2d8cf0; /* \u4F01\u4E1A\u5FAE\u4FE1\u98CE\u683C\u84DD\u8272 */\r\n background-color: #fff;\r\n color: white;\r\n color: #000;\r\n position: relative;\r\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);\r\n margin-bottom: 4px;\n}\n.header-title[data-v-435ecee6] {\r\n font-size: 14px;\r\n font-weight: 500;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n max-width: 70%;\n}\n.header-btn[data-v-435ecee6] {\r\n position: absolute;\r\n width: 48px;\r\n height: 48px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: transparent;\r\n border: none;\r\n color: white;\r\n color: #000;\r\n font-size: 20px;\r\n cursor: pointer;\r\n padding: 0;\n}\n.header-btn[data-v-435ecee6]:disabled {\r\n opacity: 0.5;\r\n cursor: not-allowed;\n}\n.back-btn[data-v-435ecee6] {\r\n left: 0;\n}\n.home-btn[data-v-435ecee6] {\r\n right: 0;\n}\r\n \r\n \r\n ")();
|
|
76
44
|
var _export_sfc = (sfc, props) => {
|
|
77
45
|
const target = sfc.__vccOpts || sfc;
|
|
78
46
|
for (const [key, val] of props) {
|
|
@@ -101,22 +69,19 @@ const _sfc_main$x = {
|
|
|
101
69
|
},
|
|
102
70
|
setup(__props) {
|
|
103
71
|
const props = __props;
|
|
104
|
-
const router2 = useRouter();
|
|
105
|
-
const route = useRoute();
|
|
106
72
|
const canGoBack = computed(() => {
|
|
107
73
|
return window.history.length > 1;
|
|
108
74
|
});
|
|
109
75
|
const handleBack = () => {
|
|
110
|
-
console.log("back", router2, route);
|
|
111
76
|
if (canGoBack.value) {
|
|
112
|
-
|
|
77
|
+
vm.routerCallback().back();
|
|
113
78
|
} else {
|
|
114
|
-
|
|
79
|
+
vm.routerCallback().push(props.homePath);
|
|
115
80
|
}
|
|
116
81
|
};
|
|
117
82
|
const handleHome = () => {
|
|
118
|
-
if (
|
|
119
|
-
|
|
83
|
+
if (vm.routerCallback().path !== props.homePath) {
|
|
84
|
+
vm.routerCallback().push(props.homePath);
|
|
120
85
|
}
|
|
121
86
|
};
|
|
122
87
|
return (_ctx, _cache) => {
|
|
@@ -136,7 +101,7 @@ const _sfc_main$x = {
|
|
|
136
101
|
};
|
|
137
102
|
}
|
|
138
103
|
};
|
|
139
|
-
var HeadBar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
104
|
+
var HeadBar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-435ecee6"]]);
|
|
140
105
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
141
106
|
function getAugmentedNamespace(n) {
|
|
142
107
|
if (n.__esModule)
|
|
@@ -3101,7 +3066,12 @@ const props2auth = (props) => {
|
|
|
3101
3066
|
return false;
|
|
3102
3067
|
}),
|
|
3103
3068
|
rules: computed(() => {
|
|
3104
|
-
|
|
3069
|
+
if ((props.rules || []).length > 0)
|
|
3070
|
+
return [];
|
|
3071
|
+
if (!props.label)
|
|
3072
|
+
return [];
|
|
3073
|
+
if (isRequired.value)
|
|
3074
|
+
return [{ required: true, message: `${props.label}\u4E3A\u7A7A` }];
|
|
3105
3075
|
})
|
|
3106
3076
|
};
|
|
3107
3077
|
};
|
|
@@ -17648,7 +17618,7 @@ function useVModel(props, key, emit, options = {}) {
|
|
|
17648
17618
|
});
|
|
17649
17619
|
}
|
|
17650
17620
|
}
|
|
17651
|
-
var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
17621
|
+
var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-390eeba0] .label {\n color: #000 !important;\n}\n[data-v-390eeba0] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
17652
17622
|
const _sfc_main$v = {
|
|
17653
17623
|
__name: "Input",
|
|
17654
17624
|
props: {
|
|
@@ -17704,10 +17674,11 @@ const _sfc_main$v = {
|
|
|
17704
17674
|
const props = __props;
|
|
17705
17675
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
17706
17676
|
const {
|
|
17707
|
-
isRequired,
|
|
17677
|
+
isRequired: isRequired2,
|
|
17708
17678
|
isReadonly,
|
|
17709
17679
|
isGone,
|
|
17710
|
-
isDisabled
|
|
17680
|
+
isDisabled,
|
|
17681
|
+
rules
|
|
17711
17682
|
} = util.props2auth(props);
|
|
17712
17683
|
onMounted(() => {
|
|
17713
17684
|
});
|
|
@@ -17722,30 +17693,30 @@ const _sfc_main$v = {
|
|
|
17722
17693
|
number: true
|
|
17723
17694
|
},
|
|
17724
17695
|
disabled: unref(isDisabled),
|
|
17725
|
-
required: unref(
|
|
17696
|
+
required: unref(isRequired2),
|
|
17726
17697
|
placeholder: props.placeholder,
|
|
17727
17698
|
type: props.type,
|
|
17728
17699
|
rows: props.rows,
|
|
17729
17700
|
autosize: props.autosize,
|
|
17730
|
-
rules:
|
|
17701
|
+
rules: unref(rules)
|
|
17731
17702
|
}, null, 8, ["label", "modelValue", "disabled", "required", "placeholder", "type", "rows", "autosize", "rules"])) : createCommentVNode("", true), !unref(isGone) && props.type != "number" ? (openBlock(), createBlock(_component_van_field, {
|
|
17732
17703
|
key: 1,
|
|
17733
17704
|
label: props.label,
|
|
17734
17705
|
modelValue: unref(modelValue),
|
|
17735
17706
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
17736
17707
|
disabled: unref(isDisabled),
|
|
17737
|
-
required: unref(
|
|
17708
|
+
required: unref(isRequired2),
|
|
17738
17709
|
placeholder: props.placeholder,
|
|
17739
17710
|
type: props.type,
|
|
17740
17711
|
rows: props.rows,
|
|
17741
17712
|
autosize: props.autosize,
|
|
17742
|
-
rules:
|
|
17713
|
+
rules: unref(rules)
|
|
17743
17714
|
}, null, 8, ["label", "modelValue", "disabled", "required", "placeholder", "type", "rows", "autosize", "rules"])) : createCommentVNode("", true)], 64);
|
|
17744
17715
|
};
|
|
17745
17716
|
}
|
|
17746
17717
|
};
|
|
17747
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
17748
|
-
var SinglePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
17718
|
+
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-390eeba0"]]);
|
|
17719
|
+
var SinglePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-3ae83b36] .label {\n color: #000 !important;\n}\n[data-v-3ae83b36] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
17749
17720
|
const _sfc_main$u = {
|
|
17750
17721
|
__name: "SinglePicker",
|
|
17751
17722
|
props: {
|
|
@@ -17790,7 +17761,7 @@ const _sfc_main$u = {
|
|
|
17790
17761
|
return ary;
|
|
17791
17762
|
});
|
|
17792
17763
|
const {
|
|
17793
|
-
isRequired,
|
|
17764
|
+
isRequired: isRequired2,
|
|
17794
17765
|
isGone,
|
|
17795
17766
|
isDisabled,
|
|
17796
17767
|
isReadonly
|
|
@@ -17845,8 +17816,8 @@ const _sfc_main$u = {
|
|
|
17845
17816
|
"label-class": "label",
|
|
17846
17817
|
placeholder: props.placeholder,
|
|
17847
17818
|
onClickInput: onClick,
|
|
17848
|
-
required: unref(
|
|
17849
|
-
rules:
|
|
17819
|
+
required: unref(isRequired2),
|
|
17820
|
+
rules: __props.rules
|
|
17850
17821
|
}, null, 8, ["modelValue", "is-link", "disabled", "label", "placeholder", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
17851
17822
|
show: isShowPicker.value,
|
|
17852
17823
|
"onUpdate:show": _cache[2] || (_cache[2] = ($event) => isShowPicker.value = $event),
|
|
@@ -17862,7 +17833,7 @@ const _sfc_main$u = {
|
|
|
17862
17833
|
};
|
|
17863
17834
|
}
|
|
17864
17835
|
};
|
|
17865
|
-
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
17836
|
+
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3ae83b36"]]);
|
|
17866
17837
|
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")();
|
|
17867
17838
|
const _hoisted_1$j = {
|
|
17868
17839
|
class: "select-all-container"
|
|
@@ -17953,7 +17924,7 @@ const _sfc_main$t = {
|
|
|
17953
17924
|
}
|
|
17954
17925
|
};
|
|
17955
17926
|
var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-10d79413"]]);
|
|
17956
|
-
var MultiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.data-item[data-v-
|
|
17927
|
+
var MultiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.data-item[data-v-0d491607]{\r\n margin: 0 8px 8px 0;\r\n padding: 2px 5px;\n}\r\n")();
|
|
17957
17928
|
const _hoisted_1$i = {
|
|
17958
17929
|
class: "data-list"
|
|
17959
17930
|
};
|
|
@@ -17994,10 +17965,11 @@ const _sfc_main$s = {
|
|
|
17994
17965
|
}) {
|
|
17995
17966
|
const props = __props;
|
|
17996
17967
|
const {
|
|
17997
|
-
isRequired,
|
|
17968
|
+
isRequired: isRequired2,
|
|
17998
17969
|
isReadonly,
|
|
17999
17970
|
isGone,
|
|
18000
|
-
isDisabled
|
|
17971
|
+
isDisabled,
|
|
17972
|
+
rules
|
|
18001
17973
|
} = util.props2auth(props);
|
|
18002
17974
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18003
17975
|
const data2 = reactive({
|
|
@@ -18059,8 +18031,8 @@ const _sfc_main$s = {
|
|
|
18059
18031
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
18060
18032
|
key: 0,
|
|
18061
18033
|
label: props.label,
|
|
18062
|
-
required: unref(
|
|
18063
|
-
rules:
|
|
18034
|
+
required: unref(isRequired2),
|
|
18035
|
+
rules: unref(rules),
|
|
18064
18036
|
disabled: unref(isDisabled),
|
|
18065
18037
|
placeholder: props.placeholder,
|
|
18066
18038
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -18093,8 +18065,8 @@ const _sfc_main$s = {
|
|
|
18093
18065
|
};
|
|
18094
18066
|
}
|
|
18095
18067
|
};
|
|
18096
|
-
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
18097
|
-
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
18068
|
+
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0d491607"]]);
|
|
18069
|
+
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-7f872a31] .label {\n color: #000 !important;\n}\n[data-v-7f872a31] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
18098
18070
|
const _sfc_main$r = {
|
|
18099
18071
|
__name: "CheckGroup",
|
|
18100
18072
|
props: {
|
|
@@ -18134,10 +18106,11 @@ const _sfc_main$r = {
|
|
|
18134
18106
|
const props = __props;
|
|
18135
18107
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18136
18108
|
const {
|
|
18137
|
-
isRequired,
|
|
18109
|
+
isRequired: isRequired2,
|
|
18138
18110
|
isReadonly,
|
|
18139
18111
|
isGone,
|
|
18140
|
-
isDisabled
|
|
18112
|
+
isDisabled,
|
|
18113
|
+
rules
|
|
18141
18114
|
} = util.props2auth(props);
|
|
18142
18115
|
const options = ref([]);
|
|
18143
18116
|
const totalOptions = computed(() => {
|
|
@@ -18190,8 +18163,8 @@ const _sfc_main$r = {
|
|
|
18190
18163
|
return !unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
18191
18164
|
key: 0,
|
|
18192
18165
|
label: props.label,
|
|
18193
|
-
required: unref(
|
|
18194
|
-
rules:
|
|
18166
|
+
required: unref(isRequired2),
|
|
18167
|
+
rules: unref(rules)
|
|
18195
18168
|
}, {
|
|
18196
18169
|
input: withCtx(() => [createVNode(_component_van_checkbox_group, {
|
|
18197
18170
|
modelValue: unref(modelValue),
|
|
@@ -18219,7 +18192,7 @@ const _sfc_main$r = {
|
|
|
18219
18192
|
};
|
|
18220
18193
|
}
|
|
18221
18194
|
};
|
|
18222
|
-
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
18195
|
+
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7f872a31"]]);
|
|
18223
18196
|
const _sfc_main$q = {
|
|
18224
18197
|
__name: "DatetimePop",
|
|
18225
18198
|
props: {
|
|
@@ -18559,10 +18532,11 @@ const _sfc_main$p = {
|
|
|
18559
18532
|
isShow: false
|
|
18560
18533
|
});
|
|
18561
18534
|
const {
|
|
18562
|
-
isRequired,
|
|
18535
|
+
isRequired: isRequired2,
|
|
18563
18536
|
isReadonly,
|
|
18564
18537
|
isGone,
|
|
18565
|
-
isDisabled
|
|
18538
|
+
isDisabled,
|
|
18539
|
+
rules
|
|
18566
18540
|
} = util.props2auth(props);
|
|
18567
18541
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18568
18542
|
const formatTime = computed({
|
|
@@ -18606,8 +18580,8 @@ const _sfc_main$p = {
|
|
|
18606
18580
|
readonly: unref(isReadonly),
|
|
18607
18581
|
clearable: "",
|
|
18608
18582
|
placeholder: props.placeholder,
|
|
18609
|
-
required: unref(
|
|
18610
|
-
rules:
|
|
18583
|
+
required: unref(isRequired2),
|
|
18584
|
+
rules: unref(rules),
|
|
18611
18585
|
"right-icon": unref(rightIcon),
|
|
18612
18586
|
onClickRightIcon: onToggleShow
|
|
18613
18587
|
}, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules", "right-icon"])) : createCommentVNode("", true), createVNode(_sfc_main$q, {
|
|
@@ -18685,7 +18659,7 @@ const _sfc_main$o = {
|
|
|
18685
18659
|
};
|
|
18686
18660
|
}
|
|
18687
18661
|
};
|
|
18688
|
-
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-
|
|
18662
|
+
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-0845ea7c] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-0845ea7c] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-0845ea7c] {\r\n border: 0;\n}\n.flex-between[data-v-0845ea7c] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-0845ea7c] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-0845ea7c] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px);\r\n overflow-y: auto;\n}\n.select-all-container[data-v-0845ea7c] {\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-0845ea7c] {\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-0845ea7c] {\r\n margin-left: 8px;\n}\r\n")();
|
|
18689
18663
|
const _hoisted_1$h = {
|
|
18690
18664
|
class: "pad10 flex-between showMultipleButton"
|
|
18691
18665
|
};
|
|
@@ -18748,10 +18722,11 @@ const _sfc_main$n = {
|
|
|
18748
18722
|
}) {
|
|
18749
18723
|
const props = __props;
|
|
18750
18724
|
const {
|
|
18751
|
-
isRequired,
|
|
18725
|
+
isRequired: isRequired2,
|
|
18752
18726
|
isReadonly,
|
|
18753
18727
|
isGone,
|
|
18754
|
-
isDisabled
|
|
18728
|
+
isDisabled,
|
|
18729
|
+
rules
|
|
18755
18730
|
} = util.props2auth(props);
|
|
18756
18731
|
const rightIcon = computed(() => {
|
|
18757
18732
|
if (isReadonly.value || isDisabled.value)
|
|
@@ -18906,14 +18881,14 @@ const _sfc_main$n = {
|
|
|
18906
18881
|
autosize: "",
|
|
18907
18882
|
modelValue: unref(selectdItemsLabel),
|
|
18908
18883
|
clearable: "",
|
|
18909
|
-
required: unref(
|
|
18884
|
+
required: unref(isRequired2),
|
|
18910
18885
|
label: __props.label,
|
|
18911
18886
|
name: __props.name
|
|
18912
18887
|
}, _ctx.$attrs, {
|
|
18913
18888
|
onClickRightIcon: showPopup,
|
|
18914
18889
|
onClear,
|
|
18915
18890
|
"right-icon": unref(rightIcon),
|
|
18916
|
-
rules:
|
|
18891
|
+
rules: unref(rules),
|
|
18917
18892
|
class: {
|
|
18918
18893
|
"disabled-field": unref(isReadonly)
|
|
18919
18894
|
}
|
|
@@ -19011,7 +18986,7 @@ const _sfc_main$n = {
|
|
|
19011
18986
|
};
|
|
19012
18987
|
}
|
|
19013
18988
|
};
|
|
19014
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
18989
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0845ea7c"]]);
|
|
19015
18990
|
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")();
|
|
19016
18991
|
const _hoisted_1$g = {
|
|
19017
18992
|
key: 0,
|
|
@@ -19086,7 +19061,7 @@ const _sfc_main$m = {
|
|
|
19086
19061
|
}
|
|
19087
19062
|
};
|
|
19088
19063
|
var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-40a09897"]]);
|
|
19089
|
-
var subdepartment_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.department-popup[data-v-
|
|
19064
|
+
var subdepartment_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.department-popup[data-v-c4c3b896] {\r\n width: 100%;\r\n height: 60vh;\r\n border-radius: 16px 16px 0 0;\n}\n.popup-container[data-v-c4c3b896] {\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n height: 100%;\n}\n.picker-header[data-v-c4c3b896] {\r\n display: flex;\r\n align-items: center;\r\n padding: 12px;\r\n border-bottom: 1px solid #ebedf0;\r\n gap: 8px;\r\n background: #fff;\r\n /* flex-shrink: 0; */\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n height: 56px;\r\n /* \u56FA\u5B9A\u5934\u90E8\u9AD8\u5EA6 */\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u5934\u90E8\u88AB\u538B\u7F29 */\n}\n.scroll-container[data-v-c4c3b896] {\r\n flex: 1;\r\n height: 0;\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n /* height: calc(80vh - 170px); */\r\n /* \u8BA1\u7B97\u65B9\u5F0F\uFF1A\u603B\u9AD8\u5EA6(80vh) - \u5934\u90E8\u9AD8\u5EA6(56px) - \u641C\u7D22\u6846\u9AD8\u5EA6(52px) */\r\n position: relative;\r\n top: -1px;\n}\n.back-button[data-v-c4c3b896] {\r\n margin-right: 8px;\n}\n.current-path[data-v-c4c3b896] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.action-buttons[data-v-c4c3b896] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\r\n\r\n/* .scroll-container {\r\n flex: 1;\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n} */\n.cell-content[data-v-c4c3b896] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-c4c3b896] {\r\n width: 20px;\r\n height: 20px;\r\n border: 1px solid #ebedf0;\r\n border-radius: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: all 0.2s;\r\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-c4c3b896] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-c4c3b896] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-c4c3b896] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-c4c3b896] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-c4c3b896] {\r\n color: #969799;\n}\n.search-field[data-v-c4c3b896] {\r\n background: #fff;\r\n padding: 10px 16px;\r\n border-bottom: 1px solid #ebedf0;\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n margin-bottom: 10px;\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u538B\u7F29 */\n}\r\n")();
|
|
19090
19065
|
const _hoisted_1$f = {
|
|
19091
19066
|
class: "department-selector"
|
|
19092
19067
|
};
|
|
@@ -19157,7 +19132,7 @@ const _sfc_main$l = {
|
|
|
19157
19132
|
}) {
|
|
19158
19133
|
const props = __props;
|
|
19159
19134
|
const {
|
|
19160
|
-
isRequired,
|
|
19135
|
+
isRequired: isRequired2,
|
|
19161
19136
|
isGone,
|
|
19162
19137
|
isDisabled,
|
|
19163
19138
|
isReadonly
|
|
@@ -19366,8 +19341,8 @@ const _sfc_main$l = {
|
|
|
19366
19341
|
placeholder: props.placeholder,
|
|
19367
19342
|
onClick: onShow,
|
|
19368
19343
|
"right-icon": unref(isReadonly) ? "" : "arrow",
|
|
19369
|
-
required: unref(
|
|
19370
|
-
rules:
|
|
19344
|
+
required: unref(isRequired2),
|
|
19345
|
+
rules: __props.rules,
|
|
19371
19346
|
type: "textarea",
|
|
19372
19347
|
autosize: "true",
|
|
19373
19348
|
rows: "1"
|
|
@@ -19445,8 +19420,8 @@ const _sfc_main$l = {
|
|
|
19445
19420
|
};
|
|
19446
19421
|
}
|
|
19447
19422
|
};
|
|
19448
|
-
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
19449
|
-
var user_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
19423
|
+
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c4c3b896"]]);
|
|
19424
|
+
var user_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-850c4b52] {\r\n height: 60vh;\r\n width: 100%;\n}\n.picker-header[data-v-850c4b52] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.scroll-container[data-v-850c4b52] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.search-container[data-v-850c4b52] {\r\n padding: 10px;\r\n background: #fff;\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\n}\n[data-v-850c4b52] .search-container .van-search {\r\n flex: 1;\n}\n.search-btn[data-v-850c4b52] {\r\n flex-shrink: 0;\n}\n.select-all-container[data-v-850c4b52] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n[data-v-850c4b52] .van-checkbox__icon--square {\r\n border-radius: 4px;\n}\n[data-v-850c4b52] .van-checkbox__label {\r\n margin-left: 8px;\n}\n[data-v-850c4b52] .van-radio-group .van-cell,[data-v-850c4b52] .van-checkbox-group .van-cell {\r\n align-items: center;\n}\n.current-path[data-v-850c4b52] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-850c4b52] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-850c4b52] {\r\n color: #969799;\r\n margin-right: 5px;\n}\r\n")();
|
|
19450
19425
|
const _hoisted_1$e = {
|
|
19451
19426
|
class: "user-selector"
|
|
19452
19427
|
};
|
|
@@ -19519,10 +19494,11 @@ const _sfc_main$k = {
|
|
|
19519
19494
|
}) {
|
|
19520
19495
|
const props = __props;
|
|
19521
19496
|
const {
|
|
19522
|
-
isRequired,
|
|
19497
|
+
isRequired: isRequired2,
|
|
19523
19498
|
isReadonly,
|
|
19524
19499
|
isGone,
|
|
19525
|
-
isDisabled
|
|
19500
|
+
isDisabled,
|
|
19501
|
+
rules
|
|
19526
19502
|
} = util.props2auth(props);
|
|
19527
19503
|
const userData = ref({
|
|
19528
19504
|
users: [],
|
|
@@ -19842,7 +19818,7 @@ const _sfc_main$k = {
|
|
|
19842
19818
|
onClick: _cache[0] || (_cache[0] = ($event) => showPicker.value = !props.readonly),
|
|
19843
19819
|
"right-icon": props.readonly ? "" : "arrow",
|
|
19844
19820
|
required: props.required,
|
|
19845
|
-
rules:
|
|
19821
|
+
rules: unref(rules)
|
|
19846
19822
|
}, null, 8, ["model-value", "label", "placeholder", "right-icon", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
19847
19823
|
show: showPicker.value,
|
|
19848
19824
|
"onUpdate:show": _cache[6] || (_cache[6] = ($event) => showPicker.value = $event),
|
|
@@ -19973,8 +19949,8 @@ const _sfc_main$k = {
|
|
|
19973
19949
|
};
|
|
19974
19950
|
}
|
|
19975
19951
|
};
|
|
19976
|
-
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
19977
|
-
var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
19952
|
+
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-850c4b52"]]);
|
|
19953
|
+
var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-136f10b6] .label {\n color: #000 !important;\n}\n[data-v-136f10b6] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
19978
19954
|
const _hoisted_1$d = {
|
|
19979
19955
|
class: "image-box"
|
|
19980
19956
|
};
|
|
@@ -20025,10 +20001,11 @@ const _sfc_main$j = {
|
|
|
20025
20001
|
const props = __props;
|
|
20026
20002
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20027
20003
|
const {
|
|
20028
|
-
isRequired,
|
|
20004
|
+
isRequired: isRequired2,
|
|
20029
20005
|
isReadonly,
|
|
20030
20006
|
isGone,
|
|
20031
|
-
isDisabled
|
|
20007
|
+
isDisabled,
|
|
20008
|
+
rules
|
|
20032
20009
|
} = util.props2auth(props);
|
|
20033
20010
|
const files = ref([]);
|
|
20034
20011
|
onMounted(() => {
|
|
@@ -20069,8 +20046,8 @@ const _sfc_main$j = {
|
|
|
20069
20046
|
key: 0,
|
|
20070
20047
|
name: "image",
|
|
20071
20048
|
label: props.label,
|
|
20072
|
-
required: unref(
|
|
20073
|
-
rules:
|
|
20049
|
+
required: unref(isRequired2),
|
|
20050
|
+
rules: unref(rules),
|
|
20074
20051
|
"label-class": "label",
|
|
20075
20052
|
placeholder: props.placeholder
|
|
20076
20053
|
}, {
|
|
@@ -20103,8 +20080,8 @@ const _sfc_main$j = {
|
|
|
20103
20080
|
};
|
|
20104
20081
|
}
|
|
20105
20082
|
};
|
|
20106
|
-
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
20107
|
-
var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-box .cover[data-v-
|
|
20083
|
+
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-136f10b6"]]);
|
|
20084
|
+
var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-box .cover[data-v-72cf3ca2] {\n width: 80px;\n height: 80px;\n}")();
|
|
20108
20085
|
const _hoisted_1$c = {
|
|
20109
20086
|
class: "image-box"
|
|
20110
20087
|
};
|
|
@@ -20164,10 +20141,11 @@ const _sfc_main$i = {
|
|
|
20164
20141
|
const props = __props;
|
|
20165
20142
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20166
20143
|
const {
|
|
20167
|
-
isRequired,
|
|
20144
|
+
isRequired: isRequired2,
|
|
20168
20145
|
isReadonly,
|
|
20169
20146
|
isGone,
|
|
20170
|
-
isDisabled
|
|
20147
|
+
isDisabled,
|
|
20148
|
+
rules
|
|
20171
20149
|
} = util.props2auth(props);
|
|
20172
20150
|
const files = ref([]);
|
|
20173
20151
|
const isPreviewMore = ref(false);
|
|
@@ -20261,8 +20239,8 @@ const _sfc_main$i = {
|
|
|
20261
20239
|
return openBlock(), createBlock(_component_van_field, {
|
|
20262
20240
|
name: "image",
|
|
20263
20241
|
label: props.label,
|
|
20264
|
-
required: unref(
|
|
20265
|
-
rules:
|
|
20242
|
+
required: unref(isRequired2),
|
|
20243
|
+
rules: unref(rules),
|
|
20266
20244
|
"label-class": "label",
|
|
20267
20245
|
placeholder: props.placeholder
|
|
20268
20246
|
}, {
|
|
@@ -20275,7 +20253,7 @@ const _sfc_main$i = {
|
|
|
20275
20253
|
capture: props.capture,
|
|
20276
20254
|
accept: "image/jpeg,image/png",
|
|
20277
20255
|
disabled: unref(isDisabled),
|
|
20278
|
-
deletable: !unref(
|
|
20256
|
+
deletable: !unref(isRequired2) && !unref(isDisabled),
|
|
20279
20257
|
afterRead: onAfterRead,
|
|
20280
20258
|
"before-delete": onBeforeDelete,
|
|
20281
20259
|
"show-upload": !unref(isReadonly)
|
|
@@ -20310,8 +20288,8 @@ const _sfc_main$i = {
|
|
|
20310
20288
|
};
|
|
20311
20289
|
}
|
|
20312
20290
|
};
|
|
20313
|
-
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
20314
|
-
var FilePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
20291
|
+
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-72cf3ca2"]]);
|
|
20292
|
+
var FilePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-208d28dd] .label {\n color: #000 !important;\n}\n[data-v-208d28dd] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
20315
20293
|
const _hoisted_1$b = {
|
|
20316
20294
|
class: "file-box"
|
|
20317
20295
|
};
|
|
@@ -20366,10 +20344,11 @@ const _sfc_main$h = {
|
|
|
20366
20344
|
const props = __props;
|
|
20367
20345
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20368
20346
|
const {
|
|
20369
|
-
isRequired,
|
|
20347
|
+
isRequired: isRequired2,
|
|
20370
20348
|
isReadonly,
|
|
20371
20349
|
isGone,
|
|
20372
|
-
isDisabled
|
|
20350
|
+
isDisabled,
|
|
20351
|
+
rules
|
|
20373
20352
|
} = util.props2auth(props);
|
|
20374
20353
|
const files = ref([]);
|
|
20375
20354
|
const maxCount = computed(() => {
|
|
@@ -20450,8 +20429,8 @@ const _sfc_main$h = {
|
|
|
20450
20429
|
key: 0,
|
|
20451
20430
|
name: "image",
|
|
20452
20431
|
label: props.label,
|
|
20453
|
-
required: unref(
|
|
20454
|
-
rules:
|
|
20432
|
+
required: unref(isRequired2),
|
|
20433
|
+
rules: unref(rules),
|
|
20455
20434
|
"label-class": "label",
|
|
20456
20435
|
placeholder: props.placeholder
|
|
20457
20436
|
}, {
|
|
@@ -20473,8 +20452,8 @@ const _sfc_main$h = {
|
|
|
20473
20452
|
};
|
|
20474
20453
|
}
|
|
20475
20454
|
};
|
|
20476
|
-
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
20477
|
-
var SingleUserSelector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
20455
|
+
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-208d28dd"]]);
|
|
20456
|
+
var SingleUserSelector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-c23caaf6] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-c23caaf6] {\r\n padding: 10px;\n}\n.search-buttons[data-v-c23caaf6] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-c23caaf6] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-c23caaf6] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-c23caaf6] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-c23caaf6] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-c23caaf6] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-c23caaf6] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-c23caaf6] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-c23caaf6] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
|
|
20478
20457
|
const _hoisted_1$a = {
|
|
20479
20458
|
class: "department-selector"
|
|
20480
20459
|
};
|
|
@@ -20543,10 +20522,11 @@ const _sfc_main$g = {
|
|
|
20543
20522
|
const show = ref(false);
|
|
20544
20523
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20545
20524
|
const {
|
|
20546
|
-
isRequired,
|
|
20525
|
+
isRequired: isRequired2,
|
|
20547
20526
|
isReadonly,
|
|
20548
20527
|
isGone,
|
|
20549
|
-
isDisabled
|
|
20528
|
+
isDisabled,
|
|
20529
|
+
rules
|
|
20550
20530
|
} = util.props2auth(props);
|
|
20551
20531
|
let departments = ref([]);
|
|
20552
20532
|
let departmentFulls = ref([]);
|
|
@@ -20752,8 +20732,8 @@ const _sfc_main$g = {
|
|
|
20752
20732
|
placeholder: props.placeholder,
|
|
20753
20733
|
onClick: _cache[0] || (_cache[0] = ($event) => show.value = !unref(isReadonly)),
|
|
20754
20734
|
"model-value": selectedUserInfo.value,
|
|
20755
|
-
required: unref(
|
|
20756
|
-
rules:
|
|
20735
|
+
required: unref(isRequired2),
|
|
20736
|
+
rules: unref(rules),
|
|
20757
20737
|
"input-align": "center"
|
|
20758
20738
|
}, null, 8, ["is-link", "label", "placeholder", "model-value", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
20759
20739
|
show: show.value,
|
|
@@ -20829,8 +20809,8 @@ const _sfc_main$g = {
|
|
|
20829
20809
|
};
|
|
20830
20810
|
}
|
|
20831
20811
|
};
|
|
20832
|
-
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
20833
|
-
var UserPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
20812
|
+
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-c23caaf6"]]);
|
|
20813
|
+
var UserPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-80bb7cb2] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-80bb7cb2] {\r\n padding: 10px;\n}\n.search-buttons[data-v-80bb7cb2] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-80bb7cb2] {\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-80bb7cb2] {\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-80bb7cb2] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-80bb7cb2] {\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-80bb7cb2] {\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-80bb7cb2] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-80bb7cb2] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-80bb7cb2] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
|
|
20834
20814
|
const _hoisted_1$9 = {
|
|
20835
20815
|
class: "department-selector"
|
|
20836
20816
|
};
|
|
@@ -20972,7 +20952,7 @@ const _sfc_main$f = {
|
|
|
20972
20952
|
const res = yield util.wx_user_list({
|
|
20973
20953
|
keyword: data2.keyword,
|
|
20974
20954
|
page: 1,
|
|
20975
|
-
limit:
|
|
20955
|
+
limit: 10
|
|
20976
20956
|
});
|
|
20977
20957
|
data2.searchUsers = res.data.list;
|
|
20978
20958
|
});
|
|
@@ -21101,8 +21081,8 @@ const _sfc_main$f = {
|
|
|
21101
21081
|
};
|
|
21102
21082
|
}
|
|
21103
21083
|
};
|
|
21104
|
-
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
21105
|
-
var UsersPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-item[data-v-
|
|
21084
|
+
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-80bb7cb2"]]);
|
|
21085
|
+
var UsersPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-item[data-v-60a6aa82]{\r\n margin:3px;\n}\r\n")();
|
|
21106
21086
|
const _hoisted_1$8 = {
|
|
21107
21087
|
class: "user-list"
|
|
21108
21088
|
};
|
|
@@ -21157,10 +21137,11 @@ const _sfc_main$e = {
|
|
|
21157
21137
|
});
|
|
21158
21138
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21159
21139
|
const {
|
|
21160
|
-
isRequired,
|
|
21140
|
+
isRequired: isRequired2,
|
|
21161
21141
|
isReadonly,
|
|
21162
21142
|
isGone,
|
|
21163
|
-
isDisabled
|
|
21143
|
+
isDisabled,
|
|
21144
|
+
rules
|
|
21164
21145
|
} = util.props2auth(props);
|
|
21165
21146
|
onMounted(() => {
|
|
21166
21147
|
});
|
|
@@ -21196,8 +21177,8 @@ const _sfc_main$e = {
|
|
|
21196
21177
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
21197
21178
|
key: 0,
|
|
21198
21179
|
label: props.label,
|
|
21199
|
-
required: unref(
|
|
21200
|
-
rules:
|
|
21180
|
+
required: unref(isRequired2),
|
|
21181
|
+
rules: unref(rules),
|
|
21201
21182
|
disabled: unref(isDisabled),
|
|
21202
21183
|
placeholder: props.placeholder,
|
|
21203
21184
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -21228,8 +21209,8 @@ const _sfc_main$e = {
|
|
|
21228
21209
|
};
|
|
21229
21210
|
}
|
|
21230
21211
|
};
|
|
21231
|
-
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
21232
|
-
var UserPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-
|
|
21212
|
+
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-60a6aa82"]]);
|
|
21213
|
+
var UserPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-dc690a10]{\r\n padding:4px 8px;\n}\r\n")();
|
|
21233
21214
|
const _sfc_main$d = {
|
|
21234
21215
|
__name: "UserPicker",
|
|
21235
21216
|
props: {
|
|
@@ -21281,10 +21262,11 @@ const _sfc_main$d = {
|
|
|
21281
21262
|
});
|
|
21282
21263
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21283
21264
|
const {
|
|
21284
|
-
isRequired,
|
|
21265
|
+
isRequired: isRequired2,
|
|
21285
21266
|
isReadonly,
|
|
21286
21267
|
isGone,
|
|
21287
|
-
isDisabled
|
|
21268
|
+
isDisabled,
|
|
21269
|
+
rules
|
|
21288
21270
|
} = util.props2auth(props);
|
|
21289
21271
|
onMounted(() => {
|
|
21290
21272
|
});
|
|
@@ -21314,8 +21296,8 @@ const _sfc_main$d = {
|
|
|
21314
21296
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
21315
21297
|
key: 0,
|
|
21316
21298
|
label: props.label,
|
|
21317
|
-
required: unref(
|
|
21318
|
-
rules:
|
|
21299
|
+
required: unref(isRequired2),
|
|
21300
|
+
rules: unref(rules),
|
|
21319
21301
|
disabled: unref(isDisabled),
|
|
21320
21302
|
placeholder: props.placeholder,
|
|
21321
21303
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -21344,7 +21326,7 @@ const _sfc_main$d = {
|
|
|
21344
21326
|
};
|
|
21345
21327
|
}
|
|
21346
21328
|
};
|
|
21347
|
-
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
21329
|
+
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-dc690a10"]]);
|
|
21348
21330
|
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")();
|
|
21349
21331
|
const _hoisted_1$7 = {
|
|
21350
21332
|
class: "widget"
|
|
@@ -21723,7 +21705,7 @@ const _sfc_main$8 = {
|
|
|
21723
21705
|
};
|
|
21724
21706
|
}
|
|
21725
21707
|
};
|
|
21726
|
-
var Switch_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
21708
|
+
var Switch_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-4a880d9e] .label {\n color: #000 !important;\n}\n[data-v-4a880d9e] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
21727
21709
|
const _sfc_main$7 = {
|
|
21728
21710
|
__name: "Switch",
|
|
21729
21711
|
props: {
|
|
@@ -21759,10 +21741,11 @@ const _sfc_main$7 = {
|
|
|
21759
21741
|
const props = __props;
|
|
21760
21742
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21761
21743
|
const {
|
|
21762
|
-
isRequired,
|
|
21744
|
+
isRequired: isRequired2,
|
|
21763
21745
|
isReadonly,
|
|
21764
21746
|
isGone,
|
|
21765
|
-
isDisabled
|
|
21747
|
+
isDisabled,
|
|
21748
|
+
rules
|
|
21766
21749
|
} = util.props2auth(props);
|
|
21767
21750
|
onMounted(() => {
|
|
21768
21751
|
});
|
|
@@ -21779,7 +21762,7 @@ const _sfc_main$7 = {
|
|
|
21779
21762
|
key: 0,
|
|
21780
21763
|
label: props.label,
|
|
21781
21764
|
disabled: unref(isDisabled),
|
|
21782
|
-
required: unref(
|
|
21765
|
+
required: unref(isRequired2),
|
|
21783
21766
|
placeholder: props.placeholder
|
|
21784
21767
|
}, {
|
|
21785
21768
|
input: withCtx(() => [createVNode(_component_van_switch, {
|
|
@@ -21792,8 +21775,8 @@ const _sfc_main$7 = {
|
|
|
21792
21775
|
};
|
|
21793
21776
|
}
|
|
21794
21777
|
};
|
|
21795
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
21796
|
-
var Sheet_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".item-box[data-v-
|
|
21778
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-4a880d9e"]]);
|
|
21779
|
+
var Sheet_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".item-box[data-v-5378e9da] {\n position: relative;\n padding-bottom: 5px;\n border-bottom: 1px solid #e1e1e1;\n}\n.actionbar[data-v-5378e9da] {\n display: flex;\n justify-content: center;\n margin-top: 5px;\n}\n[data-v-5378e9da] .label {\n color: #000 !important;\n}\n[data-v-5378e9da] .van-field__control--custom {\n display: block;\n}")();
|
|
21797
21780
|
const _hoisted_1$5 = {
|
|
21798
21781
|
key: 0,
|
|
21799
21782
|
class: "actionbar"
|
|
@@ -21837,10 +21820,11 @@ const _sfc_main$6 = {
|
|
|
21837
21820
|
const props = __props;
|
|
21838
21821
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21839
21822
|
const {
|
|
21840
|
-
isRequired,
|
|
21823
|
+
isRequired: isRequired2,
|
|
21841
21824
|
isReadonly,
|
|
21842
21825
|
isGone,
|
|
21843
|
-
isDisabled
|
|
21826
|
+
isDisabled,
|
|
21827
|
+
rules
|
|
21844
21828
|
} = util.props2auth(props);
|
|
21845
21829
|
onMounted(() => {
|
|
21846
21830
|
});
|
|
@@ -21863,7 +21847,8 @@ const _sfc_main$6 = {
|
|
|
21863
21847
|
key: 0,
|
|
21864
21848
|
label: props.label,
|
|
21865
21849
|
disabled: unref(isDisabled),
|
|
21866
|
-
required: unref(
|
|
21850
|
+
required: unref(isRequired2),
|
|
21851
|
+
rules: unref(rules),
|
|
21867
21852
|
placeholder: props.placeholder
|
|
21868
21853
|
}, {
|
|
21869
21854
|
input: withCtx(() => [!unref(isGone) && !unref(isDisabled) && !unref(isReadonly) ? (openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_van_button, {
|
|
@@ -21891,11 +21876,11 @@ const _sfc_main$6 = {
|
|
|
21891
21876
|
}, null, 8, ["onClick"])])) : createCommentVNode("", true)]);
|
|
21892
21877
|
}), 128))]),
|
|
21893
21878
|
_: 3
|
|
21894
|
-
}, 8, ["label", "disabled", "required", "placeholder"])) : createCommentVNode("", true);
|
|
21879
|
+
}, 8, ["label", "disabled", "required", "rules", "placeholder"])) : createCommentVNode("", true);
|
|
21895
21880
|
};
|
|
21896
21881
|
}
|
|
21897
21882
|
};
|
|
21898
|
-
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
21883
|
+
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5378e9da"]]);
|
|
21899
21884
|
var TreePop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-box[data-v-571370f8] {\r\n min-height: 20vh;\r\n max-height: 40vh;\r\n overflow-y: auto;\n.checkbox-list[data-v-571370f8] {\r\n padding: 15px 25px;\n[data-v-571370f8] .van-checkbox__label {\r\n flex: 1;\r\n text-align: right;\n}\n}\n}\n.select-all-container[data-v-571370f8] {\r\n font-size: 14px;\r\n padding: 15px 25px 0 15px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-571370f8] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-571370f8] {\r\n margin-left: 8px;\n}\r\n")();
|
|
21900
21885
|
const _sfc_main$5 = {
|
|
21901
21886
|
__name: "TreePop",
|
|
@@ -21947,7 +21932,7 @@ const _sfc_main$5 = {
|
|
|
21947
21932
|
}
|
|
21948
21933
|
};
|
|
21949
21934
|
var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-571370f8"]]);
|
|
21950
|
-
var TreePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.select-item[data-v-
|
|
21935
|
+
var TreePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.select-item[data-v-2b9af465]{\r\n margin:3px;\n}\r\n")();
|
|
21951
21936
|
const _hoisted_1$4 = {
|
|
21952
21937
|
class: "select-list"
|
|
21953
21938
|
};
|
|
@@ -22001,10 +21986,11 @@ const _sfc_main$4 = {
|
|
|
22001
21986
|
});
|
|
22002
21987
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22003
21988
|
const {
|
|
22004
|
-
isRequired,
|
|
21989
|
+
isRequired: isRequired2,
|
|
22005
21990
|
isReadonly,
|
|
22006
21991
|
isGone,
|
|
22007
|
-
isDisabled
|
|
21992
|
+
isDisabled,
|
|
21993
|
+
rules
|
|
22008
21994
|
} = util.props2auth(props);
|
|
22009
21995
|
onMounted(() => __async(this, null, function* () {
|
|
22010
21996
|
yield query();
|
|
@@ -22037,8 +22023,8 @@ const _sfc_main$4 = {
|
|
|
22037
22023
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
22038
22024
|
key: 0,
|
|
22039
22025
|
label: props.label,
|
|
22040
|
-
required: unref(
|
|
22041
|
-
rules:
|
|
22026
|
+
required: unref(isRequired2),
|
|
22027
|
+
rules: unref(rules),
|
|
22042
22028
|
disabled: unref(isDisabled),
|
|
22043
22029
|
placeholder: props.placeholder,
|
|
22044
22030
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -22069,7 +22055,7 @@ const _sfc_main$4 = {
|
|
|
22069
22055
|
};
|
|
22070
22056
|
}
|
|
22071
22057
|
};
|
|
22072
|
-
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
22058
|
+
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-2b9af465"]]);
|
|
22073
22059
|
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-498f9f58] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.cascader-selector[data-v-498f9f58] {\r\n padding: 10px;\n}\n.search-buttons[data-v-498f9f58] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-498f9f58] {\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-498f9f58] {\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-498f9f58] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.cascader-header[data-v-498f9f58] {\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-498f9f58] {\r\n flex: 1;\r\n font-size: 14px;\r\n margin-left:5px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-498f9f58] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-498f9f58] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-498f9f58] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.cell-content[data-v-498f9f58] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-498f9f58] {\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-498f9f58] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-498f9f58] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-498f9f58] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-498f9f58] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-498f9f58] {\r\n color: #969799;\n}\n.search-field[data-v-498f9f58] {\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")();
|
|
22074
22060
|
const _hoisted_1$3 = {
|
|
22075
22061
|
class: "cascader-selector"
|
|
@@ -22409,10 +22395,11 @@ const _sfc_main$2 = {
|
|
|
22409
22395
|
});
|
|
22410
22396
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22411
22397
|
const {
|
|
22412
|
-
isRequired,
|
|
22398
|
+
isRequired: isRequired2,
|
|
22413
22399
|
isReadonly,
|
|
22414
22400
|
isGone,
|
|
22415
|
-
isDisabled
|
|
22401
|
+
isDisabled,
|
|
22402
|
+
rules
|
|
22416
22403
|
} = util.props2auth(props);
|
|
22417
22404
|
onMounted(() => {
|
|
22418
22405
|
});
|
|
@@ -22467,8 +22454,8 @@ const _sfc_main$2 = {
|
|
|
22467
22454
|
key: 0,
|
|
22468
22455
|
label: props.label,
|
|
22469
22456
|
readonly: "",
|
|
22470
|
-
required: unref(
|
|
22471
|
-
rules:
|
|
22457
|
+
required: unref(isRequired2),
|
|
22458
|
+
rules: unref(rules),
|
|
22472
22459
|
disabled: unref(isDisabled),
|
|
22473
22460
|
placeholder: props.placeholder,
|
|
22474
22461
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -22521,7 +22508,7 @@ const _sfc_main$2 = {
|
|
|
22521
22508
|
};
|
|
22522
22509
|
}
|
|
22523
22510
|
};
|
|
22524
|
-
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-
|
|
22511
|
+
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-40920255] {\n /* \u7EDF\u4E00\u5B57\u6BB5\u95F4\u8DDD */\n}\n.widget[data-v-40920255] .van-cell {\n align-items: center;\n}\n.widget[data-v-40920255] .van-field__label {\n width: 90px;\n flex: none;\n}\n.widget .readonly-field[data-v-40920255] {\n /* \u6DFB\u52A0\u5FC5\u586B\u661F\u53F7\u5BF9\u9F50 */\n}\n.widget .readonly-field[data-v-40920255] .van-field__control {\n color: #323233;\n /* \u4FEE\u6539\u6587\u5B57\u989C\u8272\u4E0E\u666E\u901A\u5B57\u6BB5\u4E00\u81F4 */\n padding-right: 16px;\n}\n.widget .readonly-field.van-field--required[data-v-40920255] .van-field__label::before {\n margin-right: 4px;\n}\n.widget .readonly-field[data-v-40920255] {\n margin: 4px 0;\n}')();
|
|
22525
22512
|
const _hoisted_1$1 = {
|
|
22526
22513
|
class: "widget"
|
|
22527
22514
|
};
|
|
@@ -22560,10 +22547,11 @@ const _sfc_main$1 = {
|
|
|
22560
22547
|
const props = __props;
|
|
22561
22548
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22562
22549
|
const {
|
|
22563
|
-
isRequired,
|
|
22550
|
+
isRequired: isRequired2,
|
|
22564
22551
|
isReadonly,
|
|
22565
22552
|
isGone,
|
|
22566
|
-
isDisabled
|
|
22553
|
+
isDisabled,
|
|
22554
|
+
rules
|
|
22567
22555
|
} = util.props2auth(props);
|
|
22568
22556
|
const data2 = reactive({
|
|
22569
22557
|
isShow: false
|
|
@@ -22602,11 +22590,12 @@ const _sfc_main$1 = {
|
|
|
22602
22590
|
"is-link": !unref(isReadonly) && !unref(isDisabled),
|
|
22603
22591
|
label: props.label,
|
|
22604
22592
|
placeholder: props.placeholder,
|
|
22593
|
+
rules: unref(rules),
|
|
22605
22594
|
readonly: "",
|
|
22606
|
-
required: unref(
|
|
22595
|
+
required: unref(isRequired2),
|
|
22607
22596
|
disabled: unref(isDisabled),
|
|
22608
22597
|
onClick: onShow
|
|
22609
|
-
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "required", "disabled"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
22598
|
+
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "rules", "required", "disabled"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
22610
22599
|
show: data2.isShow,
|
|
22611
22600
|
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
|
|
22612
22601
|
"destroy-on-close": "",
|
|
@@ -22623,8 +22612,8 @@ const _sfc_main$1 = {
|
|
|
22623
22612
|
};
|
|
22624
22613
|
}
|
|
22625
22614
|
};
|
|
22626
|
-
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
22627
|
-
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-
|
|
22615
|
+
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-40920255"]]);
|
|
22616
|
+
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-4fc60b92] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n font-size: 12px;\n}\n.option[data-v-4fc60b92] {\n margin: 0 8px 8px 0;\n padding: 5px 10px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-4fc60b92] .van-field__label {\n margin: auto;\n}\n[data-v-4fc60b92] .van-cell {\n font-size: 12px;\n padding: 5px 5px;\n}\n[data-v-4fc60b92] .van-icon {\n font-size: 12px;\n}\n[data-v-4fc60b92] .van-popup .van-cell {\n padding: 5px 25px;\n}")();
|
|
22628
22617
|
const _hoisted_1 = {
|
|
22629
22618
|
class: "widget-box"
|
|
22630
22619
|
};
|
|
@@ -22707,10 +22696,11 @@ const _sfc_main = {
|
|
|
22707
22696
|
const props = __props;
|
|
22708
22697
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22709
22698
|
const {
|
|
22710
|
-
isRequired,
|
|
22699
|
+
isRequired: isRequired2,
|
|
22711
22700
|
isReadonly,
|
|
22712
22701
|
isGone,
|
|
22713
|
-
isDisabled
|
|
22702
|
+
isDisabled,
|
|
22703
|
+
rules
|
|
22714
22704
|
} = util.props2auth(props);
|
|
22715
22705
|
const data2 = reactive({
|
|
22716
22706
|
inputValue: {},
|
|
@@ -22849,8 +22839,9 @@ const _sfc_main = {
|
|
|
22849
22839
|
key: 0,
|
|
22850
22840
|
label: props.label,
|
|
22851
22841
|
disabled: unref(isDisabled),
|
|
22852
|
-
required: unref(
|
|
22853
|
-
placeholder: props.placeholder
|
|
22842
|
+
required: unref(isRequired2),
|
|
22843
|
+
placeholder: props.placeholder,
|
|
22844
|
+
rules: unref(rules)
|
|
22854
22845
|
}, {
|
|
22855
22846
|
input: withCtx(() => [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(modelValue), (item, index) => {
|
|
22856
22847
|
return openBlock(), createElementBlock("div", {
|
|
@@ -22976,11 +22967,11 @@ const _sfc_main = {
|
|
|
22976
22967
|
onClick: onNewOption
|
|
22977
22968
|
})) : createCommentVNode("", true)])]),
|
|
22978
22969
|
_: 1
|
|
22979
|
-
}, 8, ["label", "disabled", "required", "placeholder"])) : createCommentVNode("", true);
|
|
22970
|
+
}, 8, ["label", "disabled", "required", "placeholder", "rules"])) : createCommentVNode("", true);
|
|
22980
22971
|
};
|
|
22981
22972
|
}
|
|
22982
22973
|
};
|
|
22983
|
-
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
22974
|
+
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4fc60b92"]]);
|
|
22984
22975
|
const secret_notify = () => {
|
|
22985
22976
|
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 });
|
|
22986
22977
|
};
|