Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzlite
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzlite
提交
297e96a5
提交
297e96a5
编写于
9月 25, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
liuleizhi 发布系统代码
上级
85441d84
变更
10
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
99 行增加
和
346 行删除
+99
-346
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
+58
-0
view-msg-message.ts
app_web/src/message/view-msg/view-msg-message.ts
+21
-0
viewconfig.ts
app_web/src/mock/viewconfig/viewconfig.ts
+3
-0
dst-component-grid-view-base.vue
.../dst-component-grid-view/dst-component-grid-view-base.vue
+2
-2
config.xml
config.xml
+0
-5
Dockerfile
ibzlite-app/ibzlite-app-web/src/main/docker/Dockerfile
+1
-1
ibzlite-app-web.yaml
...-app/ibzlite-app-web/src/main/docker/ibzlite-app-web.yaml
+1
-14
h2_table.xml
ibzlite-core/src/main/resources/liquibase/h2_table.xml
+8
-323
未找到文件。
app_web/public/assets/json/view-message-group.json
浏览文件 @
297e96a5
{
"VMGroup"
:[
{
"tag"
:
"ViewMsg"
,
"position"
:
"TOP"
,
"type"
:
"INFO"
}
]
}
\ No newline at end of file
app_web/src/message/message-service-register.ts
浏览文件 @
297e96a5
...
...
@@ -39,7 +39,8 @@ export class MessageServiceRegister {
* @memberof MessageServiceRegister
*/
protected
init
():
void
{
}
this
.
allMessageService
.
set
(
'ViewMsg'
,
()
=>
import
(
'@/message/view-msg/view-msg-message'
));
}
/**
* 加载视图消息服务
...
...
app_web/src/message/view-msg/view-msg-message-base.ts
0 → 100644
浏览文件 @
297e96a5
import
ViewMessageService
from
'../view-message-service'
;
/**
* 视图消息视图消息服务对象基类
*
* @export
* @class ViewMsgMessageServiceBase
*/
export
default
class
ViewMsgMessageServiceBase
extends
ViewMessageService
{
/**
* Creates an instance of ViewMsgMessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsgMessageServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 初始化基础参数
*
* @memberof ViewMsgMessageServiceBase
*/
public
initBasicParam
(){
this
.
id
=
"3AB22DAD-717A-4ED1-9984-697CB58DCD07"
;
this
.
name
=
"视图消息"
;
this
.
codename
=
"ViewMsg"
;
this
.
title
=
""
;
this
.
content
=
"组件"
;
this
.
closeMode
=
0
;
this
.
position
=
"TOP"
;
this
.
type
=
"info"
;
this
.
isEnableRemove
=
false
;
this
.
order
=
1
;
this
.
dynamicMode
=
"STATIC"
;
this
.
hasMessageTemp
=
false
;
this
.
messageType
=
"TEXT"
;
}
/**
* 转化消息模板标题和内容
*
* @memberof ViewMsgMessageServiceBase
*/
public
translateMessageTemp
(
target
:
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-msg/view-msg-message.ts
0 → 100644
浏览文件 @
297e96a5
import
ViewMsgMessageServiceBase
from
'./view-msg-message-base'
;
/**
* 视图消息视图消息服务对象
*
* @export
* @class ViewMsgMessageService
*/
export
default
class
ViewMsgMessageService
extends
ViewMsgMessageServiceBase
{
/**
* Creates an instance of ViewMsgMessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsgMessageService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
297e96a5
...
...
@@ -430,5 +430,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
mock
.
onGet
(
'./assets/json/view-message-group.json'
).
reply
((
config
:
any
)
=>
{
let
status
=
MockAdapter
.
mockStatus
(
config
);
return
[
status
,{
"VMGroup"
:[
{
"tag"
:
"ViewMsg"
,
"position"
:
"TOP"
,
"type"
:
"INFO"
}
]
}];
});
\ No newline at end of file
app_web/src/pages/lite/dst-component-grid-view/dst-component-grid-view-base.vue
浏览文件 @
297e96a5
...
...
@@ -7,7 +7,7 @@
</div>
<div
class=
'content-container'
>
<div
class=
'view-top-messages'
>
</div>
<
app-alert-group
position=
'TOP'
infoGroup=
'VMGroup'
></app-alert-group>
<
/div>
<div
style=
'margin-bottom: 6px;'
>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"名称"
/>
<div
class=
'pull-right'
>
...
...
@@ -139,7 +139,7 @@
@
closeview=
"closeView($event)"
>
</view
_grid
>
<div
class=
'view-bottom-messages'
>
</div>
<
app-alert-group
position=
'BOTTOM'
infoGroup=
'VMGroup'
></app-alert-group>
<
/div>
</div>
</card>
</div>
...
...
config.xml
浏览文件 @
297e96a5
...
...
@@ -37,11 +37,6 @@
git clone -b master $para2 ibzlite/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzlite/
mvn clean package -Pweb
cd ibzlite-app/ibzlite-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzlite-app-web.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ibzlite-app/ibzlite-app-web/src/main/docker/Dockerfile
浏览文件 @
297e96a5
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzlite-app-web.jar
EXPOSE
3001
0
EXPOSE
808
0
ADD
ibzlite-app-web.jar /ibzlite-app-web.jar
ibzlite-app/ibzlite-app-web/src/main/docker/ibzlite-app-web.yaml
浏览文件 @
297e96a5
...
...
@@ -3,22 +3,9 @@ services:
ibzlite-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzlite-app-web:latest
ports
:
-
"
30010:3001
0"
-
"
8080:808
0"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=30010
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.102.211:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_A_5d9d78509
-
SPRING_DATASOURCE_PASSWORD=@6dEfb3@
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
-
NACOS=172.16.102.211:8848
deploy
:
resources
:
limits
:
...
...
ibzlite-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
297e96a5
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录