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

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

上级 b872245f
...@@ -857,7 +857,7 @@ ...@@ -857,7 +857,7 @@
}, },
"ibizorderdashboardview": { "ibizorderdashboardview": {
"title": "数据看板", "title": "数据看板",
"caption": "订单", "caption": "数据看板",
"viewtype": "DEPORTALVIEW", "viewtype": "DEPORTALVIEW",
"viewmodule": "Sample", "viewmodule": "Sample",
"viewname": "IBIZOrderDashboardView", "viewname": "IBIZOrderDashboardView",
......
...@@ -113,6 +113,9 @@ ...@@ -113,6 +113,9 @@
"VMGroup21":[ "VMGroup21":[
{"tag":"ViewMsg20","position":"TOP","type":"ERROR"} {"tag":"ViewMsg20","position":"TOP","type":"ERROR"}
], ],
"VMGroup95":[
{"tag":"ViewMsg94","position":"TOP","type":"ERROR"}
],
"VMGroup16":[ "VMGroup16":[
{"tag":"ViewMsg15","position":"TOP","type":"ERROR"} {"tag":"ViewMsg15","position":"TOP","type":"ERROR"}
], ],
......
...@@ -140,7 +140,7 @@ function getLocaleResourceBase(){ ...@@ -140,7 +140,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("订单图表视图",null), title: commonLogic.appcommonhandle("订单图表视图",null),
}, },
dashboardview: { dashboardview: {
caption: commonLogic.appcommonhandle("订单",null), caption: commonLogic.appcommonhandle("数据看板",null),
title: commonLogic.appcommonhandle("数据看板",null), title: commonLogic.appcommonhandle("数据看板",null),
}, },
sf1editview: { sf1editview: {
......
...@@ -140,7 +140,7 @@ function getLocaleResourceBase(){ ...@@ -140,7 +140,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("订单图表视图",null), title: commonLogic.appcommonhandle("订单图表视图",null),
}, },
dashboardview: { dashboardview: {
caption: commonLogic.appcommonhandle("订单",null), caption: commonLogic.appcommonhandle("数据看板",null),
title: commonLogic.appcommonhandle("数据看板",null), title: commonLogic.appcommonhandle("数据看板",null),
}, },
sf1editview: { sf1editview: {
......
...@@ -126,6 +126,7 @@ export class MessageServiceRegister { ...@@ -126,6 +126,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('ViewMsg64', () => import('@/message/view-msg64/view-msg64-message')); this.allMessageService.set('ViewMsg64', () => import('@/message/view-msg64/view-msg64-message'));
this.allMessageService.set('ViewMsg94', () => import('@/message/view-msg94/view-msg94-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('ViewMsg80', () => import('@/message/view-msg80/view-msg80-message')); this.allMessageService.set('ViewMsg80', () => import('@/message/view-msg80/view-msg80-message'));
this.allMessageService.set('ViewMsg34', () => import('@/message/view-msg34/view-msg34-message')); this.allMessageService.set('ViewMsg34', () => import('@/message/view-msg34/view-msg34-message'));
......
...@@ -28,7 +28,7 @@ export default class ViewMsg65MessageServiceBase extends ViewMessageService { ...@@ -28,7 +28,7 @@ export default class ViewMsg65MessageServiceBase extends ViewMessageService {
this.name = "扩展编辑器"; this.name = "扩展编辑器";
this.codename = "ViewMsg65"; this.codename = "ViewMsg65";
this.title = ""; this.title = "";
this.content = "本示例展示扩展编辑器的呈现样式"; this.content = "本示例展示扩展编辑器的呈现样式";
this.closeMode = 0; this.closeMode = 0;
this.position = "TOP"; this.position = "TOP";
this.type = "error"; this.type = "error";
......
...@@ -28,7 +28,7 @@ export default class ViewMsg66MessageServiceBase extends ViewMessageService { ...@@ -28,7 +28,7 @@ export default class ViewMsg66MessageServiceBase extends ViewMessageService {
this.name = "编辑器插件示例"; this.name = "编辑器插件示例";
this.codename = "ViewMsg66"; this.codename = "ViewMsg66";
this.title = ""; this.title = "";
this.content = "该示例展示编辑器的自定义插件"; this.content = "该示例展示编辑器的自定义插件";
this.closeMode = 0; this.closeMode = 0;
this.position = "TOP"; this.position = "TOP";
this.type = "error"; this.type = "error";
......
import ViewMessageService from '../view-message-service';
/**
* 数据导入导出视图消息视图消息服务对象基类
*
* @export
* @class ViewMsg94MessageServiceBase
*/
export default class ViewMsg94MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg94MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg94MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg94MessageServiceBase
*/
public initBasicParam(){
this.id = "99B621D5-CFAF-4C30-9AB5-4990271B0193";
this.name = "数据导入导出视图消息";
this.codename = "ViewMsg94";
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 ViewMsg94MessageServiceBase
*/
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 ViewMsg94MessageServiceBase from './view-msg94-message-base';
/**
* 数据导入导出视图消息视图消息服务对象
*
* @export
* @class ViewMsg94MessageService
*/
export default class ViewMsg94MessageService extends ViewMsg94MessageServiceBase {
/**
* Creates an instance of ViewMsg94MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg94MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -865,7 +865,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -865,7 +865,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
}, },
"ibizorderdashboardview": { "ibizorderdashboardview": {
"title": "数据看板", "title": "数据看板",
"caption": "订单", "caption": "数据看板",
"viewtype": "DEPORTALVIEW", "viewtype": "DEPORTALVIEW",
"viewmodule": "Sample", "viewmodule": "Sample",
"viewname": "IBIZOrderDashboardView", "viewname": "IBIZOrderDashboardView",
...@@ -2056,6 +2056,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => { ...@@ -2056,6 +2056,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup21":[ "VMGroup21":[
{"tag":"ViewMsg20","position":"TOP","type":"ERROR"} {"tag":"ViewMsg20","position":"TOP","type":"ERROR"}
], ],
"VMGroup95":[
{"tag":"ViewMsg94","position":"TOP","type":"ERROR"}
],
"VMGroup16":[ "VMGroup16":[
{"tag":"ViewMsg15","position":"TOP","type":"ERROR"} {"tag":"ViewMsg15","position":"TOP","type":"ERROR"}
], ],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册