提交 d97e5ef4 编写于 作者: RedPig97's avatar RedPig97

update: 更新

上级 25d014e6
<AppDropdownList
name="{{item.codeName}}"
:value="data.{{item.psEditor.name}}"
:data="data"
{{#if item.psEditor.codeList}}
codeListTag="{{item.psEditor.codeList.codeListTag}}"
codeListType="{{item.psEditor.codeList.codeListType}}"
valueSeparator="{{item.psEditor.codeList.valueSeparator}}"
{{/if}}
{{#if item.psEditor.getPlaceHolder}}
placeholder="{{item.psEditor.getPlaceHolder}}"
{{/if}}
{{#if item.psEditor.disabled}}
disabled="{{item.psEditor.disabled}}"
{{/if}}
{{#if item.psEditor.getEditorParams.multiple}}
:multiple="{{item.psEditor.getEditorParams.multiple}}"
{{/if}}
{{#if item.psEditor.getPSNavigateContexts}}
localContext="{{item.psEditor.getPSNavigateContexts}}"
{{/if}}
{{#if item.psEditor.getPSNavigateParams}}
localParam="{{item.psEditor.getPSNavigateParams}}"
{{/if}}
:contextProp="contextProp"
:viewParamsProp="viewParamsProp"/>
\ No newline at end of file
...@@ -2,3 +2,8 @@ ...@@ -2,3 +2,8 @@
{{#*inline "GROUPPANEL"}}{{>@macro/components/form-group.hbs}}{{/inline}} {{#*inline "GROUPPANEL"}}{{>@macro/components/form-group.hbs}}{{/inline}}
{{#*inline "FORMITEM"}}{{>@macro/components/form-item.hbs}}{{/inline}} {{#*inline "FORMITEM"}}{{>@macro/components/form-item.hbs}}{{/inline}}
{{#*inline "TEXTBOX"}}{{>@macro/components/input.hbs}}{{/inline}} {{#*inline "TEXTBOX"}}{{>@macro/components/input.hbs}}{{/inline}}
{{#*inline "NUMBER"}}{{>@macro/components/input.hbs}}{{/inline}}
{{#*inline "PASSWORD"}}{{>@macro/components/input.hbs}}{{/inline}}
{{#*inline "TEXTAREA"}}{{>@macro/components/input.hbs}}{{/inline}}
{{#*inline "SPAN"}}{{>@macro/components/span.hbs}}{{/inline}}
{{#*inline "DROPDOWNLIST"}}{{>@macro/components/dropdownList.hbs}}{{/inline}}
\ No newline at end of file
textbox子模板 表单项{{item.codeName}}->编辑器{{item.psEditor.name}}->maxLength {{item.psEditor.maxLength}} <AppInput
\ No newline at end of file {{#if item.psEditor.getPlaceHolder}}
placeholder="{{item.psEditor.getPlaceHolder}}"
{{/if}}
{{#if item.psEditor.disabled}}
disabled="{{item.psEditor.disabled}}"
{{/if}}
{{#if item.psEditor.isReadOnly}}
:readonly="{{item.psEditor.isReadOnly}}"
{{/if}}
{{#if item.psEditor.getEditorParams.max}}
:max="{{item.psEditor.getEditorParams.max}}"
{{/if}}
{{#if item.psEditor.getEditorParams.min}}
:max="{{item.psEditor.getEditorParams.min}}"
{{/if}}
{{#if item.psEditor.getEditorParams.precision}}
:precision="{{item.psEditor.getEditorParams.precision}}"
{{/if}}
{{#if item.psEditor.getEditorParams.maxLength}}
:maxLength="{{item.psEditor.maxLength}}"
{{/if}}
{{#eq item.psEditor.editorType "TEXTBOX"}}
type="text"
{{/eq}}
{{#eq item.psEditor.editorType "NUMBER"}}
type="number"
{{/eq}}
{{#eq item.psEditor.editorType "PASSWORD"}}
type="password"
{{/eq}}
{{#eq item.psEditor.editorType "TEXTAREA"}}
type="textarea"
{{/eq}}
name="{{item.codeName}}"
:value="data.{{item.psEditor.name}}"/>
\ No newline at end of file
<AppSpan
name="{{item.codeName}}"
:value="data.{{item.psEditor.name}}"
{{#if item.psEditor.codeList}}
codeListTag="{{item.psEditor.codeList.codeListTag}}"
codeListType="{{item.psEditor.codeList.codeListType}}"
{{/if}}
{{#if item.getDataType}}
dataType="{{item.getDataType}}"
{{/if}}
{{#if item.psEditor.getEditorParams.unitName}}
unitName="{{item.psEditor.getEditorParams.unitName}}"
{{/if}}
{{#if item.psEditor.getEditorParams.valueFormat}}
valueFormat="{{item.psEditor.getEditorParams.valueFormat}}"
{{/if}}
{{#if item.psEditor.getPrecision}}
:precision="{{item.psEditor.getPrecision}}"
{{/if}}
{{#if item.psEditor.getPSNavigateContexts}}
localContext="{{item.psEditor.getPSNavigateContexts}}"
{{/if}}
{{#if item.psEditor.getPSNavigateParams}}
localParam="{{item.psEditor.getPSNavigateParams}}"
{{/if}}
:contextProp="contextProp"
:viewParamsProp="viewParamsProp"/>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册