提交 0cbbee72 编写于 作者: zhouweidong's avatar zhouweidong

预定义代码表

上级 be6f448e
......@@ -19,7 +19,24 @@ TARGET=PSSYSTEM
"code":"${codelist.codeName}",
"group":"",
"memo":"",
"enable":""
"enable":"",
<#if codelist.getAllPSCodeItems()??>
"items":[<#list codelist.getAllPSCodeItems() as codeItem>
{
"catalog_id":"${codelist.codeName}",
"catalog_name":"${codelist.name}",
"value_key":"${codelist.codeName}-${codeItem.codeName}",
"value":"${codeItem.value}",
"label":"${codeItem.text}",
"disabled":"",
"showorder":""
<#if codeItem.getParentCodeItem?? && codeItem.getParentCodeItem()??>
"parent":"${codelist.codeName}-${codeItem.getParentCodeItem().codeName}"
</#if>
}<#if codeItem_has_next>,</#if>
</#list>
]
</#if>
}
<#assign isFirstCodeList=false>
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册