Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
1d5e161c
提交
1d5e161c
编写于
9月 06, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MoneyQ 发布系统代码 [后台服务,演示应用]
上级
75b52094
变更
20
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
746 行增加
和
118 行删除
+746
-118
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
ibizuniproduct_BO_CN_base.ts
...nres/entities/ibizuniproduct/ibizuniproduct_BO_CN_base.ts
+4
-0
ibizuniproduct_en_US_base.ts
...nres/entities/ibizuniproduct/ibizuniproduct_en_US_base.ts
+4
-0
ibizuniproduct_zh_CN_base.ts
...nres/entities/ibizuniproduct/ibizuniproduct_zh_CN_base.ts
+4
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizuniproduct-redirect-view-base.vue
...oduct-redirect-view/ibizuniproduct-redirect-view-base.vue
+595
-0
ibizuniproduct-redirect-view.less
...niproduct-redirect-view/ibizuniproduct-redirect-view.less
+8
-0
ibizuniproduct-redirect-view.vue
...uniproduct-redirect-view/ibizuniproduct-redirect-view.vue
+20
-0
ibizuniproduct-sgrid-view-base.vue
...zuniproduct-sgrid-view/ibizuniproduct-sgrid-view-base.vue
+3
-22
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+3
-2
router.ts
app_Web/src/pages/sample/index/router.ts
+58
-28
state.ts
app_Web/src/store/modules/view-action/state.ts
+14
-1
ibizuniproduct-ui-service-base.ts
...iservice/ibizuniproduct/ibizuniproduct-ui-service-base.ts
+1
-0
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+8
-1
config.xml
config.xml
+0
-6
Dockerfile
demo-app/demo-app-web/src/main/docker/Dockerfile
+1
-1
demo-app-web-k8s.yaml
demo-app/demo-app-web/src/main/docker/demo-app-web-k8s.yaml
+4
-33
demo-app-web.yaml
demo-app/demo-app-web/src/main/docker/demo-app-web.yaml
+1
-22
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-config.json
浏览文件 @
1d5e161c
...
...
@@ -1031,6 +1031,14 @@
"viewname"
:
"IBIZOrderDetailEditView"
,
"viewtag"
:
"77142fc6e2a600bdc4d8ad6c4bfa18cd"
},
"ibizuniproductredirectview"
:
{
"title"
:
"统一产品数据重定向视图"
,
"caption"
:
"统一产品(索引主实体)"
,
"viewtype"
:
"DEREDIRECTVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZUNIProductRedirectView"
,
"viewtag"
:
"79abf62d7cac6f35c896f412b124956f"
},
"ibizorderdetailchartview"
:
{
"title"
:
"订单明细图表视图"
,
"caption"
:
"订单明细"
,
...
...
app_Web/src/locale/lanres/entities/ibizuniproduct/ibizuniproduct_BO_CN_base.ts
浏览文件 @
1d5e161c
...
...
@@ -34,6 +34,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据选择视图"
,
null
),
},
redirectview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据重定向视图"
,
null
),
},
pickupview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据选择视图"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizuniproduct/ibizuniproduct_en_US_base.ts
浏览文件 @
1d5e161c
...
...
@@ -34,6 +34,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据选择视图"
,
null
),
},
redirectview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据重定向视图"
,
null
),
},
pickupview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据选择视图"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizuniproduct/ibizuniproduct_zh_CN_base.ts
浏览文件 @
1d5e161c
...
...
@@ -34,6 +34,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据选择视图"
,
null
),
},
redirectview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据重定向视图"
,
null
),
},
pickupview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"统一产品(索引主实体)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"统一产品数据选择视图"
,
null
),
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
1d5e161c
...
...
@@ -1039,6 +1039,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZOrderDetailEditView"
,
"viewtag"
:
"77142fc6e2a600bdc4d8ad6c4bfa18cd"
},
"ibizuniproductredirectview"
:
{
"title"
:
"统一产品数据重定向视图"
,
"caption"
:
"统一产品(索引主实体)"
,
"viewtype"
:
"DEREDIRECTVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZUNIProductRedirectView"
,
"viewtag"
:
"79abf62d7cac6f35c896f412b124956f"
},
"ibizorderdetailchartview"
:
{
"title"
:
"订单明细图表视图"
,
"caption"
:
"订单明细"
,
...
...
app_Web/src/pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view-base.vue
0 → 100644
浏览文件 @
1d5e161c
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view.less
0 → 100644
浏览文件 @
1d5e161c
.ibizuniproduct-redirect-view{
position: relative;
}
.ibizuniproduct-redirect-view{
display: block;
}
\ No newline at end of file
app_Web/src/pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view.vue
0 → 100644
浏览文件 @
1d5e161c
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZUNIProductRedirectViewBase
from
'./ibizuniproduct-redirect-view-base.vue'
;
@
Component
({
components
:
{
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZUNIProductRedirectView
extends
IBIZUNIProductRedirectViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/ibizuniproduct-sgrid-view/ibizuniproduct-sgrid-view-base.vue
浏览文件 @
1d5e161c
...
...
@@ -1319,29 +1319,10 @@ export default class IBIZUNIProductSGridViewBase extends Vue {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizuniproducts'
,
parameterName
:
'ibizuniproduct'
},
{
pathName
:
'
editview'
,
parameterName
:
'edi
tview'
},
{
pathName
:
'
redirectview'
,
parameterName
:
'redirec
tview'
},
];
const
_this
:
any
=
this
;
if
(
fullargs
&&
fullargs
.
length
>
0
)
{
const
_args
=
fullargs
[
0
];
if
(
_args
[
'srfprocessdefinitionkey'
]
&&
_args
[
'srftaskdefinitionkey'
])
{
Object
.
assign
(
data
,
{
processDefinitionKey
:
_args
[
'srfprocessdefinitionkey'
],
taskDefinitionKey
:
_args
[
'srftaskdefinitionkey'
]
});
if
(
_args
[
'srftaskid'
])
{
Object
.
assign
(
data
,
{
'srftaskid'
:
_args
[
'srftaskid'
]
});
}
}
}
if
(
fullargs
&&
fullargs
.
copymode
){
Object
.
assign
(
data
,{
copymode
:
true
});
}
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
...
...
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
1d5e161c
...
...
@@ -147,10 +147,12 @@ export const PageComponents = {
Vue
.
component
(
'ibizsoftware-suit-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizsoftware-suit-grid-view9/ibizsoftware-suit-grid-view9.vue'
));
Vue
.
component
(
'ibizbookusr10-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr10-grid-view/ibizbookusr10-grid-view.vue'
));
Vue
.
component
(
'ibizbookoption-view'
,
()
=>
import
(
'@pages/sample/ibizbookoption-view/ibizbookoption-view.vue'
));
Vue
.
component
(
'ibizuniproduct-redirect-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view.vue'
));
Vue
.
component
(
'ibizstorage-edit-view'
,
()
=>
import
(
'@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'
));
Vue
.
component
(
'ibizsoftware-suit-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'
));
Vue
.
component
(
'ibizuniproduct-edit-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'
));
Vue
.
component
(
'ibizuniproduct-index-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-index-pickup-view/ibizuniproduct-index-pickup-view.vue'
));
Vue
.
component
(
'ibizhardware-edit-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-edit-view/ibizhardware-edit-view.vue'
));
Vue
.
component
(
'ibizsoftware-suit-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'
));
Vue
.
component
(
'ibizsample0021-wfdyna-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0021-wfdyna-edit-view/ibizsample0021-wfdyna-edit-view.vue'
));
Vue
.
component
(
'ibizsample0021-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0021-edit-view/ibizsample0021-edit-view.vue'
));
Vue
.
component
(
'ibiztaskteamgrid-view9'
,
()
=>
import
(
'@pages/sample/ibiztaskteamgrid-view9/ibiztaskteamgrid-view9.vue'
));
...
...
@@ -169,7 +171,6 @@ export const PageComponents = {
Vue
.
component
(
'ibizcustomer-pickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'
));
Vue
.
component
(
'ibizhardware-index-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'
));
Vue
.
component
(
'ibizcpuedit-view'
,
()
=>
import
(
'@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'
));
Vue
.
component
(
'ibizstorage-edit-view'
,
()
=>
import
(
'@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'
));
Vue
.
component
(
'ibizsample0003-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view.vue'
));
Vue
.
component
(
'ibizuniproduct-index-pickup-data-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'
));
Vue
.
component
(
'ibiztaskteamedit-view9'
,
()
=>
import
(
'@pages/sample/ibiztaskteamedit-view9/ibiztaskteamedit-view9.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
1d5e161c
...
...
@@ -2286,6 +2286,34 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookoption-view/ibizbookoption-view.vue'
),
},
{
path
:
'ibizstorages/:ibizstorage?/editview/:editview?'
,
meta
:
{
caption
:
'entities.ibizstorage.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizstorages'
,
parameterName
:
'ibizstorage'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'
),
},
{
path
:
'ibizsoftwaresuits/:ibizsoftwaresuit?/editview/:editview?'
,
meta
:
{
caption
:
'entities.ibizsoftwaresuit.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizsoftwaresuits'
,
parameterName
:
'ibizsoftwaresuit'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'
),
},
{
path
:
'ibizuniproducts/:ibizuniproduct?/editview/:editview?'
,
meta
:
{
...
...
@@ -2328,20 +2356,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizhardware-edit-view/ibizhardware-edit-view.vue'
),
},
{
path
:
'ibizsoftwaresuits/:ibizsoftwaresuit?/editview/:editview?'
,
meta
:
{
caption
:
'entities.ibizsoftwaresuit.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizsoftwaresuits'
,
parameterName
:
'ibizsoftwaresuit'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'
),
},
{
path
:
'ibizsample0021s/:ibizsample0021?/wfdynaeditview/:wfdynaeditview?'
,
meta
:
{
...
...
@@ -2639,20 +2653,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'
),
},
{
path
:
'ibizstorages/:ibizstorage?/editview/:editview?'
,
meta
:
{
caption
:
'entities.ibizstorage.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizstorages'
,
parameterName
:
'ibizstorage'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'
),
},
{
path
:
'ibizsample0003s/:ibizsample0003?/pickupview/:pickupview?'
,
meta
:
{
...
...
@@ -2738,6 +2738,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-pickup-grid-view/ibizsample0003-pickup-grid-view.vue'
),
},
{
path
:
'ibizuniproducts/:ibizuniproduct?/redirectview/:redirectview?'
,
meta
:
{
caption
:
'entities.ibizuniproduct.views.redirectview.caption'
,
info
:
''
,
viewType
:
'REDIRECTVIEW'
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizuniproducts'
,
parameterName
:
'ibizuniproduct'
},
{
pathName
:
'redirectview'
,
parameterName
:
'redirectview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view.vue'
),
},
...
indexRoutes
,
],
},
...
...
@@ -3956,6 +3971,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'
),
},
{
path
:
'/ibizuniproducts/:ibizuniproduct?/redirectview/:redirectview?'
,
meta
:
{
caption
:
'entities.ibizuniproduct.views.redirectview.caption'
,
info
:
''
,
viewType
:
'REDIRECTVIEW'
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizuniproducts'
,
parameterName
:
'ibizuniproduct'
},
{
pathName
:
'redirectview'
,
parameterName
:
'redirectview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sf2editview/:sf2editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
1d5e161c
...
...
@@ -10,10 +10,12 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'79abf62d7cac6f35c896f412b124956f'
,
'a919926d6265ab194b54cd5b8f658eec'
,
'88ca61cdf39cd0f97cf3863e9a6974b3'
,
'0f3e6e5a5ba4b40182153ee4f93f3f7e'
,
'2358ff370509a1b833cb5023f0ec54fb'
,
'ae320ac92ef292866895940a2f61be48'
,
'88ca61cdf39cd0f97cf3863e9a6974b3'
,
],
},
{
...
...
@@ -1007,6 +1009,17 @@ export const viewstate: any = {
'993e4b7a074b1585f383365fff297164'
,
],
},
{
viewtag
:
'79abf62d7cac6f35c896f412b124956f'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZUNIProductRedirectView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'a919926d6265ab194b54cd5b8f658eec'
,
'88ca61cdf39cd0f97cf3863e9a6974b3'
,
],
},
{
viewtag
:
'7ccb985d6fc6a6795502a2ba742f95b5'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizuniproduct/ibizuniproduct-ui-service-base.ts
浏览文件 @
1d5e161c
...
...
@@ -101,6 +101,7 @@ export default class IBIZUNIProductUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'indexpickupdataview'
,
srfappde
:
'ibizuniproducts'
,
component
:
'ibizuniproduct-index-pickup-data-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'gridview9'
,
srfappde
:
'ibizuniproducts'
,
component
:
'ibizuniproduct-grid-view9'
});
this
.
allViewMap
.
set
(
'INDEXDEPICKUPVIEW:'
,{
viewname
:
'indexpickupview'
,
srfappde
:
'ibizuniproducts'
,
component
:
'ibizuniproduct-index-pickup-view'
});
this
.
allViewMap
.
set
(
'REDIRECTVIEW:'
,{
viewname
:
'redirectview'
,
srfappde
:
'ibizuniproducts'
,
component
:
'ibizuniproduct-redirect-view'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'ibizuniproducts'
,
component
:
'ibizuniproduct-pickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizuniproducts'
,
component
:
'ibizuniproduct-pickup-grid-view'
});
}
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
1d5e161c
...
...
@@ -54,7 +54,14 @@
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
ibizuniproductname
}}
</span>
<app-column-link
deKeyField=
'ibizuniproduct'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"
{viewname: 'ibizuniproduct-redirect-view', height: 0,width: 0,title: $t('entities.ibizuniproduct.views.redirectview.title'),placement: '', isRedirectView: true,deResParameters: [
]
,parameters: [
{ pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
{ pathName: 'redirectview', parameterName: 'redirectview' }
]}" valueitem="ibizuniproductid">
<span>
{{
row
.
ibizuniproductname
}}
</span>
</app-column-link
>
</
template
>
</el-table-column>
</template>
...
...
config.xml
浏览文件 @
1d5e161c
...
...
@@ -37,12 +37,6 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pweb
mvn install -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
浏览文件 @
1d5e161c
...
...
@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -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-k8s.yaml
浏览文件 @
1d5e161c
...
...
@@ -22,36 +22,7 @@ spec:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/demo-app-web:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
51001
env
:
-
name
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
value
:
"
172.16.240.110"
-
name
:
SERVER_PORT
value
:
"
51001"
-
name
:
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR
value
:
"
172.16.240.110:8848"
-
name
:
SPRING_REDIS_HOST
value
:
"
172.16.240.110"
-
name
:
SPRING_REDIS_PORT
value
:
"
6379"
-
name
:
SPRING_REDIS_DATABASE
value
:
"
0"
-
name
:
SPRING_DATASOURCE_USERNAME
value
:
"
a_LAB01_df847bdfd"
-
name
:
SPRING_DATASOURCE_PASSWORD
value
:
"
3d6@460A"
-
name
:
SPRING_DATASOURCE_URL
value
:
"
jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true"
-
name
:
SPRING_DATASOURCE_DRIVER-CLASS-NAME
value
:
"
com.mysql.jdbc.Driver"
-
name
:
SPRING_DATASOURCE_DEFAULTSCHEMA
value
:
"
a_LAB01_df847bdfd"
-
name
:
NACOS
value
:
"
172.16.240.110:8848"
-
name
:
SEATA_REGISTRY_NACOS_SERVER-ADDR
value
:
"
172.16.240.110:8848"
-
name
:
SEATA_ENABLED
value
:
"
true"
-
containerPort
:
8080
volumeMounts
:
-
name
:
data
mountPath
:
/app/file
...
...
@@ -71,9 +42,9 @@ spec:
type
:
NodePort
ports
:
-
name
:
http
port
:
51001
targetPort
:
51001
nodePort
:
51001
port
:
8080
targetPort
:
8080
nodePort
:
8080
protocol
:
TCP
selector
:
app
:
demo-app-web
...
...
demo-app/demo-app-web/src/main/docker/demo-app-web.yaml
浏览文件 @
1d5e161c
...
...
@@ -3,30 +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
#logging:
# driver: loki
# options:
# loki-url: "http://172.16.240.111:3100/loki/api/v1/push"
# max-size: "50m"
# max-file: "10"
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/resources/liquibase/h2_table.xml
浏览文件 @
1d5e161c
...
...
@@ -1306,7 +1306,7 @@
<!--输出实体[IBIZUNIPRODUCT]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizuniproduct-1-45"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizuniproduct-1
1
-45"
>
<createTable
tableName=
"T_IBIZUNIPRODUCT"
>
<column
name=
"UNITPRICE"
remarks=
""
type=
"FLOAT"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
1d5e161c
...
...
@@ -199,7 +199,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZUNIPRODUCT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizuniproduct-1-35"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizuniproduct-1
1
-35"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZUNIPRODUCT"
>
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZUNIPRODUCTID], t1.[IBIZUNIPRODUCTNAME], t1.[IBIZUNIPRODUCTTYPE], t1.[UNIT], t1.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZUNIPRODUCT] t1 ]]>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录