style:登簿日志
Showing
1 changed file
with
10 additions
and
1 deletions
| ... | @@ -8,7 +8,16 @@ class data { | ... | @@ -8,7 +8,16 @@ class data { |
| 8 | { | 8 | { |
| 9 | prop: "state", | 9 | prop: "state", |
| 10 | label: "状态", | 10 | label: "状态", |
| 11 | width: '100', | 11 | width: '120', |
| 12 | render: (h, scope) => { | ||
| 13 | return ( | ||
| 14 | <div> | ||
| 15 | <span class='adopt' v-show={scope.row.state == 3}>上报失败</span> | ||
| 16 | <span class='adopt' v-show={scope.row.state == 2}>上报成功</span> | ||
| 17 | <span class='warehousing' v-show={scope.row.state == 1}>接入上报异常</span> | ||
| 18 | </div> | ||
| 19 | ) | ||
| 20 | } | ||
| 12 | }, | 21 | }, |
| 13 | { | 22 | { |
| 14 | prop: "UPLOADTIME", | 23 | prop: "UPLOADTIME", | ... | ... |
-
Please register or sign in to post a comment