Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcjg-web
Showing
2 changed files
with
16 additions
and
16 deletions
... | @@ -2,18 +2,18 @@ import store from '@/store' | ... | @@ -2,18 +2,18 @@ import store from '@/store' |
2 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 | 2 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 |
3 | export default class filter { | 3 | export default class filter { |
4 | // 业务来源 | 4 | // 业务来源 |
5 | busSource (val) { | 5 | busSource(val) { |
6 | let status = { 1: '办事大厅', 2: '微信小程序' } | 6 | let status = { 1: '办事大厅', 2: '微信小程序' } |
7 | return status[val] | 7 | return status[val] |
8 | } | 8 | } |
9 | 9 | ||
10 | //申请分类(1:正常申请,2:一并申请,3:补录申请) | 10 | //申请分类(1:正常申请,2:一并申请,3:补录申请) |
11 | sqfls (val) { | 11 | sqfls(val) { |
12 | let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' } | 12 | let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' } |
13 | return status[val] | 13 | return status[val] |
14 | } | 14 | } |
15 | // 字典 | 15 | // 字典 |
16 | dicStatus (val, code) { | 16 | dicStatus(val, code) { |
17 | let data = store.getters.dicData[code], | 17 | let data = store.getters.dicData[code], |
18 | name = '暂无' | 18 | name = '暂无' |
19 | if (data) { | 19 | if (data) { | ... | ... |
... | @@ -3,7 +3,7 @@ class data extends filter { | ... | @@ -3,7 +3,7 @@ class data extends filter { |
3 | constructor() { | 3 | constructor() { |
4 | super() | 4 | super() |
5 | } | 5 | } |
6 | columns () { | 6 | columns() { |
7 | return [ | 7 | return [ |
8 | { | 8 | { |
9 | label: "权属状态", | 9 | label: "权属状态", |
... | @@ -20,22 +20,22 @@ class data extends filter { | ... | @@ -20,22 +20,22 @@ class data extends filter { |
20 | render: (h, scope) => { | 20 | render: (h, scope) => { |
21 | return ( | 21 | return ( |
22 | <div> | 22 | <div> |
23 | <span>{ this.dicStatus(scope.row.dybdclx, 'A27')}</span> | 23 | <span>{this.dicStatus(scope.row.dybdclx, 'A27')}</span> |
24 | </div> | 24 | </div> |
25 | ) | 25 | ) |
26 | }, | 26 | }, |
27 | }, | 27 | }, |
28 | // { | 28 | { |
29 | // label: "登记类型", | 29 | label: "登记类型", |
30 | // width: 70, | 30 | width: 70, |
31 | // render: (h, scope) => { | 31 | render: (h, scope) => { |
32 | // return ( | 32 | return ( |
33 | // <div> | 33 | <div> |
34 | // <span>{this.djlxStatus(scope.row.DJLX)}</span> | 34 | <span>{this.dicStatus(scope.row.djlx, 'A21')}</span> |
35 | // </div> | 35 | </div> |
36 | // ) | 36 | ) |
37 | // } | 37 | } |
38 | // }, | 38 | }, |
39 | { | 39 | { |
40 | label: "不动产单元号", | 40 | label: "不动产单元号", |
41 | prop: "bdcdyh" | 41 | prop: "bdcdyh" | ... | ... |
-
Please register or sign in to post a comment