meixioacomponent 0.3.75 → 0.3.76
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/lib/meixioacomponent.common.js +101 -104
- package/lib/meixioacomponent.umd.js +101 -104
- package/lib/meixioacomponent.umd.min.js +10 -10
- package/package.json +1 -1
- package/packages/components/proPageTable/oa_pro-table-search.vue +2 -1
- package/packages/components/proPageTable/oa_pro_table.vue +11 -13
- package/src/component/test.vue +1 -0
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<el-button
|
|
27
27
|
size="small"
|
|
28
28
|
@click="handleOpenProScreen"
|
|
29
|
-
:disabled="proScreenConfig
|
|
29
|
+
:disabled="proScreenConfig.length <= 0"
|
|
30
30
|
>
|
|
31
31
|
<i class="meixicomponenticonfont meixicomponenticon-shaixuan"></i>
|
|
32
32
|
高级筛选
|
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
},
|
|
97
97
|
created() {
|
|
98
98
|
this.initFooterHandleList()
|
|
99
|
+
// console.log(this.proScreenConfig)
|
|
99
100
|
},
|
|
100
101
|
props: {
|
|
101
102
|
value: {},
|
|
@@ -538,22 +538,20 @@ export default {
|
|
|
538
538
|
// 初始化高级筛选
|
|
539
539
|
initProScreenConfig() {
|
|
540
540
|
let proScreenConfig = this.$props.proScreenConfig
|
|
541
|
-
if (proScreenConfig.length > 0) {
|
|
542
|
-
this._proScreenConfig = proScreenConfig.map((item) => {
|
|
543
|
-
let index = this.$props.tableConfig.findIndex((citem) => {
|
|
544
|
-
//console.log(citem);
|
|
545
|
-
return citem.key == item.key
|
|
546
|
-
})
|
|
547
541
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
}
|
|
542
|
+
this._proScreenConfig = proScreenConfig.map((item) => {
|
|
543
|
+
let index = this.$props.tableConfig.findIndex((citem) => {
|
|
544
|
+
//console.log(citem);
|
|
545
|
+
return citem.key == item.key
|
|
553
546
|
})
|
|
554
547
|
|
|
555
|
-
|
|
556
|
-
|
|
548
|
+
if (index > -1) {
|
|
549
|
+
this.$set(item, 'label', this.$props.tableConfig[index].label)
|
|
550
|
+
this.$set(item, 'isCheck', false)
|
|
551
|
+
return item
|
|
552
|
+
}
|
|
553
|
+
})
|
|
554
|
+
|
|
557
555
|
},
|
|
558
556
|
// 打开高级筛选
|
|
559
557
|
handleOpenProScreen() {
|