meixioacomponent 2.0.37 → 2.0.38
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
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
<!-- </basePopoverButton>-->
|
|
22
22
|
|
|
23
23
|
<base-pagination
|
|
24
|
+
:page-sizes="pageSizes"
|
|
24
25
|
:config="pageConfig"
|
|
25
26
|
:pageProps="pageProps"
|
|
26
27
|
@currentChange="currentChange"
|
|
@@ -50,6 +51,10 @@ export default {
|
|
|
50
51
|
pageConfig: {
|
|
51
52
|
type: Object,
|
|
52
53
|
},
|
|
54
|
+
pageSizes: {
|
|
55
|
+
type: Array,
|
|
56
|
+
default: () => [15, 30, 60, 100, 200, 300],
|
|
57
|
+
},
|
|
53
58
|
},
|
|
54
59
|
components: {
|
|
55
60
|
basePopoverButton,
|
|
@@ -97,8 +97,6 @@
|
|
|
97
97
|
>
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
|
|
102
100
|
<template #expanded-row="{row}" v-if="expandId">
|
|
103
101
|
<slot name="expandedRow" :scope="row"></slot>
|
|
104
102
|
</template>
|
|
@@ -193,6 +191,7 @@
|
|
|
193
191
|
class="oa-pro-table-footer"
|
|
194
192
|
>
|
|
195
193
|
<oa_pro_footerVue
|
|
194
|
+
:page-sizes="pageSizes"
|
|
196
195
|
:pageConfig="pageConfig"
|
|
197
196
|
:pageProps="pageProps"
|
|
198
197
|
:totalList="totalList"
|
|
@@ -510,16 +509,20 @@ export default {
|
|
|
510
509
|
default: false
|
|
511
510
|
},
|
|
512
511
|
|
|
513
|
-
expandId:{
|
|
514
|
-
type:String,
|
|
515
|
-
default:null
|
|
512
|
+
expandId: {
|
|
513
|
+
type: String,
|
|
514
|
+
default: null
|
|
516
515
|
},
|
|
517
516
|
rowspanAndColspan: {
|
|
518
517
|
type: Function,
|
|
519
518
|
default: () => {
|
|
520
519
|
return null
|
|
521
520
|
}
|
|
522
|
-
}
|
|
521
|
+
},
|
|
522
|
+
pageSizes: {
|
|
523
|
+
type: Array,
|
|
524
|
+
default: () => [15, 30, 60, 100, 200, 300],
|
|
525
|
+
},
|
|
523
526
|
},
|
|
524
527
|
computed: {
|
|
525
528
|
checkType() {
|
|
@@ -630,8 +633,8 @@ export default {
|
|
|
630
633
|
},
|
|
631
634
|
mixins: [tableSectionMixins],
|
|
632
635
|
methods: {
|
|
633
|
-
rehandleExpandChange(value,params){
|
|
634
|
-
this.$emit('rehandleExpandChange',value)
|
|
636
|
+
rehandleExpandChange(value, params) {
|
|
637
|
+
this.$emit('rehandleExpandChange', value)
|
|
635
638
|
},
|
|
636
639
|
isToolTip(value) {
|
|
637
640
|
if (!value) {
|
|
@@ -903,11 +906,17 @@ export default {
|
|
|
903
906
|
}
|
|
904
907
|
|
|
905
908
|
result[`keyword`] = this.module;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
+
try {
|
|
910
|
+
if (this.sort[`sortBy`]) {
|
|
911
|
+
result[`sortField`] = this.sort?.sortBy;
|
|
912
|
+
result[`sortOrder`] = this.sort?.descending ? 'desc' : 'asc';
|
|
913
|
+
}
|
|
914
|
+
} catch (error) {
|
|
915
|
+
result[`sortField`] = null;
|
|
916
|
+
result[`sortOrder`] = '';
|
|
909
917
|
}
|
|
910
918
|
|
|
919
|
+
|
|
911
920
|
// 高级筛选的结果
|
|
912
921
|
const searchList = [];
|
|
913
922
|
|