Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzwf
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzwf
提交
28e8522f
提交
28e8522f
编写于
5月 09, 2020
作者:
sq3536
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
fdc1990c
a3d8607a
变更
23
隐藏空白字符变更
内嵌
并排
正在显示
23 个修改的文件
包含
83 行增加
和
35 行删除
+83
-35
app-mpicker.vue
app_web/src/components/app-mpicker/app-mpicker.vue
+43
-6
app-span.vue
app_web/src/components/app-span/app-span.vue
+5
-0
wfgroup-pickup-view-base.vue
...workflow/wfgroup-pickup-view/wfgroup-pickup-view-base.vue
+1
-1
wfmember-grid-view-base.vue
...s/workflow/wfmember-grid-view/wfmember-grid-view-base.vue
+4
-2
wfuser-pickup-view-base.vue
...s/workflow/wfuser-pickup-view/wfuser-pickup-view-base.vue
+1
-1
default-searchform-base.vue
...ts/wfgroup/default-searchform/default-searchform-base.vue
+2
-2
default-searchform.less
...idgets/wfgroup/default-searchform/default-searchform.less
+3
-0
main-grid-base.vue
app_web/src/widgets/wfgroup/main-grid/main-grid-base.vue
+1
-1
default-searchform-base.vue
...s/wfmember/default-searchform/default-searchform-base.vue
+2
-2
default-searchform.less
...dgets/wfmember/default-searchform/default-searchform.less
+3
-0
main-grid-base.vue
app_web/src/widgets/wfmember/main-grid/main-grid-base.vue
+1
-1
default-searchform-base.vue
...definition/default-searchform/default-searchform-base.vue
+2
-2
default-searchform.less
...ess-definition/default-searchform/default-searchform.less
+3
-0
main-grid-base.vue
...widgets/wfprocess-definition/main-grid/main-grid-base.vue
+1
-1
default-searchform-base.vue
...ets/wfuser/default-searchform/default-searchform-base.vue
+2
-2
default-searchform.less
...widgets/wfuser/default-searchform/default-searchform.less
+3
-0
main-grid-base.vue
app_web/src/widgets/wfuser/main-grid/main-grid-base.vue
+1
-1
config.xml
config.xml
+0
-6
Dockerfile
ibzwf-app/ibzwf-app-web/src/main/docker/Dockerfile
+1
-1
ibzwf-app-web.yaml
ibzwf-app/ibzwf-app-web/src/main/docker/ibzwf-app-web.yaml
+1
-3
application-web-dev.yml
.../ibzwf-app-web/src/main/resources/application-web-dev.yml
+1
-1
application-web-prod.yml
...ibzwf-app-web/src/main/resources/application-web-prod.yml
+1
-1
PermissionSyncJob.java
.../src/main/java/cn/ibizlab/util/job/PermissionSyncJob.java
+1
-1
未找到文件。
app_web/src/components/app-mpicker/app-mpicker.vue
浏览文件 @
28e8522f
...
...
@@ -123,12 +123,12 @@ export default class AppMpicker extends Vue {
* @param newVal
* @param val
*/
@
Watch
(
'curvalue'
,
{
deep
:
true
})
@
Watch
(
'curvalue'
,
{
immediate
:
true
,
deep
:
true
})
oncurvalueChange
(
newVal
:
any
,
val
:
any
)
{
this
.
value
=
[];
this
.
selectItems
=
[];
if
(
newVal
)
{
this
.
selectItems
=
JSON
.
parse
(
newVal
);
this
.
selectItems
=
this
.
parseValue
(
JSON
.
parse
(
newVal
)
);
this
.
selectItems
.
forEach
((
item
:
any
)
=>
{
this
.
value
.
push
(
item
[
this
.
deKeyField
]);
let
index
=
this
.
items
.
findIndex
((
i
)
=>
Object
.
is
(
i
[
this
.
deKeyField
],
item
[
this
.
deKeyField
]));
...
...
@@ -187,7 +187,7 @@ export default class AppMpicker extends Vue {
let
index
=
this
.
items
.
findIndex
((
item
)
=>
Object
.
is
(
item
[
this
.
deKeyField
],
select
));
if
(
index
>=
0
)
{
let
item
=
this
.
items
[
index
];
val
.
push
({
[
this
.
deKeyField
]:
item
[
this
.
deKeyField
],
[
this
.
deMajorField
]:
item
.
text
});
val
.
push
({
[
this
.
deKeyField
]:
item
[
this
.
deKeyField
],
[
this
.
deMajorField
]:
item
[
this
.
deMajorField
]
});
}
else
{
index
=
this
.
selectItems
.
findIndex
((
item
:
any
)
=>
Object
.
is
(
item
[
this
.
deKeyField
],
select
));
if
(
index
>=
0
)
{
...
...
@@ -196,7 +196,7 @@ export default class AppMpicker extends Vue {
}
}
});
let
value
=
val
.
length
>
0
?
JSON
.
stringify
(
val
)
:
''
;
let
value
=
val
.
length
>
0
?
JSON
.
stringify
(
this
.
formatValue
(
val
)
)
:
''
;
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
value
});
}
}
...
...
@@ -211,7 +211,7 @@ export default class AppMpicker extends Vue {
let
index
=
this
.
selectItems
.
findIndex
((
item
:
any
)
=>
Object
.
is
(
item
[
this
.
deKeyField
],
tag
));
if
(
index
>=
0
)
{
this
.
selectItems
.
splice
(
index
,
1
);
let
value
=
this
.
selectItems
.
length
>
0
?
JSON
.
stringify
(
this
.
selectItems
)
:
''
;
let
value
=
this
.
selectItems
.
length
>
0
?
JSON
.
stringify
(
this
.
formatValue
(
this
.
selectItems
)
)
:
''
;
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
value
});
}
}
...
...
@@ -256,13 +256,50 @@ export default class AppMpicker extends Vue {
});
}
if
(
this
.
name
&&
this
.
activeData
)
{
let
value
=
selects
.
length
>
0
?
JSON
.
stringify
(
selects
)
:
''
;
let
value
=
selects
.
length
>
0
?
JSON
.
stringify
(
this
.
formatValue
(
selects
)
)
:
''
;
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
value
});
}
})
}
}
/**
* 解析值,把srfkey和srfmajortext解析成实体属性名
*
* @param {any[]} value 需要转换的数组
* @memberof AppMpicker
*/
public
parseValue
(
value
:
any
[]){
let
result
=
[];
if
(
this
.
deKeyField
!==
"srfkey"
||
this
.
deMajorField
!==
"srfmajortext"
){
value
.
forEach
((
item
:
any
)
=>
{
result
.
push
({[
this
.
deMajorField
]:
item
.
srfmajortext
,
[
this
.
deKeyField
]:
item
.
srfkey
});
});
}
else
{
result
=
value
;
}
return
result
;
}
/**
* 格式化值,把实体属性名格式化成srfkey和srfmajortext
*
* @param {any[]} value 需要转换的数组
* @memberof AppMpicker
*/
public
formatValue
(
value
:
any
[]){
let
result
=
[];
if
(
this
.
deKeyField
!==
"srfkey"
||
this
.
deMajorField
!==
"srfmajortext"
){
value
.
forEach
((
item
:
any
)
=>
{
result
.
push
({
srfmajortext
:
item
[
this
.
deMajorField
],
srfkey
:
item
[
this
.
deKeyField
]});
});
}
else
{
result
=
value
;
}
return
result
;
}
}
</
script
>
<
style
lang=
"less"
>
...
...
app_web/src/components/app-span/app-span.vue
浏览文件 @
28e8522f
...
...
@@ -108,6 +108,11 @@ export default class AppSpan extends Vue {
public
load
(){
if
(
!
this
.
value
||
this
.
tag
){
return
;
//代码表走codelist组件
}
else
if
(
this
.
editorType
===
"ADDRESSPICKUP"
){
JSON
.
parse
(
this
.
value
).
forEach
((
item
:
any
,
index
:
number
)
=>
{
this
.
text
+=
index
===
0
?
item
.
srfmajortext
:
","
+
item
.
srfmajortext
;
});
}
else
{
this
.
text
=
this
.
value
;
}
...
...
app_web/src/pages/workflow/wfgroup-pickup-view/wfgroup-pickup-view-base.vue
浏览文件 @
28e8522f
<
template
>
<div
class=
"view-container depickupview wfgroup-pickup-view"
>
<app-studioaction
:viewTitle=
"$t(model.srfTitle)"
viewName=
"wfgrouppickupview"
></app-studioaction>
<card
class=
'view-card'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<card
class=
'view-card
view-no-caption
'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<view
_pickupviewpanel
:viewState=
"viewState"
...
...
app_web/src/pages/workflow/wfmember-grid-view/wfmember-grid-view-base.vue
浏览文件 @
28e8522f
...
...
@@ -1089,9 +1089,11 @@ export default class WFMemberGridViewBase extends Vue {
protected
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
const
batchAddPSAppViews
=
[
{
view
:{
viewname
:
'wfgroup-mpickup-view'
,
height
:
0
,
width
:
0
,
title
:
'角色/用户组数据多项选择视图'
},
res
:[
'WFGroup'
],
'resAppKey'
:
'groupid'
},
res
:[
'WFGroup'
],
'resAppKey'
:
'groupid'
},
{
view
:{
viewname
:
'wfuser-mpickup-view'
,
height
:
0
,
width
:
0
,
title
:
'用户数据多项选择视图'
},
res
:[
'WFUser'
],
'resAppKey'
:
'userid'
}
res
:[
'WFUser'
],
'resAppKey'
:
'userid'
}
];
if
(
batchAddPSAppViews
.
length
==
0
||
!
this
.
context
.
srfparentdename
){
this
.
$Notice
.
warning
({
title
:
'错误'
,
desc
:
'批量添加需添加N:N关系'
});
...
...
app_web/src/pages/workflow/wfuser-pickup-view/wfuser-pickup-view-base.vue
浏览文件 @
28e8522f
<
template
>
<div
class=
"view-container depickupview wfuser-pickup-view"
>
<app-studioaction
:viewTitle=
"$t(model.srfTitle)"
viewName=
"wfuserpickupview"
></app-studioaction>
<card
class=
'view-card'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<card
class=
'view-card
view-no-caption
'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<view
_pickupviewpanel
:viewState=
"viewState"
...
...
app_web/src/widgets/wfgroup/default-searchform/default-searchform-base.vue
浏览文件 @
28e8522f
...
...
@@ -2,7 +2,7 @@
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'searchform'
style=
""
>
<input
style=
"display:none;"
/>
<row>
<i-col
span=
"20"
>
<i-col
span=
"20"
class=
"form-content"
>
<row>
<i-col
v-show=
"detailsModel.n_groupname_like.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'n_groupname_like'
:itemRules=
"this.rules.n_groupname_like"
class=
''
:caption=
"$t('entities.wfgroup.default_searchform.details.n_groupname_like')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_groupname_like.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
...
@@ -12,7 +12,7 @@
</i-col>
</row>
</i-col>
<i-col
span=
"4"
>
<i-col
span=
"4"
class=
"search-button"
>
<row
v-show=
"Object.keys(data).length>0"
>
<i-button
class=
'search_reset'
size=
"default"
type=
"primary"
@
click=
"onSearch"
>
{{
$t
(
'app.searchButton.search'
)
}}
</i-button>
<i-button
class=
'search_reset'
size=
"default"
@
click=
"onReset"
>
{{
this
.
$t
(
'app.searchButton.reset'
)
}}
</i-button>
...
...
app_web/src/widgets/wfgroup/default-searchform/default-searchform.less
浏览文件 @
28e8522f
...
...
@@ -13,6 +13,9 @@
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
...
...
app_web/src/widgets/wfgroup/main-grid/main-grid-base.vue
浏览文件 @
28e8522f
...
...
@@ -491,7 +491,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {number}
* @memberof AppIndex
*/
protected
checkboxColWidth
:
number
=
8
0
;
protected
checkboxColWidth
:
number
=
5
0
;
/**
* 是否允许拖动列宽
...
...
app_web/src/widgets/wfmember/default-searchform/default-searchform-base.vue
浏览文件 @
28e8522f
...
...
@@ -2,7 +2,7 @@
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'searchform'
style=
""
>
<input
style=
"display:none;"
/>
<row>
<i-col
span=
"20"
>
<i-col
span=
"20"
class=
"form-content"
>
<row>
<i-col
v-show=
"detailsModel.n_personname_like.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'n_personname_like'
:itemRules=
"this.rules.n_personname_like"
class=
''
:caption=
"$t('entities.wfmember.default_searchform.details.n_personname_like')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_personname_like.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
...
@@ -12,7 +12,7 @@
</i-col>
</row>
</i-col>
<i-col
span=
"4"
>
<i-col
span=
"4"
class=
"search-button"
>
<row
v-show=
"Object.keys(data).length>0"
>
<i-button
class=
'search_reset'
size=
"default"
type=
"primary"
@
click=
"onSearch"
>
{{
$t
(
'app.searchButton.search'
)
}}
</i-button>
<i-button
class=
'search_reset'
size=
"default"
@
click=
"onReset"
>
{{
this
.
$t
(
'app.searchButton.reset'
)
}}
</i-button>
...
...
app_web/src/widgets/wfmember/default-searchform/default-searchform.less
浏览文件 @
28e8522f
...
...
@@ -13,6 +13,9 @@
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
...
...
app_web/src/widgets/wfmember/main-grid/main-grid-base.vue
浏览文件 @
28e8522f
...
...
@@ -484,7 +484,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {number}
* @memberof AppIndex
*/
protected
checkboxColWidth
:
number
=
8
0
;
protected
checkboxColWidth
:
number
=
5
0
;
/**
* 是否允许拖动列宽
...
...
app_web/src/widgets/wfprocess-definition/default-searchform/default-searchform-base.vue
浏览文件 @
28e8522f
...
...
@@ -2,7 +2,7 @@
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'searchform'
style=
""
>
<input
style=
"display:none;"
/>
<row>
<i-col
span=
"20"
>
<i-col
span=
"20"
class=
"form-content"
>
<row>
<i-col
v-show=
"detailsModel.n_deploykey_like.visible"
:style=
"
{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'n_deploykey_like'
:itemRules=
"this.rules.n_deploykey_like"
class=
''
:caption=
"$t('entities.wfprocessdefinition.default_searchform.details.n_deploykey_like')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_deploykey_like.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
...
@@ -18,7 +18,7 @@
</i-col>
</row>
</i-col>
<i-col
span=
"4"
>
<i-col
span=
"4"
class=
"search-button"
>
<row
v-show=
"Object.keys(data).length>0"
>
<i-button
class=
'search_reset'
size=
"default"
type=
"primary"
@
click=
"onSearch"
>
{{
$t
(
'app.searchButton.search'
)
}}
</i-button>
<i-button
class=
'search_reset'
size=
"default"
@
click=
"onReset"
>
{{
this
.
$t
(
'app.searchButton.reset'
)
}}
</i-button>
...
...
app_web/src/widgets/wfprocess-definition/default-searchform/default-searchform.less
浏览文件 @
28e8522f
...
...
@@ -13,6 +13,9 @@
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
...
...
app_web/src/widgets/wfprocess-definition/main-grid/main-grid-base.vue
浏览文件 @
28e8522f
...
...
@@ -507,7 +507,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {number}
* @memberof AppIndex
*/
protected
checkboxColWidth
:
number
=
8
0
;
protected
checkboxColWidth
:
number
=
5
0
;
/**
* 是否允许拖动列宽
...
...
app_web/src/widgets/wfuser/default-searchform/default-searchform-base.vue
浏览文件 @
28e8522f
...
...
@@ -2,7 +2,7 @@
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'searchform'
style=
""
>
<input
style=
"display:none;"
/>
<row>
<i-col
span=
"20"
>
<i-col
span=
"20"
class=
"form-content"
>
<row>
<i-col
v-show=
"detailsModel.n_personname_like.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'n_personname_like'
:itemRules=
"this.rules.n_personname_like"
class=
''
:caption=
"$t('entities.wfuser.default_searchform.details.n_personname_like')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_personname_like.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
...
@@ -12,7 +12,7 @@
</i-col>
</row>
</i-col>
<i-col
span=
"4"
>
<i-col
span=
"4"
class=
"search-button"
>
<row
v-show=
"Object.keys(data).length>0"
>
<i-button
class=
'search_reset'
size=
"default"
type=
"primary"
@
click=
"onSearch"
>
{{
$t
(
'app.searchButton.search'
)
}}
</i-button>
<i-button
class=
'search_reset'
size=
"default"
@
click=
"onReset"
>
{{
this
.
$t
(
'app.searchButton.reset'
)
}}
</i-button>
...
...
app_web/src/widgets/wfuser/default-searchform/default-searchform.less
浏览文件 @
28e8522f
...
...
@@ -13,6 +13,9 @@
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
...
...
app_web/src/widgets/wfuser/main-grid/main-grid-base.vue
浏览文件 @
28e8522f
...
...
@@ -491,7 +491,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {number}
* @memberof AppIndex
*/
protected
checkboxColWidth
:
number
=
8
0
;
protected
checkboxColWidth
:
number
=
5
0
;
/**
* 是否允许拖动列宽
...
...
config.xml
浏览文件 @
28e8522f
...
...
@@ -32,17 +32,11 @@
<hudson.tasks.Shell>
<command>
BUILD_ID=DONTKILLME
echo "registry.cn-shanghai.aliyuncs.com/ibizsys"
source /etc/profile
rm -rf ibzwf
git clone -b master $para2 ibzwf/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzwf/
mvn clean package -Pweb
cd ibzwf-app/ibzwf-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzwf-app-web.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ibzwf-app/ibzwf-app-web/src/main/docker/Dockerfile
浏览文件 @
28e8522f
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzwf-app-web.jar
EXPOSE
30003
EXPOSE
8080
ADD
ibzwf-app-web.jar /ibzwf-app-web.jar
ibzwf-app/ibzwf-app-web/src/main/docker/ibzwf-app-web.yaml
浏览文件 @
28e8522f
...
...
@@ -3,11 +3,9 @@ services:
ibzwf-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzwf-app-web:latest
ports
:
-
"
30003:30003
"
-
"
8080:8080
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.180.237
deploy
:
mode
:
replicated
replicas
:
1
...
...
ibzwf-app/ibzwf-app-web/src/main/resources/application-web-dev.yml
浏览文件 @
28e8522f
server
:
port
:
30003
\ No newline at end of file
port
:
8080
\ No newline at end of file
ibzwf-app/ibzwf-app-web/src/main/resources/application-web-prod.yml
浏览文件 @
28e8522f
server
:
port
:
30003
port
:
8080
#zuul网关路由设置
zuul
:
...
...
ibzwf-util/src/main/java/cn/ibizlab/util/job/PermissionSyncJob.java
浏览文件 @
28e8522f
...
...
@@ -32,7 +32,7 @@ public class PermissionSyncJob implements ApplicationRunner {
@Value
(
"${ibiz.enablePermissionValid:false}"
)
boolean
enablePermissionValid
;
//是否开启权限校验
@Value
(
"${ibiz.systemid:
0A91C1B1-3B67-4EDA-9572-5DB491871FEE
}"
)
@Value
(
"${ibiz.systemid:
2C40DFCD-0DF5-47BF-91A5-C45F810B0001
}"
)
private
String
systemId
;
@Override
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录