diff --git a/packages/web-theme/template/index.ts.hbs b/packages/web-theme/template/index.ts.hbs index d85d1cb55a82ba0763de24a01825f3dd15a37bb0..6a7cbffbcd0d45ecb059439568022e861f94148b 100644 --- a/packages/web-theme/template/index.ts.hbs +++ b/packages/web-theme/template/index.ts.hbs @@ -44,6 +44,7 @@ import DETreeGridView from './view-layout-model-repository/view-layout-model-rep import DEMEditView9 from './view-layout-model-repository/view-layout-model-repository-dem-edit-view-9-layout'; import DEChartExpView from './view-layout-model-repository/view-layout-model-repository-de-chart-exp-view-layout'; import DEMAPVIEW from './view-layout-model-repository/view-layout-model-repository-de-map-view-layout'; +import DEREPORTVIEW from './view-layout-model-repository/view-layout-model-repository-de-report-view-layout'; // 部件布局面板 import GridExpBar from './control-layout/control-layout-model-repository-grid-exp-bar-layout'; @@ -173,6 +174,8 @@ export function install(callBack: (key: string, model: any) => void): void { callBack('DECHARTEXPVIEW_DEFAULT', DEChartExpView); // 实体地图视图 callBack('DEMAPVIEW_DEFAULT', DEMAPVIEW); + // 实体报表视图 + callBack('DEREPORTVIEW_DEFAULT', DEREPORTVIEW); // 部件布局面板 // 表格导航 diff --git a/packages/web-theme/template/{{appEntities}}/{{pages@DEREPORTVIEW}}.ts.hbs b/packages/web-theme/template/{{appEntities}}/{{pages@DEREPORTVIEW}}.ts.hbs new file mode 100644 index 0000000000000000000000000000000000000000..fd95d6d1ee85b1a29677f300ef236c66c2cff1ae --- /dev/null +++ b/packages/web-theme/template/{{appEntities}}/{{pages@DEREPORTVIEW}}.ts.hbs @@ -0,0 +1,3 @@ +{{#eq appEntity.codeName 'ViewLayoutModelRepository'}} +export default {{jsonStringify page.DSL.viewLayoutPanel 2}} +{{/eq}}