render
: (
h,
params)
=> {
return
h(
'div', [
h(
'Button', {
props: {
type:
'id',
size:
'small'
},
style: {
marginRight:
'5px'
},
on: {
click
: ()
=> {
this.
pojectshow(
this.
datatable[
params.
index].
id)
}
}
},
'详情'),
h(
'Button', {
props: {
type:
'id',
size:
'small'
},
style: {
marginRight:
'5px'
},
on: {
click
: ()
=> {
this.
pojectshow(
this.
datatable[
params.
index].
id)
}
}
},
'看板'),
h(
'div', {
props: {
type:
'id',
size:
'small'
},
style: {
marginRight:
'5px',
color:
'red'
},
on: {
click
: ()
=> {
this.
pojectshow(
this.
datatable[
params.
index].
id)
}
}
},
'测试' +
this.
datatable[
params.
index].
id)
])
}