|
|
|
@ -69,6 +69,7 @@
|
|
|
|
|
highlight-current-row
|
|
|
|
|
:data="list"
|
|
|
|
|
:custom-config="{ storage: true }"
|
|
|
|
|
:cell-style="cellClassName"
|
|
|
|
|
highlight-hover-row
|
|
|
|
|
show-overflow
|
|
|
|
|
show-header-overflow
|
|
|
|
@ -314,6 +315,19 @@ export default {
|
|
|
|
|
this.initBase()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
cellClassName ({ row, column }) {
|
|
|
|
|
let fields=['lm1','s1','sx2','szd2','xf','df','xzhb','dzhb','sx4','jz4',
|
|
|
|
|
'xm','dm','sx3','sj3','szd3','xzxc','dzxc','fg','szd4','sq2x',
|
|
|
|
|
'sq2d','xq3','dq3','gd'
|
|
|
|
|
]
|
|
|
|
|
if (fields.includes(column.property)) {
|
|
|
|
|
return {
|
|
|
|
|
background: 'rgba(69,255,40,0.89)',
|
|
|
|
|
cursor: 'pointer'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return null
|
|
|
|
|
},
|
|
|
|
|
handleExport() {
|
|
|
|
|
this.$refs.xGrid.exportData({
|
|
|
|
|
filename: '月度计划追踪记录',// 文件名字
|
|
|
|
|