提交 eb5f34fe 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新

上级 6560ebe8
......@@ -142,13 +142,6 @@
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if> /></@compress>
<#-- <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_TEXTBOX">
<@compress single_line=true><app-preset-text-input
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if>
@valueChange="handleValueChange"/></@compress> -->
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_ORGPICK">
<@compress single_line=true><app-index-org-select
name="${panelDetail.getName()}"
......@@ -168,15 +161,59 @@
:data="layoutData"
:layoutModelDetails="layoutModelDetails"/></@compress>
<#else>
<app-panel-field
<@compress single_line=true><app-panel-field
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:data="layoutData"
:value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if>>
<#if panelDetail.getPSEditor?? && panelDetail.getPSEditor()??>
<#-- ${P.getEditorCode(panelDetail, "PANELEDITOR.vue").code} -->
<#if panelDetail.getPSEditor().getEditorType() == 'DROPDOWNLIST'>
<dropdown-list
:value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if>
:data="layoutData"
:context="context"
:viewparams="viewparams"
:formState="viewState"
:disabled="layoutModelDetails.${panelDetail.name}.disabled"
:localContext=<@getNavigateContext panelDetail />
:localParam=<@getNavigateParams panelDetail />
<#if panelDetail.getPSCodeList()??>
<#assign codelist=panelDetail.getPSCodeList()>
tag="${codelist.codeName}"
codelistType="${codelist.getCodeListType()}"
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if>
@change="(value) => handleValueChange({ name: '${panelDetail.name}', value})">
</dropdown-list>
<#elseif panelDetail.getPSEditor().getEditorType() == 'NUMBER'>
<input-box
type="number"
:precision="2"
:value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if>
:disabled="layoutModelDetails.${panelDetail.name}.disabled"
<#if panelDetail.getUnitName?? && panelDetail.getUnitName()??>unit="${panelDetail.getUnitName()}"</#if>
<#if panelDetail.getPlaceHolder()??>placeholder="${panelDetail.getPlaceHolder()}"</#if>
@change="(value) => handleValueChange({ name: '${panelDetail.name}', value})">
</input-box>
<#elseif panelDetail.getPSEditor().getEditorType() == 'NUMBER'>
<input-box
type="password"
name="${panelDetail.name}"
:value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if>
:disabled="layoutModelDetails.${panelDetail.name}.disabled"
<#if panelDetail.getPlaceHolder()??>placeholder="${panelDetail.getPlaceHolder()}"</#if>
@change="(value) => handleValueChange({ name: '${panelDetail.name}', value})">
</input-box>
</#if>
<#else>
<app-preset-text-input
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if>
@valueChange="handleValueChange"/>
</#if>
</app-panel-field>
</app-panel-field></@compress>
</#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "RAWITEM">
<#if panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()??>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册