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

ShineKOT 发布系统代码 [后台服务,演示应用]

上级 e8c5cf91
......@@ -181,5 +181,8 @@
],
"VMGroup11":[
{"tag":"ViewMsg10","position":"TOP","type":"ERROR"}
],
"VMGroup60":[
{"tag":"ViewMsg59","position":"TOP","type":"ERROR"}
]
}
\ No newline at end of file
......@@ -43,6 +43,7 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg22', () => import('@/message/view-msg22/view-msg22-message'));
this.allMessageService.set('ViewMsg24', () => import('@/message/view-msg24/view-msg24-message'));
this.allMessageService.set('ViewMsg48', () => import('@/message/view-msg48/view-msg48-message'));
this.allMessageService.set('ViewMsg59', () => import('@/message/view-msg59/view-msg59-message'));
this.allMessageService.set('ViewMsg40', () => import('@/message/view-msg40/view-msg40-message'));
this.allMessageService.set('ViewMsg53', () => import('@/message/view-msg53/view-msg53-message'));
this.allMessageService.set('ViewMsg2', () => import('@/message/view-msg2/view-msg2-message'));
......
import ViewMessageService from '../view-message-service';
/**
* 表格主状态视图消息服务对象基类
*
* @export
* @class ViewMsg59MessageServiceBase
*/
export default class ViewMsg59MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg59MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg59MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg59MessageServiceBase
*/
public initBasicParam(){
this.id = "1056A6CC-A428-4232-AA63-9402116CCC64";
this.name = "表格主状态";
this.codename = "ViewMsg59";
this.title = "";
this.content = "本示例展示表格主状态(通过主状态控制操作列状态):图书类型为都市时禁用编辑,类型为仙侠时禁用删除,点击编辑时可进入编辑表单主状态展示。";
this.closeMode = 0;
this.position = "TOP";
this.type = "error";
this.isEnableRemove = false;
this.order = 1;
this.dynamicMode = "STATIC";
this.hasMessageTemp = false;
this.messageType = "TEXT";
}
/**
* 转化消息模板标题和内容
*
* @target {*} target 返回目标数据
* @param {*} context 应用上下文
* @param {*} viewparam 视图参数
* @param {*} item 源数据
*
* @memberof ViewMsg59MessageServiceBase
*/
public translateMessageTemp(target:any,context:any,viewparam:any,item?:any){
if(this.hasMessageTemp && Object.is(this.messageType,"HTML")){
Object.assign(target,{title:``});
Object.assign(target,{content:``});
}
if(this.hasMessageTemp && Object.is(this.messageType,"TEXT")){
Object.assign(target,{title:""});
Object.assign(target,{content:""});
}
}
}
\ No newline at end of file
import ViewMsg59MessageServiceBase from './view-msg59-message-base';
/**
* 表格主状态视图消息服务对象
*
* @export
* @class ViewMsg59MessageService
*/
export default class ViewMsg59MessageService extends ViewMsg59MessageServiceBase {
/**
* Creates an instance of ViewMsg59MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg59MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -189,7 +189,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc82',
appfunctag: 'AppFunc50',
resourcetag: '',
},
{
......
......@@ -2020,6 +2020,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
],
"VMGroup11":[
{"tag":"ViewMsg10","position":"TOP","type":"ERROR"}
],
"VMGroup60":[
{"tag":"ViewMsg59","position":"TOP","type":"ERROR"}
]
}];
});
\ No newline at end of file
......@@ -6,7 +6,7 @@
<span class='caption-info'>{{$t(model.srfCaption)}}</span>
</div>
<div class='view-top-messages'>
</div>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup60' viewname='ibizbookusr9gridview'></app-alert-group> </div>
<div class='content-container'>
<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;padding-left: 24px' placeholder="图书名称" />
......@@ -122,7 +122,7 @@
@closeview="closeView($event)">
</view_searchform>
<div class='view-body-messages'>
</div>
<app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup60' viewname='ibizbookusr9gridview'></app-alert-group> </div>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
......@@ -152,7 +152,7 @@
</view_grid>
</div>
<div class='view-bottom-messages'>
</div>
<app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup60' viewname='ibizbookusr9gridview'></app-alert-group> </div>
</card>
</div>
</template>
......
......@@ -2429,7 +2429,7 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
* 功能名称
* 订单实体数据看板视图
*
* @param {*} [item={}]
* @memberof MainMenu
......
......@@ -202,7 +202,7 @@ export default class MainMenuModel {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc82',
appfunctag: 'AppFunc50',
resourcetag: '',
authtag:'Web-MainMenu-menuitem186',
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册