Compare commits

...

2 Commits

Author SHA1 Message Date
zhenghuang 0ad4adf1a7 1 5 years ago
zhenghuang 7e2d085286 1 5 years ago

@ -43,8 +43,7 @@
:columns="columns1" :columns="columns1"
:data="data1" :data="data1"
class="table-store" class="table-store"
size="small" size="small">
@on-row-dblclick="onDblClickRowLister">
<template slot="action" <template slot="action"
slot-scope="{row}"> slot-scope="{row}">
<i-col span="12"> <i-col span="12">
@ -244,6 +243,10 @@ export default {
width: 250, width: 250,
render: (h, params) => { render: (h, params) => {
let that = this; let that = this;
let color = "#3496EB"
if (parseInt(params.row.level) >= 3) {
color = "#999"
}
return h('div', [ return h('div', [
h('span', { h('span', {
style: { style: {
@ -255,7 +258,9 @@ export default {
}, },
on: { on: {
click: () => { click: () => {
that.show(params.row) if (parseInt(params.row.level) < 3) {
that.show(params.row)
}
} }
} }
}, '升级'), }, '升级'),

Loading…
Cancel
Save