style:登记薄详情
Showing
1 changed file
with
12 additions
and
14 deletions
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | </tr> | 6 | </tr> |
7 | <tr> | 7 | <tr> |
8 | <td>单位</td> | 8 | <td>单位</td> |
9 | <td colspan="4">{{ zdjbxx.mjdw }}</td> | 9 | <td colspan="4">{{ zdjbxx.mjdw | dictionary('A7') }}</td> |
10 | </tr> | 10 | </tr> |
11 | <tr> | 11 | <tr> |
12 | <td>不动产类型</td> | 12 | <td>不动产类型</td> |
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | </tr> | 39 | </tr> |
40 | <tr> | 40 | <tr> |
41 | <td>权利设定方式</td> | 41 | <td>权利设定方式</td> |
42 | <td>{{zdjbxx.qlsdfs | qlsdfs}}</td> | 42 | <td>{{zdjbxx.qlsdfs | dictionary('A10')}}</td> |
43 | <td>容积率</td> | 43 | <td>容积率</td> |
44 | <td>{{ zdjbxx.rjl }}</td> | 44 | <td>{{ zdjbxx.rjl }}</td> |
45 | </tr> | 45 | </tr> |
... | @@ -172,20 +172,19 @@ | ... | @@ -172,20 +172,19 @@ |
172 | zdbhqks: [], | 172 | zdbhqks: [], |
173 | propsParam: this.$attrs, | 173 | propsParam: this.$attrs, |
174 | showGroup: false, | 174 | showGroup: false, |
175 | bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"], | 175 | bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"] |
176 | }; | 176 | } |
177 | }, | 177 | }, |
178 | filters: { | 178 | filters: { |
179 | qlsdfs: function (value) { | 179 | dictionary: function (value, param) { |
180 | const foundItem = store.getters.dictData['A10'].find(item => item.dcode === String(value)); | 180 | const foundItem = store.getters.dictData[param].find(item => item.dcode === String(value)) |
181 | if (foundItem) { | 181 | if (foundItem) { |
182 | console.log(foundItem.dname, 'foundItem.dname'); | 182 | return foundItem.dname |
183 | return foundItem.dname; | ||
184 | } | 183 | } |
185 | } | 184 | } |
186 | }, | 185 | }, |
187 | created () { | 186 | created () { |
188 | this.loadData(); | 187 | this.loadData() |
189 | }, | 188 | }, |
190 | methods: { | 189 | methods: { |
191 | loadData () { | 190 | loadData () { |
... | @@ -197,12 +196,11 @@ | ... | @@ -197,12 +196,11 @@ |
197 | this.showGroup = true; | 196 | this.showGroup = true; |
198 | } | 197 | } |
199 | } | 198 | } |
200 | }); | 199 | }) |
201 | }, | 200 | } |
202 | }, | 201 | } |
203 | }; | 202 | } |
204 | </script> | 203 | </script> |
205 | |||
206 | <style lang="scss" scoped> | 204 | <style lang="scss" scoped> |
207 | @import "~@/styles/tablecss.scss"; | 205 | @import "~@/styles/tablecss.scss"; |
208 | </style> | 206 | </style> | ... | ... |
-
Please register or sign in to post a comment