|
@ -95,7 +95,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
rowHeight () { |
|
|
rowHeight () { |
|
|
return (this.clientHeight - 200) + 'px' |
|
|
return (this.clientHeight - 180) + 'px' |
|
|
}, |
|
|
}, |
|
|
...mapGetters(['clientHeight']) |
|
|
...mapGetters(['clientHeight']) |
|
|
}, |
|
|
}, |
|
@ -209,13 +209,6 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
handleSizeChange (val) { |
|
|
|
|
|
console.log(`每页 ${val} 条`) |
|
|
|
|
|
}, |
|
|
|
|
|
handleCurrentChange (val) { |
|
|
|
|
|
console.log(`当前页: ${val}`) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
filterNode (value, data) { |
|
|
filterNode (value, data) { |
|
|
if (!value) return true; |
|
|
if (!value) return true; |
|
|
return data.label.indexOf(value) !== -1; |
|
|
return data.label.indexOf(value) !== -1; |
|
@ -256,11 +249,13 @@ export default { |
|
|
margin-top: 20px; |
|
|
margin-top: 20px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.el-row { |
|
|
.row { |
|
|
/* margin-bottom: 20px; */ |
|
|
padding: 10px; |
|
|
display: flex; |
|
|
} |
|
|
flex-wrap: wrap; |
|
|
</style> |
|
|
margin-top: 10px; |
|
|
|
|
|
margin-right: 50px; |
|
|
<style> |
|
|
|
|
|
.aui-content > .el-tabs > .el-tabs__content { |
|
|
|
|
|
padding: 0px; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|