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

liuleizhi 发布系统代码

上级 4d6c1aa9
{ {
"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
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<div class='content-container'> <div class='content-container'>
<div class='view-top-messages'> <div class='view-top-messages'>
</div> <app-alert-group position='TOP' infoGroup='VMGroup'></app-alert-group> </div>
<div style='margin-bottom: 6px;'> <div style='margin-bottom: 6px;'>
<i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="数据源名称" /> <i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="数据源名称" />
<div class='pull-right'> <div class='pull-right'>
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册