style:登簿日志
Showing
1 changed file
with
11 additions
and
2 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", |
... | @@ -23,7 +32,7 @@ class data { | ... | @@ -23,7 +32,7 @@ class data { |
23 | prop: "ACCESSDATE", | 32 | prop: "ACCESSDATE", |
24 | label: "日期", | 33 | label: "日期", |
25 | width: '150', | 34 | width: '150', |
26 | }, | 35 | }, |
27 | { | 36 | { |
28 | prop: "type", | 37 | prop: "type", |
29 | label: "类别", | 38 | label: "类别", | ... | ... |
-
Please register or sign in to post a comment