提交 cc3c18b2 编写于 作者: tony001's avatar tony001

update:更新

上级 381ec5c0
...@@ -181,7 +181,6 @@ export class MDView extends MainView { ...@@ -181,7 +181,6 @@ export class MDView extends MainView {
if (this.getSearchBar()) { if (this.getSearchBar()) {
Object.assign(args, this.getSearchBar().getData()); Object.assign(args, this.getSearchBar().getData());
} }
Object.assign(args, { test: 111 });
// if (this.view && !this.view.isExpandSearchForm) { // if (this.view && !this.view.isExpandSearchForm) {
// Object.assign(args, { query: this.view.query }); // Object.assign(args, { query: this.view.query });
// } // }
......
...@@ -32,6 +32,8 @@ const routes = [ ...@@ -32,6 +32,8 @@ const routes = [
{{/if}} {{/if}}
{{/each}} {{/each}}
{{#each app.allPSAppViews as | appView |}} {{#each app.allPSAppViews as | appView |}}
{{!-- 临时只支持首页视图 --}}
{{#if (eq appView.getViewType 'APPINDEXVIEW')}}
{{#unless (or appView.psAppDataEntity appView.defaultPage)}} {{#unless (or appView.psAppDataEntity appView.defaultPage)}}
{ {
path: "views/{{lowerCase appView.codeName}}", path: "views/{{lowerCase appView.codeName}}",
...@@ -41,6 +43,7 @@ const routes = [ ...@@ -41,6 +43,7 @@ const routes = [
component: () => import("@views/{{spinalCase appView.psAppModule.codeName}}/{{spinalCase appView.codeName}}"), component: () => import("@views/{{spinalCase appView.psAppModule.codeName}}/{{spinalCase appView.codeName}}"),
}, },
{{/unless}} {{/unless}}
{{/if}}
{{/each}} {{/each}}
] ]
}, },
......
...@@ -3,11 +3,7 @@ import { Subject } from 'rxjs'; ...@@ -3,11 +3,7 @@ import { Subject } from 'rxjs';
import { FilterOutlined } from '@ant-design/icons-vue'; import { FilterOutlined } from '@ant-design/icons-vue';
import { PickupGridView, IActionParam, IParam, IContext } from '@core'; import { PickupGridView, IActionParam, IParam, IContext } from '@core';
import { viewState } from './{{spinalCase page.codeName}}-state'; import { viewState } from './{{spinalCase page.codeName}}-state';
// todo 表格部件拿不到目前导入固定表格 {{#each page.ctrls as |control|}}
import { MainGrid } from '@widgets/chart-data/main-grid';
import { DefaultSearchForm } from '@widgets/chart-data/default-search-form';
{{#each page.controls as |control|}}
{{#if (eq control.controlType 'GRID') }} {{#if (eq control.controlType 'GRID') }}
import { {{control.codeName}}Grid } from '@widgets/{{spinalCase appEntity.codeName}}/{{spinalCase codeName}}-grid'; import { {{control.codeName}}Grid } from '@widgets/{{spinalCase appEntity.codeName}}/{{spinalCase codeName}}-grid';
{{/if}} {{/if}}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册