提交 f21ac4b5 编写于 作者: ibizdev's avatar ibizdev

liuleizhi 发布系统代码

上级 eec7edf4
{ {
"VMGroup":[
{"tag":"ViewMsg","position":"TOP","type":"INFO"}
]
} }
\ No newline at end of file
...@@ -39,6 +39,7 @@ export class MessageServiceRegister { ...@@ -39,6 +39,7 @@ export class MessageServiceRegister {
* @memberof MessageServiceRegister * @memberof MessageServiceRegister
*/ */
protected init(): void { protected init(): void {
this.allMessageService.set('ViewMsg', () => import('@/message/view-msg/view-msg-message'));
} }
/** /**
......
...@@ -430,5 +430,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -430,5 +430,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
mock.onGet('./assets/json/view-message-group.json').reply((config: any) => { mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
return [status,{ return [status,{
"VMGroup":[
{"tag":"ViewMsg","position":"TOP","type":"INFO"}
]
}]; }];
}); });
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false"> <card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false">
<div class='content-container pickup-grid-view'> <div class='content-container pickup-grid-view'>
<div class='view-top-messages'> <div class='view-top-messages'>
</div> <app-alert-group position='TOP' infoGroup='VMGroup'></app-alert-group> </div>
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> <app-alert-group position='BOTTOM' infoGroup='VMGroup'></app-alert-group> </div>
</div> </div>
</card> </card>
</div> </div>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册