  {{!-- 视图基本信息 --}}
  viewCodeName: '{{page.codeName}}',
  viewName: '{{page.name}}',
  viewCaption: '{{page.caption}}',
  subCaption: '{{page.subCaption}}',
  viewSysCss: '{{lowerCase page.codeName}} {{page.psSysCss.cssName}}',
{{!--   viewSysImage: '{{page.psSysImage}}', --}}
  showCaptionBar: {{page.showCaptionBar}},
  viewType: '{{page.viewType}}',
  viewStyle: '{{page.viewStyle}}',
  xDataControlName:'{{page.xDataControlName}}',
  height: '{{page.height}}',
  width: '{{page.width}}',
  appEntityCodeName: '{{page.psAppDataEntity.codeName}}',
  appDeKeyFieldName: '{{lowerCase page.psAppDataEntity.keyPSAppDEField.codeName}}',
  appDeMajorFieldName: '{{lowerCase page.psAppDataEntity.majorPSAppDEField.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.psAppViewNavParams}},
  {{#if page.psAppCounterRefs}}
  appCounterRefs: [
    {{#each page.psAppCounterRefs as | counterRef |}}
      {{#if counterRef.psAppCounter}}
        {{#with counterRef.psAppCounter as | counter |}}
    {
      id: '{{counterRef.id}}',
      getAction: '{{counter.getPSAppDEAction.codeName}}',
      timer: {{#if counter.timer}}{{counter.timer}}{{else}}6000{{/if}},
      {{#if counter.psAppDataEntity}}
      deCodeName: '{{lowerCase counter.psAppDataEntity.codeName}}'
      {{/if}}
    }{{#unless @last}},{{/unless}}
        {{/with}}
      {{/if}}
    {{/each}}
  ],
  counterServices: [],
  {{/if}}
  {{!-- 快速分组代码表 --}}
  enableQuickGroup: {{#if page.enableQuickGroup}}true{{else}}false{{/if}},
  {{#if page.quickGroupPSCodeList}}
  quickGroupPSCodeList: {
    codeName: '{{page.quickGroupPSCodeList.codeName}}',
    codeListTag: '{{page.quickGroupPSCodeList.codeListTag}}'
  },
  quickGroupData: {},
  {{/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}}
  },
  {{#page.viewToolBarItems}}
  toolbar: [
    {{#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}}',actionTarget:'{{uIAction.actionTarget}}',uIActionTag:'{{uIAction.uIActionTag}}',dataAccessAction:'{{uIAction.dataAccessAction}}',uIActionType:'{{uIAction.uIActionType}}'}{{#if uIAction.counterId}},counterId: '{{uIAction.counterId}}'{{/if}}{{/if}} },
    {{/items}}
  ],
  {{/page.viewToolBarItems}}
{{#each page.ctrls  as | ctrl |}}
{{#if (neq ctrl.controlType "TOOLBAR")}}
{{> @macro/front-end/views/include-view-control type=ctrl.controlType ctrl=ctrl}}

{{/if}}
{{/each}}