Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
65dde022
提交
65dde022
编写于
12月 03, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
c574f232
变更
14
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
219 行增加
和
36 行删除
+219
-36
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
ibizappview_en_US.ts
...c/locale/lanres/entities/ibizappview/ibizappview_en_US.ts
+46
-1
ibizappview_zh_CN.ts
...c/locale/lanres/entities/ibizappview/ibizappview_zh_CN.ts
+46
-1
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizappview-ui-service-base.ts
.../src/uiservice/ibizappview/ibizappview-ui-service-base.ts
+1
-0
state-field-guide-wizardpanel-base.vue
...-guide-wizardpanel/state-field-guide-wizardpanel-base.vue
+6
-6
config.xml
config.xml
+0
-5
Dockerfile
demo-app/demo-app-web/src/main/docker/Dockerfile
+1
-1
demo-app-web.yaml
demo-app/demo-app-web/src/main/docker/demo-app-web.yaml
+1
-16
IBIZAPPVIEW.java
.../main/java/cn/ibizlab/core/sample/domain/IBIZAPPVIEW.java
+32
-2
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+4
-0
IBIZAPPVIEWMapper.xml
...resources/mapper/sample/ibizappview/IBIZAPPVIEWMapper.xml
+3
-3
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+29
-1
IBIZAPPVIEWDTO.java
.../src/main/java/cn/ibizlab/demoapi/dto/IBIZAPPVIEWDTO.java
+34
-0
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
65dde022
...
...
@@ -223,6 +223,14 @@
"viewname"
:
"IBIZUNIProductIndexPickupDataView"
,
"viewtag"
:
"26707fe400fb3e535f06015ab393793b"
},
"ibizappvieweditview"
:
{
"title"
:
"应用视图数据信息编辑视图"
,
"caption"
:
"应用视图数据信息"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZAPPVIEWEditView"
,
"viewtag"
:
"27425bd0f023912440422d4ee90bb370"
},
"ibizorderdetaillistview"
:
{
"title"
:
"订单明细列表视图"
,
"caption"
:
"订单明细"
,
...
...
app_Web/src/locale/lanres/entities/ibizappview/ibizappview_en_US.ts
浏览文件 @
65dde022
...
...
@@ -7,6 +7,51 @@ export default {
updateman
:
"更新人"
,
createdate
:
"建立时间"
,
updatedate
:
"更新时间"
,
ibizappviewtype
:
"应用实体视图类型"
,
ibizappviewtype
:
"应用视图类型"
,
ibizapppartsname
:
"应用部件名称"
,
ibizapppartstype
:
"应用部件类型"
,
},
views
:
{
editview
:
{
caption
:
"应用视图数据信息"
,
title
:
"应用视图数据信息编辑视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"应用视图数据信息基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"应用视图数据信息标识"
,
srfmajortext
:
"应用视图名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizappviewname
:
"应用视图名称"
,
ibizappviewtype
:
"应用视图类型"
,
ibizapppartsname
:
"应用部件名称"
,
ibizapppartstype
:
"应用部件类型"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizappviewid
:
"应用视图数据信息标识"
,
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
},
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizappview/ibizappview_zh_CN.ts
浏览文件 @
65dde022
...
...
@@ -6,6 +6,51 @@ export default {
updateman
:
"更新人"
,
createdate
:
"建立时间"
,
updatedate
:
"更新时间"
,
ibizappviewtype
:
"应用实体视图类型"
,
ibizappviewtype
:
"应用视图类型"
,
ibizapppartsname
:
"应用部件名称"
,
ibizapppartstype
:
"应用部件类型"
,
},
views
:
{
editview
:
{
caption
:
"应用视图数据信息"
,
title
:
"应用视图数据信息编辑视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"应用视图数据信息基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"应用视图数据信息标识"
,
srfmajortext
:
"应用视图名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizappviewname
:
"应用视图名称"
,
ibizappviewtype
:
"应用视图类型"
,
ibizapppartsname
:
"应用部件名称"
,
ibizapppartstype
:
"应用部件类型"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizappviewid
:
"应用视图数据信息标识"
,
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
},
};
\ No newline at end of file
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
65dde022
...
...
@@ -231,6 +231,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZUNIProductIndexPickupDataView"
,
"viewtag"
:
"26707fe400fb3e535f06015ab393793b"
},
"ibizappvieweditview"
:
{
"title"
:
"应用视图数据信息编辑视图"
,
"caption"
:
"应用视图数据信息"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZAPPVIEWEditView"
,
"viewtag"
:
"27425bd0f023912440422d4ee90bb370"
},
"ibizorderdetaillistview"
:
{
"title"
:
"订单明细列表视图"
,
"caption"
:
"订单明细"
,
...
...
app_Web/src/uiservice/ibizappview/ibizappview-ui-service-base.ts
浏览文件 @
65dde022
...
...
@@ -96,6 +96,7 @@ export default class IBIZAPPVIEWUIServiceBase extends UIService {
* @memberof IBIZAPPVIEWUIServiceBase
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'ibizappviews'
,
component
:
'ibizappviewedit-view'
});
}
/**
...
...
app_Web/src/widgets/ibizbook/state-field-guide-wizardpanel/state-field-guide-wizardpanel-base.vue
浏览文件 @
65dde022
...
...
@@ -14,7 +14,7 @@
:viewparams=
"viewparams"
updateAction=
"NextAction"
removeAction=
""
loadAction=
"
Get
"
loadAction=
"
PreAction
"
@
save=
"wizardpanel_form_FirstForm_save"
@
load=
"wizardpanel_form_FirstForm_load"
name=
'wizardpanel_form_FirstForm'
...
...
@@ -28,7 +28,7 @@
:viewparams=
"viewparams"
updateAction=
"NextAction"
removeAction=
""
loadAction=
"
Get
"
loadAction=
"
PreAction
"
@
save=
"wizardpanel_form_SecondForm_save"
@
load=
"wizardpanel_form_SecondForm_load"
name=
'wizardpanel_form_SecondForm'
...
...
@@ -42,7 +42,7 @@
:viewparams=
"viewparams"
updateAction=
"NextAction"
removeAction=
""
loadAction=
"
Get
"
loadAction=
"
PreAction
"
@
save=
"wizardpanel_form_ThirdForm_save"
@
load=
"wizardpanel_form_ThirdForm_load"
name=
'wizardpanel_form_ThirdForm'
...
...
@@ -418,9 +418,9 @@ export default class StateFieldGuideBase extends Vue implements ControlInterface
* @memberof StateFieldGuideBase
*/
public
regFormActions
()
{
this
.
regFormAction
(
'wizardpanel_form_FirstForm'
,{
loadAction
:
"
Get
"
,
saveAction
:
'NextAction'
,
actions
:[
'NEXT'
]},
'step1'
);
this
.
regFormAction
(
'wizardpanel_form_SecondForm'
,{
loadAction
:
"
Get
"
,
preAction
:
'PreAction'
,
saveAction
:
'NextAction'
,
actions
:[
'PREV'
,
'NEXT'
]},
'step2'
);
this
.
regFormAction
(
'wizardpanel_form_ThirdForm'
,{
loadAction
:
"
Get
"
,
preAction
:
'PreAction'
,
saveAction
:
'NextAction'
,
actions
:[
'PREV'
,
'FINISH'
]},
'step3'
);
this
.
regFormAction
(
'wizardpanel_form_FirstForm'
,{
loadAction
:
"
PreAction
"
,
saveAction
:
'NextAction'
,
actions
:[
'NEXT'
]},
'step1'
);
this
.
regFormAction
(
'wizardpanel_form_SecondForm'
,{
loadAction
:
"
PreAction
"
,
preAction
:
'PreAction'
,
saveAction
:
'NextAction'
,
actions
:[
'PREV'
,
'NEXT'
]},
'step2'
);
this
.
regFormAction
(
'wizardpanel_form_ThirdForm'
,{
loadAction
:
"
PreAction
"
,
preAction
:
'PreAction'
,
saveAction
:
'NextAction'
,
actions
:[
'PREV'
,
'FINISH'
]},
'step3'
);
}
/**
...
...
config.xml
浏览文件 @
65dde022
...
...
@@ -37,11 +37,6 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pweb
cd demo-app/demo-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-app-web.yaml iBizDemo --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
demo-app/demo-app-web/src/main/docker/Dockerfile
浏览文件 @
65dde022
...
...
@@ -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 /demo-app-web.jar
EXPOSE
51001
EXPOSE
8080
ADD
demo-app-web.jar /demo-app-web.jar
demo-app/demo-app-web/src/main/docker/demo-app-web.yaml
浏览文件 @
65dde022
...
...
@@ -3,24 +3,9 @@ services:
demo-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/demo-app-web:latest
ports
:
-
"
51001:51001
"
-
"
8080:8080
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=51001
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_df847bdfd
-
SPRING_DATASOURCE_PASSWORD=3d6@460A
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_df847bdfd
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
resources
:
limits
:
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/domain/IBIZAPPVIEW.java
浏览文件 @
65dde022
...
...
@@ -93,12 +93,26 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
@JsonProperty
(
"updatedate"
)
private
Timestamp
updatedate
;
/**
* 应用
实体
视图类型
* 应用视图类型
*/
@TableField
(
value
=
"ibizappviewtype"
)
@JSONField
(
name
=
"ibizappviewtype"
)
@JsonProperty
(
"ibizappviewtype"
)
private
String
ibizappviewtype
;
/**
* 应用部件名称
*/
@TableField
(
value
=
"ibizapppartsname"
)
@JSONField
(
name
=
"ibizapppartsname"
)
@JsonProperty
(
"ibizapppartsname"
)
private
String
ibizapppartsname
;
/**
* 应用部件类型
*/
@TableField
(
value
=
"ibizapppartstype"
)
@JSONField
(
name
=
"ibizapppartstype"
)
@JsonProperty
(
"ibizapppartstype"
)
private
String
ibizapppartstype
;
...
...
@@ -111,13 +125,29 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
}
/**
* 设置 [应用
实体
视图类型]
* 设置 [应用视图类型]
*/
public
void
setIbizappviewtype
(
String
ibizappviewtype
)
{
this
.
ibizappviewtype
=
ibizappviewtype
;
this
.
modify
(
"ibizappviewtype"
,
ibizappviewtype
);
}
/**
* 设置 [应用部件名称]
*/
public
void
setIbizapppartsname
(
String
ibizapppartsname
)
{
this
.
ibizapppartsname
=
ibizapppartsname
;
this
.
modify
(
"ibizapppartsname"
,
ibizapppartsname
);
}
/**
* 设置 [应用部件类型]
*/
public
void
setIbizapppartstype
(
String
ibizapppartstype
)
{
this
.
ibizapppartstype
=
ibizapppartstype
;
this
.
modify
(
"ibizapppartstype"
,
ibizapppartstype
);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
65dde022
...
...
@@ -41,6 +41,10 @@
</column>
<column
name=
"IBIZAPPVIEWTYPE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"IBIZAPPPARTSNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"IBIZAPPPARTSTYPE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</createTable>
</changeSet>
...
...
demo-core/src/main/resources/mapper/sample/ibizappview/IBIZAPPVIEWMapper.xml
浏览文件 @
65dde022
...
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"IBIZAPPVIEWResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 ) t1 where ibizappviewid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPP
PARTSNAME`, t1.`IBIZAPPPARTSTYPE`, t1.`IBIZAPP
VIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 ) t1 where ibizappviewid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...
...
@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPP
PARTSNAME`, t1.`IBIZAPPPARTSTYPE`, t1.`IBIZAPP
VIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
]]>
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPP
PARTSNAME`, t1.`IBIZAPPPARTSTYPE`, t1.`IBIZAPP
VIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
]]>
</sql>
</mapper>
...
...
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
65dde022
...
...
@@ -212,7 +212,35 @@
{
"fieldname"
:
"IBIZAPPVIEWTYPE"
,
"codename"
:
"Ibizappviewtype"
,
"field_logic_name"
:
"应用实体视图类型"
,
"field_logic_name"
:
"应用视图类型"
,
"entity_name"
:
"IBIZAPPVIEW"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"IBIZAPPPARTSNAME"
,
"codename"
:
"Ibizapppartsname"
,
"field_logic_name"
:
"应用部件名称"
,
"entity_name"
:
"IBIZAPPVIEW"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"IBIZAPPPARTSTYPE"
,
"codename"
:
"Ibizapppartstype"
,
"field_logic_name"
:
"应用部件类型"
,
"entity_name"
:
"IBIZAPPVIEW"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
...
...
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/dto/IBIZAPPVIEWDTO.java
浏览文件 @
65dde022
...
...
@@ -92,6 +92,24 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
ibizappviewtype
;
/**
* 属性 [IBIZAPPPARTSNAME]
*
*/
@JSONField
(
name
=
"ibizapppartsname"
)
@JsonProperty
(
"ibizapppartsname"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
ibizapppartsname
;
/**
* 属性 [IBIZAPPPARTSTYPE]
*
*/
@JSONField
(
name
=
"ibizapppartstype"
)
@JsonProperty
(
"ibizapppartstype"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
ibizapppartstype
;
/**
* 设置 [IBIZAPPVIEWNAME]
...
...
@@ -109,6 +127,22 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
this
.
modify
(
"ibizappviewtype"
,
ibizappviewtype
);
}
/**
* 设置 [IBIZAPPPARTSNAME]
*/
public
void
setIbizapppartsname
(
String
ibizapppartsname
){
this
.
ibizapppartsname
=
ibizapppartsname
;
this
.
modify
(
"ibizapppartsname"
,
ibizapppartsname
);
}
/**
* 设置 [IBIZAPPPARTSTYPE]
*/
public
void
setIbizapppartstype
(
String
ibizapppartstype
){
this
.
ibizapppartstype
=
ibizapppartstype
;
this
.
modify
(
"ibizapppartstype"
,
ibizapppartstype
);
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录