Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdict
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdict
提交
20f62913
提交
20f62913
编写于
6月 24, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
9085f3a4
变更
19
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
64 行增加
和
85 行删除
+64
-85
package.json
app_web/package.json
+1
-1
app-register.ts
app_web/src/app-register.ts
+7
-5
app-department-select.vue
...omponents/app-department-select/app-department-select.vue
+0
-2
app-group-picker.vue
app_web/src/components/app-group-picker/app-group-picker.vue
+22
-25
app-group-select.vue
app_web/src/components/app-group-select/app-group-select.vue
+20
-20
app-org-select.vue
app_web/src/components/app-org-select/app-org-select.vue
+0
-2
main.ts
app_web/src/pages/dict/app-index-view/main.ts
+3
-1
dict-catalog-edit-view-base.vue
...ct/dict-catalog-edit-view/dict-catalog-edit-view-base.vue
+1
-1
dict-catalog-grid-view-base.vue
...ct/dict-catalog-grid-view/dict-catalog-grid-view-base.vue
+1
-1
dict-catalog-pickup-grid-view-base.vue
...g-pickup-grid-view/dict-catalog-pickup-grid-view-base.vue
+1
-1
dict-catalog-pickup-view-base.vue
...ict-catalog-pickup-view/dict-catalog-pickup-view-base.vue
+1
-1
dict-option-edit-view-base.vue
...dict/dict-option-edit-view/dict-option-edit-view-base.vue
+1
-1
dict-option-grid-edit-view-base.vue
...option-grid-edit-view/dict-option-grid-edit-view-base.vue
+1
-1
dict-option-grid-view-base.vue
...dict/dict-option-grid-view/dict-option-grid-view-base.vue
+1
-1
main-form-base.vue
...web/src/widgets/dict-catalog/main-form/main-form-base.vue
+1
-1
main-form-base.vue
app_web/src/widgets/dict-option/main-form/main-form-base.vue
+1
-1
config.xml
config.xml
+0
-5
Dockerfile
ibzdict-app/ibzdict-app-web/src/main/docker/Dockerfile
+1
-1
ibzdict-app-web.yaml
...-app/ibzdict-app-web/src/main/docker/ibzdict-app-web.yaml
+1
-14
未找到文件。
app_web/package.json
浏览文件 @
20f62913
...
...
@@ -27,7 +27,7 @@
"file-saver"
:
"^2.0.2"
,
"font-awesome"
:
"^4.7.0"
,
"ibiz-gantt-elastic"
:
"^1.0.17"
,
"ibiz-vue-lib"
:
"^0.1.1
0
"
,
"ibiz-vue-lib"
:
"^0.1.1
3
"
,
"interactjs"
:
"^1.9.4"
,
"moment"
:
"^2.24.0"
,
"path-to-regexp"
:
"^6.1.0"
,
...
...
app_web/src/app-register.ts
浏览文件 @
20f62913
...
...
@@ -73,7 +73,9 @@ import AppWFApproval from './components/app-wf-approval/app-wf-approval.vue'
import
Breadcrumb
from
'./components/app-breadcrumb/app-breadcrumb.vue'
import
AppTransfer
from
'./components/app-transfer/app-transfer.vue'
import
ContextMenuDrag
from
'./components/context-menu-drag/context-menu-drag.vue'
import
AppOrgSelect
from
'./components/app-org-select/app-org-select.vue'
import
AppDepartmentSelect
from
'./components/app-department-select/app-department-select.vue'
import
AppGroupSelect
from
'./components/app-group-select/app-group-select.vue'
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载功能服务注册中心
...
...
@@ -153,10 +155,10 @@ export const AppComponents = {
v
.
component
(
'context-menu'
,
ContextMenu
);
v
.
component
(
'app-column-format'
,
AppColumnFormat
);
v
.
component
(
'app-quick-group'
,
AppQuickGroup
);
v
.
component
(
'app-org-select'
,
()
=>
import
(
'./components/app-org-select/app-org-select.vue'
)
);
v
.
component
(
'app-department-select'
,
()
=>
import
(
'./components/app-department-select/app-department-select.vue'
)
);
v
.
component
(
'app-group-select'
,
()
=>
import
(
'./components/app-group-select/app-group-select.vue'
)
);
v
.
component
(
'app-group-picker'
,
()
=>
import
(
'./components/app-group-picker/app-group-picker.vue'
)
);
v
.
component
(
'app-org-select'
,
AppOrgSelect
);
v
.
component
(
'app-department-select'
,
AppDepartmentSelect
);
v
.
component
(
'app-group-select'
,
AppGroupSelect
);
v
.
component
(
'app-group-picker'
,
AppGroupPicker
);
v
.
component
(
'app-wf-approval'
,
AppWFApproval
);
v
.
component
(
'app-breadcrumb'
,
Breadcrumb
);
v
.
component
(
'app-transfer'
,
AppTransfer
);
...
...
app_web/src/components/app-department-select/app-department-select.vue
浏览文件 @
20f62913
...
...
@@ -6,8 +6,6 @@
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Watch
,
Prop
,
Model
}
from
'vue-property-decorator'
;
import
'ibiz-vue-lib/lib/ibiz-vue-lib.css'
;
import
{
IBizSelectTree
}
from
'ibiz-vue-lib'
;
@
Component
({
})
export
default
class
AppDepartmentSelect
extends
Vue
{
...
...
app_web/src/components/app-group-picker/app-group-picker.vue
浏览文件 @
20f62913
...
...
@@ -19,17 +19,14 @@
import
{
Component
,
Vue
,
Prop
,
Watch
}
from
'vue-property-decorator'
;
import
{
Subject
}
from
'rxjs'
;
import
{
Http
}
from
'../../utils'
;
import
'ibiz-vue-lib/lib/ibiz-vue-lib.css'
;
import
{
IBizSelectTree
}
from
'ibiz-vue-lib'
;
import
{
IBizGroupCard
}
from
'ibiz-vue-lib'
;
@
Component
({})
export
default
class
IBiz
GroupPicker
extends
Vue
{
export
default
class
App
GroupPicker
extends
Vue
{
/**
* 视图上下文参数
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
@
Prop
()
viewdata
:
any
;
...
...
@@ -37,7 +34,7 @@ export default class IBizGroupPicker extends Vue {
* 视图参数
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
@
Prop
()
viewparam
:
any
;
...
...
@@ -45,7 +42,7 @@ export default class IBizGroupPicker extends Vue {
* 多选
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
multiple
:
boolean
=
false
;
...
...
@@ -53,7 +50,7 @@ export default class IBizGroupPicker extends Vue {
* 加载树url
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
treeurl
:
any
;
...
...
@@ -61,7 +58,7 @@ export default class IBizGroupPicker extends Vue {
* 加载人员url
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
url
:
any
;
...
...
@@ -69,7 +66,7 @@ export default class IBizGroupPicker extends Vue {
* 树数据集
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
treeItems
:
any
[]
=
[];
...
...
@@ -77,7 +74,7 @@ export default class IBizGroupPicker extends Vue {
* 分组表数据集
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
cardItems
:
any
[]
=
[];
...
...
@@ -85,7 +82,7 @@ export default class IBizGroupPicker extends Vue {
* 视图上下文参数对象
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
viewData
:
any
;
...
...
@@ -93,7 +90,7 @@ export default class IBizGroupPicker extends Vue {
* 视图参数对象
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
viewParam
:
any
;
...
...
@@ -101,7 +98,7 @@ export default class IBizGroupPicker extends Vue {
* 树选中值
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
treeSelectVal
:
string
=
''
;
...
...
@@ -109,7 +106,7 @@ export default class IBizGroupPicker extends Vue {
* 分组表选中集合
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
cardSelctVal
:
any
=
[];
...
...
@@ -117,7 +114,7 @@ export default class IBizGroupPicker extends Vue {
* 数据选中集合
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
protected
selects
:
any
[]
=
[];
...
...
@@ -125,7 +122,7 @@ export default class IBizGroupPicker extends Vue {
* 是否显示树
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
get
showTree
()
{
if
(
this
.
viewParam
)
{
...
...
@@ -137,7 +134,7 @@ export default class IBizGroupPicker extends Vue {
* 生命周期
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
public
created
()
{
if
(
!
this
.
viewdata
||
!
this
.
viewparam
)
{
...
...
@@ -161,7 +158,7 @@ export default class IBizGroupPicker extends Vue {
* 加载数据
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
public
load
()
{
if
(
this
.
showTree
)
{
...
...
@@ -175,7 +172,7 @@ export default class IBizGroupPicker extends Vue {
* 加载树数据
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
public
loadTree
()
{
let
orgid
=
this
.
viewParam
.
filtervalue
;
...
...
@@ -194,7 +191,7 @@ export default class IBizGroupPicker extends Vue {
* 加载分组表数据
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
public
loadGroupData
(
key
:
string
)
{
let
tempUrl
=
this
.
url
.
replace
(
'${selected-orgid}'
,
key
);
...
...
@@ -212,7 +209,7 @@ export default class IBizGroupPicker extends Vue {
* 树选中
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
public
treeSelect
(
event
:
any
)
{
if
(
!
event
||
JSON
.
parse
(
event
).
length
==
0
)
{
...
...
@@ -226,7 +223,7 @@ export default class IBizGroupPicker extends Vue {
* 分组表选中
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
public
groupSelect
(
event
:
any
)
{
if
(
!
event
||
!
event
.
select
)
{
...
...
@@ -258,7 +255,7 @@ export default class IBizGroupPicker extends Vue {
* 确认
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
public
onOK
()
{
this
.
$emit
(
'close'
,
this
.
selects
);
...
...
@@ -268,7 +265,7 @@ export default class IBizGroupPicker extends Vue {
* 取消
*
* @type {*}
* @memberof
IBiz
GroupPicker
* @memberof
App
GroupPicker
*/
public
onCancel
()
{
this
.
$emit
(
'close'
);
...
...
app_web/src/components/app-group-select/app-group-select.vue
浏览文件 @
20f62913
...
...
@@ -23,12 +23,12 @@ import { Component, Vue, Prop, Watch } from 'vue-property-decorator';
import
{
Subject
}
from
'rxjs'
;
@
Component
({})
export
default
class
IBiz
GroupSelect
extends
Vue
{
export
default
class
App
GroupSelect
extends
Vue
{
/**
* 名称标识
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
name
!
:
string
;
...
...
@@ -36,7 +36,7 @@ export default class IBizGroupSelect extends Vue {
* 树加载地址
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
treeurl
?:
boolean
;
...
...
@@ -44,7 +44,7 @@ export default class IBizGroupSelect extends Vue {
* 数据接口地址
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
url
!
:
string
;
...
...
@@ -52,7 +52,7 @@ export default class IBizGroupSelect extends Vue {
* 多选
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
({
default
:
false
})
multiple
?:
boolean
;
...
...
@@ -60,7 +60,7 @@ export default class IBizGroupSelect extends Vue {
* 数据对象
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
data
:
any
;
...
...
@@ -68,7 +68,7 @@ export default class IBizGroupSelect extends Vue {
* 过滤属性标识
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
filter
?:
string
;
...
...
@@ -76,7 +76,7 @@ export default class IBizGroupSelect extends Vue {
* 是否启用
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
disabled
?:
boolean
;
...
...
@@ -84,7 +84,7 @@ export default class IBizGroupSelect extends Vue {
* 值
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
value
:
any
;
...
...
@@ -92,7 +92,7 @@ export default class IBizGroupSelect extends Vue {
* 上下文参数
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
context
:
any
;
...
...
@@ -100,7 +100,7 @@ export default class IBizGroupSelect extends Vue {
* 关联属性
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
valueitem
:
any
;
...
...
@@ -108,7 +108,7 @@ export default class IBizGroupSelect extends Vue {
* 填充属性
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Prop
()
fillmap
:
any
;
...
...
@@ -116,7 +116,7 @@ export default class IBizGroupSelect extends Vue {
* 选中项集合
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
protected
selects
:
any
[]
=
[];
...
...
@@ -124,7 +124,7 @@ export default class IBizGroupSelect extends Vue {
* 值变化
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
@
Watch
(
'value'
)
onValueChange
(
newVal
:
any
)
{
...
...
@@ -154,7 +154,7 @@ export default class IBizGroupSelect extends Vue {
* 单选时选中名称
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
get
selectName
()
{
if
(
this
.
selects
.
length
>
0
)
{
...
...
@@ -166,11 +166,11 @@ export default class IBizGroupSelect extends Vue {
* 打开选择视图
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
public
openView
()
{
const
view
:
any
=
{
viewname
:
'
ibiz
-group-picker'
,
viewname
:
'
app
-group-picker'
,
title
:
'分组选择'
};
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
...
...
@@ -208,7 +208,7 @@ export default class IBizGroupSelect extends Vue {
* 选择视图关闭
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
public
openViewClose
(
result
:
any
)
{
this
.
selects
=
[];
...
...
@@ -222,7 +222,7 @@ export default class IBizGroupSelect extends Vue {
* 数据删除
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
public
remove
(
item
:
any
)
{
this
.
selects
.
splice
(
this
.
selects
.
indexOf
(
item
),
1
);
...
...
@@ -233,7 +233,7 @@ export default class IBizGroupSelect extends Vue {
* 设置值
*
* @type {*}
* @memberof
IBiz
GroupSelect
* @memberof
App
GroupSelect
*/
public
setValue
()
{
let
item
:
any
=
{};
...
...
app_web/src/components/app-org-select/app-org-select.vue
浏览文件 @
20f62913
...
...
@@ -6,8 +6,6 @@
<
script
lang =
'ts'
>
import
{
Vue
,
Component
,
Prop
,
Watch
}
from
"vue-property-decorator"
;
import
{
Http
}
from
'@/utils'
;
import
'ibiz-vue-lib/lib/ibiz-vue-lib.css'
;
import
{
IBizSelectTree
}
from
'ibiz-vue-lib'
;
@
Component
({})
export
default
class
AppOrgSelect
extends
Vue
{
...
...
app_web/src/pages/dict/app-index-view/main.ts
浏览文件 @
20f62913
...
...
@@ -4,13 +4,14 @@ import VueRouter from 'vue-router';
import
App
from
'@/App.vue'
;
import
ElementUi
from
'element-ui'
;
import
ViewUI
from
'view-design'
;
import
ibizLab
from
'ibiz-vue-lib'
;
import
{
Interceptors
}
from
'@/utils'
;
import
{
Print
}
from
'@/utils/print'
;
import
i18n
from
'@/locale'
import
'element-ui/lib/theme-chalk/index.css'
;
import
'view-design/dist/styles/iview.css'
;
import
'ibiz-vue-lib/lib/ibiz-vue-lib.css'
;
import
'@/styles/default.less'
;
// 模拟数据
...
...
@@ -31,6 +32,7 @@ Vue.config.errorHandler = function (err: any, vm: any, info: any) {
}
Vue
.
config
.
productionTip
=
false
;
Vue
.
use
(
Print
);
Vue
.
use
(
ibizLab
);
Vue
.
use
(
Vuex
);
Vue
.
use
(
VueRouter
);;
Vue
.
use
(
ElementUi
,
{
...
...
app_web/src/pages/dict/dict-catalog-edit-view/dict-catalog-edit-view-base.vue
浏览文件 @
20f62913
...
...
@@ -194,7 +194,7 @@ export default class DictCatalogEditViewBase extends Vue {
* @type {string}
* @memberof DictCatalogEditViewBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
app_web/src/pages/dict/dict-catalog-grid-view/dict-catalog-grid-view-base.vue
浏览文件 @
20f62913
...
...
@@ -216,7 +216,7 @@ export default class DictCatalogGridViewBase extends Vue {
* @type {string}
* @memberof DictCatalogGridViewBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
app_web/src/pages/dict/dict-catalog-pickup-grid-view/dict-catalog-pickup-grid-view-base.vue
浏览文件 @
20f62913
...
...
@@ -121,7 +121,7 @@ export default class DictCatalogPickupGridViewBase extends Vue {
* @type {string}
* @memberof DictCatalogPickupGridViewBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
app_web/src/pages/dict/dict-catalog-pickup-view/dict-catalog-pickup-view-base.vue
浏览文件 @
20f62913
...
...
@@ -106,7 +106,7 @@ export default class DictCatalogPickupViewBase extends Vue {
* @type {string}
* @memberof DictCatalogPickupViewBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
app_web/src/pages/dict/dict-option-edit-view/dict-option-edit-view-base.vue
浏览文件 @
20f62913
...
...
@@ -131,7 +131,7 @@ export default class DictOptionEditViewBase extends Vue {
* @type {string}
* @memberof DictOptionEditViewBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
app_web/src/pages/dict/dict-option-grid-edit-view/dict-option-grid-edit-view-base.vue
浏览文件 @
20f62913
...
...
@@ -203,7 +203,7 @@ export default class DictOptionGridEditViewBase extends Vue {
* @type {string}
* @memberof DictOptionGridEditViewBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
app_web/src/pages/dict/dict-option-grid-view/dict-option-grid-view-base.vue
浏览文件 @
20f62913
...
...
@@ -203,7 +203,7 @@ export default class DictOptionGridViewBase extends Vue {
* @type {string}
* @memberof DictOptionGridViewBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
app_web/src/widgets/dict-catalog/main-form/main-form-base.vue
浏览文件 @
20f62913
...
...
@@ -201,7 +201,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {string}
* @memberof MainBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
app_web/src/widgets/dict-option/main-form/main-form-base.vue
浏览文件 @
20f62913
...
...
@@ -265,7 +265,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {string}
* @memberof MainBase
*/
@
Inject
(
'navModel'
)
@
Inject
(
{
from
:
'navModel'
,
default
:
'tab'
}
)
public
navModel
!
:
string
;
/**
...
...
config.xml
浏览文件 @
20f62913
...
...
@@ -37,11 +37,6 @@
git clone -b master $para2 ibzdict/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzdict/
mvn clean package -Pweb
cd ibzdict-app/ibzdict-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzdict-app-web.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ibzdict-app/ibzdict-app-web/src/main/docker/Dockerfile
浏览文件 @
20f62913
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzdict-app-web.jar
EXPOSE
30004
EXPOSE
8080
ADD
ibzdict-app-web.jar /ibzdict-app-web.jar
ibzdict-app/ibzdict-app-web/src/main/docker/ibzdict-app-web.yaml
浏览文件 @
20f62913
...
...
@@ -3,22 +3,9 @@ services:
ibzdict-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzdict-app-web:latest
ports
:
-
"
30004:30004
"
-
"
8080:8080
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=30004
-
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
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
-
NACOS=172.16.102.211:8848
deploy
:
resources
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录