修改变更
Showing
1 changed file
with
17 additions
and
4 deletions
... | @@ -15,10 +15,10 @@ class data extends filter { | ... | @@ -15,10 +15,10 @@ class data extends filter { |
15 | } | 15 | } |
16 | columns () { | 16 | columns () { |
17 | return [ | 17 | return [ |
18 | { | 18 | // { |
19 | type: 'selection', | 19 | // type: 'selection', |
20 | label: '全选', | 20 | // label: '全选', |
21 | }, | 21 | // }, |
22 | { | 22 | { |
23 | label: '序号', | 23 | label: '序号', |
24 | type: 'index', | 24 | type: 'index', |
... | @@ -32,6 +32,19 @@ class data extends filter { | ... | @@ -32,6 +32,19 @@ class data extends filter { |
32 | } | 32 | } |
33 | }, | 33 | }, |
34 | { | 34 | { |
35 | prop: "bglx", | ||
36 | label: "变化情况", | ||
37 | minWidth: '80', | ||
38 | render: (h, scope) => { | ||
39 | switch (scope.row.bglx) { | ||
40 | case '1': | ||
41 | return <span>变更前</span> | ||
42 | case '2': | ||
43 | return <span>变更后</span> | ||
44 | } | ||
45 | } | ||
46 | }, | ||
47 | { | ||
35 | prop: "status", | 48 | prop: "status", |
36 | label: "状态", | 49 | label: "状态", |
37 | width: '130', | 50 | width: '130', | ... | ... |
-
Please register or sign in to post a comment