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

update:更新

上级 bb21ee4c
<IbizDropdownList <IbizDropdownList
name="{{item.codeName}}" name="{{item.codeName}}"
{{!-- :value="data.{{item.psEditor.name}}" --}} :value="state.data.{{item.psEditor.name}}"
:data="data" :data="state.data"
{{#if item.psEditor.codeList}} {{#if item.psEditor.codeList}}
codeListTag="{{item.psEditor.codeList.codeListTag}}" codeListTag="{{item.psEditor.codeList.codeListTag}}"
codeListType="{{item.psEditor.codeList.codeListType}}" codeListType="{{item.psEditor.codeList.codeListType}}"
valueSeparator="{{item.psEditor.codeList.valueSeparator}}" valueSeparator="{{item.psEditor.codeList.valueSeparator}}"
{{/if}} {{/if}}
{{#if item.psEditor.getPlaceHolder}} {{#if item.psEditor.getPlaceHolder}}
placeholder="{{item.psEditor.getPlaceHolder}}" placeholder="{{item.psEditor.getPlaceHolder}}"
{{/if}} {{/if}}
{{#if item.psEditor.disabled}} {{#if item.psEditor.disabled}}
disabled="{{item.psEditor.disabled}}" disabled="{{item.psEditor.disabled}}"
{{/if}} {{/if}}
{{#if item.psEditor.getEditorParams.multiple}} {{#if item.psEditor.getEditorParams.multiple}}
:multiple="{{item.psEditor.getEditorParams.multiple}}" :multiple="{{item.psEditor.getEditorParams.multiple}}"
{{/if}} {{/if}}
{{#if item.psEditor.getPSNavigateContexts}} {{#if item.psEditor.getPSNavigateContexts}}
localContext="{{item.psEditor.getPSNavigateContexts}}" localContext="{{item.psEditor.getPSNavigateContexts}}"
{{/if}} {{/if}}
{{#if item.psEditor.getPSNavigateParams}} {{#if item.psEditor.getPSNavigateParams}}
localParam="{{item.psEditor.getPSNavigateParams}}" localParam="{{item.psEditor.getPSNavigateParams}}"
{{/if}} {{/if}}
:contextProp="state.context" :contextProp="state.context"
:viewParamsProp="state.viewParams"/> :viewParamsProp="state.viewParams"
@editorEvent="handleEditorEvent"/>
<IbizInput <IbizInput
name="{{item.codeName}}"
:value="state.data.{{item.psEditor.name}}"
{{#if item.psEditor.getPlaceHolder}} {{#if item.psEditor.getPlaceHolder}}
placeholder="{{item.psEditor.getPlaceHolder}}" placeholder="{{item.psEditor.getPlaceHolder}}"
{{/if}} {{/if}}
{{#if item.psEditor.disabled}} {{#if item.psEditor.disabled}}
disabled="{{item.psEditor.disabled}}" disabled="{{item.psEditor.disabled}}"
{{/if}} {{/if}}
{{#if item.psEditor.isReadOnly}} {{#if item.psEditor.isReadOnly}}
:readonly="{{item.psEditor.isReadOnly}}" :readonly="{{item.psEditor.isReadOnly}}"
{{/if}} {{/if}}
{{#if item.psEditor.getEditorParams.max}} {{#if item.psEditor.getEditorParams.max}}
:max="{{item.psEditor.getEditorParams.max}}" :max="{{item.psEditor.getEditorParams.max}}"
{{/if}} {{/if}}
{{#if item.psEditor.getEditorParams.min}} {{#if item.psEditor.getEditorParams.min}}
:max="{{item.psEditor.getEditorParams.min}}" :max="{{item.psEditor.getEditorParams.min}}"
{{/if}} {{/if}}
{{#if item.psEditor.getEditorParams.precision}} {{#if item.psEditor.getEditorParams.precision}}
:precision="{{item.psEditor.getEditorParams.precision}}" :precision="{{item.psEditor.getEditorParams.precision}}"
{{/if}} {{/if}}
{{#if item.psEditor.getEditorParams.maxLength}} {{#if item.psEditor.getEditorParams.maxLength}}
:maxLength="{{item.psEditor.maxLength}}" :maxLength="{{item.psEditor.maxLength}}"
{{/if}} {{/if}}
{{#eq item.psEditor.editorType "TEXTBOX"}} {{#eq item.psEditor.editorType "TEXTBOX"}}
type="text" type="text"
{{/eq}} {{/eq}}
{{#eq item.psEditor.editorType "NUMBER"}} {{#eq item.psEditor.editorType "NUMBER"}}
type="number" type="number"
{{/eq}} {{/eq}}
{{#eq item.psEditor.editorType "PASSWORD"}} {{#eq item.psEditor.editorType "PASSWORD"}}
type="password" type="password"
{{/eq}} {{/eq}}
{{#eq item.psEditor.editorType "TEXTAREA"}} {{#eq item.psEditor.editorType "TEXTAREA"}}
type="textarea" type="textarea"
{{/eq}} {{/eq}}
{{!-- :value="data.{{item.psEditor.name}}" --}} @editorEvent="handleEditorEvent"/>
name="{{item.codeName}}"/>
<IbizSpan <IbizSpan
name="{{item.codeName}}" name="{{item.codeName}}"
{{!-- :value="data.{{item.psEditor.name}}" --}} :value="state.data.{{item.psEditor.name}}"
value="标签测试"
{{#if item.psEditor.codeList}} {{#if item.psEditor.codeList}}
codeListTag="{{item.psEditor.codeList.codeListTag}}" codeListTag="{{item.psEditor.codeList.codeListTag}}"
codeListType="{{item.psEditor.codeList.codeListType}}" codeListType="{{item.psEditor.codeList.codeListType}}"
{{/if}} {{/if}}
{{#if item.getDataType}} {{#if item.getDataType}}
dataType="{{item.getDataType}}" dataType="{{item.getDataType}}"
{{/if}} {{/if}}
{{#if item.psEditor.getEditorParams.unitName}} {{#if item.psEditor.getEditorParams.unitName}}
unitName="{{item.psEditor.getEditorParams.unitName}}" unitName="{{item.psEditor.getEditorParams.unitName}}"
{{/if}} {{/if}}
{{#if item.psEditor.getEditorParams.valueFormat}} {{#if item.psEditor.getEditorParams.valueFormat}}
valueFormat="{{item.psEditor.getEditorParams.valueFormat}}" valueFormat="{{item.psEditor.getEditorParams.valueFormat}}"
{{/if}} {{/if}}
{{#if item.psEditor.getPrecision}} {{#if item.psEditor.getPrecision}}
:precision="{{item.psEditor.getPrecision}}" :precision="{{item.psEditor.getPrecision}}"
{{/if}} {{/if}}
{{#if item.psEditor.getPSNavigateContexts}} {{#if item.psEditor.getPSNavigateContexts}}
localContext="{{item.psEditor.getPSNavigateContexts}}" localContext="{{item.psEditor.getPSNavigateContexts}}"
{{/if}} {{/if}}
{{#if item.psEditor.getPSNavigateParams}} {{#if item.psEditor.getPSNavigateParams}}
localParam="{{item.psEditor.getPSNavigateParams}}" localParam="{{item.psEditor.getPSNavigateParams}}"
{{/if}} {{/if}}
:contextProp="state.context" :contextProp="state.context"
:viewParamsProp="state.viewParams"/> :viewParamsProp="state.viewParams"/>
export const CtrlConfig = { export const CtrlConfig = {
controlCodeName: '{{ctrl.codeName}}', controlCodeName: '{{ctrl.codeName}}',
controlName: '{{ctrl.name}}', controlName: '{{ctrl.name}}',
data: {},
}; };
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册