bri-components 1.4.77 → 1.4.78
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/package.json
CHANGED
|
@@ -805,6 +805,12 @@ export default {
|
|
|
805
805
|
this.loadingFunc();
|
|
806
806
|
},
|
|
807
807
|
|
|
808
|
+
// 共外部使用
|
|
809
|
+
validate () {
|
|
810
|
+
this.showRuleMessage = true;
|
|
811
|
+
|
|
812
|
+
return this.allListData.every((row, rowIndex) => this.getRowRuleResult(row, rowIndex));
|
|
813
|
+
},
|
|
808
814
|
// 重置
|
|
809
815
|
reset () {
|
|
810
816
|
this.initFlag = true;
|
|
@@ -824,11 +830,12 @@ export default {
|
|
|
824
830
|
|
|
825
831
|
this.selfReset && this.selfReset();
|
|
826
832
|
},
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
833
|
+
loadingFunc () {
|
|
834
|
+
this.isLoading = true;
|
|
835
|
+
setTimeout(() => {
|
|
836
|
+
this.changeSelect();
|
|
837
|
+
this.isLoading = false;
|
|
838
|
+
});
|
|
832
839
|
},
|
|
833
840
|
|
|
834
841
|
// 筛选回调
|
|
@@ -840,14 +847,8 @@ export default {
|
|
|
840
847
|
}
|
|
841
848
|
},
|
|
842
849
|
// 列表选择项改变
|
|
843
|
-
changeSelect (...params) {
|
|
844
|
-
this.$emit("changeSelect",
|
|
845
|
-
},
|
|
846
|
-
loadingFunc () {
|
|
847
|
-
this.isLoading = true;
|
|
848
|
-
setTimeout(() => {
|
|
849
|
-
this.isLoading = false;
|
|
850
|
-
});
|
|
850
|
+
changeSelect (selections = [], ...params) {
|
|
851
|
+
this.$emit("changeSelect", selections.map(item => item._id), selections, ...params);
|
|
851
852
|
},
|
|
852
853
|
|
|
853
854
|
// 输入框失去焦点
|