bm-admin-ui 1.2.23-alpha → 1.2.25-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.
|
@@ -972,6 +972,7 @@ var people = {
|
|
|
972
972
|
on: {
|
|
973
973
|
change({ api, self }, list) {
|
|
974
974
|
const rule = self;
|
|
975
|
+
rule.props.defaultSelected = list;
|
|
975
976
|
nextTick(() => {
|
|
976
977
|
rule.props.defaultSelected = list;
|
|
977
978
|
api.form[rule.field] = list;
|
|
@@ -1014,6 +1015,7 @@ var people = {
|
|
|
1014
1015
|
on: {
|
|
1015
1016
|
change({ api, self }, list) {
|
|
1016
1017
|
const rule = self;
|
|
1018
|
+
rule.props.defaultSelected = list;
|
|
1017
1019
|
nextTick(() => {
|
|
1018
1020
|
rule.props.defaultSelected = list;
|
|
1019
1021
|
api.form[rule.field] = list;
|
|
@@ -21309,11 +21311,14 @@ var department = {
|
|
|
21309
21311
|
change(inject, list) {
|
|
21310
21312
|
const rule = inject.self;
|
|
21311
21313
|
rule.props.defaultSelected = list;
|
|
21312
|
-
|
|
21313
|
-
|
|
21314
|
-
|
|
21315
|
-
|
|
21316
|
-
|
|
21314
|
+
nextTick(() => {
|
|
21315
|
+
rule.props.defaultSelected = list;
|
|
21316
|
+
inject.api.form[rule.field] = list;
|
|
21317
|
+
inject.api.validateField(rule.field, () => {
|
|
21318
|
+
if (list.length) {
|
|
21319
|
+
inject.api.clearValidateState(rule.field);
|
|
21320
|
+
}
|
|
21321
|
+
});
|
|
21317
21322
|
});
|
|
21318
21323
|
},
|
|
21319
21324
|
},
|
|
@@ -21352,11 +21357,14 @@ var department = {
|
|
|
21352
21357
|
change(inject, list) {
|
|
21353
21358
|
const rule = inject.self;
|
|
21354
21359
|
rule.props.defaultSelected = list;
|
|
21355
|
-
|
|
21356
|
-
|
|
21357
|
-
|
|
21358
|
-
|
|
21359
|
-
|
|
21360
|
+
nextTick(() => {
|
|
21361
|
+
rule.props.defaultSelected = list;
|
|
21362
|
+
inject.api.form[rule.field] = list;
|
|
21363
|
+
inject.api.validateField(rule.field, () => {
|
|
21364
|
+
if (list.length) {
|
|
21365
|
+
inject.api.clearValidateState(rule.field);
|
|
21366
|
+
}
|
|
21367
|
+
});
|
|
21360
21368
|
});
|
|
21361
21369
|
},
|
|
21362
21370
|
},
|
|
@@ -21665,7 +21673,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21665
21673
|
}
|
|
21666
21674
|
},
|
|
21667
21675
|
form: {
|
|
21668
|
-
title: "
|
|
21676
|
+
title: ""
|
|
21669
21677
|
},
|
|
21670
21678
|
submitBtn: false,
|
|
21671
21679
|
global: {
|
|
@@ -673,6 +673,8 @@ const fieldsMap$e = {
|
|
|
673
673
|
'title.title': 'title.title',
|
|
674
674
|
'props.placeholder': 'props.placeholder',
|
|
675
675
|
'props.precision': 'props.precision',
|
|
676
|
+
'props.min': 'props.min',
|
|
677
|
+
'props.addonAfter': 'props.addonAfter',
|
|
676
678
|
value: 'value',
|
|
677
679
|
'config.fieldRatio': 'config.fieldRatio',
|
|
678
680
|
'config.count': 'config.count',
|
|
@@ -782,6 +784,8 @@ var numInput = {
|
|
|
782
784
|
props: {
|
|
783
785
|
placeholder: rule.props.placeholder,
|
|
784
786
|
precision: rule.props.precision,
|
|
787
|
+
min: rule.props.min,
|
|
788
|
+
addonAfter: rule.props.addonAfter,
|
|
785
789
|
},
|
|
786
790
|
value: rule.value,
|
|
787
791
|
config: {
|
|
@@ -986,6 +986,7 @@ var people = {
|
|
|
986
986
|
on: {
|
|
987
987
|
change({ api, self }, list) {
|
|
988
988
|
const rule = self;
|
|
989
|
+
rule.props.defaultSelected = list;
|
|
989
990
|
vue.nextTick(() => {
|
|
990
991
|
rule.props.defaultSelected = list;
|
|
991
992
|
api.form[rule.field] = list;
|
|
@@ -1028,6 +1029,7 @@ var people = {
|
|
|
1028
1029
|
on: {
|
|
1029
1030
|
change({ api, self }, list) {
|
|
1030
1031
|
const rule = self;
|
|
1032
|
+
rule.props.defaultSelected = list;
|
|
1031
1033
|
vue.nextTick(() => {
|
|
1032
1034
|
rule.props.defaultSelected = list;
|
|
1033
1035
|
api.form[rule.field] = list;
|
|
@@ -21323,11 +21325,14 @@ var department = {
|
|
|
21323
21325
|
change(inject, list) {
|
|
21324
21326
|
const rule = inject.self;
|
|
21325
21327
|
rule.props.defaultSelected = list;
|
|
21326
|
-
|
|
21327
|
-
|
|
21328
|
-
|
|
21329
|
-
|
|
21330
|
-
|
|
21328
|
+
vue.nextTick(() => {
|
|
21329
|
+
rule.props.defaultSelected = list;
|
|
21330
|
+
inject.api.form[rule.field] = list;
|
|
21331
|
+
inject.api.validateField(rule.field, () => {
|
|
21332
|
+
if (list.length) {
|
|
21333
|
+
inject.api.clearValidateState(rule.field);
|
|
21334
|
+
}
|
|
21335
|
+
});
|
|
21331
21336
|
});
|
|
21332
21337
|
},
|
|
21333
21338
|
},
|
|
@@ -21366,11 +21371,14 @@ var department = {
|
|
|
21366
21371
|
change(inject, list) {
|
|
21367
21372
|
const rule = inject.self;
|
|
21368
21373
|
rule.props.defaultSelected = list;
|
|
21369
|
-
|
|
21370
|
-
|
|
21371
|
-
|
|
21372
|
-
|
|
21373
|
-
|
|
21374
|
+
vue.nextTick(() => {
|
|
21375
|
+
rule.props.defaultSelected = list;
|
|
21376
|
+
inject.api.form[rule.field] = list;
|
|
21377
|
+
inject.api.validateField(rule.field, () => {
|
|
21378
|
+
if (list.length) {
|
|
21379
|
+
inject.api.clearValidateState(rule.field);
|
|
21380
|
+
}
|
|
21381
|
+
});
|
|
21374
21382
|
});
|
|
21375
21383
|
},
|
|
21376
21384
|
},
|
|
@@ -21679,7 +21687,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
21679
21687
|
}
|
|
21680
21688
|
},
|
|
21681
21689
|
form: {
|
|
21682
|
-
title: "
|
|
21690
|
+
title: ""
|
|
21683
21691
|
},
|
|
21684
21692
|
submitBtn: false,
|
|
21685
21693
|
global: {
|
|
@@ -683,6 +683,8 @@ const fieldsMap$e = {
|
|
|
683
683
|
'title.title': 'title.title',
|
|
684
684
|
'props.placeholder': 'props.placeholder',
|
|
685
685
|
'props.precision': 'props.precision',
|
|
686
|
+
'props.min': 'props.min',
|
|
687
|
+
'props.addonAfter': 'props.addonAfter',
|
|
686
688
|
value: 'value',
|
|
687
689
|
'config.fieldRatio': 'config.fieldRatio',
|
|
688
690
|
'config.count': 'config.count',
|
|
@@ -792,6 +794,8 @@ var numInput = {
|
|
|
792
794
|
props: {
|
|
793
795
|
placeholder: rule.props.placeholder,
|
|
794
796
|
precision: rule.props.precision,
|
|
797
|
+
min: rule.props.min,
|
|
798
|
+
addonAfter: rule.props.addonAfter,
|
|
795
799
|
},
|
|
796
800
|
value: rule.value,
|
|
797
801
|
config: {
|