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

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

上级 083851a1
......@@ -89,6 +89,9 @@
"VMGroup33":[
{"tag":"ViewMsg32","position":"TOP","type":"ERROR"}
],
"VMGroup37":[
{"tag":"ViewMsg36","position":"TOP","type":"ERROR"}
],
"VMGroup28":[
{"tag":"ViewMsg27","position":"TOP","type":"ERROR"}
],
......
......@@ -967,16 +967,6 @@ export default {
tip: "Save And Close Window",
},
},
ruleseditviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
},
dashboardviewdashboard_sysportlet2_list_quicktoolbar_toolbar: {
deuiaction1: {
caption: "New",
......
......@@ -966,16 +966,6 @@ export default {
tip: "保存并关闭",
},
},
ruleseditviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
},
dashboardviewdashboard_sysportlet2_list_quicktoolbar_toolbar: {
deuiaction1: {
caption: "新建",
......
......@@ -64,6 +64,7 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg27', () => import('@/message/view-msg27/view-msg27-message'));
this.allMessageService.set('ViewMsg9', () => import('@/message/view-msg9/view-msg9-message'));
this.allMessageService.set('ViewMsg18', () => import('@/message/view-msg18/view-msg18-message'));
this.allMessageService.set('ViewMsg36', () => import('@/message/view-msg36/view-msg36-message'));
this.allMessageService.set('ViewMsg12', () => import('@/message/view-msg12/view-msg12-message'));
this.allMessageService.set('ViewMsg19', () => import('@/message/view-msg19/view-msg19-message'));
this.allMessageService.set('ViewMsg21', () => import('@/message/view-msg21/view-msg21-message'));
......
import ViewMessageService from '../view-message-service';
/**
* 编辑表单---值规则视图消息服务对象基类
*
* @export
* @class ViewMsg36MessageServiceBase
*/
export default class ViewMsg36MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg36MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg36MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg36MessageServiceBase
*/
public initBasicParam(){
this.id = "3998D9C9-37BB-45B9-9331-F17BB06B5490";
this.name = "编辑表单---值规则";
this.codename = "ViewMsg36";
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 ViewMsg36MessageServiceBase
*/
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 ViewMsg36MessageServiceBase from './view-msg36-message-base';
/**
* 编辑表单---值规则视图消息服务对象
*
* @export
* @class ViewMsg36MessageService
*/
export default class ViewMsg36MessageService extends ViewMsg36MessageServiceBase {
/**
* Creates an instance of ViewMsg36MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg36MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -1544,6 +1544,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup33":[
{"tag":"ViewMsg32","position":"TOP","type":"ERROR"}
],
"VMGroup37":[
{"tag":"ViewMsg36","position":"TOP","type":"ERROR"}
],
"VMGroup28":[
{"tag":"ViewMsg27","position":"TOP","type":"ERROR"}
],
......
......@@ -8,20 +8,5 @@
.ibizbookrules-edit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册