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.umd.js
CHANGED
|
@@ -43,39 +43,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
43
43
|
})(this, function(exports, vue) {
|
|
44
44
|
"use strict";
|
|
45
45
|
var vm = {};
|
|
46
|
-
|
|
47
|
-
* vue-router v4.0.15
|
|
48
|
-
* (c) 2022 Eduardo San Martin Morote
|
|
49
|
-
* @license MIT
|
|
50
|
-
*/
|
|
51
|
-
const hasSymbol = typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol";
|
|
52
|
-
const PolySymbol = (name2) => hasSymbol ? Symbol(name2) : "_vr_" + name2;
|
|
53
|
-
const routerKey = /* @__PURE__ */ PolySymbol("r");
|
|
54
|
-
const routeLocationKey = /* @__PURE__ */ PolySymbol("rl");
|
|
55
|
-
var NavigationType;
|
|
56
|
-
(function(NavigationType2) {
|
|
57
|
-
NavigationType2["pop"] = "pop";
|
|
58
|
-
NavigationType2["push"] = "push";
|
|
59
|
-
})(NavigationType || (NavigationType = {}));
|
|
60
|
-
var NavigationDirection;
|
|
61
|
-
(function(NavigationDirection2) {
|
|
62
|
-
NavigationDirection2["back"] = "back";
|
|
63
|
-
NavigationDirection2["forward"] = "forward";
|
|
64
|
-
NavigationDirection2["unknown"] = "";
|
|
65
|
-
})(NavigationDirection || (NavigationDirection = {}));
|
|
66
|
-
var NavigationFailureType;
|
|
67
|
-
(function(NavigationFailureType2) {
|
|
68
|
-
NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
|
|
69
|
-
NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
|
|
70
|
-
NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
|
|
71
|
-
})(NavigationFailureType || (NavigationFailureType = {}));
|
|
72
|
-
function useRouter() {
|
|
73
|
-
return vue.inject(routerKey);
|
|
74
|
-
}
|
|
75
|
-
function useRoute() {
|
|
76
|
-
return vue.inject(routeLocationKey);
|
|
77
|
-
}
|
|
78
|
-
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 ")();
|
|
46
|
+
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 ")();
|
|
79
47
|
var _export_sfc = (sfc, props) => {
|
|
80
48
|
const target = sfc.__vccOpts || sfc;
|
|
81
49
|
for (const [key, val] of props) {
|
|
@@ -104,22 +72,19 @@ var __async = (__this, __arguments, generator) => {
|
|
|
104
72
|
},
|
|
105
73
|
setup(__props) {
|
|
106
74
|
const props = __props;
|
|
107
|
-
const router2 = useRouter();
|
|
108
|
-
const route = useRoute();
|
|
109
75
|
const canGoBack = vue.computed(() => {
|
|
110
76
|
return window.history.length > 1;
|
|
111
77
|
});
|
|
112
78
|
const handleBack = () => {
|
|
113
|
-
console.log("back", router2, route);
|
|
114
79
|
if (canGoBack.value) {
|
|
115
|
-
|
|
80
|
+
vm.routerCallback().back();
|
|
116
81
|
} else {
|
|
117
|
-
|
|
82
|
+
vm.routerCallback().push(props.homePath);
|
|
118
83
|
}
|
|
119
84
|
};
|
|
120
85
|
const handleHome = () => {
|
|
121
|
-
if (
|
|
122
|
-
|
|
86
|
+
if (vm.routerCallback().path !== props.homePath) {
|
|
87
|
+
vm.routerCallback().push(props.homePath);
|
|
123
88
|
}
|
|
124
89
|
};
|
|
125
90
|
return (_ctx, _cache) => {
|
|
@@ -139,7 +104,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
139
104
|
};
|
|
140
105
|
}
|
|
141
106
|
};
|
|
142
|
-
var HeadBar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
107
|
+
var HeadBar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-435ecee6"]]);
|
|
143
108
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
144
109
|
function getAugmentedNamespace(n) {
|
|
145
110
|
if (n.__esModule)
|
|
@@ -3104,7 +3069,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3104
3069
|
return false;
|
|
3105
3070
|
}),
|
|
3106
3071
|
rules: vue.computed(() => {
|
|
3107
|
-
|
|
3072
|
+
if ((props.rules || []).length > 0)
|
|
3073
|
+
return [];
|
|
3074
|
+
if (!props.label)
|
|
3075
|
+
return [];
|
|
3076
|
+
if (isRequired.value)
|
|
3077
|
+
return [{ required: true, message: `${props.label}\u4E3A\u7A7A` }];
|
|
3108
3078
|
})
|
|
3109
3079
|
};
|
|
3110
3080
|
};
|
|
@@ -17651,7 +17621,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17651
17621
|
});
|
|
17652
17622
|
}
|
|
17653
17623
|
}
|
|
17654
|
-
var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
17624
|
+
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}")();
|
|
17655
17625
|
const _sfc_main$v = {
|
|
17656
17626
|
__name: "Input",
|
|
17657
17627
|
props: {
|
|
@@ -17707,10 +17677,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17707
17677
|
const props = __props;
|
|
17708
17678
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
17709
17679
|
const {
|
|
17710
|
-
isRequired,
|
|
17680
|
+
isRequired: isRequired2,
|
|
17711
17681
|
isReadonly,
|
|
17712
17682
|
isGone,
|
|
17713
|
-
isDisabled
|
|
17683
|
+
isDisabled,
|
|
17684
|
+
rules
|
|
17714
17685
|
} = util.props2auth(props);
|
|
17715
17686
|
vue.onMounted(() => {
|
|
17716
17687
|
});
|
|
@@ -17725,30 +17696,30 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17725
17696
|
number: true
|
|
17726
17697
|
},
|
|
17727
17698
|
disabled: vue.unref(isDisabled),
|
|
17728
|
-
required: vue.unref(
|
|
17699
|
+
required: vue.unref(isRequired2),
|
|
17729
17700
|
placeholder: props.placeholder,
|
|
17730
17701
|
type: props.type,
|
|
17731
17702
|
rows: props.rows,
|
|
17732
17703
|
autosize: props.autosize,
|
|
17733
|
-
rules:
|
|
17704
|
+
rules: vue.unref(rules)
|
|
17734
17705
|
}, null, 8, ["label", "modelValue", "disabled", "required", "placeholder", "type", "rows", "autosize", "rules"])) : vue.createCommentVNode("", true), !vue.unref(isGone) && props.type != "number" ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
17735
17706
|
key: 1,
|
|
17736
17707
|
label: props.label,
|
|
17737
17708
|
modelValue: vue.unref(modelValue),
|
|
17738
17709
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
|
|
17739
17710
|
disabled: vue.unref(isDisabled),
|
|
17740
|
-
required: vue.unref(
|
|
17711
|
+
required: vue.unref(isRequired2),
|
|
17741
17712
|
placeholder: props.placeholder,
|
|
17742
17713
|
type: props.type,
|
|
17743
17714
|
rows: props.rows,
|
|
17744
17715
|
autosize: props.autosize,
|
|
17745
|
-
rules:
|
|
17716
|
+
rules: vue.unref(rules)
|
|
17746
17717
|
}, null, 8, ["label", "modelValue", "disabled", "required", "placeholder", "type", "rows", "autosize", "rules"])) : vue.createCommentVNode("", true)], 64);
|
|
17747
17718
|
};
|
|
17748
17719
|
}
|
|
17749
17720
|
};
|
|
17750
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
17751
|
-
var SinglePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
17721
|
+
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-390eeba0"]]);
|
|
17722
|
+
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}")();
|
|
17752
17723
|
const _sfc_main$u = {
|
|
17753
17724
|
__name: "SinglePicker",
|
|
17754
17725
|
props: {
|
|
@@ -17793,7 +17764,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17793
17764
|
return ary;
|
|
17794
17765
|
});
|
|
17795
17766
|
const {
|
|
17796
|
-
isRequired,
|
|
17767
|
+
isRequired: isRequired2,
|
|
17797
17768
|
isGone,
|
|
17798
17769
|
isDisabled,
|
|
17799
17770
|
isReadonly
|
|
@@ -17848,8 +17819,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17848
17819
|
"label-class": "label",
|
|
17849
17820
|
placeholder: props.placeholder,
|
|
17850
17821
|
onClickInput: onClick,
|
|
17851
|
-
required: vue.unref(
|
|
17852
|
-
rules:
|
|
17822
|
+
required: vue.unref(isRequired2),
|
|
17823
|
+
rules: __props.rules
|
|
17853
17824
|
}, null, 8, ["modelValue", "is-link", "disabled", "label", "placeholder", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
17854
17825
|
show: isShowPicker.value,
|
|
17855
17826
|
"onUpdate:show": _cache[2] || (_cache[2] = ($event) => isShowPicker.value = $event),
|
|
@@ -17865,7 +17836,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17865
17836
|
};
|
|
17866
17837
|
}
|
|
17867
17838
|
};
|
|
17868
|
-
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
17839
|
+
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3ae83b36"]]);
|
|
17869
17840
|
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")();
|
|
17870
17841
|
const _hoisted_1$j = {
|
|
17871
17842
|
class: "select-all-container"
|
|
@@ -17956,7 +17927,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17956
17927
|
}
|
|
17957
17928
|
};
|
|
17958
17929
|
var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-10d79413"]]);
|
|
17959
|
-
var MultiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.data-item[data-v-
|
|
17930
|
+
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")();
|
|
17960
17931
|
const _hoisted_1$i = {
|
|
17961
17932
|
class: "data-list"
|
|
17962
17933
|
};
|
|
@@ -17997,10 +17968,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17997
17968
|
}) {
|
|
17998
17969
|
const props = __props;
|
|
17999
17970
|
const {
|
|
18000
|
-
isRequired,
|
|
17971
|
+
isRequired: isRequired2,
|
|
18001
17972
|
isReadonly,
|
|
18002
17973
|
isGone,
|
|
18003
|
-
isDisabled
|
|
17974
|
+
isDisabled,
|
|
17975
|
+
rules
|
|
18004
17976
|
} = util.props2auth(props);
|
|
18005
17977
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18006
17978
|
const data2 = vue.reactive({
|
|
@@ -18062,8 +18034,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18062
18034
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
18063
18035
|
key: 0,
|
|
18064
18036
|
label: props.label,
|
|
18065
|
-
required: vue.unref(
|
|
18066
|
-
rules:
|
|
18037
|
+
required: vue.unref(isRequired2),
|
|
18038
|
+
rules: vue.unref(rules),
|
|
18067
18039
|
disabled: vue.unref(isDisabled),
|
|
18068
18040
|
placeholder: props.placeholder,
|
|
18069
18041
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -18096,8 +18068,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18096
18068
|
};
|
|
18097
18069
|
}
|
|
18098
18070
|
};
|
|
18099
|
-
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
18100
|
-
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
18071
|
+
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0d491607"]]);
|
|
18072
|
+
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}")();
|
|
18101
18073
|
const _sfc_main$r = {
|
|
18102
18074
|
__name: "CheckGroup",
|
|
18103
18075
|
props: {
|
|
@@ -18137,10 +18109,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18137
18109
|
const props = __props;
|
|
18138
18110
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18139
18111
|
const {
|
|
18140
|
-
isRequired,
|
|
18112
|
+
isRequired: isRequired2,
|
|
18141
18113
|
isReadonly,
|
|
18142
18114
|
isGone,
|
|
18143
|
-
isDisabled
|
|
18115
|
+
isDisabled,
|
|
18116
|
+
rules
|
|
18144
18117
|
} = util.props2auth(props);
|
|
18145
18118
|
const options = vue.ref([]);
|
|
18146
18119
|
const totalOptions = vue.computed(() => {
|
|
@@ -18193,8 +18166,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18193
18166
|
return !vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
18194
18167
|
key: 0,
|
|
18195
18168
|
label: props.label,
|
|
18196
|
-
required: vue.unref(
|
|
18197
|
-
rules:
|
|
18169
|
+
required: vue.unref(isRequired2),
|
|
18170
|
+
rules: vue.unref(rules)
|
|
18198
18171
|
}, {
|
|
18199
18172
|
input: vue.withCtx(() => [vue.createVNode(_component_van_checkbox_group, {
|
|
18200
18173
|
modelValue: vue.unref(modelValue),
|
|
@@ -18222,7 +18195,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18222
18195
|
};
|
|
18223
18196
|
}
|
|
18224
18197
|
};
|
|
18225
|
-
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
18198
|
+
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7f872a31"]]);
|
|
18226
18199
|
const _sfc_main$q = {
|
|
18227
18200
|
__name: "DatetimePop",
|
|
18228
18201
|
props: {
|
|
@@ -18562,10 +18535,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18562
18535
|
isShow: false
|
|
18563
18536
|
});
|
|
18564
18537
|
const {
|
|
18565
|
-
isRequired,
|
|
18538
|
+
isRequired: isRequired2,
|
|
18566
18539
|
isReadonly,
|
|
18567
18540
|
isGone,
|
|
18568
|
-
isDisabled
|
|
18541
|
+
isDisabled,
|
|
18542
|
+
rules
|
|
18569
18543
|
} = util.props2auth(props);
|
|
18570
18544
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18571
18545
|
const formatTime = vue.computed({
|
|
@@ -18609,8 +18583,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18609
18583
|
readonly: vue.unref(isReadonly),
|
|
18610
18584
|
clearable: "",
|
|
18611
18585
|
placeholder: props.placeholder,
|
|
18612
|
-
required: vue.unref(
|
|
18613
|
-
rules:
|
|
18586
|
+
required: vue.unref(isRequired2),
|
|
18587
|
+
rules: vue.unref(rules),
|
|
18614
18588
|
"right-icon": vue.unref(rightIcon),
|
|
18615
18589
|
onClickRightIcon: onToggleShow
|
|
18616
18590
|
}, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules", "right-icon"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$q, {
|
|
@@ -18688,7 +18662,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18688
18662
|
};
|
|
18689
18663
|
}
|
|
18690
18664
|
};
|
|
18691
|
-
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-
|
|
18665
|
+
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")();
|
|
18692
18666
|
const _hoisted_1$h = {
|
|
18693
18667
|
class: "pad10 flex-between showMultipleButton"
|
|
18694
18668
|
};
|
|
@@ -18751,10 +18725,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18751
18725
|
}) {
|
|
18752
18726
|
const props = __props;
|
|
18753
18727
|
const {
|
|
18754
|
-
isRequired,
|
|
18728
|
+
isRequired: isRequired2,
|
|
18755
18729
|
isReadonly,
|
|
18756
18730
|
isGone,
|
|
18757
|
-
isDisabled
|
|
18731
|
+
isDisabled,
|
|
18732
|
+
rules
|
|
18758
18733
|
} = util.props2auth(props);
|
|
18759
18734
|
const rightIcon = vue.computed(() => {
|
|
18760
18735
|
if (isReadonly.value || isDisabled.value)
|
|
@@ -18909,14 +18884,14 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18909
18884
|
autosize: "",
|
|
18910
18885
|
modelValue: vue.unref(selectdItemsLabel),
|
|
18911
18886
|
clearable: "",
|
|
18912
|
-
required: vue.unref(
|
|
18887
|
+
required: vue.unref(isRequired2),
|
|
18913
18888
|
label: __props.label,
|
|
18914
18889
|
name: __props.name
|
|
18915
18890
|
}, _ctx.$attrs, {
|
|
18916
18891
|
onClickRightIcon: showPopup,
|
|
18917
18892
|
onClear,
|
|
18918
18893
|
"right-icon": vue.unref(rightIcon),
|
|
18919
|
-
rules:
|
|
18894
|
+
rules: vue.unref(rules),
|
|
18920
18895
|
class: {
|
|
18921
18896
|
"disabled-field": vue.unref(isReadonly)
|
|
18922
18897
|
}
|
|
@@ -19014,7 +18989,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19014
18989
|
};
|
|
19015
18990
|
}
|
|
19016
18991
|
};
|
|
19017
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
18992
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0845ea7c"]]);
|
|
19018
18993
|
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")();
|
|
19019
18994
|
const _hoisted_1$g = {
|
|
19020
18995
|
key: 0,
|
|
@@ -19089,7 +19064,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19089
19064
|
}
|
|
19090
19065
|
};
|
|
19091
19066
|
var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-40a09897"]]);
|
|
19092
|
-
var subdepartment_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.department-popup[data-v-
|
|
19067
|
+
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")();
|
|
19093
19068
|
const _hoisted_1$f = {
|
|
19094
19069
|
class: "department-selector"
|
|
19095
19070
|
};
|
|
@@ -19160,7 +19135,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19160
19135
|
}) {
|
|
19161
19136
|
const props = __props;
|
|
19162
19137
|
const {
|
|
19163
|
-
isRequired,
|
|
19138
|
+
isRequired: isRequired2,
|
|
19164
19139
|
isGone,
|
|
19165
19140
|
isDisabled,
|
|
19166
19141
|
isReadonly
|
|
@@ -19369,8 +19344,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19369
19344
|
placeholder: props.placeholder,
|
|
19370
19345
|
onClick: onShow,
|
|
19371
19346
|
"right-icon": vue.unref(isReadonly) ? "" : "arrow",
|
|
19372
|
-
required: vue.unref(
|
|
19373
|
-
rules:
|
|
19347
|
+
required: vue.unref(isRequired2),
|
|
19348
|
+
rules: __props.rules,
|
|
19374
19349
|
type: "textarea",
|
|
19375
19350
|
autosize: "true",
|
|
19376
19351
|
rows: "1"
|
|
@@ -19448,8 +19423,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19448
19423
|
};
|
|
19449
19424
|
}
|
|
19450
19425
|
};
|
|
19451
|
-
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
19452
|
-
var user_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
19426
|
+
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c4c3b896"]]);
|
|
19427
|
+
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")();
|
|
19453
19428
|
const _hoisted_1$e = {
|
|
19454
19429
|
class: "user-selector"
|
|
19455
19430
|
};
|
|
@@ -19522,10 +19497,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19522
19497
|
}) {
|
|
19523
19498
|
const props = __props;
|
|
19524
19499
|
const {
|
|
19525
|
-
isRequired,
|
|
19500
|
+
isRequired: isRequired2,
|
|
19526
19501
|
isReadonly,
|
|
19527
19502
|
isGone,
|
|
19528
|
-
isDisabled
|
|
19503
|
+
isDisabled,
|
|
19504
|
+
rules
|
|
19529
19505
|
} = util.props2auth(props);
|
|
19530
19506
|
const userData = vue.ref({
|
|
19531
19507
|
users: [],
|
|
@@ -19845,7 +19821,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19845
19821
|
onClick: _cache[0] || (_cache[0] = ($event) => showPicker.value = !props.readonly),
|
|
19846
19822
|
"right-icon": props.readonly ? "" : "arrow",
|
|
19847
19823
|
required: props.required,
|
|
19848
|
-
rules:
|
|
19824
|
+
rules: vue.unref(rules)
|
|
19849
19825
|
}, null, 8, ["model-value", "label", "placeholder", "right-icon", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
19850
19826
|
show: showPicker.value,
|
|
19851
19827
|
"onUpdate:show": _cache[6] || (_cache[6] = ($event) => showPicker.value = $event),
|
|
@@ -19976,8 +19952,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19976
19952
|
};
|
|
19977
19953
|
}
|
|
19978
19954
|
};
|
|
19979
|
-
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
19980
|
-
var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
19955
|
+
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-850c4b52"]]);
|
|
19956
|
+
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}")();
|
|
19981
19957
|
const _hoisted_1$d = {
|
|
19982
19958
|
class: "image-box"
|
|
19983
19959
|
};
|
|
@@ -20028,10 +20004,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20028
20004
|
const props = __props;
|
|
20029
20005
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20030
20006
|
const {
|
|
20031
|
-
isRequired,
|
|
20007
|
+
isRequired: isRequired2,
|
|
20032
20008
|
isReadonly,
|
|
20033
20009
|
isGone,
|
|
20034
|
-
isDisabled
|
|
20010
|
+
isDisabled,
|
|
20011
|
+
rules
|
|
20035
20012
|
} = util.props2auth(props);
|
|
20036
20013
|
const files = vue.ref([]);
|
|
20037
20014
|
vue.onMounted(() => {
|
|
@@ -20072,8 +20049,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20072
20049
|
key: 0,
|
|
20073
20050
|
name: "image",
|
|
20074
20051
|
label: props.label,
|
|
20075
|
-
required: vue.unref(
|
|
20076
|
-
rules:
|
|
20052
|
+
required: vue.unref(isRequired2),
|
|
20053
|
+
rules: vue.unref(rules),
|
|
20077
20054
|
"label-class": "label",
|
|
20078
20055
|
placeholder: props.placeholder
|
|
20079
20056
|
}, {
|
|
@@ -20106,8 +20083,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20106
20083
|
};
|
|
20107
20084
|
}
|
|
20108
20085
|
};
|
|
20109
|
-
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
20110
|
-
var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-box .cover[data-v-
|
|
20086
|
+
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-136f10b6"]]);
|
|
20087
|
+
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}")();
|
|
20111
20088
|
const _hoisted_1$c = {
|
|
20112
20089
|
class: "image-box"
|
|
20113
20090
|
};
|
|
@@ -20167,10 +20144,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20167
20144
|
const props = __props;
|
|
20168
20145
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20169
20146
|
const {
|
|
20170
|
-
isRequired,
|
|
20147
|
+
isRequired: isRequired2,
|
|
20171
20148
|
isReadonly,
|
|
20172
20149
|
isGone,
|
|
20173
|
-
isDisabled
|
|
20150
|
+
isDisabled,
|
|
20151
|
+
rules
|
|
20174
20152
|
} = util.props2auth(props);
|
|
20175
20153
|
const files = vue.ref([]);
|
|
20176
20154
|
const isPreviewMore = vue.ref(false);
|
|
@@ -20264,8 +20242,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20264
20242
|
return vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
20265
20243
|
name: "image",
|
|
20266
20244
|
label: props.label,
|
|
20267
|
-
required: vue.unref(
|
|
20268
|
-
rules:
|
|
20245
|
+
required: vue.unref(isRequired2),
|
|
20246
|
+
rules: vue.unref(rules),
|
|
20269
20247
|
"label-class": "label",
|
|
20270
20248
|
placeholder: props.placeholder
|
|
20271
20249
|
}, {
|
|
@@ -20278,7 +20256,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20278
20256
|
capture: props.capture,
|
|
20279
20257
|
accept: "image/jpeg,image/png",
|
|
20280
20258
|
disabled: vue.unref(isDisabled),
|
|
20281
|
-
deletable: !vue.unref(
|
|
20259
|
+
deletable: !vue.unref(isRequired2) && !vue.unref(isDisabled),
|
|
20282
20260
|
afterRead: onAfterRead,
|
|
20283
20261
|
"before-delete": onBeforeDelete,
|
|
20284
20262
|
"show-upload": !vue.unref(isReadonly)
|
|
@@ -20313,8 +20291,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20313
20291
|
};
|
|
20314
20292
|
}
|
|
20315
20293
|
};
|
|
20316
|
-
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
20317
|
-
var FilePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
20294
|
+
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-72cf3ca2"]]);
|
|
20295
|
+
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}")();
|
|
20318
20296
|
const _hoisted_1$b = {
|
|
20319
20297
|
class: "file-box"
|
|
20320
20298
|
};
|
|
@@ -20369,10 +20347,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20369
20347
|
const props = __props;
|
|
20370
20348
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20371
20349
|
const {
|
|
20372
|
-
isRequired,
|
|
20350
|
+
isRequired: isRequired2,
|
|
20373
20351
|
isReadonly,
|
|
20374
20352
|
isGone,
|
|
20375
|
-
isDisabled
|
|
20353
|
+
isDisabled,
|
|
20354
|
+
rules
|
|
20376
20355
|
} = util.props2auth(props);
|
|
20377
20356
|
const files = vue.ref([]);
|
|
20378
20357
|
const maxCount = vue.computed(() => {
|
|
@@ -20453,8 +20432,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20453
20432
|
key: 0,
|
|
20454
20433
|
name: "image",
|
|
20455
20434
|
label: props.label,
|
|
20456
|
-
required: vue.unref(
|
|
20457
|
-
rules:
|
|
20435
|
+
required: vue.unref(isRequired2),
|
|
20436
|
+
rules: vue.unref(rules),
|
|
20458
20437
|
"label-class": "label",
|
|
20459
20438
|
placeholder: props.placeholder
|
|
20460
20439
|
}, {
|
|
@@ -20476,8 +20455,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20476
20455
|
};
|
|
20477
20456
|
}
|
|
20478
20457
|
};
|
|
20479
|
-
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
20480
|
-
var SingleUserSelector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
20458
|
+
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-208d28dd"]]);
|
|
20459
|
+
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")();
|
|
20481
20460
|
const _hoisted_1$a = {
|
|
20482
20461
|
class: "department-selector"
|
|
20483
20462
|
};
|
|
@@ -20546,10 +20525,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20546
20525
|
const show = vue.ref(false);
|
|
20547
20526
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20548
20527
|
const {
|
|
20549
|
-
isRequired,
|
|
20528
|
+
isRequired: isRequired2,
|
|
20550
20529
|
isReadonly,
|
|
20551
20530
|
isGone,
|
|
20552
|
-
isDisabled
|
|
20531
|
+
isDisabled,
|
|
20532
|
+
rules
|
|
20553
20533
|
} = util.props2auth(props);
|
|
20554
20534
|
let departments = vue.ref([]);
|
|
20555
20535
|
let departmentFulls = vue.ref([]);
|
|
@@ -20755,8 +20735,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20755
20735
|
placeholder: props.placeholder,
|
|
20756
20736
|
onClick: _cache[0] || (_cache[0] = ($event) => show.value = !vue.unref(isReadonly)),
|
|
20757
20737
|
"model-value": selectedUserInfo.value,
|
|
20758
|
-
required: vue.unref(
|
|
20759
|
-
rules:
|
|
20738
|
+
required: vue.unref(isRequired2),
|
|
20739
|
+
rules: vue.unref(rules),
|
|
20760
20740
|
"input-align": "center"
|
|
20761
20741
|
}, null, 8, ["is-link", "label", "placeholder", "model-value", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
20762
20742
|
show: show.value,
|
|
@@ -20832,8 +20812,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20832
20812
|
};
|
|
20833
20813
|
}
|
|
20834
20814
|
};
|
|
20835
|
-
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
20836
|
-
var UserPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
20815
|
+
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-c23caaf6"]]);
|
|
20816
|
+
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")();
|
|
20837
20817
|
const _hoisted_1$9 = {
|
|
20838
20818
|
class: "department-selector"
|
|
20839
20819
|
};
|
|
@@ -20975,7 +20955,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20975
20955
|
const res = yield util.wx_user_list({
|
|
20976
20956
|
keyword: data2.keyword,
|
|
20977
20957
|
page: 1,
|
|
20978
|
-
limit:
|
|
20958
|
+
limit: 10
|
|
20979
20959
|
});
|
|
20980
20960
|
data2.searchUsers = res.data.list;
|
|
20981
20961
|
});
|
|
@@ -21104,8 +21084,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21104
21084
|
};
|
|
21105
21085
|
}
|
|
21106
21086
|
};
|
|
21107
|
-
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
21108
|
-
var UsersPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-item[data-v-
|
|
21087
|
+
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-80bb7cb2"]]);
|
|
21088
|
+
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")();
|
|
21109
21089
|
const _hoisted_1$8 = {
|
|
21110
21090
|
class: "user-list"
|
|
21111
21091
|
};
|
|
@@ -21160,10 +21140,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21160
21140
|
});
|
|
21161
21141
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21162
21142
|
const {
|
|
21163
|
-
isRequired,
|
|
21143
|
+
isRequired: isRequired2,
|
|
21164
21144
|
isReadonly,
|
|
21165
21145
|
isGone,
|
|
21166
|
-
isDisabled
|
|
21146
|
+
isDisabled,
|
|
21147
|
+
rules
|
|
21167
21148
|
} = util.props2auth(props);
|
|
21168
21149
|
vue.onMounted(() => {
|
|
21169
21150
|
});
|
|
@@ -21199,8 +21180,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21199
21180
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
21200
21181
|
key: 0,
|
|
21201
21182
|
label: props.label,
|
|
21202
|
-
required: vue.unref(
|
|
21203
|
-
rules:
|
|
21183
|
+
required: vue.unref(isRequired2),
|
|
21184
|
+
rules: vue.unref(rules),
|
|
21204
21185
|
disabled: vue.unref(isDisabled),
|
|
21205
21186
|
placeholder: props.placeholder,
|
|
21206
21187
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -21231,8 +21212,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21231
21212
|
};
|
|
21232
21213
|
}
|
|
21233
21214
|
};
|
|
21234
|
-
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
21235
|
-
var UserPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-
|
|
21215
|
+
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-60a6aa82"]]);
|
|
21216
|
+
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")();
|
|
21236
21217
|
const _sfc_main$d = {
|
|
21237
21218
|
__name: "UserPicker",
|
|
21238
21219
|
props: {
|
|
@@ -21284,10 +21265,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21284
21265
|
});
|
|
21285
21266
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21286
21267
|
const {
|
|
21287
|
-
isRequired,
|
|
21268
|
+
isRequired: isRequired2,
|
|
21288
21269
|
isReadonly,
|
|
21289
21270
|
isGone,
|
|
21290
|
-
isDisabled
|
|
21271
|
+
isDisabled,
|
|
21272
|
+
rules
|
|
21291
21273
|
} = util.props2auth(props);
|
|
21292
21274
|
vue.onMounted(() => {
|
|
21293
21275
|
});
|
|
@@ -21317,8 +21299,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21317
21299
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
21318
21300
|
key: 0,
|
|
21319
21301
|
label: props.label,
|
|
21320
|
-
required: vue.unref(
|
|
21321
|
-
rules:
|
|
21302
|
+
required: vue.unref(isRequired2),
|
|
21303
|
+
rules: vue.unref(rules),
|
|
21322
21304
|
disabled: vue.unref(isDisabled),
|
|
21323
21305
|
placeholder: props.placeholder,
|
|
21324
21306
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -21347,7 +21329,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21347
21329
|
};
|
|
21348
21330
|
}
|
|
21349
21331
|
};
|
|
21350
|
-
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
21332
|
+
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-dc690a10"]]);
|
|
21351
21333
|
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")();
|
|
21352
21334
|
const _hoisted_1$7 = {
|
|
21353
21335
|
class: "widget"
|
|
@@ -21726,7 +21708,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21726
21708
|
};
|
|
21727
21709
|
}
|
|
21728
21710
|
};
|
|
21729
|
-
var Switch_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
21711
|
+
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}")();
|
|
21730
21712
|
const _sfc_main$7 = {
|
|
21731
21713
|
__name: "Switch",
|
|
21732
21714
|
props: {
|
|
@@ -21762,10 +21744,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21762
21744
|
const props = __props;
|
|
21763
21745
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21764
21746
|
const {
|
|
21765
|
-
isRequired,
|
|
21747
|
+
isRequired: isRequired2,
|
|
21766
21748
|
isReadonly,
|
|
21767
21749
|
isGone,
|
|
21768
|
-
isDisabled
|
|
21750
|
+
isDisabled,
|
|
21751
|
+
rules
|
|
21769
21752
|
} = util.props2auth(props);
|
|
21770
21753
|
vue.onMounted(() => {
|
|
21771
21754
|
});
|
|
@@ -21782,7 +21765,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21782
21765
|
key: 0,
|
|
21783
21766
|
label: props.label,
|
|
21784
21767
|
disabled: vue.unref(isDisabled),
|
|
21785
|
-
required: vue.unref(
|
|
21768
|
+
required: vue.unref(isRequired2),
|
|
21786
21769
|
placeholder: props.placeholder
|
|
21787
21770
|
}, {
|
|
21788
21771
|
input: vue.withCtx(() => [vue.createVNode(_component_van_switch, {
|
|
@@ -21795,8 +21778,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21795
21778
|
};
|
|
21796
21779
|
}
|
|
21797
21780
|
};
|
|
21798
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
21799
|
-
var Sheet_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".item-box[data-v-
|
|
21781
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-4a880d9e"]]);
|
|
21782
|
+
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}")();
|
|
21800
21783
|
const _hoisted_1$5 = {
|
|
21801
21784
|
key: 0,
|
|
21802
21785
|
class: "actionbar"
|
|
@@ -21840,10 +21823,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21840
21823
|
const props = __props;
|
|
21841
21824
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21842
21825
|
const {
|
|
21843
|
-
isRequired,
|
|
21826
|
+
isRequired: isRequired2,
|
|
21844
21827
|
isReadonly,
|
|
21845
21828
|
isGone,
|
|
21846
|
-
isDisabled
|
|
21829
|
+
isDisabled,
|
|
21830
|
+
rules
|
|
21847
21831
|
} = util.props2auth(props);
|
|
21848
21832
|
vue.onMounted(() => {
|
|
21849
21833
|
});
|
|
@@ -21866,7 +21850,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21866
21850
|
key: 0,
|
|
21867
21851
|
label: props.label,
|
|
21868
21852
|
disabled: vue.unref(isDisabled),
|
|
21869
|
-
required: vue.unref(
|
|
21853
|
+
required: vue.unref(isRequired2),
|
|
21854
|
+
rules: vue.unref(rules),
|
|
21870
21855
|
placeholder: props.placeholder
|
|
21871
21856
|
}, {
|
|
21872
21857
|
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, {
|
|
@@ -21894,11 +21879,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21894
21879
|
}, null, 8, ["onClick"])])) : vue.createCommentVNode("", true)]);
|
|
21895
21880
|
}), 128))]),
|
|
21896
21881
|
_: 3
|
|
21897
|
-
}, 8, ["label", "disabled", "required", "placeholder"])) : vue.createCommentVNode("", true);
|
|
21882
|
+
}, 8, ["label", "disabled", "required", "rules", "placeholder"])) : vue.createCommentVNode("", true);
|
|
21898
21883
|
};
|
|
21899
21884
|
}
|
|
21900
21885
|
};
|
|
21901
|
-
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
21886
|
+
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5378e9da"]]);
|
|
21902
21887
|
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")();
|
|
21903
21888
|
const _sfc_main$5 = {
|
|
21904
21889
|
__name: "TreePop",
|
|
@@ -21950,7 +21935,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21950
21935
|
}
|
|
21951
21936
|
};
|
|
21952
21937
|
var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-571370f8"]]);
|
|
21953
|
-
var TreePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.select-item[data-v-
|
|
21938
|
+
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")();
|
|
21954
21939
|
const _hoisted_1$4 = {
|
|
21955
21940
|
class: "select-list"
|
|
21956
21941
|
};
|
|
@@ -22004,10 +21989,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22004
21989
|
});
|
|
22005
21990
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22006
21991
|
const {
|
|
22007
|
-
isRequired,
|
|
21992
|
+
isRequired: isRequired2,
|
|
22008
21993
|
isReadonly,
|
|
22009
21994
|
isGone,
|
|
22010
|
-
isDisabled
|
|
21995
|
+
isDisabled,
|
|
21996
|
+
rules
|
|
22011
21997
|
} = util.props2auth(props);
|
|
22012
21998
|
vue.onMounted(() => __async(this, null, function* () {
|
|
22013
21999
|
yield query();
|
|
@@ -22040,8 +22026,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22040
22026
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
22041
22027
|
key: 0,
|
|
22042
22028
|
label: props.label,
|
|
22043
|
-
required: vue.unref(
|
|
22044
|
-
rules:
|
|
22029
|
+
required: vue.unref(isRequired2),
|
|
22030
|
+
rules: vue.unref(rules),
|
|
22045
22031
|
disabled: vue.unref(isDisabled),
|
|
22046
22032
|
placeholder: props.placeholder,
|
|
22047
22033
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -22072,7 +22058,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22072
22058
|
};
|
|
22073
22059
|
}
|
|
22074
22060
|
};
|
|
22075
|
-
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
22061
|
+
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-2b9af465"]]);
|
|
22076
22062
|
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")();
|
|
22077
22063
|
const _hoisted_1$3 = {
|
|
22078
22064
|
class: "cascader-selector"
|
|
@@ -22412,10 +22398,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22412
22398
|
});
|
|
22413
22399
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22414
22400
|
const {
|
|
22415
|
-
isRequired,
|
|
22401
|
+
isRequired: isRequired2,
|
|
22416
22402
|
isReadonly,
|
|
22417
22403
|
isGone,
|
|
22418
|
-
isDisabled
|
|
22404
|
+
isDisabled,
|
|
22405
|
+
rules
|
|
22419
22406
|
} = util.props2auth(props);
|
|
22420
22407
|
vue.onMounted(() => {
|
|
22421
22408
|
});
|
|
@@ -22470,8 +22457,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22470
22457
|
key: 0,
|
|
22471
22458
|
label: props.label,
|
|
22472
22459
|
readonly: "",
|
|
22473
|
-
required: vue.unref(
|
|
22474
|
-
rules:
|
|
22460
|
+
required: vue.unref(isRequired2),
|
|
22461
|
+
rules: vue.unref(rules),
|
|
22475
22462
|
disabled: vue.unref(isDisabled),
|
|
22476
22463
|
placeholder: props.placeholder,
|
|
22477
22464
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -22524,7 +22511,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22524
22511
|
};
|
|
22525
22512
|
}
|
|
22526
22513
|
};
|
|
22527
|
-
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-
|
|
22514
|
+
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}')();
|
|
22528
22515
|
const _hoisted_1$1 = {
|
|
22529
22516
|
class: "widget"
|
|
22530
22517
|
};
|
|
@@ -22563,10 +22550,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22563
22550
|
const props = __props;
|
|
22564
22551
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22565
22552
|
const {
|
|
22566
|
-
isRequired,
|
|
22553
|
+
isRequired: isRequired2,
|
|
22567
22554
|
isReadonly,
|
|
22568
22555
|
isGone,
|
|
22569
|
-
isDisabled
|
|
22556
|
+
isDisabled,
|
|
22557
|
+
rules
|
|
22570
22558
|
} = util.props2auth(props);
|
|
22571
22559
|
const data2 = vue.reactive({
|
|
22572
22560
|
isShow: false
|
|
@@ -22605,11 +22593,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22605
22593
|
"is-link": !vue.unref(isReadonly) && !vue.unref(isDisabled),
|
|
22606
22594
|
label: props.label,
|
|
22607
22595
|
placeholder: props.placeholder,
|
|
22596
|
+
rules: vue.unref(rules),
|
|
22608
22597
|
readonly: "",
|
|
22609
|
-
required: vue.unref(
|
|
22598
|
+
required: vue.unref(isRequired2),
|
|
22610
22599
|
disabled: vue.unref(isDisabled),
|
|
22611
22600
|
onClick: onShow
|
|
22612
|
-
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "required", "disabled"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
22601
|
+
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "rules", "required", "disabled"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
22613
22602
|
show: data2.isShow,
|
|
22614
22603
|
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
|
|
22615
22604
|
"destroy-on-close": "",
|
|
@@ -22626,8 +22615,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22626
22615
|
};
|
|
22627
22616
|
}
|
|
22628
22617
|
};
|
|
22629
|
-
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
22630
|
-
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-
|
|
22618
|
+
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-40920255"]]);
|
|
22619
|
+
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}")();
|
|
22631
22620
|
const _hoisted_1 = {
|
|
22632
22621
|
class: "widget-box"
|
|
22633
22622
|
};
|
|
@@ -22710,10 +22699,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22710
22699
|
const props = __props;
|
|
22711
22700
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22712
22701
|
const {
|
|
22713
|
-
isRequired,
|
|
22702
|
+
isRequired: isRequired2,
|
|
22714
22703
|
isReadonly,
|
|
22715
22704
|
isGone,
|
|
22716
|
-
isDisabled
|
|
22705
|
+
isDisabled,
|
|
22706
|
+
rules
|
|
22717
22707
|
} = util.props2auth(props);
|
|
22718
22708
|
const data2 = vue.reactive({
|
|
22719
22709
|
inputValue: {},
|
|
@@ -22852,8 +22842,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22852
22842
|
key: 0,
|
|
22853
22843
|
label: props.label,
|
|
22854
22844
|
disabled: vue.unref(isDisabled),
|
|
22855
|
-
required: vue.unref(
|
|
22856
|
-
placeholder: props.placeholder
|
|
22845
|
+
required: vue.unref(isRequired2),
|
|
22846
|
+
placeholder: props.placeholder,
|
|
22847
|
+
rules: vue.unref(rules)
|
|
22857
22848
|
}, {
|
|
22858
22849
|
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(modelValue), (item, index) => {
|
|
22859
22850
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -22979,11 +22970,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22979
22970
|
onClick: onNewOption
|
|
22980
22971
|
})) : vue.createCommentVNode("", true)])]),
|
|
22981
22972
|
_: 1
|
|
22982
|
-
}, 8, ["label", "disabled", "required", "placeholder"])) : vue.createCommentVNode("", true);
|
|
22973
|
+
}, 8, ["label", "disabled", "required", "placeholder", "rules"])) : vue.createCommentVNode("", true);
|
|
22983
22974
|
};
|
|
22984
22975
|
}
|
|
22985
22976
|
};
|
|
22986
|
-
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
22977
|
+
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4fc60b92"]]);
|
|
22987
22978
|
const secret_notify = () => {
|
|
22988
22979
|
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 });
|
|
22989
22980
|
};
|