|
|
|
@ -169,10 +169,14 @@ export const formSchema: FormSchema[] = [
|
|
|
|
|
<#assign form_cat_tree = false>
|
|
|
|
|
<#assign form_cat_back = "">
|
|
|
|
|
<#assign bpm_flag=false>
|
|
|
|
|
<#assign id_exists = false>
|
|
|
|
|
<#list columns as po><#rt/>
|
|
|
|
|
<#if po.fieldDbName=='bpm_status'>
|
|
|
|
|
<#assign bpm_flag=true>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if po.fieldDbName == 'id'>
|
|
|
|
|
<#assign id_exists = true>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if po.isShow =='Y'>
|
|
|
|
|
<#assign form_field_dictCode="">
|
|
|
|
|
<#if po.dictTable?default("")?trim?length gt 1 && po.dictText?default("")?trim?length gt 1 && po.dictField?default("")?trim?length gt 1>
|
|
|
|
@ -349,6 +353,15 @@ export const formSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
</#if>
|
|
|
|
|
</#list>
|
|
|
|
|
<#if id_exists == false>
|
|
|
|
|
// TODO 主键隐藏字段,目前写死为ID
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
|
field: 'id',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
},
|
|
|
|
|
</#if>
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
<#list subTables as sub>
|
|
|
|
@ -421,6 +434,15 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
|
|
|
|
|
<#assign form_cat_back = "">
|
|
|
|
|
<#assign bpm_flag=false>
|
|
|
|
|
<#list sub.originalColumns as po><#rt/>
|
|
|
|
|
<#if po.fieldName == 'id'>
|
|
|
|
|
// TODO 子表隐藏字段,目前写死为ID
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
|
field: 'id',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
},
|
|
|
|
|
</#if>
|
|
|
|
|
<#if po.isShow =='Y'>
|
|
|
|
|
<#assign form_field_dictCode="">
|
|
|
|
|
<#if po.dictTable?default("")?trim?length gt 1 && po.dictText?default("")?trim?length gt 1 && po.dictField?default("")?trim?length gt 1>
|
|
|
|
|