|
|
@ -43,7 +43,14 @@ export default {
|
|
|
|
type: Array,
|
|
|
|
type: Array,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
// 显隐列初始默认隐藏列
|
|
|
|
|
|
|
|
for (let item in this.columns) {
|
|
|
|
|
|
|
|
if (this.columns[item].visible === false) {
|
|
|
|
|
|
|
|
this.value.push(parseInt(item));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
// 搜索
|
|
|
|
// 搜索
|
|
|
|
toggleSearch() {
|
|
|
|
toggleSearch() {
|
|
|
|