* 表单列表
()
| 206 | * 表单列表 |
| 207 | */ |
| 208 | listForms() { |
| 209 | const forms: Record<string, string[]> = {}; |
| 210 | const activeViewNodes = this.nodes; |
| 211 | Array.from(activeViewNodes.values()).forEach((node) => { |
| 212 | if ( |
| 213 | ['XAction', 'XColumnAction', 'XForm', 'XStepForm', 'XSearchForm', 'XFormList'].includes( |
| 214 | node.component, |
| 215 | ) |
| 216 | ) { |
| 217 | forms[node.id] = queryXFormItemFields(node.rawNode); |
| 218 | } |
| 219 | }); |
| 220 | return forms; |
| 221 | } |
| 222 | |
| 223 | /** |
| 224 | * 添加导入符号 |
nothing calls this directly
no test coverage detected