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

zpc

上级 d659a3f5
...@@ -43,22 +43,17 @@ export default { ...@@ -43,22 +43,17 @@ export default {
* *
*/ */
codelistModel:{ codelistModel:{
<#if ctrl.getAllPSDEFormDetails()??> <#if view.getAllRelatedPSCodeLists()??>
<#list ctrl.getAllPSDEFormDetails() as formitem> <#list view.getAllRelatedPSCodeLists() as codelist>
<#if formitem.isNeedCodeListConfig?? && formitem.isNeedCodeListConfig()?? && formitem.isNeedCodeListConfig() == true> <#if codelist.getAllPSCodeItems()??>
<#if formitem.getPSCodeList()??> "${codelist.getSystemTag()}_${codelist.codeName}":[
<#assign codelist=formitem.getPSCodeList()> <#list codelist.getAllPSCodeItems() as codeItem>
<#if codelist.getAllPSCodeItems()??> {"id":"${codeItem.getCodeName()}","text":"${codeItem.getText()}"}<#if codeItem_has_next>,</#if>
"${codelist.getSystemTag()}_${codelist.codeName}":[ </#list>
<#list codelist.getAllPSCodeItems() as codeItem> ]<#if codelist_has_next>,</#if>
{"${codeItem.getCodeName()}":"${codeItem.getText()}"}<#if codeItem_has_next>,</#if> </#if>
</#list> </#list>
], </#if>
</#if>
</#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> <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 \ 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> <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 \ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册