{{> @macro/front-end/views/include-view-control}}
  {{!-- 视图基本信息 --}}
  viewCodeName: '{{page.codeName}}',
  viewName: '{{page.name}}',
  viewCaption: '{{page.caption}}',
  subCaption: '{{page.subCaption}}',
  viewSysCss: '{{page.psSysCss.cssName}}',
{{!--   viewSysImage: '{{page.psSysImage}}', --}}
  showCaptionBar: {{page.showCaptionBar}},
  viewType: '{{page.viewType}}',
  viewStyle: '{{page.viewStyle}}',
  xDataControlName:'{{page.xDataControlName}}',
  height: '{{page.height}}',
  width: '{{page.width}}',
  appEntityName: '{{page.appEntity.codeName}}',
  keyPSDEField: '{{lowerCase page.appEntity.codeName}}',
  isLoadDefault: {{#if (or page.loadDefault (eq page.loadDefault false))}}{{page.loadDefault}}{{else}}true{{/if}},
  appViewNavContexts:{{> @macro/front-end/common/navparam.hbs appNavParams=page.psAppViewNavContexts}},
  appViewNavParams:{{> @macro/front-end/common/navparam.hbs appNavParams=page.getPSAppViewNavParams}},
  {{!-- 快速分组代码表 --}}
  enableQuickGroup: {{#if page.enableQuickGroup}}true{{else}}false{{/if}},
  {{#if page.quickGroupPSCodeList}}
  quickGroupPSCodeList: {
    codeName: '{{page.quickGroupPSCodeList.codeName}}',
    codeListTag: '{{page.quickGroupPSCodeList.codeListTag}}',
    codeListType: '{{page.quickGroupPSCodeList.codeListType}}',
    codeItems: [
    {{#page.quickGroupPSCodeList.psCodeItems}}
    {codeName: '{{codeName}}', color: '{{color}}', data: '{{data}}', text: '{{text}}', value: '{{value}}', iconClass: '{{iconcls}}', imgPath: '{{icon}}'},
    {{/page.quickGroupPSCodeList.psCodeItems}}
    ]
  },
  {{/if}}
  {{#eq page.viewType 'APPINDEXVIEW'}}
  menuAlign: '{{#if page.mainMenuAlign}}{{page.mainMenuAlign}}{{else}}LEFT{{/if}}',
  {{/eq}}
{{!--   viewMsgGroup: '{{page.psAppViewMsgGroup}}', --}}
{{!--   viewUIActions: '{{page.psAppViewUIActions}}', --}}
  {{!-- 视图逻辑 --}}
  viewLogics: {
{{#each page.psAppViewLogics as |viewLogic|}}
  {{#if (eq viewLogic.name 'newdata')}}
    newData:{
    {{#if viewLogic.psAppUILogic.newDataPSAppView.openMode}}
      openMode: '{{viewLogic.psAppUILogic.newDataPSAppView.openMode}}'
    {{/if}}
      newDataViewName: '{{viewLogic.psAppUILogic.newDataPSAppView.refPSAppView.codeName}}',
    },
  {{/if}}
  {{#if (eq viewLogic.name 'opendata')}}
    openData:{
    {{#if viewLogic.psAppUILogic.newDataPSAppView.openMode}}
      openMode: '{{viewLogic.psAppUILogic.newDataPSAppView.openMode}}'
    {{/if}}
      openDataViewName: '{{viewLogic.psAppUILogic.openDataPSAppView.refPSAppView.codeName}}',
    },
  {{/if}}
{{/each}}
  },
  toolbar: [
  {{#page.viewToolBarItems}}
    {{#items}}
    { id:'{{id}}',name:'{{name}}',caption:'{{caption}}',groupExtractMode:'{{groupExtractMode}}',itemType:'{{itemType}}',noPrivDisplayMode:'{{noPrivDisplayMode}}',showIcon:{{showIcon}},showCaption:{{showCaption}},tooltip:'{{tooltip}}',disabled: false, visible: true, imgPath: '{{imgPath}}',iconClass: '{{iconClass}}',xDataControlName:'{{xDataControlName}}',{{#if uIAction}}uIAction:{codeName:'{{uIAction.codeName}}',fullCodeName:'{{uIAction.fullCodeName}}',uIActionMode:'{{uIAction.uIActionMode}}',uIActionTag:'{{uIAction.uIActionTag}}',uIActionType:'{{uIAction.uIActionType}}'}{{/if}} },
    {{/items}}
  {{/page.viewToolBarItems}}
  ],
{{#each page.ctrls  as | ctrl |}}
{{#if (neq ctrl.controlType "TOOLBAR")}}
  {{>(lookup . 'ctrl.controlType') ctrl=ctrl}}{{#unless @last}},{{/unless}}
{{/if}}
{{/each}}