四零语境后端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
636 B

1 month ago
  1. <#assign sourceFields = po.dictField?default("")?trim?split(",")/>
  2. <#assign targetFields = po.dictText?default("")?trim?split(",")/>
  3. component: 'JPopup',
  4. componentProps: ({ formActionType }) => {
  5. const {setFieldsValue} = formActionType;
  6. return{
  7. setFieldsValue:setFieldsValue,
  8. code:"${po.dictTable}",
  9. fieldConfig: [
  10. <#list sourceFields as fieldName>
  11. { source: '${fieldName}', target: '${dashedToCamel(targetFields[fieldName_index])}' },
  12. </#list>
  13. ],
  14. multi:${po.extendParams.popupMulti?c}
  15. }
  16. },