提交 c65d23f7 编写于 作者: zhangpingchuan's avatar zhangpingchuan

zpc

上级 d659a3f5
......@@ -43,19 +43,14 @@ export default {
*
*/
codelistModel:{
<#if ctrl.getAllPSDEFormDetails()??>
<#list ctrl.getAllPSDEFormDetails() as formitem>
<#if formitem.isNeedCodeListConfig?? && formitem.isNeedCodeListConfig()?? && formitem.isNeedCodeListConfig() == true>
<#if formitem.getPSCodeList()??>
<#assign codelist=formitem.getPSCodeList()>
<#if view.getAllRelatedPSCodeLists()??>
<#list view.getAllRelatedPSCodeLists() as codelist>
<#if codelist.getAllPSCodeItems()??>
"${codelist.getSystemTag()}_${codelist.codeName}":[
<#list codelist.getAllPSCodeItems() as codeItem>
{"${codeItem.getCodeName()}":"${codeItem.getText()}"}<#if codeItem_has_next>,</#if>
{"id":"${codeItem.getCodeName()}","text":"${codeItem.getText()}"}<#if codeItem_has_next>,</#if>
</#list>
],
</#if>
</#if>
]<#if codelist_has_next>,</#if>
</#if>
</#list>
</#if>
......
<dropdown-list v-model={this.data.${item.name}} disabled={this.detailsModel.${item.name}.disabled} <#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()>tag='${codelist.getSystemTag()}_${codelist.codeName}'</#if> placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if> style="${item.getEditorCssStyle()}"></dropdown-list>
\ No newline at end of file
<app-dropdown-list v-model="data.${item.name}" :isauto="true" :disabled="detailsModel.${item.name}.disabled" :codelist="codelistModel" <#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()>tag="${codelist.getSystemTag()}_${codelist.codeName}"</#if> placeholder=<#if item.getPlaceHolder()??>"${item.getPlaceHolder()}"<#else>"请选择..."</#if> style="${item.getEditorCssStyle()}"></app-dropdown-list>
\ No newline at end of file
<dropdown-list v-model={this.data.${item.name}} disabled={this.detailsModel.${item.name}.disabled} style="${item.getEditorCssStyle()}width: 100px;" <#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()>tag='${codelist.getSystemTag()}_${codelist.codeName}'</#if> placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if>></dropdown-list>
\ No newline at end of file
<app-dropdown-list v-model="data.${item.name}" :isauto="false" :disabled="detailsModel.${item.name}.disabled" :codelist="codelistModel" <#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()>tag="${codelist.getSystemTag()}_${codelist.codeName}"</#if> placeholder=<#if item.getPlaceHolder()??>"${item.getPlaceHolder()}"<#else>"请选择..."</#if> style="${item.getEditorCssStyle()}"></app-dropdown-list>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册