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.es.js
CHANGED
|
@@ -3066,7 +3066,12 @@ const props2auth = (props) => {
|
|
|
3066
3066
|
return false;
|
|
3067
3067
|
}),
|
|
3068
3068
|
rules: computed(() => {
|
|
3069
|
-
|
|
3069
|
+
if ((props.rules || []).length > 0)
|
|
3070
|
+
return [];
|
|
3071
|
+
if (!props.label)
|
|
3072
|
+
return [];
|
|
3073
|
+
if (isRequired.value)
|
|
3074
|
+
return [{ required: true, message: `${props.label}\u4E3A\u7A7A` }];
|
|
3070
3075
|
})
|
|
3071
3076
|
};
|
|
3072
3077
|
};
|
|
@@ -17613,7 +17618,7 @@ function useVModel(props, key, emit, options = {}) {
|
|
|
17613
17618
|
});
|
|
17614
17619
|
}
|
|
17615
17620
|
}
|
|
17616
|
-
var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
17621
|
+
var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-390eeba0] .label {\n color: #000 !important;\n}\n[data-v-390eeba0] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
17617
17622
|
const _sfc_main$v = {
|
|
17618
17623
|
__name: "Input",
|
|
17619
17624
|
props: {
|
|
@@ -17669,10 +17674,11 @@ const _sfc_main$v = {
|
|
|
17669
17674
|
const props = __props;
|
|
17670
17675
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
17671
17676
|
const {
|
|
17672
|
-
isRequired,
|
|
17677
|
+
isRequired: isRequired2,
|
|
17673
17678
|
isReadonly,
|
|
17674
17679
|
isGone,
|
|
17675
|
-
isDisabled
|
|
17680
|
+
isDisabled,
|
|
17681
|
+
rules
|
|
17676
17682
|
} = util.props2auth(props);
|
|
17677
17683
|
onMounted(() => {
|
|
17678
17684
|
});
|
|
@@ -17687,30 +17693,30 @@ const _sfc_main$v = {
|
|
|
17687
17693
|
number: true
|
|
17688
17694
|
},
|
|
17689
17695
|
disabled: unref(isDisabled),
|
|
17690
|
-
required: unref(
|
|
17696
|
+
required: unref(isRequired2),
|
|
17691
17697
|
placeholder: props.placeholder,
|
|
17692
17698
|
type: props.type,
|
|
17693
17699
|
rows: props.rows,
|
|
17694
17700
|
autosize: props.autosize,
|
|
17695
|
-
rules:
|
|
17701
|
+
rules: unref(rules)
|
|
17696
17702
|
}, null, 8, ["label", "modelValue", "disabled", "required", "placeholder", "type", "rows", "autosize", "rules"])) : createCommentVNode("", true), !unref(isGone) && props.type != "number" ? (openBlock(), createBlock(_component_van_field, {
|
|
17697
17703
|
key: 1,
|
|
17698
17704
|
label: props.label,
|
|
17699
17705
|
modelValue: unref(modelValue),
|
|
17700
17706
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
17701
17707
|
disabled: unref(isDisabled),
|
|
17702
|
-
required: unref(
|
|
17708
|
+
required: unref(isRequired2),
|
|
17703
17709
|
placeholder: props.placeholder,
|
|
17704
17710
|
type: props.type,
|
|
17705
17711
|
rows: props.rows,
|
|
17706
17712
|
autosize: props.autosize,
|
|
17707
|
-
rules:
|
|
17713
|
+
rules: unref(rules)
|
|
17708
17714
|
}, null, 8, ["label", "modelValue", "disabled", "required", "placeholder", "type", "rows", "autosize", "rules"])) : createCommentVNode("", true)], 64);
|
|
17709
17715
|
};
|
|
17710
17716
|
}
|
|
17711
17717
|
};
|
|
17712
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
17713
|
-
var SinglePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
17718
|
+
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-390eeba0"]]);
|
|
17719
|
+
var SinglePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-3ae83b36] .label {\n color: #000 !important;\n}\n[data-v-3ae83b36] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
17714
17720
|
const _sfc_main$u = {
|
|
17715
17721
|
__name: "SinglePicker",
|
|
17716
17722
|
props: {
|
|
@@ -17755,7 +17761,7 @@ const _sfc_main$u = {
|
|
|
17755
17761
|
return ary;
|
|
17756
17762
|
});
|
|
17757
17763
|
const {
|
|
17758
|
-
isRequired,
|
|
17764
|
+
isRequired: isRequired2,
|
|
17759
17765
|
isGone,
|
|
17760
17766
|
isDisabled,
|
|
17761
17767
|
isReadonly
|
|
@@ -17810,8 +17816,8 @@ const _sfc_main$u = {
|
|
|
17810
17816
|
"label-class": "label",
|
|
17811
17817
|
placeholder: props.placeholder,
|
|
17812
17818
|
onClickInput: onClick,
|
|
17813
|
-
required: unref(
|
|
17814
|
-
rules:
|
|
17819
|
+
required: unref(isRequired2),
|
|
17820
|
+
rules: __props.rules
|
|
17815
17821
|
}, null, 8, ["modelValue", "is-link", "disabled", "label", "placeholder", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
17816
17822
|
show: isShowPicker.value,
|
|
17817
17823
|
"onUpdate:show": _cache[2] || (_cache[2] = ($event) => isShowPicker.value = $event),
|
|
@@ -17827,7 +17833,7 @@ const _sfc_main$u = {
|
|
|
17827
17833
|
};
|
|
17828
17834
|
}
|
|
17829
17835
|
};
|
|
17830
|
-
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
17836
|
+
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3ae83b36"]]);
|
|
17831
17837
|
var DataPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-box[data-v-10d79413] {\r\n min-height: 20vh;\r\n max-height: 40vh;\r\n overflow-y: auto;\n.checkbox-list[data-v-10d79413] {\r\n padding: 15px 25px;\n[data-v-10d79413] .van-checkbox__label {\r\n flex: 1;\r\n text-align: right;\n}\n}\n}\n.select-all-container[data-v-10d79413] {\r\n font-size: 14px;\r\n padding: 15px 25px 0 15px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-10d79413] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-10d79413] {\r\n margin-left: 8px;\n}\r\n")();
|
|
17832
17838
|
const _hoisted_1$j = {
|
|
17833
17839
|
class: "select-all-container"
|
|
@@ -17918,7 +17924,7 @@ const _sfc_main$t = {
|
|
|
17918
17924
|
}
|
|
17919
17925
|
};
|
|
17920
17926
|
var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-10d79413"]]);
|
|
17921
|
-
var MultiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.data-item[data-v-
|
|
17927
|
+
var MultiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.data-item[data-v-0d491607]{\r\n margin: 0 8px 8px 0;\r\n padding: 2px 5px;\n}\r\n")();
|
|
17922
17928
|
const _hoisted_1$i = {
|
|
17923
17929
|
class: "data-list"
|
|
17924
17930
|
};
|
|
@@ -17959,10 +17965,11 @@ const _sfc_main$s = {
|
|
|
17959
17965
|
}) {
|
|
17960
17966
|
const props = __props;
|
|
17961
17967
|
const {
|
|
17962
|
-
isRequired,
|
|
17968
|
+
isRequired: isRequired2,
|
|
17963
17969
|
isReadonly,
|
|
17964
17970
|
isGone,
|
|
17965
|
-
isDisabled
|
|
17971
|
+
isDisabled,
|
|
17972
|
+
rules
|
|
17966
17973
|
} = util.props2auth(props);
|
|
17967
17974
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
17968
17975
|
const data2 = reactive({
|
|
@@ -18024,8 +18031,8 @@ const _sfc_main$s = {
|
|
|
18024
18031
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
18025
18032
|
key: 0,
|
|
18026
18033
|
label: props.label,
|
|
18027
|
-
required: unref(
|
|
18028
|
-
rules:
|
|
18034
|
+
required: unref(isRequired2),
|
|
18035
|
+
rules: unref(rules),
|
|
18029
18036
|
disabled: unref(isDisabled),
|
|
18030
18037
|
placeholder: props.placeholder,
|
|
18031
18038
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -18058,8 +18065,8 @@ const _sfc_main$s = {
|
|
|
18058
18065
|
};
|
|
18059
18066
|
}
|
|
18060
18067
|
};
|
|
18061
|
-
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
18062
|
-
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
18068
|
+
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0d491607"]]);
|
|
18069
|
+
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-7f872a31] .label {\n color: #000 !important;\n}\n[data-v-7f872a31] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
18063
18070
|
const _sfc_main$r = {
|
|
18064
18071
|
__name: "CheckGroup",
|
|
18065
18072
|
props: {
|
|
@@ -18099,10 +18106,11 @@ const _sfc_main$r = {
|
|
|
18099
18106
|
const props = __props;
|
|
18100
18107
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18101
18108
|
const {
|
|
18102
|
-
isRequired,
|
|
18109
|
+
isRequired: isRequired2,
|
|
18103
18110
|
isReadonly,
|
|
18104
18111
|
isGone,
|
|
18105
|
-
isDisabled
|
|
18112
|
+
isDisabled,
|
|
18113
|
+
rules
|
|
18106
18114
|
} = util.props2auth(props);
|
|
18107
18115
|
const options = ref([]);
|
|
18108
18116
|
const totalOptions = computed(() => {
|
|
@@ -18155,8 +18163,8 @@ const _sfc_main$r = {
|
|
|
18155
18163
|
return !unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
18156
18164
|
key: 0,
|
|
18157
18165
|
label: props.label,
|
|
18158
|
-
required: unref(
|
|
18159
|
-
rules:
|
|
18166
|
+
required: unref(isRequired2),
|
|
18167
|
+
rules: unref(rules)
|
|
18160
18168
|
}, {
|
|
18161
18169
|
input: withCtx(() => [createVNode(_component_van_checkbox_group, {
|
|
18162
18170
|
modelValue: unref(modelValue),
|
|
@@ -18184,7 +18192,7 @@ const _sfc_main$r = {
|
|
|
18184
18192
|
};
|
|
18185
18193
|
}
|
|
18186
18194
|
};
|
|
18187
|
-
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
18195
|
+
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7f872a31"]]);
|
|
18188
18196
|
const _sfc_main$q = {
|
|
18189
18197
|
__name: "DatetimePop",
|
|
18190
18198
|
props: {
|
|
@@ -18524,10 +18532,11 @@ const _sfc_main$p = {
|
|
|
18524
18532
|
isShow: false
|
|
18525
18533
|
});
|
|
18526
18534
|
const {
|
|
18527
|
-
isRequired,
|
|
18535
|
+
isRequired: isRequired2,
|
|
18528
18536
|
isReadonly,
|
|
18529
18537
|
isGone,
|
|
18530
|
-
isDisabled
|
|
18538
|
+
isDisabled,
|
|
18539
|
+
rules
|
|
18531
18540
|
} = util.props2auth(props);
|
|
18532
18541
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18533
18542
|
const formatTime = computed({
|
|
@@ -18571,8 +18580,8 @@ const _sfc_main$p = {
|
|
|
18571
18580
|
readonly: unref(isReadonly),
|
|
18572
18581
|
clearable: "",
|
|
18573
18582
|
placeholder: props.placeholder,
|
|
18574
|
-
required: unref(
|
|
18575
|
-
rules:
|
|
18583
|
+
required: unref(isRequired2),
|
|
18584
|
+
rules: unref(rules),
|
|
18576
18585
|
"right-icon": unref(rightIcon),
|
|
18577
18586
|
onClickRightIcon: onToggleShow
|
|
18578
18587
|
}, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules", "right-icon"])) : createCommentVNode("", true), createVNode(_sfc_main$q, {
|
|
@@ -18650,7 +18659,7 @@ const _sfc_main$o = {
|
|
|
18650
18659
|
};
|
|
18651
18660
|
}
|
|
18652
18661
|
};
|
|
18653
|
-
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-
|
|
18662
|
+
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-0845ea7c] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-0845ea7c] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-0845ea7c] {\r\n border: 0;\n}\n.flex-between[data-v-0845ea7c] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-0845ea7c] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-0845ea7c] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px);\r\n overflow-y: auto;\n}\n.select-all-container[data-v-0845ea7c] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-0845ea7c] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-0845ea7c] {\r\n margin-left: 8px;\n}\r\n")();
|
|
18654
18663
|
const _hoisted_1$h = {
|
|
18655
18664
|
class: "pad10 flex-between showMultipleButton"
|
|
18656
18665
|
};
|
|
@@ -18713,10 +18722,11 @@ const _sfc_main$n = {
|
|
|
18713
18722
|
}) {
|
|
18714
18723
|
const props = __props;
|
|
18715
18724
|
const {
|
|
18716
|
-
isRequired,
|
|
18725
|
+
isRequired: isRequired2,
|
|
18717
18726
|
isReadonly,
|
|
18718
18727
|
isGone,
|
|
18719
|
-
isDisabled
|
|
18728
|
+
isDisabled,
|
|
18729
|
+
rules
|
|
18720
18730
|
} = util.props2auth(props);
|
|
18721
18731
|
const rightIcon = computed(() => {
|
|
18722
18732
|
if (isReadonly.value || isDisabled.value)
|
|
@@ -18871,14 +18881,14 @@ const _sfc_main$n = {
|
|
|
18871
18881
|
autosize: "",
|
|
18872
18882
|
modelValue: unref(selectdItemsLabel),
|
|
18873
18883
|
clearable: "",
|
|
18874
|
-
required: unref(
|
|
18884
|
+
required: unref(isRequired2),
|
|
18875
18885
|
label: __props.label,
|
|
18876
18886
|
name: __props.name
|
|
18877
18887
|
}, _ctx.$attrs, {
|
|
18878
18888
|
onClickRightIcon: showPopup,
|
|
18879
18889
|
onClear,
|
|
18880
18890
|
"right-icon": unref(rightIcon),
|
|
18881
|
-
rules:
|
|
18891
|
+
rules: unref(rules),
|
|
18882
18892
|
class: {
|
|
18883
18893
|
"disabled-field": unref(isReadonly)
|
|
18884
18894
|
}
|
|
@@ -18976,7 +18986,7 @@ const _sfc_main$n = {
|
|
|
18976
18986
|
};
|
|
18977
18987
|
}
|
|
18978
18988
|
};
|
|
18979
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
18989
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0845ea7c"]]);
|
|
18980
18990
|
var mult_list_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\r\n/* // \u4FEE\u6539 confirmation-group \u548C confirmation-item \u7684\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n padding: 0 16px;\r\n --van-checkbox-disabled-icon-color: black;\n}\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 16px;\r\n margin: 0 -16px;\r\n border-bottom: 1px solid #f5f5f5;\r\n /* \u7981\u7528\u72B6\u6001\u6837\u5F0F */\n}\r\n\r\n/* // \u5728\u4E0B\u65B9\u6DFB\u52A0\u5A92\u4F53\u67E5\u8BE2\u9002\u914D\u5C0F\u5C4F\u5E55 */\n@media (max-width: 320px) {\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 8px;\r\n margin: 0 -8px;\n}\n}\n.confirmation-item[data-v-40a09897]:last-child {\r\n border-bottom: none;\n}\r\n\r\n/* \u65B0\u589E\u6837\u5F0F */\n.confirmation-tips[data-v-40a09897] {\r\n padding: 12px 16px;\r\n background: #f0faff;\r\n border-radius: 8px;\r\n margin: 10px 16px;\r\n display: flex;\r\n align-items: center;\r\n color: #1989fa;\r\n font-size: 13px;\r\n border: 1px solid #d9efff;\n}\n.confirmation-tips .van-icon[data-v-40a09897] {\r\n margin-right: 8px;\n}\r\n\r\n/* \u65B0\u589E\u5B57\u4F53\u7EE7\u627F\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n font-size: inherit; /* \u7EE7\u627F\u7236\u7EA7\u5B57\u4F53\u5927\u5C0F */\n}\n.option-text[data-v-40a09897] {\r\n font-size: 14px; /* \u660E\u786E\u6307\u5B9A\u5B57\u4F53\u5927\u5C0F */\r\n line-height: 1.5; /* \u4FDD\u6301\u884C\u9AD8\u4E00\u81F4 */\r\n /* color:black; */\n}\r\n\r\n/* \u9002\u914D\u79FB\u52A8\u7AEF\u7684\u5B57\u4F53\u8C03\u6574 */\n@media (max-width: 375px) {\n.option-text[data-v-40a09897] {\r\n font-size: 13px;\n}\n}\r\n\r\n/* \u65B0\u589E\u7981\u7528\u72B6\u6001\u6837\u5F0F */\n.custom-checkbox[data-v-40a09897]:disabled .--van-checkbox__icon {\r\n background-color: #f5f5f5;\r\n border-color: #ebedf0;\r\n transition: all 0.3s;\n}\n.custom-checkbox[data-v-40a09897]:disabled .van-checkbox__icon--checked {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\r\n opacity: 0.7;\n}\n.van-checkbox--disabled[data-v-40a09897] .option-text {\r\n color: #969799;\n}\n.van-checkbox--disabled.van-checkbox--checked[data-v-40a09897] .option-text {\r\n color: #1989fa;\r\n opacity: 0.8;\n}\r\n")();
|
|
18981
18991
|
const _hoisted_1$g = {
|
|
18982
18992
|
key: 0,
|
|
@@ -19051,7 +19061,7 @@ const _sfc_main$m = {
|
|
|
19051
19061
|
}
|
|
19052
19062
|
};
|
|
19053
19063
|
var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-40a09897"]]);
|
|
19054
|
-
var subdepartment_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.department-popup[data-v-
|
|
19064
|
+
var subdepartment_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.department-popup[data-v-c4c3b896] {\r\n width: 100%;\r\n height: 60vh;\r\n border-radius: 16px 16px 0 0;\n}\n.popup-container[data-v-c4c3b896] {\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n height: 100%;\n}\n.picker-header[data-v-c4c3b896] {\r\n display: flex;\r\n align-items: center;\r\n padding: 12px;\r\n border-bottom: 1px solid #ebedf0;\r\n gap: 8px;\r\n background: #fff;\r\n /* flex-shrink: 0; */\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n height: 56px;\r\n /* \u56FA\u5B9A\u5934\u90E8\u9AD8\u5EA6 */\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u5934\u90E8\u88AB\u538B\u7F29 */\n}\n.scroll-container[data-v-c4c3b896] {\r\n flex: 1;\r\n height: 0;\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n /* height: calc(80vh - 170px); */\r\n /* \u8BA1\u7B97\u65B9\u5F0F\uFF1A\u603B\u9AD8\u5EA6(80vh) - \u5934\u90E8\u9AD8\u5EA6(56px) - \u641C\u7D22\u6846\u9AD8\u5EA6(52px) */\r\n position: relative;\r\n top: -1px;\n}\n.back-button[data-v-c4c3b896] {\r\n margin-right: 8px;\n}\n.current-path[data-v-c4c3b896] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.action-buttons[data-v-c4c3b896] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\r\n\r\n/* .scroll-container {\r\n flex: 1;\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n} */\n.cell-content[data-v-c4c3b896] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-c4c3b896] {\r\n width: 20px;\r\n height: 20px;\r\n border: 1px solid #ebedf0;\r\n border-radius: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: all 0.2s;\r\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-c4c3b896] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-c4c3b896] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-c4c3b896] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-c4c3b896] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-c4c3b896] {\r\n color: #969799;\n}\n.search-field[data-v-c4c3b896] {\r\n background: #fff;\r\n padding: 10px 16px;\r\n border-bottom: 1px solid #ebedf0;\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n margin-bottom: 10px;\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u538B\u7F29 */\n}\r\n")();
|
|
19055
19065
|
const _hoisted_1$f = {
|
|
19056
19066
|
class: "department-selector"
|
|
19057
19067
|
};
|
|
@@ -19122,7 +19132,7 @@ const _sfc_main$l = {
|
|
|
19122
19132
|
}) {
|
|
19123
19133
|
const props = __props;
|
|
19124
19134
|
const {
|
|
19125
|
-
isRequired,
|
|
19135
|
+
isRequired: isRequired2,
|
|
19126
19136
|
isGone,
|
|
19127
19137
|
isDisabled,
|
|
19128
19138
|
isReadonly
|
|
@@ -19331,8 +19341,8 @@ const _sfc_main$l = {
|
|
|
19331
19341
|
placeholder: props.placeholder,
|
|
19332
19342
|
onClick: onShow,
|
|
19333
19343
|
"right-icon": unref(isReadonly) ? "" : "arrow",
|
|
19334
|
-
required: unref(
|
|
19335
|
-
rules:
|
|
19344
|
+
required: unref(isRequired2),
|
|
19345
|
+
rules: __props.rules,
|
|
19336
19346
|
type: "textarea",
|
|
19337
19347
|
autosize: "true",
|
|
19338
19348
|
rows: "1"
|
|
@@ -19410,8 +19420,8 @@ const _sfc_main$l = {
|
|
|
19410
19420
|
};
|
|
19411
19421
|
}
|
|
19412
19422
|
};
|
|
19413
|
-
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
19414
|
-
var user_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
19423
|
+
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c4c3b896"]]);
|
|
19424
|
+
var user_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-850c4b52] {\r\n height: 60vh;\r\n width: 100%;\n}\n.picker-header[data-v-850c4b52] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.scroll-container[data-v-850c4b52] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.search-container[data-v-850c4b52] {\r\n padding: 10px;\r\n background: #fff;\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\n}\n[data-v-850c4b52] .search-container .van-search {\r\n flex: 1;\n}\n.search-btn[data-v-850c4b52] {\r\n flex-shrink: 0;\n}\n.select-all-container[data-v-850c4b52] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n[data-v-850c4b52] .van-checkbox__icon--square {\r\n border-radius: 4px;\n}\n[data-v-850c4b52] .van-checkbox__label {\r\n margin-left: 8px;\n}\n[data-v-850c4b52] .van-radio-group .van-cell,[data-v-850c4b52] .van-checkbox-group .van-cell {\r\n align-items: center;\n}\n.current-path[data-v-850c4b52] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-850c4b52] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-850c4b52] {\r\n color: #969799;\r\n margin-right: 5px;\n}\r\n")();
|
|
19415
19425
|
const _hoisted_1$e = {
|
|
19416
19426
|
class: "user-selector"
|
|
19417
19427
|
};
|
|
@@ -19484,10 +19494,11 @@ const _sfc_main$k = {
|
|
|
19484
19494
|
}) {
|
|
19485
19495
|
const props = __props;
|
|
19486
19496
|
const {
|
|
19487
|
-
isRequired,
|
|
19497
|
+
isRequired: isRequired2,
|
|
19488
19498
|
isReadonly,
|
|
19489
19499
|
isGone,
|
|
19490
|
-
isDisabled
|
|
19500
|
+
isDisabled,
|
|
19501
|
+
rules
|
|
19491
19502
|
} = util.props2auth(props);
|
|
19492
19503
|
const userData = ref({
|
|
19493
19504
|
users: [],
|
|
@@ -19807,7 +19818,7 @@ const _sfc_main$k = {
|
|
|
19807
19818
|
onClick: _cache[0] || (_cache[0] = ($event) => showPicker.value = !props.readonly),
|
|
19808
19819
|
"right-icon": props.readonly ? "" : "arrow",
|
|
19809
19820
|
required: props.required,
|
|
19810
|
-
rules:
|
|
19821
|
+
rules: unref(rules)
|
|
19811
19822
|
}, null, 8, ["model-value", "label", "placeholder", "right-icon", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
19812
19823
|
show: showPicker.value,
|
|
19813
19824
|
"onUpdate:show": _cache[6] || (_cache[6] = ($event) => showPicker.value = $event),
|
|
@@ -19938,8 +19949,8 @@ const _sfc_main$k = {
|
|
|
19938
19949
|
};
|
|
19939
19950
|
}
|
|
19940
19951
|
};
|
|
19941
|
-
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
19942
|
-
var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
19952
|
+
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-850c4b52"]]);
|
|
19953
|
+
var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-136f10b6] .label {\n color: #000 !important;\n}\n[data-v-136f10b6] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
19943
19954
|
const _hoisted_1$d = {
|
|
19944
19955
|
class: "image-box"
|
|
19945
19956
|
};
|
|
@@ -19990,10 +20001,11 @@ const _sfc_main$j = {
|
|
|
19990
20001
|
const props = __props;
|
|
19991
20002
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
19992
20003
|
const {
|
|
19993
|
-
isRequired,
|
|
20004
|
+
isRequired: isRequired2,
|
|
19994
20005
|
isReadonly,
|
|
19995
20006
|
isGone,
|
|
19996
|
-
isDisabled
|
|
20007
|
+
isDisabled,
|
|
20008
|
+
rules
|
|
19997
20009
|
} = util.props2auth(props);
|
|
19998
20010
|
const files = ref([]);
|
|
19999
20011
|
onMounted(() => {
|
|
@@ -20034,8 +20046,8 @@ const _sfc_main$j = {
|
|
|
20034
20046
|
key: 0,
|
|
20035
20047
|
name: "image",
|
|
20036
20048
|
label: props.label,
|
|
20037
|
-
required: unref(
|
|
20038
|
-
rules:
|
|
20049
|
+
required: unref(isRequired2),
|
|
20050
|
+
rules: unref(rules),
|
|
20039
20051
|
"label-class": "label",
|
|
20040
20052
|
placeholder: props.placeholder
|
|
20041
20053
|
}, {
|
|
@@ -20068,8 +20080,8 @@ const _sfc_main$j = {
|
|
|
20068
20080
|
};
|
|
20069
20081
|
}
|
|
20070
20082
|
};
|
|
20071
|
-
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
20072
|
-
var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-box .cover[data-v-
|
|
20083
|
+
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-136f10b6"]]);
|
|
20084
|
+
var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-box .cover[data-v-72cf3ca2] {\n width: 80px;\n height: 80px;\n}")();
|
|
20073
20085
|
const _hoisted_1$c = {
|
|
20074
20086
|
class: "image-box"
|
|
20075
20087
|
};
|
|
@@ -20129,10 +20141,11 @@ const _sfc_main$i = {
|
|
|
20129
20141
|
const props = __props;
|
|
20130
20142
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20131
20143
|
const {
|
|
20132
|
-
isRequired,
|
|
20144
|
+
isRequired: isRequired2,
|
|
20133
20145
|
isReadonly,
|
|
20134
20146
|
isGone,
|
|
20135
|
-
isDisabled
|
|
20147
|
+
isDisabled,
|
|
20148
|
+
rules
|
|
20136
20149
|
} = util.props2auth(props);
|
|
20137
20150
|
const files = ref([]);
|
|
20138
20151
|
const isPreviewMore = ref(false);
|
|
@@ -20226,8 +20239,8 @@ const _sfc_main$i = {
|
|
|
20226
20239
|
return openBlock(), createBlock(_component_van_field, {
|
|
20227
20240
|
name: "image",
|
|
20228
20241
|
label: props.label,
|
|
20229
|
-
required: unref(
|
|
20230
|
-
rules:
|
|
20242
|
+
required: unref(isRequired2),
|
|
20243
|
+
rules: unref(rules),
|
|
20231
20244
|
"label-class": "label",
|
|
20232
20245
|
placeholder: props.placeholder
|
|
20233
20246
|
}, {
|
|
@@ -20240,7 +20253,7 @@ const _sfc_main$i = {
|
|
|
20240
20253
|
capture: props.capture,
|
|
20241
20254
|
accept: "image/jpeg,image/png",
|
|
20242
20255
|
disabled: unref(isDisabled),
|
|
20243
|
-
deletable: !unref(
|
|
20256
|
+
deletable: !unref(isRequired2) && !unref(isDisabled),
|
|
20244
20257
|
afterRead: onAfterRead,
|
|
20245
20258
|
"before-delete": onBeforeDelete,
|
|
20246
20259
|
"show-upload": !unref(isReadonly)
|
|
@@ -20275,8 +20288,8 @@ const _sfc_main$i = {
|
|
|
20275
20288
|
};
|
|
20276
20289
|
}
|
|
20277
20290
|
};
|
|
20278
|
-
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
20279
|
-
var FilePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
20291
|
+
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-72cf3ca2"]]);
|
|
20292
|
+
var FilePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-208d28dd] .label {\n color: #000 !important;\n}\n[data-v-208d28dd] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
20280
20293
|
const _hoisted_1$b = {
|
|
20281
20294
|
class: "file-box"
|
|
20282
20295
|
};
|
|
@@ -20331,10 +20344,11 @@ const _sfc_main$h = {
|
|
|
20331
20344
|
const props = __props;
|
|
20332
20345
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20333
20346
|
const {
|
|
20334
|
-
isRequired,
|
|
20347
|
+
isRequired: isRequired2,
|
|
20335
20348
|
isReadonly,
|
|
20336
20349
|
isGone,
|
|
20337
|
-
isDisabled
|
|
20350
|
+
isDisabled,
|
|
20351
|
+
rules
|
|
20338
20352
|
} = util.props2auth(props);
|
|
20339
20353
|
const files = ref([]);
|
|
20340
20354
|
const maxCount = computed(() => {
|
|
@@ -20415,8 +20429,8 @@ const _sfc_main$h = {
|
|
|
20415
20429
|
key: 0,
|
|
20416
20430
|
name: "image",
|
|
20417
20431
|
label: props.label,
|
|
20418
|
-
required: unref(
|
|
20419
|
-
rules:
|
|
20432
|
+
required: unref(isRequired2),
|
|
20433
|
+
rules: unref(rules),
|
|
20420
20434
|
"label-class": "label",
|
|
20421
20435
|
placeholder: props.placeholder
|
|
20422
20436
|
}, {
|
|
@@ -20438,8 +20452,8 @@ const _sfc_main$h = {
|
|
|
20438
20452
|
};
|
|
20439
20453
|
}
|
|
20440
20454
|
};
|
|
20441
|
-
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
20442
|
-
var SingleUserSelector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
20455
|
+
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-208d28dd"]]);
|
|
20456
|
+
var SingleUserSelector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-c23caaf6] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-c23caaf6] {\r\n padding: 10px;\n}\n.search-buttons[data-v-c23caaf6] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-c23caaf6] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-c23caaf6] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-c23caaf6] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-c23caaf6] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-c23caaf6] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-c23caaf6] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-c23caaf6] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-c23caaf6] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
|
|
20443
20457
|
const _hoisted_1$a = {
|
|
20444
20458
|
class: "department-selector"
|
|
20445
20459
|
};
|
|
@@ -20508,10 +20522,11 @@ const _sfc_main$g = {
|
|
|
20508
20522
|
const show = ref(false);
|
|
20509
20523
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20510
20524
|
const {
|
|
20511
|
-
isRequired,
|
|
20525
|
+
isRequired: isRequired2,
|
|
20512
20526
|
isReadonly,
|
|
20513
20527
|
isGone,
|
|
20514
|
-
isDisabled
|
|
20528
|
+
isDisabled,
|
|
20529
|
+
rules
|
|
20515
20530
|
} = util.props2auth(props);
|
|
20516
20531
|
let departments = ref([]);
|
|
20517
20532
|
let departmentFulls = ref([]);
|
|
@@ -20717,8 +20732,8 @@ const _sfc_main$g = {
|
|
|
20717
20732
|
placeholder: props.placeholder,
|
|
20718
20733
|
onClick: _cache[0] || (_cache[0] = ($event) => show.value = !unref(isReadonly)),
|
|
20719
20734
|
"model-value": selectedUserInfo.value,
|
|
20720
|
-
required: unref(
|
|
20721
|
-
rules:
|
|
20735
|
+
required: unref(isRequired2),
|
|
20736
|
+
rules: unref(rules),
|
|
20722
20737
|
"input-align": "center"
|
|
20723
20738
|
}, null, 8, ["is-link", "label", "placeholder", "model-value", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
20724
20739
|
show: show.value,
|
|
@@ -20794,8 +20809,8 @@ const _sfc_main$g = {
|
|
|
20794
20809
|
};
|
|
20795
20810
|
}
|
|
20796
20811
|
};
|
|
20797
|
-
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
20798
|
-
var UserPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-
|
|
20812
|
+
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-c23caaf6"]]);
|
|
20813
|
+
var UserPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-80bb7cb2] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-80bb7cb2] {\r\n padding: 10px;\n}\n.search-buttons[data-v-80bb7cb2] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-80bb7cb2] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-80bb7cb2] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-80bb7cb2] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-80bb7cb2] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-80bb7cb2] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-80bb7cb2] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-80bb7cb2] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-80bb7cb2] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
|
|
20799
20814
|
const _hoisted_1$9 = {
|
|
20800
20815
|
class: "department-selector"
|
|
20801
20816
|
};
|
|
@@ -20937,7 +20952,7 @@ const _sfc_main$f = {
|
|
|
20937
20952
|
const res = yield util.wx_user_list({
|
|
20938
20953
|
keyword: data2.keyword,
|
|
20939
20954
|
page: 1,
|
|
20940
|
-
limit:
|
|
20955
|
+
limit: 10
|
|
20941
20956
|
});
|
|
20942
20957
|
data2.searchUsers = res.data.list;
|
|
20943
20958
|
});
|
|
@@ -21066,8 +21081,8 @@ const _sfc_main$f = {
|
|
|
21066
21081
|
};
|
|
21067
21082
|
}
|
|
21068
21083
|
};
|
|
21069
|
-
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
21070
|
-
var UsersPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-item[data-v-
|
|
21084
|
+
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-80bb7cb2"]]);
|
|
21085
|
+
var UsersPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-item[data-v-60a6aa82]{\r\n margin:3px;\n}\r\n")();
|
|
21071
21086
|
const _hoisted_1$8 = {
|
|
21072
21087
|
class: "user-list"
|
|
21073
21088
|
};
|
|
@@ -21122,10 +21137,11 @@ const _sfc_main$e = {
|
|
|
21122
21137
|
});
|
|
21123
21138
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21124
21139
|
const {
|
|
21125
|
-
isRequired,
|
|
21140
|
+
isRequired: isRequired2,
|
|
21126
21141
|
isReadonly,
|
|
21127
21142
|
isGone,
|
|
21128
|
-
isDisabled
|
|
21143
|
+
isDisabled,
|
|
21144
|
+
rules
|
|
21129
21145
|
} = util.props2auth(props);
|
|
21130
21146
|
onMounted(() => {
|
|
21131
21147
|
});
|
|
@@ -21161,8 +21177,8 @@ const _sfc_main$e = {
|
|
|
21161
21177
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
21162
21178
|
key: 0,
|
|
21163
21179
|
label: props.label,
|
|
21164
|
-
required: unref(
|
|
21165
|
-
rules:
|
|
21180
|
+
required: unref(isRequired2),
|
|
21181
|
+
rules: unref(rules),
|
|
21166
21182
|
disabled: unref(isDisabled),
|
|
21167
21183
|
placeholder: props.placeholder,
|
|
21168
21184
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -21193,8 +21209,8 @@ const _sfc_main$e = {
|
|
|
21193
21209
|
};
|
|
21194
21210
|
}
|
|
21195
21211
|
};
|
|
21196
|
-
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
21197
|
-
var UserPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-
|
|
21212
|
+
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-60a6aa82"]]);
|
|
21213
|
+
var UserPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-dc690a10]{\r\n padding:4px 8px;\n}\r\n")();
|
|
21198
21214
|
const _sfc_main$d = {
|
|
21199
21215
|
__name: "UserPicker",
|
|
21200
21216
|
props: {
|
|
@@ -21246,10 +21262,11 @@ const _sfc_main$d = {
|
|
|
21246
21262
|
});
|
|
21247
21263
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21248
21264
|
const {
|
|
21249
|
-
isRequired,
|
|
21265
|
+
isRequired: isRequired2,
|
|
21250
21266
|
isReadonly,
|
|
21251
21267
|
isGone,
|
|
21252
|
-
isDisabled
|
|
21268
|
+
isDisabled,
|
|
21269
|
+
rules
|
|
21253
21270
|
} = util.props2auth(props);
|
|
21254
21271
|
onMounted(() => {
|
|
21255
21272
|
});
|
|
@@ -21279,8 +21296,8 @@ const _sfc_main$d = {
|
|
|
21279
21296
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
21280
21297
|
key: 0,
|
|
21281
21298
|
label: props.label,
|
|
21282
|
-
required: unref(
|
|
21283
|
-
rules:
|
|
21299
|
+
required: unref(isRequired2),
|
|
21300
|
+
rules: unref(rules),
|
|
21284
21301
|
disabled: unref(isDisabled),
|
|
21285
21302
|
placeholder: props.placeholder,
|
|
21286
21303
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -21309,7 +21326,7 @@ const _sfc_main$d = {
|
|
|
21309
21326
|
};
|
|
21310
21327
|
}
|
|
21311
21328
|
};
|
|
21312
|
-
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
21329
|
+
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-dc690a10"]]);
|
|
21313
21330
|
var UserProfile_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.widget[data-v-107e26c3] {\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: space-around;\r\n padding: 20px;\r\n background: linear-gradient(to right, #4a90e2, #87ceeb);\r\n border-radius: 10px;\r\n box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);\n.user-avatar[data-v-107e26c3] {\r\n margin-bottom: 15px;\n}\n.user-info[data-v-107e26c3] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-around;\r\n margin-bottom: 15px;\n.user-info-item[data-v-107e26c3] {\r\n font-size: 16px;\r\n line-height: 22px;\r\n color: #fff;\r\n text-align: center;\r\n padding: 0 3px;\n}\n}\n.space[data-v-107e26c3] {\r\n min-height: 10px;\r\n flex: 1;\n}\r\n\r\n /* \u6DFB\u52A0\u9000\u51FA\u6309\u94AE\u6837\u5F0F */\n.logout-button[data-v-107e26c3] {\r\n width: 70px;\r\n height: 30px;\r\n position: absolute;\r\n top: 20px;\r\n right: 20px;\r\n background-color: rgba(255, 255, 255, 0.2);\r\n color: white;\r\n border: none;\r\n border-radius: 15px;\r\n padding: 5px 15px;\r\n cursor: pointer;\r\n font-size: 14px;\r\n transition: background-color 0.3s;\n}\n.logout-button[data-v-107e26c3]:hover {\r\n background-color: rgba(255, 255, 255, 0.4);\n}\n.user-jobs[data-v-107e26c3] {\r\n display: flex;\r\n justify-content: center;\r\n gap: 15px;\r\n width: 100%;\r\n max-width: 300px;\n.job-item[data-v-107e26c3] {\r\n padding: 5px 10px;\r\n background-color: rgba(255, 255, 255, 0.2);\r\n border-radius: 20px;\r\n font-size: 12px;\r\n color: #fff;\n}\n}\n}\r\n")();
|
|
21314
21331
|
const _hoisted_1$7 = {
|
|
21315
21332
|
class: "widget"
|
|
@@ -21688,7 +21705,7 @@ const _sfc_main$8 = {
|
|
|
21688
21705
|
};
|
|
21689
21706
|
}
|
|
21690
21707
|
};
|
|
21691
|
-
var Switch_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
21708
|
+
var Switch_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-4a880d9e] .label {\n color: #000 !important;\n}\n[data-v-4a880d9e] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
21692
21709
|
const _sfc_main$7 = {
|
|
21693
21710
|
__name: "Switch",
|
|
21694
21711
|
props: {
|
|
@@ -21724,10 +21741,11 @@ const _sfc_main$7 = {
|
|
|
21724
21741
|
const props = __props;
|
|
21725
21742
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21726
21743
|
const {
|
|
21727
|
-
isRequired,
|
|
21744
|
+
isRequired: isRequired2,
|
|
21728
21745
|
isReadonly,
|
|
21729
21746
|
isGone,
|
|
21730
|
-
isDisabled
|
|
21747
|
+
isDisabled,
|
|
21748
|
+
rules
|
|
21731
21749
|
} = util.props2auth(props);
|
|
21732
21750
|
onMounted(() => {
|
|
21733
21751
|
});
|
|
@@ -21744,7 +21762,7 @@ const _sfc_main$7 = {
|
|
|
21744
21762
|
key: 0,
|
|
21745
21763
|
label: props.label,
|
|
21746
21764
|
disabled: unref(isDisabled),
|
|
21747
|
-
required: unref(
|
|
21765
|
+
required: unref(isRequired2),
|
|
21748
21766
|
placeholder: props.placeholder
|
|
21749
21767
|
}, {
|
|
21750
21768
|
input: withCtx(() => [createVNode(_component_van_switch, {
|
|
@@ -21757,8 +21775,8 @@ const _sfc_main$7 = {
|
|
|
21757
21775
|
};
|
|
21758
21776
|
}
|
|
21759
21777
|
};
|
|
21760
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
21761
|
-
var Sheet_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".item-box[data-v-
|
|
21778
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-4a880d9e"]]);
|
|
21779
|
+
var Sheet_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".item-box[data-v-5378e9da] {\n position: relative;\n padding-bottom: 5px;\n border-bottom: 1px solid #e1e1e1;\n}\n.actionbar[data-v-5378e9da] {\n display: flex;\n justify-content: center;\n margin-top: 5px;\n}\n[data-v-5378e9da] .label {\n color: #000 !important;\n}\n[data-v-5378e9da] .van-field__control--custom {\n display: block;\n}")();
|
|
21762
21780
|
const _hoisted_1$5 = {
|
|
21763
21781
|
key: 0,
|
|
21764
21782
|
class: "actionbar"
|
|
@@ -21802,10 +21820,11 @@ const _sfc_main$6 = {
|
|
|
21802
21820
|
const props = __props;
|
|
21803
21821
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21804
21822
|
const {
|
|
21805
|
-
isRequired,
|
|
21823
|
+
isRequired: isRequired2,
|
|
21806
21824
|
isReadonly,
|
|
21807
21825
|
isGone,
|
|
21808
|
-
isDisabled
|
|
21826
|
+
isDisabled,
|
|
21827
|
+
rules
|
|
21809
21828
|
} = util.props2auth(props);
|
|
21810
21829
|
onMounted(() => {
|
|
21811
21830
|
});
|
|
@@ -21828,7 +21847,8 @@ const _sfc_main$6 = {
|
|
|
21828
21847
|
key: 0,
|
|
21829
21848
|
label: props.label,
|
|
21830
21849
|
disabled: unref(isDisabled),
|
|
21831
|
-
required: unref(
|
|
21850
|
+
required: unref(isRequired2),
|
|
21851
|
+
rules: unref(rules),
|
|
21832
21852
|
placeholder: props.placeholder
|
|
21833
21853
|
}, {
|
|
21834
21854
|
input: withCtx(() => [!unref(isGone) && !unref(isDisabled) && !unref(isReadonly) ? (openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_van_button, {
|
|
@@ -21856,11 +21876,11 @@ const _sfc_main$6 = {
|
|
|
21856
21876
|
}, null, 8, ["onClick"])])) : createCommentVNode("", true)]);
|
|
21857
21877
|
}), 128))]),
|
|
21858
21878
|
_: 3
|
|
21859
|
-
}, 8, ["label", "disabled", "required", "placeholder"])) : createCommentVNode("", true);
|
|
21879
|
+
}, 8, ["label", "disabled", "required", "rules", "placeholder"])) : createCommentVNode("", true);
|
|
21860
21880
|
};
|
|
21861
21881
|
}
|
|
21862
21882
|
};
|
|
21863
|
-
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
21883
|
+
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5378e9da"]]);
|
|
21864
21884
|
var TreePop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-box[data-v-571370f8] {\r\n min-height: 20vh;\r\n max-height: 40vh;\r\n overflow-y: auto;\n.checkbox-list[data-v-571370f8] {\r\n padding: 15px 25px;\n[data-v-571370f8] .van-checkbox__label {\r\n flex: 1;\r\n text-align: right;\n}\n}\n}\n.select-all-container[data-v-571370f8] {\r\n font-size: 14px;\r\n padding: 15px 25px 0 15px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-571370f8] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-571370f8] {\r\n margin-left: 8px;\n}\r\n")();
|
|
21865
21885
|
const _sfc_main$5 = {
|
|
21866
21886
|
__name: "TreePop",
|
|
@@ -21912,7 +21932,7 @@ const _sfc_main$5 = {
|
|
|
21912
21932
|
}
|
|
21913
21933
|
};
|
|
21914
21934
|
var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-571370f8"]]);
|
|
21915
|
-
var TreePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.select-item[data-v-
|
|
21935
|
+
var TreePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.select-item[data-v-2b9af465]{\r\n margin:3px;\n}\r\n")();
|
|
21916
21936
|
const _hoisted_1$4 = {
|
|
21917
21937
|
class: "select-list"
|
|
21918
21938
|
};
|
|
@@ -21966,10 +21986,11 @@ const _sfc_main$4 = {
|
|
|
21966
21986
|
});
|
|
21967
21987
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21968
21988
|
const {
|
|
21969
|
-
isRequired,
|
|
21989
|
+
isRequired: isRequired2,
|
|
21970
21990
|
isReadonly,
|
|
21971
21991
|
isGone,
|
|
21972
|
-
isDisabled
|
|
21992
|
+
isDisabled,
|
|
21993
|
+
rules
|
|
21973
21994
|
} = util.props2auth(props);
|
|
21974
21995
|
onMounted(() => __async(this, null, function* () {
|
|
21975
21996
|
yield query();
|
|
@@ -22002,8 +22023,8 @@ const _sfc_main$4 = {
|
|
|
22002
22023
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
22003
22024
|
key: 0,
|
|
22004
22025
|
label: props.label,
|
|
22005
|
-
required: unref(
|
|
22006
|
-
rules:
|
|
22026
|
+
required: unref(isRequired2),
|
|
22027
|
+
rules: unref(rules),
|
|
22007
22028
|
disabled: unref(isDisabled),
|
|
22008
22029
|
placeholder: props.placeholder,
|
|
22009
22030
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -22034,7 +22055,7 @@ const _sfc_main$4 = {
|
|
|
22034
22055
|
};
|
|
22035
22056
|
}
|
|
22036
22057
|
};
|
|
22037
|
-
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
22058
|
+
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-2b9af465"]]);
|
|
22038
22059
|
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-498f9f58] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.cascader-selector[data-v-498f9f58] {\r\n padding: 10px;\n}\n.search-buttons[data-v-498f9f58] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-498f9f58] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-498f9f58] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-498f9f58] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.cascader-header[data-v-498f9f58] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-498f9f58] {\r\n flex: 1;\r\n font-size: 14px;\r\n margin-left:5px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-498f9f58] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-498f9f58] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-498f9f58] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.cell-content[data-v-498f9f58] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-498f9f58] {\r\n width: 20px;\r\n height: 20px;\r\n border-radius: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: all 0.2s;\r\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-498f9f58] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-498f9f58] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-498f9f58] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-498f9f58] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-498f9f58] {\r\n color: #969799;\n}\n.search-field[data-v-498f9f58] {\r\n background: #fff;\r\n padding: 10px 16px;\r\n border-bottom: 1px solid #ebedf0;\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n margin-bottom: 10px;\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u538B\u7F29 */\n}\r\n")();
|
|
22039
22060
|
const _hoisted_1$3 = {
|
|
22040
22061
|
class: "cascader-selector"
|
|
@@ -22374,10 +22395,11 @@ const _sfc_main$2 = {
|
|
|
22374
22395
|
});
|
|
22375
22396
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22376
22397
|
const {
|
|
22377
|
-
isRequired,
|
|
22398
|
+
isRequired: isRequired2,
|
|
22378
22399
|
isReadonly,
|
|
22379
22400
|
isGone,
|
|
22380
|
-
isDisabled
|
|
22401
|
+
isDisabled,
|
|
22402
|
+
rules
|
|
22381
22403
|
} = util.props2auth(props);
|
|
22382
22404
|
onMounted(() => {
|
|
22383
22405
|
});
|
|
@@ -22432,8 +22454,8 @@ const _sfc_main$2 = {
|
|
|
22432
22454
|
key: 0,
|
|
22433
22455
|
label: props.label,
|
|
22434
22456
|
readonly: "",
|
|
22435
|
-
required: unref(
|
|
22436
|
-
rules:
|
|
22457
|
+
required: unref(isRequired2),
|
|
22458
|
+
rules: unref(rules),
|
|
22437
22459
|
disabled: unref(isDisabled),
|
|
22438
22460
|
placeholder: props.placeholder,
|
|
22439
22461
|
"is-link": unref(isReadonly) ? false : true,
|
|
@@ -22486,7 +22508,7 @@ const _sfc_main$2 = {
|
|
|
22486
22508
|
};
|
|
22487
22509
|
}
|
|
22488
22510
|
};
|
|
22489
|
-
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-
|
|
22511
|
+
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-40920255] {\n /* \u7EDF\u4E00\u5B57\u6BB5\u95F4\u8DDD */\n}\n.widget[data-v-40920255] .van-cell {\n align-items: center;\n}\n.widget[data-v-40920255] .van-field__label {\n width: 90px;\n flex: none;\n}\n.widget .readonly-field[data-v-40920255] {\n /* \u6DFB\u52A0\u5FC5\u586B\u661F\u53F7\u5BF9\u9F50 */\n}\n.widget .readonly-field[data-v-40920255] .van-field__control {\n color: #323233;\n /* \u4FEE\u6539\u6587\u5B57\u989C\u8272\u4E0E\u666E\u901A\u5B57\u6BB5\u4E00\u81F4 */\n padding-right: 16px;\n}\n.widget .readonly-field.van-field--required[data-v-40920255] .van-field__label::before {\n margin-right: 4px;\n}\n.widget .readonly-field[data-v-40920255] {\n margin: 4px 0;\n}')();
|
|
22490
22512
|
const _hoisted_1$1 = {
|
|
22491
22513
|
class: "widget"
|
|
22492
22514
|
};
|
|
@@ -22525,10 +22547,11 @@ const _sfc_main$1 = {
|
|
|
22525
22547
|
const props = __props;
|
|
22526
22548
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22527
22549
|
const {
|
|
22528
|
-
isRequired,
|
|
22550
|
+
isRequired: isRequired2,
|
|
22529
22551
|
isReadonly,
|
|
22530
22552
|
isGone,
|
|
22531
|
-
isDisabled
|
|
22553
|
+
isDisabled,
|
|
22554
|
+
rules
|
|
22532
22555
|
} = util.props2auth(props);
|
|
22533
22556
|
const data2 = reactive({
|
|
22534
22557
|
isShow: false
|
|
@@ -22567,11 +22590,12 @@ const _sfc_main$1 = {
|
|
|
22567
22590
|
"is-link": !unref(isReadonly) && !unref(isDisabled),
|
|
22568
22591
|
label: props.label,
|
|
22569
22592
|
placeholder: props.placeholder,
|
|
22593
|
+
rules: unref(rules),
|
|
22570
22594
|
readonly: "",
|
|
22571
|
-
required: unref(
|
|
22595
|
+
required: unref(isRequired2),
|
|
22572
22596
|
disabled: unref(isDisabled),
|
|
22573
22597
|
onClick: onShow
|
|
22574
|
-
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "required", "disabled"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
22598
|
+
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "rules", "required", "disabled"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
22575
22599
|
show: data2.isShow,
|
|
22576
22600
|
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
|
|
22577
22601
|
"destroy-on-close": "",
|
|
@@ -22588,8 +22612,8 @@ const _sfc_main$1 = {
|
|
|
22588
22612
|
};
|
|
22589
22613
|
}
|
|
22590
22614
|
};
|
|
22591
|
-
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
22592
|
-
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-
|
|
22615
|
+
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-40920255"]]);
|
|
22616
|
+
var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-4fc60b92] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n font-size: 12px;\n}\n.option[data-v-4fc60b92] {\n margin: 0 8px 8px 0;\n padding: 5px 10px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-4fc60b92] .van-field__label {\n margin: auto;\n}\n[data-v-4fc60b92] .van-cell {\n font-size: 12px;\n padding: 5px 5px;\n}\n[data-v-4fc60b92] .van-icon {\n font-size: 12px;\n}\n[data-v-4fc60b92] .van-popup .van-cell {\n padding: 5px 25px;\n}")();
|
|
22593
22617
|
const _hoisted_1 = {
|
|
22594
22618
|
class: "widget-box"
|
|
22595
22619
|
};
|
|
@@ -22672,10 +22696,11 @@ const _sfc_main = {
|
|
|
22672
22696
|
const props = __props;
|
|
22673
22697
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22674
22698
|
const {
|
|
22675
|
-
isRequired,
|
|
22699
|
+
isRequired: isRequired2,
|
|
22676
22700
|
isReadonly,
|
|
22677
22701
|
isGone,
|
|
22678
|
-
isDisabled
|
|
22702
|
+
isDisabled,
|
|
22703
|
+
rules
|
|
22679
22704
|
} = util.props2auth(props);
|
|
22680
22705
|
const data2 = reactive({
|
|
22681
22706
|
inputValue: {},
|
|
@@ -22814,8 +22839,9 @@ const _sfc_main = {
|
|
|
22814
22839
|
key: 0,
|
|
22815
22840
|
label: props.label,
|
|
22816
22841
|
disabled: unref(isDisabled),
|
|
22817
|
-
required: unref(
|
|
22818
|
-
placeholder: props.placeholder
|
|
22842
|
+
required: unref(isRequired2),
|
|
22843
|
+
placeholder: props.placeholder,
|
|
22844
|
+
rules: unref(rules)
|
|
22819
22845
|
}, {
|
|
22820
22846
|
input: withCtx(() => [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(modelValue), (item, index) => {
|
|
22821
22847
|
return openBlock(), createElementBlock("div", {
|
|
@@ -22941,11 +22967,11 @@ const _sfc_main = {
|
|
|
22941
22967
|
onClick: onNewOption
|
|
22942
22968
|
})) : createCommentVNode("", true)])]),
|
|
22943
22969
|
_: 1
|
|
22944
|
-
}, 8, ["label", "disabled", "required", "placeholder"])) : createCommentVNode("", true);
|
|
22970
|
+
}, 8, ["label", "disabled", "required", "placeholder", "rules"])) : createCommentVNode("", true);
|
|
22945
22971
|
};
|
|
22946
22972
|
}
|
|
22947
22973
|
};
|
|
22948
|
-
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
22974
|
+
var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4fc60b92"]]);
|
|
22949
22975
|
const secret_notify = () => {
|
|
22950
22976
|
showNotify({ type: "danger", message: "\u4E25\u683C\u6267\u884C\u4FE1\u606F\u4FDD\u5BC6\u8981\u6C42\uFF0C\u5207\u5B9E\u9632\u8303\u4F01\u4E1A\u6CC4\u5BC6\u98CE\u9669", duration: 3e3 });
|
|
22951
22977
|
};
|