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

update:更新

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