提交 7a23c38d 编写于 作者: Mosher's avatar Mosher

update:调整属性

上级 1ffa96ef
{{name}}:{ {{ctrl.name}}:{
action:{ action:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}', loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}',
removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}', removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}',
......
{{name}}:{ {{ctrl.name}}:{
action:{ action:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}', loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}',
removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}', removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}',
......
{{name}}:{ {{ctrl.name}}:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}' loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}'
} }
\ No newline at end of file
{{name}}:{ {{ctrl.name}}:{
action:{ action:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}', loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}',
removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}', removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}',
......
{{camelCase name}}:{ {{camelCase ctrl.name}}:{
action:{ action:{
{{#each ctrl.psControlHandler.psHandlerActions as | action |}} {{#each ctrl.psControlHandler.psHandlerActions as | action |}}
{{#eq action.name 'search'}} {{#eq action.name 'search'}}
......
{{name}}: { {{ctrl.name}}: {
action:{ action:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}', loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}',
removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}', removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}',
......
...@@ -7,9 +7,9 @@ export const AppCodeListConfig:IParam = { ...@@ -7,9 +7,9 @@ export const AppCodeListConfig:IParam = {
'codeName': '{{appCodeList.codeName}}', 'codeName': '{{appCodeList.codeName}}',
'codeListTag': '{{appCodeList.codeListTag}}', 'codeListTag': '{{appCodeList.codeListTag}}',
'codeListType': '{{appCodeList.codeListType}}', 'codeListType': '{{appCodeList.codeListType}}',
'isEnableCache': {{appCodeList.isEnableCache}}, 'isEnableCache': {{appCodeList.enableCache}},
'cacheTimeout': {{appCodeList.cacheTimeout}}, 'cacheTimeout': {{appCodeList.cacheTimeout}},
{{~#if appCodeList.minorSortDir}}'minorSortDir': '{{appCodeList.getMinorSortDir}}',{{/if~}} {{~#if appCodeList.minorSortDir}}'minorSortDir': '{{appCodeList.minorSortDir}}',{{/if~}}
{{~#if appCodeList.minorSortPSAppDEField}}'minorSortPSAppDEField': '{{lowerCase appCodeList.minorSortPSAppDEField.codeName}}',{{/if~}} {{~#if appCodeList.minorSortPSAppDEField}}'minorSortPSAppDEField': '{{lowerCase appCodeList.minorSortPSAppDEField.codeName}}',{{/if~}}
{{~#if appCodeList.predefinedType}}'predefinedType': '{{appCodeList.predefinedType}}',{{/if~}} {{~#if appCodeList.predefinedType}}'predefinedType': '{{appCodeList.predefinedType}}',{{/if~}}
{{~#if appCodeList.psAppDataEntity}}'appDataEntity': '{{appCodeList.psAppDataEntity.codeName}}',{{/if~}} {{~#if appCodeList.psAppDataEntity}}'appDataEntity': '{{appCodeList.psAppDataEntity.codeName}}',{{/if~}}
...@@ -24,7 +24,7 @@ export const AppCodeListConfig:IParam = { ...@@ -24,7 +24,7 @@ export const AppCodeListConfig:IParam = {
{{#if appCodeList.psCodeItems}} {{#if appCodeList.psCodeItems}}
'items':[ 'items':[
{{#each appCodeList.psCodeItems as |codeItem|}} {{#each appCodeList.psCodeItems as |codeItem|}}
{'value': {{#if appCodeList.isCodeItemValueNumber}}{{codeItem.getValue}}{{else}}'{{codeItem.getValue}}'{{/if}}, 'text': '{{codeItem.getText}}','codeName': '{{codeItem.codeName}}' }{{#unless @last}},{{/unless}} {'value': {{#if appCodeList.codeItemValueNumber}}{{codeItem.value}}{{else}}'{{codeItem.value}}'{{/if}}, 'text': '{{codeItem.text}}','codeName': '{{codeItem.codeName}}' }{{#unless @last}},{{/unless}}
{{/each}} {{/each}}
] ]
{{/if}} {{/if}}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册