Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
de42dd1e
提交
de42dd1e
编写于
11月 06, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MoneyQ 部署微服务应用 [后台服务,演示应用]
上级
53637595
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
99 行增加
和
11 行删除
+99
-11
view-message-group.json
app_Web/public/assets/json/view-message-group.json
+3
-0
message-service-register.ts
app_Web/src/message/message-service-register.ts
+2
-1
view-msg-message-base.ts
app_Web/src/message/view-msg/view-msg-message-base.ts
+1
-1
view-msg2-message-base.ts
app_Web/src/message/view-msg2/view-msg2-message-base.ts
+63
-0
view-msg2-message.ts
app_Web/src/message/view-msg2/view-msg2-message.ts
+21
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+3
-0
ibizsample0001-sf5-edit-view-base.vue
...e0001-sf5-edit-view/ibizsample0001-sf5-edit-view-base.vue
+4
-7
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
未找到文件。
app_Web/public/assets/json/view-message-group.json
浏览文件 @
de42dd1e
{
"VMGroup"
:[
{
"tag"
:
"ViewMsg"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup2"
:[
{
"tag"
:
"ViewMsg2"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
]
}
\ No newline at end of file
app_Web/src/message/message-service-register.ts
浏览文件 @
de42dd1e
...
...
@@ -39,7 +39,8 @@ export class MessageServiceRegister {
* @memberof MessageServiceRegister
*/
protected
init
():
void
{
this
.
allMessageService
.
set
(
'ViewMsg'
,
()
=>
import
(
'@/message/view-msg/view-msg-message'
));
this
.
allMessageService
.
set
(
'ViewMsg2'
,
()
=>
import
(
'@/message/view-msg2/view-msg2-message'
));
this
.
allMessageService
.
set
(
'ViewMsg'
,
()
=>
import
(
'@/message/view-msg/view-msg-message'
));
}
/**
...
...
app_Web/src/message/view-msg/view-msg-message-base.ts
浏览文件 @
de42dd1e
...
...
@@ -28,7 +28,7 @@ export default class ViewMsgMessageServiceBase extends ViewMessageService {
this
.
name
=
"默认数据类型"
;
this
.
codename
=
"ViewMsg"
;
this
.
title
=
""
;
this
.
content
=
"本示例展示实体属性
的数据类型
默认呈现组件"
;
this
.
content
=
"本示例展示实体属性
数据类型的
默认呈现组件"
;
this
.
closeMode
=
0
;
this
.
position
=
"TOP"
;
this
.
type
=
"error"
;
...
...
app_Web/src/message/view-msg2/view-msg2-message-base.ts
0 → 100644
浏览文件 @
de42dd1e
import
ViewMessageService
from
'../view-message-service'
;
/**
* 默认编辑器类型视图消息服务对象基类
*
* @export
* @class ViewMsg2MessageServiceBase
*/
export
default
class
ViewMsg2MessageServiceBase
extends
ViewMessageService
{
/**
* Creates an instance of ViewMsg2MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg2MessageServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg2MessageServiceBase
*/
public
initBasicParam
(){
this
.
id
=
"3F600DEA-E086-4DB0-B2DC-BB18360D4554"
;
this
.
name
=
"默认编辑器类型"
;
this
.
codename
=
"ViewMsg2"
;
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 ViewMsg2MessageServiceBase
*/
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
app_Web/src/message/view-msg2/view-msg2-message.ts
0 → 100644
浏览文件 @
de42dd1e
import
ViewMsg2MessageServiceBase
from
'./view-msg2-message-base'
;
/**
* 默认编辑器类型视图消息服务对象
*
* @export
* @class ViewMsg2MessageService
*/
export
default
class
ViewMsg2MessageService
extends
ViewMsg2MessageServiceBase
{
/**
* Creates an instance of ViewMsg2MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg2MessageService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
de42dd1e
...
...
@@ -896,6 +896,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
return
[
status
,{
"VMGroup"
:[
{
"tag"
:
"ViewMsg"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup2"
:[
{
"tag"
:
"ViewMsg2"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
]
}];
});
\ No newline at end of file
app_Web/src/pages/sample/ibizsample0001-sf5-edit-view/ibizsample0001-sf5-edit-view-base.vue
浏览文件 @
de42dd1e
<
template
>
<div
class=
"view-container deeditview ibizsample0001-sf5-edit-view"
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizsample0001sf5editview"
></app-studioaction>
<card
class=
'view-card view-no-toolbar'
:disHover=
"true"
:bordered=
"false"
>
<card
class=
'view-card
view-no-caption
view-no-toolbar'
:disHover=
"true"
:bordered=
"false"
>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
</div>
<div
class=
'view-top-messages'
>
</div>
<
app-alert-group
position=
'TOP'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup2'
viewname=
'ibizsample0001sf5editview'
></app-alert-group>
<
/div>
<div
class=
"content-container"
>
<div
class=
'view-body-messages'
>
</div>
<
app-alert-group
position=
'BODY'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup2'
viewname=
'ibizsample0001sf5editview'
></app-alert-group>
<
/div>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -36,7 +33,7 @@
</view
_form
>
</div>
<div
class=
'view-bottom-messages'
>
</div>
<
app-alert-group
position=
'BOTTOM'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup2'
viewname=
'ibizsample0001sf5editview'
></app-alert-group>
<
/div>
</card>
</div>
</
template
>
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
de42dd1e
...
...
@@ -316,7 +316,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0001-1
1
-13"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0001-1
2
-13"
>
<createTable
tableName=
"T_IBIZSAMPLE0001"
>
<column
name=
"FIELD01"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
de42dd1e
...
...
@@ -67,7 +67,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0001-1
1
-13"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0001-1
2
-13"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZSAMPLE0001"
>
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录