widget.qw 1.0.89 → 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 +93 -93
- package/build/widget.qw.es.js +146 -120
- package/build/widget.qw.umd.js +146 -120
- 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/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/util/auth_util.js +23 -15
- package/src/views/dataSelector/index.vue +17 -5
package/build/widget.qw.umd.js
CHANGED
|
@@ -3069,7 +3069,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3069
3069
|
return false;
|
|
3070
3070
|
}),
|
|
3071
3071
|
rules: vue.computed(() => {
|
|
3072
|
-
|
|
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` }];
|
|
3073
3078
|
})
|
|
3074
3079
|
};
|
|
3075
3080
|
};
|
|
@@ -17616,7 +17621,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17616
17621
|
});
|
|
17617
17622
|
}
|
|
17618
17623
|
}
|
|
17619
|
-
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}")();
|
|
17620
17625
|
const _sfc_main$v = {
|
|
17621
17626
|
__name: "Input",
|
|
17622
17627
|
props: {
|
|
@@ -17672,10 +17677,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17672
17677
|
const props = __props;
|
|
17673
17678
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
17674
17679
|
const {
|
|
17675
|
-
isRequired,
|
|
17680
|
+
isRequired: isRequired2,
|
|
17676
17681
|
isReadonly,
|
|
17677
17682
|
isGone,
|
|
17678
|
-
isDisabled
|
|
17683
|
+
isDisabled,
|
|
17684
|
+
rules
|
|
17679
17685
|
} = util.props2auth(props);
|
|
17680
17686
|
vue.onMounted(() => {
|
|
17681
17687
|
});
|
|
@@ -17690,30 +17696,30 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17690
17696
|
number: true
|
|
17691
17697
|
},
|
|
17692
17698
|
disabled: vue.unref(isDisabled),
|
|
17693
|
-
required: vue.unref(
|
|
17699
|
+
required: vue.unref(isRequired2),
|
|
17694
17700
|
placeholder: props.placeholder,
|
|
17695
17701
|
type: props.type,
|
|
17696
17702
|
rows: props.rows,
|
|
17697
17703
|
autosize: props.autosize,
|
|
17698
|
-
rules:
|
|
17704
|
+
rules: vue.unref(rules)
|
|
17699
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, {
|
|
17700
17706
|
key: 1,
|
|
17701
17707
|
label: props.label,
|
|
17702
17708
|
modelValue: vue.unref(modelValue),
|
|
17703
17709
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
|
|
17704
17710
|
disabled: vue.unref(isDisabled),
|
|
17705
|
-
required: vue.unref(
|
|
17711
|
+
required: vue.unref(isRequired2),
|
|
17706
17712
|
placeholder: props.placeholder,
|
|
17707
17713
|
type: props.type,
|
|
17708
17714
|
rows: props.rows,
|
|
17709
17715
|
autosize: props.autosize,
|
|
17710
|
-
rules:
|
|
17716
|
+
rules: vue.unref(rules)
|
|
17711
17717
|
}, null, 8, ["label", "modelValue", "disabled", "required", "placeholder", "type", "rows", "autosize", "rules"])) : vue.createCommentVNode("", true)], 64);
|
|
17712
17718
|
};
|
|
17713
17719
|
}
|
|
17714
17720
|
};
|
|
17715
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
17716
|
-
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}")();
|
|
17717
17723
|
const _sfc_main$u = {
|
|
17718
17724
|
__name: "SinglePicker",
|
|
17719
17725
|
props: {
|
|
@@ -17758,7 +17764,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17758
17764
|
return ary;
|
|
17759
17765
|
});
|
|
17760
17766
|
const {
|
|
17761
|
-
isRequired,
|
|
17767
|
+
isRequired: isRequired2,
|
|
17762
17768
|
isGone,
|
|
17763
17769
|
isDisabled,
|
|
17764
17770
|
isReadonly
|
|
@@ -17813,8 +17819,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17813
17819
|
"label-class": "label",
|
|
17814
17820
|
placeholder: props.placeholder,
|
|
17815
17821
|
onClickInput: onClick,
|
|
17816
|
-
required: vue.unref(
|
|
17817
|
-
rules:
|
|
17822
|
+
required: vue.unref(isRequired2),
|
|
17823
|
+
rules: __props.rules
|
|
17818
17824
|
}, null, 8, ["modelValue", "is-link", "disabled", "label", "placeholder", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
17819
17825
|
show: isShowPicker.value,
|
|
17820
17826
|
"onUpdate:show": _cache[2] || (_cache[2] = ($event) => isShowPicker.value = $event),
|
|
@@ -17830,7 +17836,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17830
17836
|
};
|
|
17831
17837
|
}
|
|
17832
17838
|
};
|
|
17833
|
-
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
17839
|
+
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3ae83b36"]]);
|
|
17834
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")();
|
|
17835
17841
|
const _hoisted_1$j = {
|
|
17836
17842
|
class: "select-all-container"
|
|
@@ -17921,7 +17927,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17921
17927
|
}
|
|
17922
17928
|
};
|
|
17923
17929
|
var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-10d79413"]]);
|
|
17924
|
-
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")();
|
|
17925
17931
|
const _hoisted_1$i = {
|
|
17926
17932
|
class: "data-list"
|
|
17927
17933
|
};
|
|
@@ -17962,10 +17968,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17962
17968
|
}) {
|
|
17963
17969
|
const props = __props;
|
|
17964
17970
|
const {
|
|
17965
|
-
isRequired,
|
|
17971
|
+
isRequired: isRequired2,
|
|
17966
17972
|
isReadonly,
|
|
17967
17973
|
isGone,
|
|
17968
|
-
isDisabled
|
|
17974
|
+
isDisabled,
|
|
17975
|
+
rules
|
|
17969
17976
|
} = util.props2auth(props);
|
|
17970
17977
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
17971
17978
|
const data2 = vue.reactive({
|
|
@@ -18027,8 +18034,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18027
18034
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
18028
18035
|
key: 0,
|
|
18029
18036
|
label: props.label,
|
|
18030
|
-
required: vue.unref(
|
|
18031
|
-
rules:
|
|
18037
|
+
required: vue.unref(isRequired2),
|
|
18038
|
+
rules: vue.unref(rules),
|
|
18032
18039
|
disabled: vue.unref(isDisabled),
|
|
18033
18040
|
placeholder: props.placeholder,
|
|
18034
18041
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -18061,8 +18068,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18061
18068
|
};
|
|
18062
18069
|
}
|
|
18063
18070
|
};
|
|
18064
|
-
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
18065
|
-
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}")();
|
|
18066
18073
|
const _sfc_main$r = {
|
|
18067
18074
|
__name: "CheckGroup",
|
|
18068
18075
|
props: {
|
|
@@ -18102,10 +18109,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18102
18109
|
const props = __props;
|
|
18103
18110
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18104
18111
|
const {
|
|
18105
|
-
isRequired,
|
|
18112
|
+
isRequired: isRequired2,
|
|
18106
18113
|
isReadonly,
|
|
18107
18114
|
isGone,
|
|
18108
|
-
isDisabled
|
|
18115
|
+
isDisabled,
|
|
18116
|
+
rules
|
|
18109
18117
|
} = util.props2auth(props);
|
|
18110
18118
|
const options = vue.ref([]);
|
|
18111
18119
|
const totalOptions = vue.computed(() => {
|
|
@@ -18158,8 +18166,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18158
18166
|
return !vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
18159
18167
|
key: 0,
|
|
18160
18168
|
label: props.label,
|
|
18161
|
-
required: vue.unref(
|
|
18162
|
-
rules:
|
|
18169
|
+
required: vue.unref(isRequired2),
|
|
18170
|
+
rules: vue.unref(rules)
|
|
18163
18171
|
}, {
|
|
18164
18172
|
input: vue.withCtx(() => [vue.createVNode(_component_van_checkbox_group, {
|
|
18165
18173
|
modelValue: vue.unref(modelValue),
|
|
@@ -18187,7 +18195,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18187
18195
|
};
|
|
18188
18196
|
}
|
|
18189
18197
|
};
|
|
18190
|
-
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
18198
|
+
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7f872a31"]]);
|
|
18191
18199
|
const _sfc_main$q = {
|
|
18192
18200
|
__name: "DatetimePop",
|
|
18193
18201
|
props: {
|
|
@@ -18527,10 +18535,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18527
18535
|
isShow: false
|
|
18528
18536
|
});
|
|
18529
18537
|
const {
|
|
18530
|
-
isRequired,
|
|
18538
|
+
isRequired: isRequired2,
|
|
18531
18539
|
isReadonly,
|
|
18532
18540
|
isGone,
|
|
18533
|
-
isDisabled
|
|
18541
|
+
isDisabled,
|
|
18542
|
+
rules
|
|
18534
18543
|
} = util.props2auth(props);
|
|
18535
18544
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18536
18545
|
const formatTime = vue.computed({
|
|
@@ -18574,8 +18583,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18574
18583
|
readonly: vue.unref(isReadonly),
|
|
18575
18584
|
clearable: "",
|
|
18576
18585
|
placeholder: props.placeholder,
|
|
18577
|
-
required: vue.unref(
|
|
18578
|
-
rules:
|
|
18586
|
+
required: vue.unref(isRequired2),
|
|
18587
|
+
rules: vue.unref(rules),
|
|
18579
18588
|
"right-icon": vue.unref(rightIcon),
|
|
18580
18589
|
onClickRightIcon: onToggleShow
|
|
18581
18590
|
}, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules", "right-icon"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$q, {
|
|
@@ -18653,7 +18662,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18653
18662
|
};
|
|
18654
18663
|
}
|
|
18655
18664
|
};
|
|
18656
|
-
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")();
|
|
18657
18666
|
const _hoisted_1$h = {
|
|
18658
18667
|
class: "pad10 flex-between showMultipleButton"
|
|
18659
18668
|
};
|
|
@@ -18716,10 +18725,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18716
18725
|
}) {
|
|
18717
18726
|
const props = __props;
|
|
18718
18727
|
const {
|
|
18719
|
-
isRequired,
|
|
18728
|
+
isRequired: isRequired2,
|
|
18720
18729
|
isReadonly,
|
|
18721
18730
|
isGone,
|
|
18722
|
-
isDisabled
|
|
18731
|
+
isDisabled,
|
|
18732
|
+
rules
|
|
18723
18733
|
} = util.props2auth(props);
|
|
18724
18734
|
const rightIcon = vue.computed(() => {
|
|
18725
18735
|
if (isReadonly.value || isDisabled.value)
|
|
@@ -18874,14 +18884,14 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18874
18884
|
autosize: "",
|
|
18875
18885
|
modelValue: vue.unref(selectdItemsLabel),
|
|
18876
18886
|
clearable: "",
|
|
18877
|
-
required: vue.unref(
|
|
18887
|
+
required: vue.unref(isRequired2),
|
|
18878
18888
|
label: __props.label,
|
|
18879
18889
|
name: __props.name
|
|
18880
18890
|
}, _ctx.$attrs, {
|
|
18881
18891
|
onClickRightIcon: showPopup,
|
|
18882
18892
|
onClear,
|
|
18883
18893
|
"right-icon": vue.unref(rightIcon),
|
|
18884
|
-
rules:
|
|
18894
|
+
rules: vue.unref(rules),
|
|
18885
18895
|
class: {
|
|
18886
18896
|
"disabled-field": vue.unref(isReadonly)
|
|
18887
18897
|
}
|
|
@@ -18979,7 +18989,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18979
18989
|
};
|
|
18980
18990
|
}
|
|
18981
18991
|
};
|
|
18982
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
18992
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0845ea7c"]]);
|
|
18983
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")();
|
|
18984
18994
|
const _hoisted_1$g = {
|
|
18985
18995
|
key: 0,
|
|
@@ -19054,7 +19064,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19054
19064
|
}
|
|
19055
19065
|
};
|
|
19056
19066
|
var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-40a09897"]]);
|
|
19057
|
-
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")();
|
|
19058
19068
|
const _hoisted_1$f = {
|
|
19059
19069
|
class: "department-selector"
|
|
19060
19070
|
};
|
|
@@ -19125,7 +19135,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19125
19135
|
}) {
|
|
19126
19136
|
const props = __props;
|
|
19127
19137
|
const {
|
|
19128
|
-
isRequired,
|
|
19138
|
+
isRequired: isRequired2,
|
|
19129
19139
|
isGone,
|
|
19130
19140
|
isDisabled,
|
|
19131
19141
|
isReadonly
|
|
@@ -19334,8 +19344,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19334
19344
|
placeholder: props.placeholder,
|
|
19335
19345
|
onClick: onShow,
|
|
19336
19346
|
"right-icon": vue.unref(isReadonly) ? "" : "arrow",
|
|
19337
|
-
required: vue.unref(
|
|
19338
|
-
rules:
|
|
19347
|
+
required: vue.unref(isRequired2),
|
|
19348
|
+
rules: __props.rules,
|
|
19339
19349
|
type: "textarea",
|
|
19340
19350
|
autosize: "true",
|
|
19341
19351
|
rows: "1"
|
|
@@ -19413,8 +19423,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19413
19423
|
};
|
|
19414
19424
|
}
|
|
19415
19425
|
};
|
|
19416
|
-
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
19417
|
-
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")();
|
|
19418
19428
|
const _hoisted_1$e = {
|
|
19419
19429
|
class: "user-selector"
|
|
19420
19430
|
};
|
|
@@ -19487,10 +19497,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19487
19497
|
}) {
|
|
19488
19498
|
const props = __props;
|
|
19489
19499
|
const {
|
|
19490
|
-
isRequired,
|
|
19500
|
+
isRequired: isRequired2,
|
|
19491
19501
|
isReadonly,
|
|
19492
19502
|
isGone,
|
|
19493
|
-
isDisabled
|
|
19503
|
+
isDisabled,
|
|
19504
|
+
rules
|
|
19494
19505
|
} = util.props2auth(props);
|
|
19495
19506
|
const userData = vue.ref({
|
|
19496
19507
|
users: [],
|
|
@@ -19810,7 +19821,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19810
19821
|
onClick: _cache[0] || (_cache[0] = ($event) => showPicker.value = !props.readonly),
|
|
19811
19822
|
"right-icon": props.readonly ? "" : "arrow",
|
|
19812
19823
|
required: props.required,
|
|
19813
|
-
rules:
|
|
19824
|
+
rules: vue.unref(rules)
|
|
19814
19825
|
}, null, 8, ["model-value", "label", "placeholder", "right-icon", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
19815
19826
|
show: showPicker.value,
|
|
19816
19827
|
"onUpdate:show": _cache[6] || (_cache[6] = ($event) => showPicker.value = $event),
|
|
@@ -19941,8 +19952,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19941
19952
|
};
|
|
19942
19953
|
}
|
|
19943
19954
|
};
|
|
19944
|
-
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
19945
|
-
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}")();
|
|
19946
19957
|
const _hoisted_1$d = {
|
|
19947
19958
|
class: "image-box"
|
|
19948
19959
|
};
|
|
@@ -19993,10 +20004,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19993
20004
|
const props = __props;
|
|
19994
20005
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
19995
20006
|
const {
|
|
19996
|
-
isRequired,
|
|
20007
|
+
isRequired: isRequired2,
|
|
19997
20008
|
isReadonly,
|
|
19998
20009
|
isGone,
|
|
19999
|
-
isDisabled
|
|
20010
|
+
isDisabled,
|
|
20011
|
+
rules
|
|
20000
20012
|
} = util.props2auth(props);
|
|
20001
20013
|
const files = vue.ref([]);
|
|
20002
20014
|
vue.onMounted(() => {
|
|
@@ -20037,8 +20049,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20037
20049
|
key: 0,
|
|
20038
20050
|
name: "image",
|
|
20039
20051
|
label: props.label,
|
|
20040
|
-
required: vue.unref(
|
|
20041
|
-
rules:
|
|
20052
|
+
required: vue.unref(isRequired2),
|
|
20053
|
+
rules: vue.unref(rules),
|
|
20042
20054
|
"label-class": "label",
|
|
20043
20055
|
placeholder: props.placeholder
|
|
20044
20056
|
}, {
|
|
@@ -20071,8 +20083,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20071
20083
|
};
|
|
20072
20084
|
}
|
|
20073
20085
|
};
|
|
20074
|
-
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
20075
|
-
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}")();
|
|
20076
20088
|
const _hoisted_1$c = {
|
|
20077
20089
|
class: "image-box"
|
|
20078
20090
|
};
|
|
@@ -20132,10 +20144,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20132
20144
|
const props = __props;
|
|
20133
20145
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20134
20146
|
const {
|
|
20135
|
-
isRequired,
|
|
20147
|
+
isRequired: isRequired2,
|
|
20136
20148
|
isReadonly,
|
|
20137
20149
|
isGone,
|
|
20138
|
-
isDisabled
|
|
20150
|
+
isDisabled,
|
|
20151
|
+
rules
|
|
20139
20152
|
} = util.props2auth(props);
|
|
20140
20153
|
const files = vue.ref([]);
|
|
20141
20154
|
const isPreviewMore = vue.ref(false);
|
|
@@ -20229,8 +20242,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20229
20242
|
return vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
20230
20243
|
name: "image",
|
|
20231
20244
|
label: props.label,
|
|
20232
|
-
required: vue.unref(
|
|
20233
|
-
rules:
|
|
20245
|
+
required: vue.unref(isRequired2),
|
|
20246
|
+
rules: vue.unref(rules),
|
|
20234
20247
|
"label-class": "label",
|
|
20235
20248
|
placeholder: props.placeholder
|
|
20236
20249
|
}, {
|
|
@@ -20243,7 +20256,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20243
20256
|
capture: props.capture,
|
|
20244
20257
|
accept: "image/jpeg,image/png",
|
|
20245
20258
|
disabled: vue.unref(isDisabled),
|
|
20246
|
-
deletable: !vue.unref(
|
|
20259
|
+
deletable: !vue.unref(isRequired2) && !vue.unref(isDisabled),
|
|
20247
20260
|
afterRead: onAfterRead,
|
|
20248
20261
|
"before-delete": onBeforeDelete,
|
|
20249
20262
|
"show-upload": !vue.unref(isReadonly)
|
|
@@ -20278,8 +20291,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20278
20291
|
};
|
|
20279
20292
|
}
|
|
20280
20293
|
};
|
|
20281
|
-
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
20282
|
-
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}")();
|
|
20283
20296
|
const _hoisted_1$b = {
|
|
20284
20297
|
class: "file-box"
|
|
20285
20298
|
};
|
|
@@ -20334,10 +20347,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20334
20347
|
const props = __props;
|
|
20335
20348
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20336
20349
|
const {
|
|
20337
|
-
isRequired,
|
|
20350
|
+
isRequired: isRequired2,
|
|
20338
20351
|
isReadonly,
|
|
20339
20352
|
isGone,
|
|
20340
|
-
isDisabled
|
|
20353
|
+
isDisabled,
|
|
20354
|
+
rules
|
|
20341
20355
|
} = util.props2auth(props);
|
|
20342
20356
|
const files = vue.ref([]);
|
|
20343
20357
|
const maxCount = vue.computed(() => {
|
|
@@ -20418,8 +20432,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20418
20432
|
key: 0,
|
|
20419
20433
|
name: "image",
|
|
20420
20434
|
label: props.label,
|
|
20421
|
-
required: vue.unref(
|
|
20422
|
-
rules:
|
|
20435
|
+
required: vue.unref(isRequired2),
|
|
20436
|
+
rules: vue.unref(rules),
|
|
20423
20437
|
"label-class": "label",
|
|
20424
20438
|
placeholder: props.placeholder
|
|
20425
20439
|
}, {
|
|
@@ -20441,8 +20455,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20441
20455
|
};
|
|
20442
20456
|
}
|
|
20443
20457
|
};
|
|
20444
|
-
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
20445
|
-
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")();
|
|
20446
20460
|
const _hoisted_1$a = {
|
|
20447
20461
|
class: "department-selector"
|
|
20448
20462
|
};
|
|
@@ -20511,10 +20525,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20511
20525
|
const show = vue.ref(false);
|
|
20512
20526
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20513
20527
|
const {
|
|
20514
|
-
isRequired,
|
|
20528
|
+
isRequired: isRequired2,
|
|
20515
20529
|
isReadonly,
|
|
20516
20530
|
isGone,
|
|
20517
|
-
isDisabled
|
|
20531
|
+
isDisabled,
|
|
20532
|
+
rules
|
|
20518
20533
|
} = util.props2auth(props);
|
|
20519
20534
|
let departments = vue.ref([]);
|
|
20520
20535
|
let departmentFulls = vue.ref([]);
|
|
@@ -20720,8 +20735,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20720
20735
|
placeholder: props.placeholder,
|
|
20721
20736
|
onClick: _cache[0] || (_cache[0] = ($event) => show.value = !vue.unref(isReadonly)),
|
|
20722
20737
|
"model-value": selectedUserInfo.value,
|
|
20723
|
-
required: vue.unref(
|
|
20724
|
-
rules:
|
|
20738
|
+
required: vue.unref(isRequired2),
|
|
20739
|
+
rules: vue.unref(rules),
|
|
20725
20740
|
"input-align": "center"
|
|
20726
20741
|
}, null, 8, ["is-link", "label", "placeholder", "model-value", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
20727
20742
|
show: show.value,
|
|
@@ -20797,8 +20812,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20797
20812
|
};
|
|
20798
20813
|
}
|
|
20799
20814
|
};
|
|
20800
|
-
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
20801
|
-
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")();
|
|
20802
20817
|
const _hoisted_1$9 = {
|
|
20803
20818
|
class: "department-selector"
|
|
20804
20819
|
};
|
|
@@ -20940,7 +20955,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20940
20955
|
const res = yield util.wx_user_list({
|
|
20941
20956
|
keyword: data2.keyword,
|
|
20942
20957
|
page: 1,
|
|
20943
|
-
limit:
|
|
20958
|
+
limit: 10
|
|
20944
20959
|
});
|
|
20945
20960
|
data2.searchUsers = res.data.list;
|
|
20946
20961
|
});
|
|
@@ -21069,8 +21084,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21069
21084
|
};
|
|
21070
21085
|
}
|
|
21071
21086
|
};
|
|
21072
|
-
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
21073
|
-
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")();
|
|
21074
21089
|
const _hoisted_1$8 = {
|
|
21075
21090
|
class: "user-list"
|
|
21076
21091
|
};
|
|
@@ -21125,10 +21140,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21125
21140
|
});
|
|
21126
21141
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21127
21142
|
const {
|
|
21128
|
-
isRequired,
|
|
21143
|
+
isRequired: isRequired2,
|
|
21129
21144
|
isReadonly,
|
|
21130
21145
|
isGone,
|
|
21131
|
-
isDisabled
|
|
21146
|
+
isDisabled,
|
|
21147
|
+
rules
|
|
21132
21148
|
} = util.props2auth(props);
|
|
21133
21149
|
vue.onMounted(() => {
|
|
21134
21150
|
});
|
|
@@ -21164,8 +21180,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21164
21180
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
21165
21181
|
key: 0,
|
|
21166
21182
|
label: props.label,
|
|
21167
|
-
required: vue.unref(
|
|
21168
|
-
rules:
|
|
21183
|
+
required: vue.unref(isRequired2),
|
|
21184
|
+
rules: vue.unref(rules),
|
|
21169
21185
|
disabled: vue.unref(isDisabled),
|
|
21170
21186
|
placeholder: props.placeholder,
|
|
21171
21187
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -21196,8 +21212,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21196
21212
|
};
|
|
21197
21213
|
}
|
|
21198
21214
|
};
|
|
21199
|
-
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
21200
|
-
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")();
|
|
21201
21217
|
const _sfc_main$d = {
|
|
21202
21218
|
__name: "UserPicker",
|
|
21203
21219
|
props: {
|
|
@@ -21249,10 +21265,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21249
21265
|
});
|
|
21250
21266
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21251
21267
|
const {
|
|
21252
|
-
isRequired,
|
|
21268
|
+
isRequired: isRequired2,
|
|
21253
21269
|
isReadonly,
|
|
21254
21270
|
isGone,
|
|
21255
|
-
isDisabled
|
|
21271
|
+
isDisabled,
|
|
21272
|
+
rules
|
|
21256
21273
|
} = util.props2auth(props);
|
|
21257
21274
|
vue.onMounted(() => {
|
|
21258
21275
|
});
|
|
@@ -21282,8 +21299,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21282
21299
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
21283
21300
|
key: 0,
|
|
21284
21301
|
label: props.label,
|
|
21285
|
-
required: vue.unref(
|
|
21286
|
-
rules:
|
|
21302
|
+
required: vue.unref(isRequired2),
|
|
21303
|
+
rules: vue.unref(rules),
|
|
21287
21304
|
disabled: vue.unref(isDisabled),
|
|
21288
21305
|
placeholder: props.placeholder,
|
|
21289
21306
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -21312,7 +21329,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21312
21329
|
};
|
|
21313
21330
|
}
|
|
21314
21331
|
};
|
|
21315
|
-
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
21332
|
+
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-dc690a10"]]);
|
|
21316
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")();
|
|
21317
21334
|
const _hoisted_1$7 = {
|
|
21318
21335
|
class: "widget"
|
|
@@ -21691,7 +21708,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21691
21708
|
};
|
|
21692
21709
|
}
|
|
21693
21710
|
};
|
|
21694
|
-
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}")();
|
|
21695
21712
|
const _sfc_main$7 = {
|
|
21696
21713
|
__name: "Switch",
|
|
21697
21714
|
props: {
|
|
@@ -21727,10 +21744,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21727
21744
|
const props = __props;
|
|
21728
21745
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21729
21746
|
const {
|
|
21730
|
-
isRequired,
|
|
21747
|
+
isRequired: isRequired2,
|
|
21731
21748
|
isReadonly,
|
|
21732
21749
|
isGone,
|
|
21733
|
-
isDisabled
|
|
21750
|
+
isDisabled,
|
|
21751
|
+
rules
|
|
21734
21752
|
} = util.props2auth(props);
|
|
21735
21753
|
vue.onMounted(() => {
|
|
21736
21754
|
});
|
|
@@ -21747,7 +21765,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21747
21765
|
key: 0,
|
|
21748
21766
|
label: props.label,
|
|
21749
21767
|
disabled: vue.unref(isDisabled),
|
|
21750
|
-
required: vue.unref(
|
|
21768
|
+
required: vue.unref(isRequired2),
|
|
21751
21769
|
placeholder: props.placeholder
|
|
21752
21770
|
}, {
|
|
21753
21771
|
input: vue.withCtx(() => [vue.createVNode(_component_van_switch, {
|
|
@@ -21760,8 +21778,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21760
21778
|
};
|
|
21761
21779
|
}
|
|
21762
21780
|
};
|
|
21763
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
21764
|
-
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}")();
|
|
21765
21783
|
const _hoisted_1$5 = {
|
|
21766
21784
|
key: 0,
|
|
21767
21785
|
class: "actionbar"
|
|
@@ -21805,10 +21823,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21805
21823
|
const props = __props;
|
|
21806
21824
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21807
21825
|
const {
|
|
21808
|
-
isRequired,
|
|
21826
|
+
isRequired: isRequired2,
|
|
21809
21827
|
isReadonly,
|
|
21810
21828
|
isGone,
|
|
21811
|
-
isDisabled
|
|
21829
|
+
isDisabled,
|
|
21830
|
+
rules
|
|
21812
21831
|
} = util.props2auth(props);
|
|
21813
21832
|
vue.onMounted(() => {
|
|
21814
21833
|
});
|
|
@@ -21831,7 +21850,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21831
21850
|
key: 0,
|
|
21832
21851
|
label: props.label,
|
|
21833
21852
|
disabled: vue.unref(isDisabled),
|
|
21834
|
-
required: vue.unref(
|
|
21853
|
+
required: vue.unref(isRequired2),
|
|
21854
|
+
rules: vue.unref(rules),
|
|
21835
21855
|
placeholder: props.placeholder
|
|
21836
21856
|
}, {
|
|
21837
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, {
|
|
@@ -21859,11 +21879,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21859
21879
|
}, null, 8, ["onClick"])])) : vue.createCommentVNode("", true)]);
|
|
21860
21880
|
}), 128))]),
|
|
21861
21881
|
_: 3
|
|
21862
|
-
}, 8, ["label", "disabled", "required", "placeholder"])) : vue.createCommentVNode("", true);
|
|
21882
|
+
}, 8, ["label", "disabled", "required", "rules", "placeholder"])) : vue.createCommentVNode("", true);
|
|
21863
21883
|
};
|
|
21864
21884
|
}
|
|
21865
21885
|
};
|
|
21866
|
-
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
21886
|
+
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5378e9da"]]);
|
|
21867
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")();
|
|
21868
21888
|
const _sfc_main$5 = {
|
|
21869
21889
|
__name: "TreePop",
|
|
@@ -21915,7 +21935,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21915
21935
|
}
|
|
21916
21936
|
};
|
|
21917
21937
|
var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-571370f8"]]);
|
|
21918
|
-
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")();
|
|
21919
21939
|
const _hoisted_1$4 = {
|
|
21920
21940
|
class: "select-list"
|
|
21921
21941
|
};
|
|
@@ -21969,10 +21989,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21969
21989
|
});
|
|
21970
21990
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21971
21991
|
const {
|
|
21972
|
-
isRequired,
|
|
21992
|
+
isRequired: isRequired2,
|
|
21973
21993
|
isReadonly,
|
|
21974
21994
|
isGone,
|
|
21975
|
-
isDisabled
|
|
21995
|
+
isDisabled,
|
|
21996
|
+
rules
|
|
21976
21997
|
} = util.props2auth(props);
|
|
21977
21998
|
vue.onMounted(() => __async(this, null, function* () {
|
|
21978
21999
|
yield query();
|
|
@@ -22005,8 +22026,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22005
22026
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
22006
22027
|
key: 0,
|
|
22007
22028
|
label: props.label,
|
|
22008
|
-
required: vue.unref(
|
|
22009
|
-
rules:
|
|
22029
|
+
required: vue.unref(isRequired2),
|
|
22030
|
+
rules: vue.unref(rules),
|
|
22010
22031
|
disabled: vue.unref(isDisabled),
|
|
22011
22032
|
placeholder: props.placeholder,
|
|
22012
22033
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -22037,7 +22058,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22037
22058
|
};
|
|
22038
22059
|
}
|
|
22039
22060
|
};
|
|
22040
|
-
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
22061
|
+
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-2b9af465"]]);
|
|
22041
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")();
|
|
22042
22063
|
const _hoisted_1$3 = {
|
|
22043
22064
|
class: "cascader-selector"
|
|
@@ -22377,10 +22398,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22377
22398
|
});
|
|
22378
22399
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22379
22400
|
const {
|
|
22380
|
-
isRequired,
|
|
22401
|
+
isRequired: isRequired2,
|
|
22381
22402
|
isReadonly,
|
|
22382
22403
|
isGone,
|
|
22383
|
-
isDisabled
|
|
22404
|
+
isDisabled,
|
|
22405
|
+
rules
|
|
22384
22406
|
} = util.props2auth(props);
|
|
22385
22407
|
vue.onMounted(() => {
|
|
22386
22408
|
});
|
|
@@ -22435,8 +22457,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22435
22457
|
key: 0,
|
|
22436
22458
|
label: props.label,
|
|
22437
22459
|
readonly: "",
|
|
22438
|
-
required: vue.unref(
|
|
22439
|
-
rules:
|
|
22460
|
+
required: vue.unref(isRequired2),
|
|
22461
|
+
rules: vue.unref(rules),
|
|
22440
22462
|
disabled: vue.unref(isDisabled),
|
|
22441
22463
|
placeholder: props.placeholder,
|
|
22442
22464
|
"is-link": vue.unref(isReadonly) ? false : true,
|
|
@@ -22489,7 +22511,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22489
22511
|
};
|
|
22490
22512
|
}
|
|
22491
22513
|
};
|
|
22492
|
-
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}')();
|
|
22493
22515
|
const _hoisted_1$1 = {
|
|
22494
22516
|
class: "widget"
|
|
22495
22517
|
};
|
|
@@ -22528,10 +22550,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22528
22550
|
const props = __props;
|
|
22529
22551
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22530
22552
|
const {
|
|
22531
|
-
isRequired,
|
|
22553
|
+
isRequired: isRequired2,
|
|
22532
22554
|
isReadonly,
|
|
22533
22555
|
isGone,
|
|
22534
|
-
isDisabled
|
|
22556
|
+
isDisabled,
|
|
22557
|
+
rules
|
|
22535
22558
|
} = util.props2auth(props);
|
|
22536
22559
|
const data2 = vue.reactive({
|
|
22537
22560
|
isShow: false
|
|
@@ -22570,11 +22593,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22570
22593
|
"is-link": !vue.unref(isReadonly) && !vue.unref(isDisabled),
|
|
22571
22594
|
label: props.label,
|
|
22572
22595
|
placeholder: props.placeholder,
|
|
22596
|
+
rules: vue.unref(rules),
|
|
22573
22597
|
readonly: "",
|
|
22574
|
-
required: vue.unref(
|
|
22598
|
+
required: vue.unref(isRequired2),
|
|
22575
22599
|
disabled: vue.unref(isDisabled),
|
|
22576
22600
|
onClick: onShow
|
|
22577
|
-
}, 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, {
|
|
22578
22602
|
show: data2.isShow,
|
|
22579
22603
|
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
|
|
22580
22604
|
"destroy-on-close": "",
|
|
@@ -22591,8 +22615,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22591
22615
|
};
|
|
22592
22616
|
}
|
|
22593
22617
|
};
|
|
22594
|
-
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
22595
|
-
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}")();
|
|
22596
22620
|
const _hoisted_1 = {
|
|
22597
22621
|
class: "widget-box"
|
|
22598
22622
|
};
|
|
@@ -22675,10 +22699,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22675
22699
|
const props = __props;
|
|
22676
22700
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22677
22701
|
const {
|
|
22678
|
-
isRequired,
|
|
22702
|
+
isRequired: isRequired2,
|
|
22679
22703
|
isReadonly,
|
|
22680
22704
|
isGone,
|
|
22681
|
-
isDisabled
|
|
22705
|
+
isDisabled,
|
|
22706
|
+
rules
|
|
22682
22707
|
} = util.props2auth(props);
|
|
22683
22708
|
const data2 = vue.reactive({
|
|
22684
22709
|
inputValue: {},
|
|
@@ -22817,8 +22842,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22817
22842
|
key: 0,
|
|
22818
22843
|
label: props.label,
|
|
22819
22844
|
disabled: vue.unref(isDisabled),
|
|
22820
|
-
required: vue.unref(
|
|
22821
|
-
placeholder: props.placeholder
|
|
22845
|
+
required: vue.unref(isRequired2),
|
|
22846
|
+
placeholder: props.placeholder,
|
|
22847
|
+
rules: vue.unref(rules)
|
|
22822
22848
|
}, {
|
|
22823
22849
|
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(modelValue), (item, index) => {
|
|
22824
22850
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -22944,11 +22970,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22944
22970
|
onClick: onNewOption
|
|
22945
22971
|
})) : vue.createCommentVNode("", true)])]),
|
|
22946
22972
|
_: 1
|
|
22947
|
-
}, 8, ["label", "disabled", "required", "placeholder"])) : vue.createCommentVNode("", true);
|
|
22973
|
+
}, 8, ["label", "disabled", "required", "placeholder", "rules"])) : vue.createCommentVNode("", true);
|
|
22948
22974
|
};
|
|
22949
22975
|
}
|
|
22950
22976
|
};
|
|
22951
|
-
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
22977
|
+
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4fc60b92"]]);
|
|
22952
22978
|
const secret_notify = () => {
|
|
22953
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 });
|
|
22954
22980
|
};
|