--no commit message
Showing
1 changed file
with
20 additions
and
1 deletions
... | @@ -4,6 +4,7 @@ | ... | @@ -4,6 +4,7 @@ |
4 | * @LastEditTime: 2023-09-25 10:56:39 | 4 | * @LastEditTime: 2023-09-25 10:56:39 |
5 | */ | 5 | */ |
6 | import store from '@/store' | 6 | import store from '@/store' |
7 | import { log } from 'bpmn-js-token-simulation' | ||
7 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 | 8 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 |
8 | export default class filter { | 9 | export default class filter { |
9 | /** | 10 | /** |
... | @@ -153,17 +154,35 @@ export default class filter { | ... | @@ -153,17 +154,35 @@ export default class filter { |
153 | ygmmzt: "已预告买卖", | 154 | ygmmzt: "已预告买卖", |
154 | ygdyzt: "已预告抵押", | 155 | ygdyzt: "已预告抵押", |
155 | dyzt: "已抵押", | 156 | dyzt: "已抵押", |
156 | sfbl: "正在补录" | 157 | sfbl: "正在补录", |
158 | qqzt:"已确权" | ||
157 | }; | 159 | }; |
158 | 160 | ||
159 | for (let key in row) { | 161 | for (let key in row) { |
162 | console.log("row[key]11",row[key],key); | ||
163 | console.log("www",strategies[key],key); | ||
160 | if (row[key] === 1 && strategies[key]) { | 164 | if (row[key] === 1 && strategies[key]) { |
165 | console.log("row[key]22",row[key]); | ||
161 | keys++; | 166 | keys++; |
162 | if (keys == 1) { | 167 | if (keys == 1) { |
163 | text += strategies[key]; | 168 | text += strategies[key]; |
164 | } else { | 169 | } else { |
165 | text += ',' + strategies[key]; | 170 | text += ',' + strategies[key]; |
166 | } | 171 | } |
172 | }else if(row[key] ==2 && key=="qqzt"){ | ||
173 | if(text){ | ||
174 | text += ','+"已灭失"; | ||
175 | }else{ | ||
176 | text += "已灭失"; | ||
177 | } | ||
178 | |||
179 | }else if(row[key] ==0 && key=="qqzt"){ | ||
180 | if(text){ | ||
181 | text += ','+"未确权"; | ||
182 | }else{ | ||
183 | text += "未确权"; | ||
184 | } | ||
185 | |||
167 | } | 186 | } |
168 | } | 187 | } |
169 | 188 | ... | ... |
-
Please register or sign in to post a comment