bm-admin-ui 1.0.65-alpha → 1.0.67-alpha
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/es/components/editor/index.js +8 -4
- package/es/components/form-create/index.js +47 -31
- package/es/components/form-designer/index.js +3 -2
- package/es/components/input-tags-display/index.js +3 -3
- package/es/components/staffs-selector/index.d.ts +51 -11
- package/es/components/staffs-selector/index.js +293 -223
- package/es/components/staffs-selector/src/action.d.ts +2 -0
- package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -10
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -11
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
- package/es/components/upload/index.js +8 -4
- package/lib/components/editor/index.js +8 -4
- package/lib/components/form-create/index.js +47 -31
- package/lib/components/form-designer/index.js +3 -2
- package/lib/components/input-tags-display/index.js +2 -2
- package/lib/components/staffs-selector/index.d.ts +51 -11
- package/lib/components/staffs-selector/index.js +291 -221
- package/lib/components/staffs-selector/src/action.d.ts +2 -0
- package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -10
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -11
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
- package/lib/components/upload/index.js +8 -4
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/input-tags-display.css +1 -1
- package/types/components/staffs-selector/index.d.ts +51 -11
- package/types/components/staffs-selector/src/action.d.ts +2 -0
- package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -10
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -11
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
|
@@ -11859,6 +11859,9 @@ const _sfc_main$1 = {
|
|
|
11859
11859
|
});
|
|
11860
11860
|
},
|
|
11861
11861
|
paste(event) {
|
|
11862
|
+
if (uploadDisabled.value) {
|
|
11863
|
+
return;
|
|
11864
|
+
}
|
|
11862
11865
|
const items = event?.clipboardData?.items;
|
|
11863
11866
|
let file = null;
|
|
11864
11867
|
if (items && items.length) {
|
|
@@ -11980,7 +11983,7 @@ const _sfc_main$1 = {
|
|
|
11980
11983
|
immediate: true
|
|
11981
11984
|
}
|
|
11982
11985
|
);
|
|
11983
|
-
expose({ state, methods });
|
|
11986
|
+
expose({ state, methods, paste: methods.paste });
|
|
11984
11987
|
return {
|
|
11985
11988
|
...toRefs(state),
|
|
11986
11989
|
icons,
|
|
@@ -12169,7 +12172,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12169
12172
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
|
|
12170
12173
|
onClick: ($event) => _ctx.viewOnePicture(item)
|
|
12171
12174
|
}, null, 8, _hoisted_9)) : createCommentVNode("v-if", true),
|
|
12172
|
-
!(_ctx.extraConfigs.hidenDelBtn ?? false) ? (openBlock(), createElementBlock("div", {
|
|
12175
|
+
!(_ctx.extraConfigs.hidenDelBtn ?? _ctx.extraConfigs.hideDelBtn ?? false) ? (openBlock(), createElementBlock("div", {
|
|
12173
12176
|
key: 1,
|
|
12174
12177
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--delete",
|
|
12175
12178
|
onClick: ($event) => _ctx.deleteFile(item.uid)
|
|
@@ -12266,10 +12269,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12266
12269
|
class: "bm-upload__error-reload",
|
|
12267
12270
|
onClick: (e) => _ctx.reUpload(e, item.uid)
|
|
12268
12271
|
}, null, 8, _hoisted_32)) : createCommentVNode("v-if", true),
|
|
12269
|
-
|
|
12272
|
+
!(_ctx.extraConfigs.hidenDelBtn ?? _ctx.extraConfigs.hideDelBtn ?? false) ? (openBlock(), createElementBlock("div", {
|
|
12273
|
+
key: 1,
|
|
12270
12274
|
class: "bm-upload__trash",
|
|
12271
12275
|
onClick: ($event) => _ctx.deleteFile(item.uid)
|
|
12272
|
-
}, null, 8, _hoisted_33)
|
|
12276
|
+
}, null, 8, _hoisted_33)) : createCommentVNode("v-if", true)
|
|
12273
12277
|
])
|
|
12274
12278
|
]),
|
|
12275
12279
|
!item.isDoneDeloy || item.progress < 100 || item.status === "error" ? (openBlock(), createElementBlock("div", _hoisted_34, [
|
|
@@ -245,6 +245,7 @@ var radio = {
|
|
|
245
245
|
title: data.title.title,
|
|
246
246
|
props: {
|
|
247
247
|
placeholder: data.props.placeholder,
|
|
248
|
+
allowClear: true,
|
|
248
249
|
},
|
|
249
250
|
options: data.options,
|
|
250
251
|
effect: {
|
|
@@ -265,6 +266,7 @@ var radio = {
|
|
|
265
266
|
title: data.title.title,
|
|
266
267
|
props: {
|
|
267
268
|
placeholder: data.props.placeholder,
|
|
269
|
+
allowClear: true,
|
|
268
270
|
},
|
|
269
271
|
options: data.options,
|
|
270
272
|
effect: {
|
|
@@ -290,6 +292,7 @@ var radio = {
|
|
|
290
292
|
placeholder: data.props.placeholder,
|
|
291
293
|
options: data.options,
|
|
292
294
|
disabled: data.disabled,
|
|
295
|
+
allowClear: true,
|
|
293
296
|
getPopupContainer: getContainer,
|
|
294
297
|
'onUpdate:value': (value) => {
|
|
295
298
|
row[field] = value;
|
|
@@ -309,7 +312,7 @@ var checkbox = {
|
|
|
309
312
|
type: data.type,
|
|
310
313
|
field: data.field,
|
|
311
314
|
title: data.title.title,
|
|
312
|
-
props: Object.assign({ placeholder: data.props.placeholder }, extraProps),
|
|
315
|
+
props: Object.assign({ placeholder: data.props.placeholder, allowClear: true }, extraProps),
|
|
313
316
|
options: data.options,
|
|
314
317
|
effect: {
|
|
315
318
|
required: data.effect.required && '请选择',
|
|
@@ -328,7 +331,7 @@ var checkbox = {
|
|
|
328
331
|
type: data.type,
|
|
329
332
|
field: data.field,
|
|
330
333
|
title: data.title.title,
|
|
331
|
-
props: Object.assign({ placeholder: data.props.placeholder }, extraProps),
|
|
334
|
+
props: Object.assign({ placeholder: data.props.placeholder, allowClear: true }, extraProps),
|
|
332
335
|
options: data.options,
|
|
333
336
|
effect: {
|
|
334
337
|
required: data.effect.required && '请选择',
|
|
@@ -353,6 +356,7 @@ var checkbox = {
|
|
|
353
356
|
placeholder: data.props.placeholder,
|
|
354
357
|
options: data.options,
|
|
355
358
|
mode: 'multiple',
|
|
359
|
+
allowClear: true,
|
|
356
360
|
getPopupContainer: getContainer,
|
|
357
361
|
disabled: data.disabled,
|
|
358
362
|
'onUpdate:value': (value) => {
|
|
@@ -644,6 +648,7 @@ var picture = {
|
|
|
644
648
|
listType: 'picture-card',
|
|
645
649
|
text: '请选择',
|
|
646
650
|
multiple: maxCount > 1,
|
|
651
|
+
accept: '.jpg,.png',
|
|
647
652
|
},
|
|
648
653
|
extraProps: {
|
|
649
654
|
maxSize: 10,
|
|
@@ -786,6 +791,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
786
791
|
props: [
|
|
787
792
|
"title",
|
|
788
793
|
"mode",
|
|
794
|
+
"limit",
|
|
789
795
|
"placeholder",
|
|
790
796
|
"defaultSelected",
|
|
791
797
|
"load",
|
|
@@ -800,7 +806,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
800
806
|
label: "name",
|
|
801
807
|
value: "code"
|
|
802
808
|
};
|
|
803
|
-
const selected = ref([]);
|
|
809
|
+
const selected = ref(props.defaultSelected || []);
|
|
804
810
|
const visible = ref(false);
|
|
805
811
|
function selectedChange(val) {
|
|
806
812
|
emits(
|
|
@@ -819,15 +825,6 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
819
825
|
function getPopupContainer() {
|
|
820
826
|
return document.body;
|
|
821
827
|
}
|
|
822
|
-
watch(
|
|
823
|
-
() => props.defaultSelected,
|
|
824
|
-
(val) => {
|
|
825
|
-
selected.value = val || [];
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
immediate: true
|
|
829
|
-
}
|
|
830
|
-
);
|
|
831
828
|
watch(selected, (val) => {
|
|
832
829
|
selectedChange(val);
|
|
833
830
|
});
|
|
@@ -852,8 +849,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
852
849
|
title: __props.title,
|
|
853
850
|
mode: __props.mode,
|
|
854
851
|
load: __props.load,
|
|
852
|
+
limit: __props.limit,
|
|
855
853
|
"immediate-fetch": __props.immediateFetch
|
|
856
|
-
}, null, 8, ["select", "visible", "title", "mode", "load", "immediate-fetch"])
|
|
854
|
+
}, null, 8, ["select", "visible", "title", "mode", "load", "limit", "immediate-fetch"])
|
|
857
855
|
]);
|
|
858
856
|
};
|
|
859
857
|
}
|
|
@@ -19180,7 +19178,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19180
19178
|
);
|
|
19181
19179
|
let index = 2;
|
|
19182
19180
|
const measrueDicts = ref([]);
|
|
19183
|
-
const formData = computed(() => props.formCreateInject.api.
|
|
19181
|
+
const formData = computed(() => props.formCreateInject.api.bind());
|
|
19184
19182
|
function selectTemp() {
|
|
19185
19183
|
visible.value = true;
|
|
19186
19184
|
}
|
|
@@ -19409,6 +19407,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19409
19407
|
panes.splice(0);
|
|
19410
19408
|
activeKey.value = "\u7D20\u67501";
|
|
19411
19409
|
panes.push(initPane("\u7D20\u67501"));
|
|
19410
|
+
},
|
|
19411
|
+
{
|
|
19412
|
+
immediate: false
|
|
19412
19413
|
}
|
|
19413
19414
|
);
|
|
19414
19415
|
watch(
|
|
@@ -19417,7 +19418,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19417
19418
|
emitChange();
|
|
19418
19419
|
},
|
|
19419
19420
|
{
|
|
19420
|
-
immediate: true,
|
|
19421
19421
|
deep: true
|
|
19422
19422
|
}
|
|
19423
19423
|
);
|
|
@@ -19791,15 +19791,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19791
19791
|
if (Object.keys(result).length) {
|
|
19792
19792
|
emitChange(value);
|
|
19793
19793
|
} else {
|
|
19794
|
-
|
|
19795
|
-
inputValue.value = "";
|
|
19794
|
+
reset();
|
|
19796
19795
|
}
|
|
19797
19796
|
}).catch(() => {
|
|
19798
|
-
|
|
19799
|
-
inputValue.value = "";
|
|
19797
|
+
reset();
|
|
19800
19798
|
});
|
|
19801
19799
|
} else {
|
|
19802
|
-
|
|
19800
|
+
reset();
|
|
19803
19801
|
}
|
|
19804
19802
|
}
|
|
19805
19803
|
function handleChange(evt) {
|
|
@@ -19814,6 +19812,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19814
19812
|
function inputDisbale(shopField) {
|
|
19815
19813
|
return shopField && !formData.value[shopField];
|
|
19816
19814
|
}
|
|
19815
|
+
function reset() {
|
|
19816
|
+
emitChange("");
|
|
19817
|
+
inputValue.value = "";
|
|
19818
|
+
productInfo.value = {};
|
|
19819
|
+
}
|
|
19817
19820
|
watch(
|
|
19818
19821
|
() => props.defalutValue,
|
|
19819
19822
|
(val) => {
|
|
@@ -19827,8 +19830,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19827
19830
|
() => formData.value[props.dataFiltering],
|
|
19828
19831
|
() => {
|
|
19829
19832
|
if (inputValue.value) {
|
|
19830
|
-
|
|
19831
|
-
inputValue.value = "";
|
|
19833
|
+
reset();
|
|
19832
19834
|
}
|
|
19833
19835
|
}
|
|
19834
19836
|
);
|
|
@@ -20032,11 +20034,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
20032
20034
|
});
|
|
20033
20035
|
}
|
|
20034
20036
|
function handleChange(val, option) {
|
|
20035
|
-
emits(
|
|
20036
|
-
|
|
20037
|
-
|
|
20038
|
-
|
|
20039
|
-
|
|
20037
|
+
emits(
|
|
20038
|
+
"change",
|
|
20039
|
+
option ? {
|
|
20040
|
+
[fieldNames.value]: option.value,
|
|
20041
|
+
[fieldNames.label]: option.label,
|
|
20042
|
+
...option
|
|
20043
|
+
} : void 0
|
|
20044
|
+
);
|
|
20040
20045
|
}
|
|
20041
20046
|
function handleChangeConfirm(val, option) {
|
|
20042
20047
|
if (isAssociated.value) {
|
|
@@ -20067,6 +20072,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
20067
20072
|
options: options.value,
|
|
20068
20073
|
"get-popup-container": unref(getContainer),
|
|
20069
20074
|
disabled: __props.disabled,
|
|
20075
|
+
"allow-clear": "",
|
|
20070
20076
|
onChange: handleChangeConfirm,
|
|
20071
20077
|
onSearch: handleSearch
|
|
20072
20078
|
}, null, 8, ["value", "options", "get-popup-container", "disabled"]);
|
|
@@ -20383,8 +20389,9 @@ var department = {
|
|
|
20383
20389
|
title: data.title.title,
|
|
20384
20390
|
props: {
|
|
20385
20391
|
title: '添加部门',
|
|
20386
|
-
mode:
|
|
20392
|
+
mode: 'department',
|
|
20387
20393
|
placeholder: data.props.placeholder,
|
|
20394
|
+
limit: data.props.limit || 0,
|
|
20388
20395
|
immediateFetch: true,
|
|
20389
20396
|
unitStr: '个',
|
|
20390
20397
|
defaultSelected: data.value,
|
|
@@ -20427,7 +20434,8 @@ var department = {
|
|
|
20427
20434
|
title: data.title.title,
|
|
20428
20435
|
props: {
|
|
20429
20436
|
title: '添加部门',
|
|
20430
|
-
mode:
|
|
20437
|
+
mode: 'department',
|
|
20438
|
+
limit: data.props.limit,
|
|
20431
20439
|
placeholder: data.props.placeholder,
|
|
20432
20440
|
immediateFetch: true,
|
|
20433
20441
|
unitStr: '个',
|
|
@@ -20472,7 +20480,8 @@ var department = {
|
|
|
20472
20480
|
var _a;
|
|
20473
20481
|
return h(StaffSelector, {
|
|
20474
20482
|
title: '添加部门',
|
|
20475
|
-
mode:
|
|
20483
|
+
mode: 'department',
|
|
20484
|
+
limit: data.props.limit,
|
|
20476
20485
|
placeholder: data.props.placeholder,
|
|
20477
20486
|
immediateFetch: true,
|
|
20478
20487
|
unitStr: '个',
|
|
@@ -20799,8 +20808,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20799
20808
|
if (formPermission) {
|
|
20800
20809
|
const { name } = formPermission;
|
|
20801
20810
|
if (formPermission.disabled) {
|
|
20802
|
-
if (name === "picture") {
|
|
20811
|
+
if (name === "picture" || name === "file") {
|
|
20812
|
+
if (!rule2.props.uploadProps) {
|
|
20813
|
+
rule2.props.uploadProps = {};
|
|
20814
|
+
}
|
|
20815
|
+
if (!rule2.props.extraProps) {
|
|
20816
|
+
rule2.props.extraProps = {};
|
|
20817
|
+
}
|
|
20803
20818
|
rule2.props.uploadProps.disabled = true;
|
|
20819
|
+
rule2.props.extraProps.hideDelBtn = true;
|
|
20804
20820
|
} else if (name === "materialTemp") {
|
|
20805
20821
|
rule2.props.disabled = formPermission.disabled;
|
|
20806
20822
|
} else {
|
|
@@ -3287,7 +3287,8 @@ var shop = {
|
|
|
3287
3287
|
info: '店铺控件在流程流转过程中涉及数据权限的控制,当表单中设置了多个店铺控件时,需设置其中1个店铺控件作为主控件。被设为主控件的店铺控件,流程流转过程中将以此店铺控件输入的数据作为数据权限判断依据。',
|
|
3288
3288
|
field: fieldsMap$1['config.isMain'],
|
|
3289
3289
|
value: rule.config.isMain,
|
|
3290
|
-
hidden:
|
|
3290
|
+
hidden: (parentRule === null || parentRule === void 0 ? void 0 : parentRule.type) === WidgetType.RowWidget ||
|
|
3291
|
+
(parentRule === null || parentRule === void 0 ? void 0 : parentRule.type) === WidgetType.TableWidget,
|
|
3291
3292
|
inject: true,
|
|
3292
3293
|
},
|
|
3293
3294
|
{
|
|
@@ -4232,7 +4233,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4232
4233
|
}
|
|
4233
4234
|
function resetActiveRule() {
|
|
4234
4235
|
activeRule.value = {};
|
|
4235
|
-
activeParentRule.value =
|
|
4236
|
+
activeParentRule.value = {};
|
|
4236
4237
|
}
|
|
4237
4238
|
function getPopupContainer() {
|
|
4238
4239
|
return document.body;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall } from 'bm-admin-ui/es/utils/with-install';
|
|
2
|
-
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, createVNode, normalizeProps, guardReactiveProps, withCtx, createElementVNode, createTextVNode, toDisplayString, withModifiers, Fragment, renderList, createBlock, createCommentVNode } from 'vue';
|
|
2
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, createVNode, normalizeProps, guardReactiveProps, withCtx, createElementVNode, createTextVNode, toDisplayString, withModifiers, Fragment, renderList, createBlock, createCommentVNode, normalizeClass } from 'vue';
|
|
3
3
|
import ToolTip from 'ant-design-vue/lib/tooltip';
|
|
4
4
|
import Button from 'ant-design-vue/lib/button';
|
|
5
5
|
import Tag from 'ant-design-vue/lib/tag';
|
|
@@ -212,9 +212,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
212
212
|
])) : createCommentVNode("v-if", true),
|
|
213
213
|
_ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
214
214
|
createElementVNode("div", {
|
|
215
|
-
class: "selector-empty-input",
|
|
215
|
+
class: normalizeClass(["selector-empty-input", { "empty-disabled": _ctx.disabled }]),
|
|
216
216
|
onClick: _cache[5] || (_cache[5] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
|
|
217
|
-
}, " \xA0\xA0" + toDisplayString(_ctx.placeholder),
|
|
217
|
+
}, " \xA0\xA0" + toDisplayString(_ctx.placeholder), 3)
|
|
218
218
|
])) : createCommentVNode("v-if", true),
|
|
219
219
|
_hoisted_7
|
|
220
220
|
]);
|
|
@@ -96,7 +96,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
96
96
|
fetch: (params: {
|
|
97
97
|
searchVal?: string | undefined;
|
|
98
98
|
area?: string | undefined;
|
|
99
|
-
}) => void
|
|
99
|
+
}) => Promise<void>;
|
|
100
100
|
flatListFunc: (list: any) => Map<string, any>;
|
|
101
101
|
findDataByKey: (key: string) => any;
|
|
102
102
|
summitSelect: () => void;
|
|
@@ -889,10 +889,6 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
889
889
|
type: ArrayConstructor;
|
|
890
890
|
default: () => never[];
|
|
891
891
|
};
|
|
892
|
-
isTree: {
|
|
893
|
-
type: BooleanConstructor;
|
|
894
|
-
default: boolean;
|
|
895
|
-
};
|
|
896
892
|
}, {
|
|
897
893
|
changeAllOption(): void;
|
|
898
894
|
search(): void;
|
|
@@ -907,6 +903,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
907
903
|
dataMap: import("vue").Ref<Map<string, any>>;
|
|
908
904
|
curlistKeys: import("vue").Ref<Set<string>>;
|
|
909
905
|
activeKey: import("vue").Ref<number>;
|
|
906
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
910
907
|
searchVal: import("vue").Ref<string>;
|
|
911
908
|
selectAll: import("vue").Ref<boolean>;
|
|
912
909
|
indeterminate: import("vue").Ref<boolean>;
|
|
@@ -916,7 +913,6 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
916
913
|
[key: string]: any;
|
|
917
914
|
}> | null | undefined)[]>;
|
|
918
915
|
isFulfill: import("vue").Ref<boolean>;
|
|
919
|
-
changeTreeCheck: (checkedKeys: any) => void;
|
|
920
916
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
921
917
|
limit: {
|
|
922
918
|
type: NumberConstructor;
|
|
@@ -926,17 +922,12 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
926
922
|
type: ArrayConstructor;
|
|
927
923
|
default: () => never[];
|
|
928
924
|
};
|
|
929
|
-
isTree: {
|
|
930
|
-
type: BooleanConstructor;
|
|
931
|
-
default: boolean;
|
|
932
|
-
};
|
|
933
925
|
}>> & {
|
|
934
926
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
935
927
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
936
928
|
}, {
|
|
937
929
|
selected: unknown[];
|
|
938
930
|
limit: number;
|
|
939
|
-
isTree: boolean;
|
|
940
931
|
}>;
|
|
941
932
|
radioCmp: import("vue").DefineComponent<{
|
|
942
933
|
list: {
|
|
@@ -995,6 +986,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
995
986
|
dataMap: import("vue").Ref<Map<string, any>>;
|
|
996
987
|
curlistKeys: import("vue").Ref<Set<string>>;
|
|
997
988
|
activeKey: import("vue").Ref<number>;
|
|
989
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
998
990
|
indicator: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
999
991
|
[key: string]: any;
|
|
1000
992
|
}>;
|
|
@@ -1036,6 +1028,54 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1036
1028
|
dataMap: Map<unknown, unknown>;
|
|
1037
1029
|
curlistKeys: Set<unknown>;
|
|
1038
1030
|
}>;
|
|
1031
|
+
departmentCmp: import("vue").DefineComponent<{
|
|
1032
|
+
limit: {
|
|
1033
|
+
type: NumberConstructor;
|
|
1034
|
+
default: number;
|
|
1035
|
+
};
|
|
1036
|
+
selected: {
|
|
1037
|
+
type: ArrayConstructor;
|
|
1038
|
+
default: () => never[];
|
|
1039
|
+
};
|
|
1040
|
+
}, {
|
|
1041
|
+
search(): void;
|
|
1042
|
+
list: any;
|
|
1043
|
+
multipleChecked: import("vue").Ref<any>;
|
|
1044
|
+
departmentChecked: import("vue").Ref<string[]>;
|
|
1045
|
+
multipDepartment: import("vue").Ref<string[]>;
|
|
1046
|
+
staffsChecked: import("vue").Ref<any>;
|
|
1047
|
+
shopChecked: import("vue").Ref<any>;
|
|
1048
|
+
groupChecked: import("vue").Ref<any>;
|
|
1049
|
+
dataMap: import("vue").Ref<Map<string, any>>;
|
|
1050
|
+
curlistKeys: import("vue").Ref<Set<string>>;
|
|
1051
|
+
activeKey: import("vue").Ref<number>;
|
|
1052
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
1053
|
+
searchVal: import("vue").Ref<string>;
|
|
1054
|
+
selectAll: import("vue").Ref<boolean>;
|
|
1055
|
+
indeterminate: import("vue").Ref<boolean>;
|
|
1056
|
+
emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1057
|
+
[key: string]: any;
|
|
1058
|
+
}> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1059
|
+
[key: string]: any;
|
|
1060
|
+
}> | null | undefined)[]>;
|
|
1061
|
+
isFulfill: import("vue").Ref<boolean>;
|
|
1062
|
+
changeTreeCheck: (checkedKeys: any) => void;
|
|
1063
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1064
|
+
limit: {
|
|
1065
|
+
type: NumberConstructor;
|
|
1066
|
+
default: number;
|
|
1067
|
+
};
|
|
1068
|
+
selected: {
|
|
1069
|
+
type: ArrayConstructor;
|
|
1070
|
+
default: () => never[];
|
|
1071
|
+
};
|
|
1072
|
+
}>> & {
|
|
1073
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
1074
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
1075
|
+
}, {
|
|
1076
|
+
selected: unknown[];
|
|
1077
|
+
limit: number;
|
|
1078
|
+
}>;
|
|
1039
1079
|
list: any;
|
|
1040
1080
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:visible" | "update:select")[], "change" | "update:visible" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1041
1081
|
visible: {
|