{
title: '操作',
align: 'center',
width:200,
render: (h, params) => {
// let status = params.status;
let status = 1;
let btnName = '确认保存';
let typeColr = 'primary';
if(status != 1) {
btnName = '重新上传';
typeColr = 'info';
}
return h('div', [
h('Button', {
props: {
type: 'primary',
size: 'large'
},
style: {
marginRight: '5px'
},
on: {
click: () => {
this.modal2 = true;
// this.getAllTableData2(params.row.index, params.row.id)
}
}
}, '详情'),
h('Button', {
props: {
type: typeColr,
size: 'large'
},
style: {
marginRight: '5px'
},
on: {
click: () => {
}
}
},btnName),
]);
}
},
网友评论