{
key: '',
title: '计划',
100,
align: 'left',
render: (h, params) => {
const { actionType, isEveryday } = params.row
if (isEveryday && isEveryday === '1') {
return <span>每天</span>
} else if (isEveryday && isEveryday === '2') {
return <span>一次</span>
} else if (actionType && actionType === '1') {
return <span>立即</span>
} else {
return <span>定时</span>
}
// let equiState = null
// switch (params.row.actionType) {
// case '0':
// equiState = '一次'
// break
// case '1':
// equiState = '每天'
// break
// }
// return h('span', {}, equiState)
},
},