style:登记薄字典转换功能 字段的完善
Showing
1 changed file
with
6 additions
and
2 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-10-30 10:59:40 | 4 | * @LastEditTime: 2023-11-01 14:24:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -101,7 +101,7 @@ | ... | @@ -101,7 +101,7 @@ |
101 | <div | 101 | <div |
102 | v-for="(label, index) in row.djQlxxFdcqxmDoList" | 102 | v-for="(label, index) in row.djQlxxFdcqxmDoList" |
103 | :key="index"> | 103 | :key="index"> |
104 | {{ label[item.prop] }} | 104 | {{ getLable(item.prop,label[item.prop]) }} |
105 | </div> | 105 | </div> |
106 | </div> | 106 | </div> |
107 | </td> | 107 | </td> |
... | @@ -169,6 +169,10 @@ | ... | @@ -169,6 +169,10 @@ |
169 | let arr = store.getters.dictData['A36'].filter(item => item.dcode === label); | 169 | let arr = store.getters.dictData['A36'].filter(item => item.dcode === label); |
170 | return arr.length > 0 ? arr[0].dname : label; | 170 | return arr.length > 0 ? arr[0].dname : label; |
171 | }, | 171 | }, |
172 | fwjg: (label) => { | ||
173 | let arr = store.getters.dictData['A46'].filter(item => item.dcode === label); | ||
174 | return arr.length > 0 ? arr[0].dname : label; | ||
175 | }, | ||
172 | default: (label) => label | 176 | default: (label) => label |
173 | }; | 177 | }; |
174 | 178 | ... | ... |
-
Please register or sign in to post a comment