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

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

上级 6264b2b1
...@@ -458,35 +458,35 @@ ...@@ -458,35 +458,35 @@
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "SingleDataView", "id": "singledataview",
"label": "单数据视图", "label": "单数据视图",
"text": "单数据视图", "text": "单数据视图",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Singledataview", "codename":"Singledataview",
"value": "SingleDataView", "value": "singledataview",
"disabled": false "disabled": false
} }
, { , {
"id": "MultipleDataView", "id": "multidataview",
"label": "多数据视图", "label": "多数据视图",
"text": "多数据视图", "text": "多数据视图",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Multipledataview", "codename":"Multidataview",
"value": "MultipleDataView", "value": "multidataview",
"disabled": false "disabled": false
} }
, { , {
"id": "NavigationView", "id": "navigationview",
"label": "导航视图", "label": "导航视图",
"text": "导航视图", "text": "导航视图",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Navigationview", "codename":"Navigationview",
"value": "NavigationView", "value": "navigationview",
"disabled": false "disabled": false
} }
......
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
"VMGroup43":[ "VMGroup43":[
{"tag":"ViewMsg42","position":"TOP","type":"ERROR"} {"tag":"ViewMsg42","position":"TOP","type":"ERROR"}
], ],
"VMGroup54":[
{"tag":"ViewMsg53","position":"TOP","type":"ERROR"}
],
"VMGroup25":[ "VMGroup25":[
{"tag":"ViewMsg24","position":"TOP","type":"ERROR"} {"tag":"ViewMsg24","position":"TOP","type":"ERROR"}
], ],
......
...@@ -67,9 +67,9 @@ export default { ...@@ -67,9 +67,9 @@ export default {
"empty": "" "empty": ""
}, },
AppViewType: { AppViewType: {
"SingleDataView": "单数据视图", "singledataview": "单数据视图",
"MultipleDataView": "多数据视图", "multidataview": "多数据视图",
"NavigationView": "导航视图", "navigationview": "导航视图",
"SelectView": "选择视图", "SelectView": "选择视图",
"WorkflowView": "工作流视图", "WorkflowView": "工作流视图",
"ApplicationView": "应用视图", "ApplicationView": "应用视图",
......
...@@ -67,9 +67,9 @@ export default { ...@@ -67,9 +67,9 @@ export default {
"empty": "", "empty": "",
}, },
AppViewType: { AppViewType: {
"SingleDataView": "单数据视图", "singledataview": "单数据视图",
"MultipleDataView": "多数据视图", "multidataview": "多数据视图",
"NavigationView": "导航视图", "navigationview": "导航视图",
"SelectView": "选择视图", "SelectView": "选择视图",
"WorkflowView": "工作流视图", "WorkflowView": "工作流视图",
"ApplicationView": "应用视图", "ApplicationView": "应用视图",
......
...@@ -44,8 +44,9 @@ export class MessageServiceRegister { ...@@ -44,8 +44,9 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg24', () => import('@/message/view-msg24/view-msg24-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('ViewMsg48', () => import('@/message/view-msg48/view-msg48-message'));
this.allMessageService.set('ViewMsg40', () => import('@/message/view-msg40/view-msg40-message')); this.allMessageService.set('ViewMsg40', () => import('@/message/view-msg40/view-msg40-message'));
this.allMessageService.set('ViewMsg28', () => import('@/message/view-msg28/view-msg28-message')); this.allMessageService.set('ViewMsg53', () => import('@/message/view-msg53/view-msg53-message'));
this.allMessageService.set('ViewMsg2', () => import('@/message/view-msg2/view-msg2-message')); this.allMessageService.set('ViewMsg2', () => import('@/message/view-msg2/view-msg2-message'));
this.allMessageService.set('ViewMsg28', () => import('@/message/view-msg28/view-msg28-message'));
this.allMessageService.set('ViewMsg10', () => import('@/message/view-msg10/view-msg10-message')); this.allMessageService.set('ViewMsg10', () => import('@/message/view-msg10/view-msg10-message'));
this.allMessageService.set('ViewMsg49', () => import('@/message/view-msg49/view-msg49-message')); this.allMessageService.set('ViewMsg49', () => import('@/message/view-msg49/view-msg49-message'));
this.allMessageService.set('ViewMsg7', () => import('@/message/view-msg7/view-msg7-message')); this.allMessageService.set('ViewMsg7', () => import('@/message/view-msg7/view-msg7-message'));
......
import ViewMessageService from '../view-message-service';
/**
* 树视图---静态节点视图消息服务对象基类
*
* @export
* @class ViewMsg53MessageServiceBase
*/
export default class ViewMsg53MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg53MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg53MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg53MessageServiceBase
*/
public initBasicParam(){
this.id = "C49F02C9-2930-45A9-B31A-48F7F7EC370D";
this.name = "树视图---静态节点";
this.codename = "ViewMsg53";
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 ViewMsg53MessageServiceBase
*/
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 ViewMsg53MessageServiceBase from './view-msg53-message-base';
/**
* 树视图---静态节点视图消息服务对象
*
* @export
* @class ViewMsg53MessageService
*/
export default class ViewMsg53MessageService extends ViewMsg53MessageServiceBase {
/**
* Creates an instance of ViewMsg53MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg53MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -466,35 +466,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -466,35 +466,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{ {
id: "SingleDataView", id: "singledataview",
label: "单数据视图", label: "单数据视图",
text: "单数据视图", text: "单数据视图",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Singledataview", "codename":"Singledataview",
value: "SingleDataView", value: "singledataview",
disabled: false, disabled: false,
}, },
{ {
id: "MultipleDataView", id: "multidataview",
label: "多数据视图", label: "多数据视图",
text: "多数据视图", text: "多数据视图",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Multipledataview", "codename":"Multidataview",
value: "MultipleDataView", value: "multidataview",
disabled: false, disabled: false,
}, },
{ {
id: "NavigationView", id: "navigationview",
label: "导航视图", label: "导航视图",
text: "导航视图", text: "导航视图",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Navigationview", "codename":"Navigationview",
value: "NavigationView", value: "navigationview",
disabled: false, disabled: false,
}, },
......
...@@ -1759,6 +1759,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => { ...@@ -1759,6 +1759,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup43":[ "VMGroup43":[
{"tag":"ViewMsg42","position":"TOP","type":"ERROR"} {"tag":"ViewMsg42","position":"TOP","type":"ERROR"}
], ],
"VMGroup54":[
{"tag":"ViewMsg53","position":"TOP","type":"ERROR"}
],
"VMGroup25":[ "VMGroup25":[
{"tag":"ViewMsg24","position":"TOP","type":"ERROR"} {"tag":"ViewMsg24","position":"TOP","type":"ERROR"}
], ],
......
<template> <template>
<div class='view-container detreeexpview ibizsample0003-f1-tree-exp-view'> <div class='view-container detreeexpview ibizsample0003-f1-tree-exp-view'>
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizsample0003f1treeexpview"></app-studioaction> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizsample0003f1treeexpview"></app-studioaction>
<card class='view-card view-no-toolbar' :dis-hover="true" :bordered="false"> <card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span>
</div>
<div class='view-top-messages'> <div class='view-top-messages'>
</div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup54' viewname='ibizsample0003f1treeexpview'></app-alert-group> </div>
<div class='content-container'> <div class='content-container'>
<div class='view-body-messages'> <div class='view-body-messages'>
</div> <app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup54' viewname='ibizsample0003f1treeexpview'></app-alert-group> </div>
<view_treeexpbar <view_treeexpbar
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -27,7 +24,7 @@ ...@@ -27,7 +24,7 @@
</view_treeexpbar> </view_treeexpbar>
</div> </div>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> <app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup54' viewname='ibizsample0003f1treeexpview'></app-alert-group> </div>
</card> </card>
</div> </div>
</template> </template>
......
...@@ -1218,9 +1218,9 @@ public class StaticDict { ...@@ -1218,9 +1218,9 @@ public class StaticDict {
*/ */
@Getter @Getter
public enum AppViewType { public enum AppViewType {
SINGLEDATAVIEW("SingleDataView","单数据视图"), SINGLEDATAVIEW("singledataview","单数据视图"),
MULTIPLEDATAVIEW("MultipleDataView","多数据视图"), MULTIDATAVIEW("multidataview","多数据视图"),
NAVIGATIONVIEW("NavigationView","导航视图"), NAVIGATIONVIEW("navigationview","导航视图"),
SELECTVIEW("SelectView","选择视图"), SELECTVIEW("SelectView","选择视图"),
WORKFLOWVIEW("WorkflowView","工作流视图"), WORKFLOWVIEW("WorkflowView","工作流视图"),
APPLICATIONVIEW("ApplicationView","应用视图"), APPLICATIONVIEW("ApplicationView","应用视图"),
...@@ -1485,6 +1485,31 @@ public class StaticDict { ...@@ -1485,6 +1485,31 @@ public class StaticDict {
} }
/**
* 代码表[编辑器类型]
*/
@Getter
public enum AppEditorType {
BASICS("basics","基础类"),
EXHIBITION("exhibition","展示类"),
CHOOSE("choose","选择类"),
DATACHOOSE("datachoose","数据选择类"),
DATECHOOSE("datechoose","时间选择类"),
FILEUPLOAD("fileupload","文件上传类");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
AppEditorType(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[日志级别] * 代码表[日志级别]
*/ */
...@@ -3416,6 +3441,30 @@ public class StaticDict { ...@@ -3416,6 +3441,30 @@ public class StaticDict {
} }
/**
* 代码表[部件类型]
*/
@Getter
public enum AppCtrlType {
FORM("form","表单类"),
NAVIGATION("navigation","导航类"),
PANEL("panel","面板类"),
MULTIDATA("multidata","多数据类"),
OTHER("other","其他类");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
AppCtrlType(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[实体数据库操作] * 代码表[实体数据库操作]
*/ */
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册