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

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

上级 e4aa844c
......@@ -839,6 +839,14 @@
"viewname": "IBIZSample0017FormPickupDataView",
"viewtag": "a3111cf1bb80bd7fe5652778e044b443"
},
"ibizbookwizardview": {
"title": "图书向导视图",
"caption": "图书",
"viewtype": "DEWIZARDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKWizardView",
"viewtag": "a3e8c166f876e0dd8eb09be4f9f907ab"
},
"ibizsample0003spickuptreeview": {
"title": "IBIZSAMPLE0003选择树视图",
"caption": "示例实体03",
......
......@@ -65,6 +65,9 @@
"VMGroup14":[
{"tag":"ViewMsg13","position":"TOP","type":"ERROR"}
],
"VMGroup38":[
{"tag":"ViewMsg37","position":"TOP","type":"ERROR"}
],
"VMGroup25":[
{"tag":"ViewMsg24","position":"TOP","type":"ERROR"}
],
......
......@@ -90,6 +90,10 @@ export default {
caption: "图书",
title: "图书看板视图(内置功能)",
},
wizardview: {
caption: "图书",
title: "图书向导视图",
},
haspanelkanbanview: {
caption: "图书",
title: "图书看板视图(嵌入视图面板)",
......
......@@ -89,6 +89,10 @@ export default {
caption: "图书",
title: "图书看板视图(内置功能)",
},
wizardview: {
caption: "图书",
title: "图书向导视图",
},
haspanelkanbanview: {
caption: "图书",
title: "图书看板视图(嵌入视图面板)",
......
......@@ -49,6 +49,7 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg7', () => import('@/message/view-msg7/view-msg7-message'));
this.allMessageService.set('ViewMsg26', () => import('@/message/view-msg26/view-msg26-message'));
this.allMessageService.set('DataViewDar', () => import('@/message/data-view-dar/data-view-dar-message'));
this.allMessageService.set('ViewMsg37', () => import('@/message/view-msg37/view-msg37-message'));
this.allMessageService.set('ViewMsg17', () => import('@/message/view-msg17/view-msg17-message'));
this.allMessageService.set('ViewMsg35', () => import('@/message/view-msg35/view-msg35-message'));
this.allMessageService.set('ViewMsg30', () => import('@/message/view-msg30/view-msg30-message'));
......
......@@ -28,7 +28,7 @@ export default class ViewMsg36MessageServiceBase extends ViewMessageService {
this.name = "编辑表单---值规则";
this.codename = "ViewMsg36";
this.title = "";
this.content = "表单分为系统值规则和属性值规则,其中系统值规则已支持正则式和脚本,属性值规则已支持常规规则、正则式规则、数值范围规则、字符长度规则、系统值规则和规则组。";
this.content = "本示例展示表单的值规则功能;表单值规则分为系统值规则和属性值规则,其中系统值规则已支持正则式和脚本,属性值规则已支持常规规则、正则式规则、数值范围规则、字符长度规则、系统值规则和规则组。";
this.closeMode = 0;
this.position = "TOP";
this.type = "error";
......
import ViewMessageService from '../view-message-service';
/**
* 编辑表单---内置功能视图消息服务对象基类
*
* @export
* @class ViewMsg37MessageServiceBase
*/
export default class ViewMsg37MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg37MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg37MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg37MessageServiceBase
*/
public initBasicParam(){
this.id = "26FAEE3A-B8A8-440C-BC27-025B2CBB8A1F";
this.name = "编辑表单---内置功能";
this.codename = "ViewMsg37";
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 ViewMsg37MessageServiceBase
*/
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 ViewMsg37MessageServiceBase from './view-msg37-message-base';
/**
* 编辑表单---内置功能视图消息服务对象
*
* @export
* @class ViewMsg37MessageService
*/
export default class ViewMsg37MessageService extends ViewMsg37MessageServiceBase {
/**
* Creates an instance of ViewMsg37MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg37MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -847,6 +847,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZSample0017FormPickupDataView",
"viewtag": "a3111cf1bb80bd7fe5652778e044b443"
},
"ibizbookwizardview": {
"title": "图书向导视图",
"caption": "图书",
"viewtype": "DEWIZARDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKWizardView",
"viewtag": "a3e8c166f876e0dd8eb09be4f9f907ab"
},
"ibizsample0003spickuptreeview": {
"title": "IBIZSAMPLE0003选择树视图",
"caption": "示例实体03",
......@@ -1520,6 +1528,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup14":[
{"tag":"ViewMsg13","position":"TOP","type":"ERROR"}
],
"VMGroup38":[
{"tag":"ViewMsg37","position":"TOP","type":"ERROR"}
],
"VMGroup25":[
{"tag":"ViewMsg24","position":"TOP","type":"ERROR"}
],
......
......@@ -24,10 +24,10 @@
</div>
<div class='view-top-messages'>
</div>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup38' viewname='ibizbookinterfunceditview'></app-alert-group> </div>
<div class="content-container">
<div class='view-body-messages'>
</div>
<app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup38' viewname='ibizbookinterfunceditview'></app-alert-group> </div>
<view_form
:viewState="viewState"
:viewparams="viewparams"
......@@ -52,7 +52,7 @@
</view_form>
</div>
<div class='view-bottom-messages'>
</div>
<app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup38' viewname='ibizbookinterfunceditview'></app-alert-group> </div>
</card>
</div>
</template>
......
......@@ -114,6 +114,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'usr3calendarview',srfappde:'ibizbooks',component:'ibizbookusr3-calendar-view'});
this.allViewMap.set(':',{viewname:'usr4gridview',srfappde:'ibizbooks',component:'ibizbookusr4-grid-view'});
this.allViewMap.set(':',{viewname:'interfunckanbanview',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view'});
this.allViewMap.set(':',{viewname:'wizardview',srfappde:'ibizbooks',component:'ibizbookwizard-view'});
this.allViewMap.set(':',{viewname:'haspanelkanbanview',srfappde:'ibizbooks',component:'ibizbookhas-panel-kan-ban-view'});
this.allViewMap.set(':',{viewname:'listview',srfappde:'ibizbooks',component:'ibizbooklist-view'});
this.allViewMap.set(':',{viewname:'customview',srfappde:'ibizbooks',component:'ibizbookcustom-view'});
......
......@@ -248,7 +248,7 @@ export default class IBIZBOOKPortalComponentsListBase extends Vue implements Con
return this.height+'px';
}
}else{
return '500px';
return '400px';
}
}
......
......@@ -235,7 +235,7 @@ export default class IBIZBOOKPortalComponentsViewBase extends Vue implements Con
return this.height+'px';
}
}else{
return '500px';
return '400px';
}
}
......
......@@ -23,7 +23,7 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="500"
:height="400"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
......@@ -41,7 +41,7 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="500"
:height="400"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
......@@ -59,7 +59,7 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="500"
:height="400"
:width="0"
name="dashboard_sysportlet3"
ref='dashboard_sysportlet3'
......
......@@ -245,7 +245,7 @@ export default class IBIZOrderPortalComponentsChartBase extends Vue implements C
return this.height+'px';
}
}else{
return '500px';
return '400px';
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册