提交 1a8f82f9 编写于 作者: zcdtk's avatar zcdtk

编辑器代码处理

上级 f1e789b8
<#-- 编辑器 -->
<#ibizinclude>../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl</#ibizinclude> <#ibizinclude>../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<app-mob-select <app-mob-select
<#if editor.getPlaceHolder()??>
placeholder="${editor.getPlaceHolder()}"
</#if>
<#if editor.getPSCodeList()??>
<#assign codelist=editor.getPSCodeList()>
tag="${codelist.codeName}"
codeListType="${codelist.getCodeListType()}"
:isCache="false"
</#if>
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
:data="data" :data="data"
:context="context" :context="context"
...@@ -7,9 +17,4 @@ ...@@ -7,9 +17,4 @@
:value="data.${editor.name}" :value="data.${editor.name}"
:navigateContext ='<@getNavigateContext editor />' :navigateContext ='<@getNavigateContext editor />'
:navigateParam ='<@getNavigateParams editor />' :navigateParam ='<@getNavigateParams editor />'
@change="($event)=>this.data.${editor.name} = $event" @change="($event)=>this.data.${editor.name} = $event" />
:itemParam="<#if item.getEditorParam('PARENTDATA','') != ''>{parentdata:${item.getEditorParam('PARENTDATA','')}}<#else>{}</#if>" <#if editor.getPSCodeList()??><#assign codelist=editor.getPSCodeList()> \ No newline at end of file
:isCache="false"
codeListType="${codelist.getCodeListType()}"
tag="${codelist.codeName}"</#if><#if editor.getPlaceHolder()??>
placeholder="${editor.getPlaceHolder()}"</#if>/>
\ No newline at end of file
<#-- 编辑器 -->
<#ibizinclude>../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl</#ibizinclude> <#ibizinclude>../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<app-mob-check-list <app-mob-check-list
<#if editor.getPlaceHolder()??>
placeholder="${editor.getPlaceHolder()}"
</#if>
<#if editor.getPSCodeList()??>
<#assign codelist=editor.getPSCodeList()>
<#if codelist??>
<#if codelist.getOrMode() != "">
orMode="${codelist.getOrMode()?lower_case}"
</#if>
<#if codelist.getValueSeparator() != "">
valueSeparator="${codelist.getValueSeparator()}"
</#if>
<#if codelist.getTextSeparator() != "">
textSeparator="${codelist.getTextSeparator()}"
</#if>
</#if>
type="${codelist.getCodeListType()?lower_case}"
tag="${codelist.codeName}"
</#if>
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
:context="context"
:data="data" :data="data"
:context="context"
:viewparams="viewparams" :viewparams="viewparams"
<#if editor.getPSCodeList()??>
<#assign codelist=editor.getPSCodeList()> <#if codelist??><#if codelist.getOrMode() != "">
orMode="${codelist.getOrMode()?lower_case}"</#if>
<#if codelist.getValueSeparator() != "">
valueSeparator="${codelist.getValueSeparator()}"</#if>
<#if codelist.getTextSeparator() != "">
textSeparator="${codelist.getTextSeparator()}"</#if></#if>
:value="data.${editor.name}" :value="data.${editor.name}"
@change="($event)=>this.data.${editor.name} = $event"
:navigateContext ='<@getNavigateContext editor />' :navigateContext ='<@getNavigateContext editor />'
:navigateParam ='<@getNavigateParams editor />' :navigateParam ='<@getNavigateParams editor />'
type="${codelist.getCodeListType()?lower_case}" @change="($event)=>this.data.${editor.name} = $event"/>
tag="${codelist.codeName}"</#if> \ No newline at end of file
<#if editor.getPlaceHolder()??>
placeholder="${editor.getPlaceHolder()}"
</#if>/>
\ No newline at end of file
<#-- 编辑器 -->
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude> <#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<#ibizinclude>../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl</#ibizinclude> <#ibizinclude>../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<#if editor.getEditorParam("PICKUPVIEW",true)??> <#if editor.getEditorParam("PICKUPVIEW",true)??>
<#if editor.getPickupPSAppView()??> <#if editor.getPickupPSAppView()??>
<app-mob-picker <app-mob-picker
name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getCodeName()?lower_case}name'
deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}id'
</#if>
valueitem='${editor.getValueItemName()}'
editortype=""
style="${editor.getEditorCssStyle()}"
:formState="formState" :formState="formState"
:data="data" :data="data"
:context="context" :context="context"
...@@ -11,18 +20,10 @@ ...@@ -11,18 +20,10 @@
:navigateParam ='<@getNavigateParams editor />' :navigateParam ='<@getNavigateParams editor />'
:itemParam=<@getItemParams editor /> :itemParam=<@getItemParams editor />
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getCodeName()?lower_case}name'
deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}id'
</#if>
:service="service" :service="service"
:acParams=<@getAcParams editor /> :acParams=<@getAcParams editor />
valueitem='${editor.getValueItemName()}'
:value="data.${editor.name}" :value="data.${editor.name}"
editortype=""
:pickupView=<@getPickupView editor /> :pickupView=<@getPickupView editor />
style="${editor.getEditorCssStyle()}"
@formitemvaluechange="onFormItemValueChange"> @formitemvaluechange="onFormItemValueChange">
<@getItemRender editor /> <@getItemRender editor />
</app-mob-picker> </app-mob-picker>
......
<#-- 编辑器 -->
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude> <#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<#ibizinclude>../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl</#ibizinclude> <#ibizinclude>../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<app-mob-select-drop-down <app-mob-select-drop-down
:formState="formState" name='${editor.name}'
:data="data" <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
:context="context" deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
:navigateContext ='<@getNavigateContext editor />' deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}id'
:navigateParam ='<@getNavigateParams editor />' </#if>
:viewparams="viewparams" valueitem='${item.getValueItemName()}'
:itemParam=<@getItemParams editor /> style="${editor.getEditorCssStyle()}"
:disabled="detailsModel.${editor.name}.disabled" editortype="dropdown"
name='${editor.name}' :formState="formState"
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> :data="data"
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}' :context="context"
deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}id' :navigateContext ='<@getNavigateContext editor />'
</#if> :navigateParam ='<@getNavigateParams editor />'
:service="service" :viewparams="viewparams"
:acParams=<@getAcParams editor /> :itemParam=<@getItemParams editor />
valueitem='${item.getValueItemName()}' :disabled="detailsModel.${editor.name}.disabled"
:value="data.${editor.name}" :service="service"
editortype="dropdown" :acParams=<@getAcParams editor />
style="${editor.getEditorCssStyle()}" :value="data.${editor.name}"
@formitemvaluechange="onFormItemValueChange"> @formitemvaluechange="onFormItemValueChange">
<@getItemRender editor /> <@getItemRender editor />
</app-mob-select-drop-down> </app-mob-select-drop-down>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册