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

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

上级 bb8645d7
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
"VMGroup12":[ "VMGroup12":[
{"tag":"ViewMsg11","position":"TOP","type":"INFO"} {"tag":"ViewMsg11","position":"TOP","type":"INFO"}
], ],
"VMGroup14":[
{"tag":"ViewMsg13","position":"TOP","type":"INFO"}
],
"VMGroup6":[ "VMGroup6":[
{"tag":"ViewMsg6","position":"TOP","type":"INFO"} {"tag":"ViewMsg6","position":"TOP","type":"INFO"}
], ],
...@@ -29,6 +32,9 @@ ...@@ -29,6 +32,9 @@
"VMGroup10":[ "VMGroup10":[
{"tag":"ViewMsg9","position":"TOP","type":"INFO"} {"tag":"ViewMsg9","position":"TOP","type":"INFO"}
], ],
"VMGroup15":[
{"tag":"ViewMsg14","position":"TOP","type":"INFO"}
],
"VMGroup11":[ "VMGroup11":[
{"tag":"ViewMsg10","position":"TOP","type":"INFO"} {"tag":"ViewMsg10","position":"TOP","type":"INFO"}
], ],
......
...@@ -45,6 +45,7 @@ export class MessageServiceRegister { ...@@ -45,6 +45,7 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg7', () => import('@/message/view-msg7/view-msg7-message')); this.allMessageService.set('ViewMsg7', () => import('@/message/view-msg7/view-msg7-message'));
this.allMessageService.set('DataViewDar', () => import('@/message/data-view-dar/data-view-dar-message')); this.allMessageService.set('DataViewDar', () => import('@/message/data-view-dar/data-view-dar-message'));
this.allMessageService.set('ViewMsg5', () => import('@/message/view-msg5/view-msg5-message')); this.allMessageService.set('ViewMsg5', () => import('@/message/view-msg5/view-msg5-message'));
this.allMessageService.set('ViewMsg13', () => import('@/message/view-msg13/view-msg13-message'));
this.allMessageService.set('ViewMsg9', () => import('@/message/view-msg9/view-msg9-message')); this.allMessageService.set('ViewMsg9', () => import('@/message/view-msg9/view-msg9-message'));
this.allMessageService.set('ViewMsg8', () => import('@/message/view-msg8/view-msg8-message')); this.allMessageService.set('ViewMsg8', () => import('@/message/view-msg8/view-msg8-message'));
this.allMessageService.set('ViewMsg', () => import('@/message/view-msg/view-msg-message')); this.allMessageService.set('ViewMsg', () => import('@/message/view-msg/view-msg-message'));
...@@ -52,6 +53,7 @@ export class MessageServiceRegister { ...@@ -52,6 +53,7 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg11', () => import('@/message/view-msg11/view-msg11-message')); this.allMessageService.set('ViewMsg11', () => import('@/message/view-msg11/view-msg11-message'));
this.allMessageService.set('ViewMsg3', () => import('@/message/view-msg3/view-msg3-message')); this.allMessageService.set('ViewMsg3', () => import('@/message/view-msg3/view-msg3-message'));
this.allMessageService.set('ViewMsg6', () => import('@/message/view-msg6/view-msg6-message')); this.allMessageService.set('ViewMsg6', () => import('@/message/view-msg6/view-msg6-message'));
this.allMessageService.set('ViewMsg14', () => import('@/message/view-msg14/view-msg14-message'));
} }
/** /**
......
import ViewMessageService from '../view-message-service';
/**
* 表格新建默认值视图消息服务对象基类
*
* @export
* @class ViewMsg13MessageServiceBase
*/
export default class ViewMsg13MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg13MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg13MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg13MessageServiceBase
*/
public initBasicParam(){
this.id = "F2700673-DDB5-47E0-9CBE-2CB59A7D53AA";
this.name = "表格新建默认值";
this.codename = "ViewMsg13";
this.title = "";
this.content = "表格新建默认值:新建时提供默认值";
this.closeMode = 0;
this.position = "TOP";
this.type = "info";
this.isEnableRemove = false;
this.order = 1;
this.dynamicMode = "STATIC";
this.hasMessageTemp = false;
this.messageType = "TEXT";
}
/**
* 转化消息模板标题和内容
*
* @target {*} target 返回目标数据
* @param {*} context 应用上下文
* @param {*} viewparam 视图参数
* @param {*} item 源数据
*
* @memberof ViewMsg13MessageServiceBase
*/
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 ViewMsg13MessageServiceBase from './view-msg13-message-base';
/**
* 表格新建默认值视图消息服务对象
*
* @export
* @class ViewMsg13MessageService
*/
export default class ViewMsg13MessageService extends ViewMsg13MessageServiceBase {
/**
* Creates an instance of ViewMsg13MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg13MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import ViewMessageService from '../view-message-service';
/**
* 表格更新默认值视图消息服务对象基类
*
* @export
* @class ViewMsg14MessageServiceBase
*/
export default class ViewMsg14MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg14MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg14MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg14MessageServiceBase
*/
public initBasicParam(){
this.id = "86CE9696-9388-41A1-948C-84F7ED702519";
this.name = "表格更新默认值";
this.codename = "ViewMsg14";
this.title = "";
this.content = "表格更新默认值:表格更新时提供默认值";
this.closeMode = 0;
this.position = "TOP";
this.type = "info";
this.isEnableRemove = false;
this.order = 1;
this.dynamicMode = "STATIC";
this.hasMessageTemp = false;
this.messageType = "TEXT";
}
/**
* 转化消息模板标题和内容
*
* @target {*} target 返回目标数据
* @param {*} context 应用上下文
* @param {*} viewparam 视图参数
* @param {*} item 源数据
*
* @memberof ViewMsg14MessageServiceBase
*/
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 ViewMsg14MessageServiceBase from './view-msg14-message-base';
/**
* 表格更新默认值视图消息服务对象
*
* @export
* @class ViewMsg14MessageService
*/
export default class ViewMsg14MessageService extends ViewMsg14MessageServiceBase {
/**
* Creates an instance of ViewMsg14MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg14MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import ViewMessageService from '../view-message-service'; import ViewMessageService from '../view-message-service';
/** /**
* 数据视图自动分组视图消息服务对象基类 * 自动分组视图消息服务对象基类
* *
* @export * @export
* @class ViewMsg7MessageServiceBase * @class ViewMsg7MessageServiceBase
...@@ -25,10 +25,10 @@ export default class ViewMsg7MessageServiceBase extends ViewMessageService { ...@@ -25,10 +25,10 @@ export default class ViewMsg7MessageServiceBase extends ViewMessageService {
*/ */
public initBasicParam(){ public initBasicParam(){
this.id = "12EDBAFE-47E3-444C-8AEB-EF84C55646E0"; this.id = "12EDBAFE-47E3-444C-8AEB-EF84C55646E0";
this.name = "数据视图自动分组"; this.name = "自动分组";
this.codename = "ViewMsg7"; this.codename = "ViewMsg7";
this.title = ""; this.title = "";
this.content = "数据视图自动分组:分组属性为作者"; this.content = "自动分组:分组属性为作者";
this.closeMode = 0; this.closeMode = 0;
this.position = "TOP"; this.position = "TOP";
this.type = "info"; this.type = "info";
......
import ViewMsg7MessageServiceBase from './view-msg7-message-base'; import ViewMsg7MessageServiceBase from './view-msg7-message-base';
/** /**
* 数据视图自动分组视图消息服务对象 * 自动分组视图消息服务对象
* *
* @export * @export
* @class ViewMsg7MessageService * @class ViewMsg7MessageService
......
import ViewMessageService from '../view-message-service'; import ViewMessageService from '../view-message-service';
/** /**
* 数据视图代码表分组视图消息服务对象基类 * 代码表分组视图消息服务对象基类
* *
* @export * @export
* @class ViewMsg8MessageServiceBase * @class ViewMsg8MessageServiceBase
...@@ -25,10 +25,10 @@ export default class ViewMsg8MessageServiceBase extends ViewMessageService { ...@@ -25,10 +25,10 @@ export default class ViewMsg8MessageServiceBase extends ViewMessageService {
*/ */
public initBasicParam(){ public initBasicParam(){
this.id = "81ECB4F0-B3B4-4BFB-A94C-85CBD109357E"; this.id = "81ECB4F0-B3B4-4BFB-A94C-85CBD109357E";
this.name = "数据视图代码表分组"; this.name = "代码表分组";
this.codename = "ViewMsg8"; this.codename = "ViewMsg8";
this.title = ""; this.title = "";
this.content = "数据视图代码表分组:分组属性为图书类型"; this.content = "代码表分组:分组属性为图书类型";
this.closeMode = 0; this.closeMode = 0;
this.position = "TOP"; this.position = "TOP";
this.type = "info"; this.type = "info";
......
import ViewMsg8MessageServiceBase from './view-msg8-message-base'; import ViewMsg8MessageServiceBase from './view-msg8-message-base';
/** /**
* 数据视图代码表分组视图消息服务对象 * 代码表分组视图消息服务对象
* *
* @export * @export
* @class ViewMsg8MessageService * @class ViewMsg8MessageService
......
...@@ -1148,6 +1148,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => { ...@@ -1148,6 +1148,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup12":[ "VMGroup12":[
{"tag":"ViewMsg11","position":"TOP","type":"INFO"} {"tag":"ViewMsg11","position":"TOP","type":"INFO"}
], ],
"VMGroup14":[
{"tag":"ViewMsg13","position":"TOP","type":"INFO"}
],
"VMGroup6":[ "VMGroup6":[
{"tag":"ViewMsg6","position":"TOP","type":"INFO"} {"tag":"ViewMsg6","position":"TOP","type":"INFO"}
], ],
...@@ -1172,6 +1175,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => { ...@@ -1172,6 +1175,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup10":[ "VMGroup10":[
{"tag":"ViewMsg9","position":"TOP","type":"INFO"} {"tag":"ViewMsg9","position":"TOP","type":"INFO"}
], ],
"VMGroup15":[
{"tag":"ViewMsg14","position":"TOP","type":"INFO"}
],
"VMGroup11":[ "VMGroup11":[
{"tag":"ViewMsg10","position":"TOP","type":"INFO"} {"tag":"ViewMsg10","position":"TOP","type":"INFO"}
], ],
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
</div> </div>
<div class='view-top-messages'> <div class='view-top-messages'>
</div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup14' viewname='ibizbooknewdefaultvaluegridview'></app-alert-group> </div>
<div class='content-container'> <div class='content-container'>
<div style='margin-bottom: 6px;'> <div style='margin-bottom: 6px;'>
<i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="图书名称" /> <i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="图书名称" />
...@@ -114,14 +114,14 @@ ...@@ -114,14 +114,14 @@
</div> </div>
</div> </div>
<div class='view-body-messages'> <div class='view-body-messages'>
</div> <app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup14' viewname='ibizbooknewdefaultvaluegridview'></app-alert-group> </div>
<view_grid <view_grid
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:isSingleSelect="isSingleSelect" :isSingleSelect="isSingleSelect"
:showBusyIndicator="true" :showBusyIndicator="true"
:isOpenEdit="false" :isOpenEdit="true"
:gridRowActiveMode="gridRowActiveMode" :gridRowActiveMode="gridRowActiveMode"
:isformDruipart="isformDruipart" :isformDruipart="isformDruipart"
@save="onSave" @save="onSave"
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
</view_grid> </view_grid>
</div> </div>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> <app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup14' viewname='ibizbooknewdefaultvaluegridview'></app-alert-group> </div>
</card> </card>
</div> </div>
</template> </template>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
</div> </div>
<div class='view-top-messages'> <div class='view-top-messages'>
</div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup15' viewname='ibizbookupdatedefaultgridview'></app-alert-group> </div>
<div class='content-container'> <div class='content-container'>
<div style='margin-bottom: 6px;'> <div style='margin-bottom: 6px;'>
<i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="图书名称" /> <i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="图书名称" />
...@@ -114,14 +114,14 @@ ...@@ -114,14 +114,14 @@
</div> </div>
</div> </div>
<div class='view-body-messages'> <div class='view-body-messages'>
</div> <app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup15' viewname='ibizbookupdatedefaultgridview'></app-alert-group> </div>
<view_grid <view_grid
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:isSingleSelect="isSingleSelect" :isSingleSelect="isSingleSelect"
:showBusyIndicator="true" :showBusyIndicator="true"
:isOpenEdit="false" :isOpenEdit="true"
:gridRowActiveMode="gridRowActiveMode" :gridRowActiveMode="gridRowActiveMode"
:isformDruipart="isformDruipart" :isformDruipart="isformDruipart"
@save="onSave" @save="onSave"
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
</view_grid> </view_grid>
</div> </div>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> <app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup15' viewname='ibizbookupdatedefaultgridview'></app-alert-group> </div>
</card> </card>
</div> </div>
</template> </template>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
</div> </div>
<div class='view-top-messages'> <div class='view-top-messages'>
</div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup7' viewname='ibizbookusr2gridview'></app-alert-group> </div>
<div class='content-container'> <div class='content-container'>
<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="图书名称" />
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_searchform> </view_searchform>
<div class='view-body-messages'> <div class='view-body-messages'>
</div> <app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup7' viewname='ibizbookusr2gridview'></app-alert-group> </div>
<view_grid <view_grid
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</view_grid> </view_grid>
</div> </div>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> <app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup7' viewname='ibizbookusr2gridview'></app-alert-group> </div>
</card> </card>
</div> </div>
</template> </template>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
</div> </div>
<div class='view-top-messages'> <div class='view-top-messages'>
</div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup8' viewname='ibizbookusr3gridview'></app-alert-group> </div>
<div class='content-container'> <div class='content-container'>
<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="图书名称" />
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_searchform> </view_searchform>
<div class='view-body-messages'> <div class='view-body-messages'>
</div> <app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup8' viewname='ibizbookusr3gridview'></app-alert-group> </div>
<view_grid <view_grid
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</view_grid> </view_grid>
</div> </div>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> <app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup8' viewname='ibizbookusr3gridview'></app-alert-group> </div>
</card> </card>
</div> </div>
</template> </template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册