Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
591aae97
提交
591aae97
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
6264b2b1
变更
11
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
168 行增加
和
31 行删除
+168
-31
data-dictionary.json
app_Web/public/assets/json/data-dictionary.json
+7
-7
view-message-group.json
app_Web/public/assets/json/view-message-group.json
+3
-0
codelist_en_US.ts
app_Web/src/locale/lanres/codelist/codelist_en_US.ts
+3
-3
codelist_zh_CN.ts
app_Web/src/locale/lanres/codelist/codelist_zh_CN.ts
+3
-3
message-service-register.ts
app_Web/src/message/message-service-register.ts
+2
-1
view-msg53-message-base.ts
app_Web/src/message/view-msg53/view-msg53-message-base.ts
+63
-0
view-msg53-message.ts
app_Web/src/message/view-msg53/view-msg53-message.ts
+21
-0
codelist.ts
app_Web/src/mock/codelist/codelist.ts
+7
-7
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+3
-0
ibizsample0003-f1-tree-exp-view-base.vue
...f1-tree-exp-view/ibizsample0003-f1-tree-exp-view-base.vue
+4
-7
StaticDict.java
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
+52
-3
未找到文件。
app_Web/public/assets/json/data-dictionary.json
浏览文件 @
591aae97
...
...
@@ -458,35 +458,35 @@
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
SingleDataV
iew"
,
"id"
:
"
singledatav
iew"
,
"label"
:
"单数据视图"
,
"text"
:
"单数据视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Singledataview"
,
"value"
:
"
SingleDataV
iew"
,
"value"
:
"
singledatav
iew"
,
"disabled"
:
false
}
,
{
"id"
:
"
MultipleDataV
iew"
,
"id"
:
"
multidatav
iew"
,
"label"
:
"多数据视图"
,
"text"
:
"多数据视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Multi
ple
dataview"
,
"value"
:
"
MultipleDataV
iew"
,
"codename"
:
"Multidataview"
,
"value"
:
"
multidatav
iew"
,
"disabled"
:
false
}
,
{
"id"
:
"
NavigationV
iew"
,
"id"
:
"
navigationv
iew"
,
"label"
:
"导航视图"
,
"text"
:
"导航视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Navigationview"
,
"value"
:
"
NavigationV
iew"
,
"value"
:
"
navigationv
iew"
,
"disabled"
:
false
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/public/assets/json/view-message-group.json
浏览文件 @
591aae97
...
...
@@ -32,6 +32,9 @@
"VMGroup43"
:[
{
"tag"
:
"ViewMsg42"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup54"
:[
{
"tag"
:
"ViewMsg53"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup25"
:[
{
"tag"
:
"ViewMsg24"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
591aae97
...
...
@@ -67,9 +67,9 @@ export default {
"empty"
:
""
},
AppViewType
:
{
"
SingleDataV
iew"
:
"单数据视图"
,
"
MultipleDataV
iew"
:
"多数据视图"
,
"
NavigationV
iew"
:
"导航视图"
,
"
singledatav
iew"
:
"单数据视图"
,
"
multidatav
iew"
:
"多数据视图"
,
"
navigationv
iew"
:
"导航视图"
,
"SelectView"
:
"选择视图"
,
"WorkflowView"
:
"工作流视图"
,
"ApplicationView"
:
"应用视图"
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
591aae97
...
...
@@ -67,9 +67,9 @@ export default {
"empty"
:
""
,
},
AppViewType
:
{
"
SingleDataV
iew"
:
"单数据视图"
,
"
MultipleDataV
iew"
:
"多数据视图"
,
"
NavigationV
iew"
:
"导航视图"
,
"
singledatav
iew"
:
"单数据视图"
,
"
multidatav
iew"
:
"多数据视图"
,
"
navigationv
iew"
:
"导航视图"
,
"SelectView"
:
"选择视图"
,
"WorkflowView"
:
"工作流视图"
,
"ApplicationView"
:
"应用视图"
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/message/message-service-register.ts
浏览文件 @
591aae97
...
...
@@ -44,8 +44,9 @@ export class MessageServiceRegister {
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
(
'ViewMsg40'
,
()
=>
import
(
'@/message/view-msg40/view-msg40-message'
));
this
.
allMessageService
.
set
(
'ViewMsg
28'
,
()
=>
import
(
'@/message/view-msg28/view-msg28
-message'
));
this
.
allMessageService
.
set
(
'ViewMsg
53'
,
()
=>
import
(
'@/message/view-msg53/view-msg53
-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
(
'ViewMsg49'
,
()
=>
import
(
'@/message/view-msg49/view-msg49-message'
));
this
.
allMessageService
.
set
(
'ViewMsg7'
,
()
=>
import
(
'@/message/view-msg7/view-msg7-message'
));
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/message/view-msg53/view-msg53-message-base.ts
0 → 100644
浏览文件 @
591aae97
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
This diff is collapsed.
Click to expand it.
app_Web/src/message/view-msg53/view-msg53-message.ts
0 → 100644
浏览文件 @
591aae97
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
This diff is collapsed.
Click to expand it.
app_Web/src/mock/codelist/codelist.ts
浏览文件 @
591aae97
...
...
@@ -466,35 +466,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
SingleDataV
iew"
,
id
:
"
singledatav
iew"
,
label
:
"单数据视图"
,
text
:
"单数据视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Singledataview"
,
value
:
"
SingleDataV
iew"
,
value
:
"
singledatav
iew"
,
disabled
:
false
,
},
{
id
:
"
MultipleDataV
iew"
,
id
:
"
multidatav
iew"
,
label
:
"多数据视图"
,
text
:
"多数据视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Multi
ple
dataview"
,
value
:
"
MultipleDataV
iew"
,
"codename"
:
"Multidataview"
,
value
:
"
multidatav
iew"
,
disabled
:
false
,
},
{
id
:
"
NavigationV
iew"
,
id
:
"
navigationv
iew"
,
label
:
"导航视图"
,
text
:
"导航视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Navigationview"
,
value
:
"
NavigationV
iew"
,
value
:
"
navigationv
iew"
,
disabled
:
false
,
},
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
591aae97
...
...
@@ -1759,6 +1759,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup43"
:[
{
"tag"
:
"ViewMsg42"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup54"
:[
{
"tag"
:
"ViewMsg53"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup25"
:[
{
"tag"
:
"ViewMsg24"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view-base.vue
浏览文件 @
591aae97
<
template
>
<div
class=
'view-container detreeexpview ibizsample0003-f1-tree-exp-view'
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizsample0003f1treeexpview"
></app-studioaction>
<card
class=
'view-card view-no-toolbar'
:dis-hover=
"true"
:bordered=
"false"
>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
</div>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:bordered=
"false"
>
<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=
'view-body-messages'
>
</div>
<
app-alert-group
position=
'BODY'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup54'
viewname=
'ibizsample0003f1treeexpview'
></app-alert-group>
<
/div>
<view
_treeexpbar
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -27,7 +24,7 @@
</view
_treeexpbar
>
</div>
<div
class=
'view-bottom-messages'
>
</div>
<
app-alert-group
position=
'BOTTOM'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup54'
viewname=
'ibizsample0003f1treeexpview'
></app-alert-group>
<
/div>
</card>
</div>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
浏览文件 @
591aae97
...
...
@@ -1218,9 +1218,9 @@ public class StaticDict {
*/
@Getter
public
enum
AppViewType
{
SINGLEDATAVIEW
(
"
SingleDataV
iew"
,
"单数据视图"
),
MULTI
PLEDATAVIEW
(
"MultipleDataV
iew"
,
"多数据视图"
),
NAVIGATIONVIEW
(
"
NavigationV
iew"
,
"导航视图"
),
SINGLEDATAVIEW
(
"
singledatav
iew"
,
"单数据视图"
),
MULTI
DATAVIEW
(
"multidatav
iew"
,
"多数据视图"
),
NAVIGATIONVIEW
(
"
navigationv
iew"
,
"导航视图"
),
SELECTVIEW
(
"SelectView"
,
"选择视图"
),
WORKFLOWVIEW
(
"WorkflowView"
,
"工作流视图"
),
APPLICATIONVIEW
(
"ApplicationView"
,
"应用视图"
),
...
...
@@ -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 {
}
/**
* 代码表[部件类型]
*/
@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
;
}
}
/**
* 代码表[实体数据库操作]
*/
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录