e3cca5dc by 任超

style:字典

1 parent 7bbbdc6b
...@@ -14,7 +14,7 @@ export default class filter { ...@@ -14,7 +14,7 @@ export default class filter {
14 } 14 }
15 // 字典 15 // 字典
16 dicStatus (val, code) { 16 dicStatus (val, code) {
17 let data = store.getters.dictData[code], 17 let data = store.getters.dicData[code],
18 name = '暂无' 18 name = '暂无'
19 if (data) { 19 if (data) {
20 data.map((item) => { 20 data.map((item) => {
......
...@@ -20,7 +20,7 @@ class data extends filter { ...@@ -20,7 +20,7 @@ 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 },
......