meixioacomponent 0.3.75 → 0.3.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/lib/meixioacomponent.common.js +156 -157
- package/lib/meixioacomponent.umd.js +156 -157
- package/lib/meixioacomponent.umd.min.js +13 -13
- package/package.json +1 -1
- package/packages/components/dialogCache/index.vue +7 -4
- package/packages/components/proPageTable/oa_pro-table-search.vue +2 -1
- package/packages/components/proPageTable/oa_pro_table.vue +9 -13
- package/src/component/test.vue +1 -0
package/package.json
CHANGED
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
class="dialog-cache-wrap"
|
|
7
7
|
@blur="dialogCacheWrapOnBlue"
|
|
8
8
|
>
|
|
9
|
-
<div
|
|
9
|
+
<div
|
|
10
|
+
class="dialog-no-cache"
|
|
11
|
+
v-if="getCacheList && getCacheList.length <= 0"
|
|
12
|
+
>
|
|
10
13
|
<baseDefaultSvg
|
|
11
14
|
:width="100"
|
|
12
15
|
:height="100"
|
|
@@ -40,16 +43,16 @@ export default {
|
|
|
40
43
|
mounted() {},
|
|
41
44
|
computed: {
|
|
42
45
|
getCacheList() {
|
|
43
|
-
return store.getters['dialogCacheStore/getCacheList']
|
|
46
|
+
return this.$store.getters['dialogCacheStore/getCacheList']
|
|
44
47
|
},
|
|
45
48
|
getRenderShow() {
|
|
46
|
-
return store.getters['dialogCacheStore/getRenderShow']
|
|
49
|
+
return this.$store.getters['dialogCacheStore/getRenderShow']
|
|
47
50
|
},
|
|
48
51
|
},
|
|
49
52
|
components: { baseDefaultSvg },
|
|
50
53
|
methods: {
|
|
51
54
|
openDialogCache(index) {
|
|
52
|
-
store.commit('dialogCacheStore/OPEN_DIALOG_CACHE', index)
|
|
55
|
+
this.store.commit('dialogCacheStore/OPEN_DIALOG_CACHE', index)
|
|
53
56
|
},
|
|
54
57
|
dialogCacheWrapOnBlue() {
|
|
55
58
|
this.$store.commit('dialogCacheStore/SET_RENDER_SHOW', false)
|
|
@@ -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,18 @@ 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
|
-
return item
|
|
552
|
-
}
|
|
542
|
+
this._proScreenConfig = proScreenConfig.map((item) => {
|
|
543
|
+
let index = this.$props.tableConfig.findIndex((citem) => {
|
|
544
|
+
return citem.key == item.key
|
|
553
545
|
})
|
|
554
546
|
|
|
555
|
-
|
|
556
|
-
|
|
547
|
+
if (index > -1) {
|
|
548
|
+
this.$set(item, 'label', this.$props.tableConfig[index].label)
|
|
549
|
+
this.$set(item, 'isCheck', false)
|
|
550
|
+
return item
|
|
551
|
+
}
|
|
552
|
+
})
|
|
557
553
|
},
|
|
558
554
|
// 打开高级筛选
|
|
559
555
|
handleOpenProScreen() {
|