Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzwf
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzwf
提交
3759a0ab
提交
3759a0ab
编写于
8月 11, 2020
作者:
sq3536
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
bbcf38e7
4a6dc80d
变更
16
显示空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
329 行增加
和
107 行删除
+329
-107
app-upicker.vue
app_web/src/components/app-upicker/app-upicker.vue
+79
-83
en-US.ts
app_web/src/locale/lang/en-US.ts
+1
-0
zh-CN.ts
app_web/src/locale/lang/zh-CN.ts
+1
-0
main-form-base.vue
app_web/src/widgets/wfgroup/main-form/main-form-base.vue
+47
-0
main-grid.less
app_web/src/widgets/wfgroup/main-grid/main-grid.less
+1
-1
main-form-base.vue
app_web/src/widgets/wfmember/main-form/main-form-base.vue
+47
-0
main-grid.less
app_web/src/widgets/wfmember/main-grid/main-grid.less
+1
-1
main-form-base.vue
...widgets/wfprocess-definition/main-form/main-form-base.vue
+47
-0
main-grid.less
...src/widgets/wfprocess-definition/main-grid/main-grid.less
+1
-1
main-form-base.vue
app_web/src/widgets/wfremodel/main-form/main-form-base.vue
+47
-0
main-form-base.vue
app_web/src/widgets/wfuser/main-form/main-form-base.vue
+47
-0
main-grid.less
app_web/src/widgets/wfuser/main-grid/main-grid.less
+1
-1
config.xml
config.xml
+0
-5
WFProcessNode.java
...n/java/cn/ibizlab/core/workflow/domain/WFProcessNode.java
+7
-0
Dockerfile
ibzwf-provider/ibzwf-provider-api/src/main/docker/Dockerfile
+1
-1
ibzwf-provider-api.yaml
...bzwf-provider-api/src/main/docker/ibzwf-provider-api.yaml
+1
-14
未找到文件。
app_web/src/components/app-upicker/app-upicker.vue
浏览文件 @
3759a0ab
...
@@ -172,6 +172,14 @@ export default class AppUpicker extends Vue {
...
@@ -172,6 +172,14 @@ export default class AppUpicker extends Vue {
*/
*/
public
inputState
:
boolean
=
false
;
public
inputState
:
boolean
=
false
;
/**
* vue 生命周期
*
* @memberof AppUpicker
*/
public
created
()
{
this
.
analysis
(
this
.
itemParams
);
}
/**
/**
* 获取关联数据项值
* 获取关联数据项值
*
*
...
@@ -185,6 +193,77 @@ export default class AppUpicker extends Vue {
...
@@ -185,6 +193,77 @@ export default class AppUpicker extends Vue {
return
this
.
curvalue
;
return
this
.
curvalue
;
}
}
/**
* 展开下拉
*
* @memberof AppUpicker
*/
public
openDropdown
()
{
const
appUpicker
:
any
=
this
.
$refs
.
appUpicker
;
if
(
appUpicker
)
{
appUpicker
.
focus
();
}
}
/**
* 收起下拉
*
* @memberof AppUpicker
*/
public
closeDropdown
()
{
const
appUpicker
:
any
=
this
.
$refs
.
appUpicker
;
if
(
appUpicker
)
{
appUpicker
.
blur
();
}
}
/**
* 下拉切换回调
* @param flag
*
* @memberof AppUpicker
*/
public
onSelectOpen
(
flag
:
boolean
):
void
{
this
.
open
=
flag
;
if
(
this
.
open
)
{
this
.
fectchItemList
(
this
.
url
);
}
}
/**
* 下拉选中
*
* @param {string} val
* @memberof AppUpicker
*/
public
onSelect
(
val
:
string
)
{
let
index
=
this
.
items
.
findIndex
((
item
)
=>
Object
.
is
(
item
.
value
,
val
));
if
(
index
>=
0
)
{
let
item
:
any
=
this
.
items
[
index
];
if
(
this
.
valueitem
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
valueitem
,
value
:
item
.
value
});
}
if
(
this
.
name
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
item
.
label
});
}
}
}
/**
* 清除
*
* @memberof AppUpicker
*/
public
onClear
(
$event
:
any
):
void
{
if
(
this
.
valueitem
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
valueitem
,
value
:
''
});
}
if
(
this
.
name
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
''
});
}
this
.
$forceUpdate
();
}
/**
/**
* 值变化
* 值变化
*
*
...
@@ -209,16 +288,6 @@ export default class AppUpicker extends Vue {
...
@@ -209,16 +288,6 @@ export default class AppUpicker extends Vue {
}
}
}
}
/**
* vue 生命周期
*
* @memberof AppUpicker
*/
public
created
()
{
// 解析编辑器参数
this
.
analysis
(
this
.
itemParams
);
}
/**
/**
* 解析编辑器参数
* 解析编辑器参数
* @param {*} itemparams
* @param {*} itemparams
...
@@ -281,53 +350,6 @@ export default class AppUpicker extends Vue {
...
@@ -281,53 +350,6 @@ export default class AppUpicker extends Vue {
});
});
}
}
/**
* 下拉切换回调
* @param flag
*
* @memberof AppUpicker
*/
public
onSelectOpen
(
flag
:
boolean
):
void
{
this
.
open
=
flag
;
if
(
this
.
open
)
{
this
.
fectchItemList
(
this
.
url
);
}
}
/**
* 下拉选中
*
* @param {string} val
* @memberof AppUpicker
*/
public
onSelect
(
val
:
string
)
{
let
index
=
this
.
items
.
findIndex
((
item
)
=>
Object
.
is
(
item
.
value
,
val
));
if
(
index
>=
0
)
{
let
item
:
any
=
this
.
items
[
index
];
if
(
this
.
valueitem
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
valueitem
,
value
:
item
.
value
});
}
if
(
this
.
name
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
item
.
label
});
}
}
}
/**
* 清除
*
* @memberof AppUpicker
*/
public
onClear
(
$event
:
any
):
void
{
if
(
this
.
valueitem
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
valueitem
,
value
:
''
});
}
if
(
this
.
name
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
''
});
}
this
.
$forceUpdate
();
}
/**
/**
* 公共参数处理
* 公共参数处理
*
*
...
@@ -354,32 +376,6 @@ export default class AppUpicker extends Vue {
...
@@ -354,32 +376,6 @@ export default class AppUpicker extends Vue {
}
}
return
true
;
return
true
;
}
}
/**
* 展开下拉
*
* @memberof AppUpicker
*/
public
openDropdown
()
{
const
appUpicker
:
any
=
this
.
$refs
.
appUpicker
;
if
(
appUpicker
)
{
appUpicker
.
focus
();
}
}
/**
* 收起下拉
*
* @memberof AppUpicker
*/
public
closeDropdown
()
{
const
appUpicker
:
any
=
this
.
$refs
.
appUpicker
;
if
(
appUpicker
)
{
appUpicker
.
blur
();
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
...
...
app_web/src/locale/lang/en-US.ts
浏览文件 @
3759a0ab
...
@@ -200,6 +200,7 @@ export default {
...
@@ -200,6 +200,7 @@ export default {
back
:
"Back"
,
back
:
"Back"
,
next
:
"Next"
,
next
:
"Next"
,
complete
:
"Complete"
,
complete
:
"Complete"
,
preactionmessage
:
"The calculation of the previous behavior is not configured"
},
},
viewLayoutPanel
:
{
viewLayoutPanel
:
{
appLogoutView
:
{
appLogoutView
:
{
...
...
app_web/src/locale/lang/zh-CN.ts
浏览文件 @
3759a0ab
...
@@ -199,6 +199,7 @@ export default {
...
@@ -199,6 +199,7 @@ export default {
back
:
"上一步"
,
back
:
"上一步"
,
next
:
"下一步"
,
next
:
"下一步"
,
complete
:
"完成"
,
complete
:
"完成"
,
preactionmessage
:
"未配置计算上一步行为"
},
},
viewLayoutPanel
:
{
viewLayoutPanel
:
{
appLogoutView
:
{
appLogoutView
:
{
...
...
app_web/src/widgets/wfgroup/main-form/main-form-base.vue
浏览文件 @
3759a0ab
...
@@ -1094,6 +1094,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1094,6 +1094,9 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
Object
.
is
(
'refresh'
,
action
))
{
if
(
Object
.
is
(
'refresh'
,
action
))
{
this
.
refresh
(
data
);
this
.
refresh
(
data
);
}
}
if
(
Object
.
is
(
'panelaction'
,
action
))
{
this
.
panelAction
(
data
.
action
,
data
.
emitAction
,
data
);
}
});
});
}
}
this
.
dataChang
this
.
dataChang
...
@@ -1585,6 +1588,50 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1585,6 +1588,50 @@ export default class MainBase extends Vue implements ControlInterface {
})
})
}
}
/**
* 面板行为
*
* @param {string} [action] 调用的实体行为
* @param {string} [emitAction] 抛出行为
* @param {*} [data={}] 传入数据
* @param {boolean} [showloading] 是否显示加载状态
*
* @memberof MainBase
*/
public
panelAction
(
action
:
string
,
emitAction
:
string
,
data
:
any
=
{},
showloading
?:
boolean
):
void
{
if
(
!
action
||
(
action
&&
Object
.
is
(
action
,
''
)))
{
return
;
}
const
arg
:
any
=
{
...
data
};
const
formdata
=
this
.
getValues
();
Object
.
assign
(
arg
,
formdata
);
Object
.
assign
(
arg
,
this
.
viewparams
);
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
action
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
showloading
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
if
(
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
const
data
=
response
.
data
;
this
.
onFormLoad
(
data
,
emitAction
);
this
.
$emit
(
emitAction
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
emitAction
,
data
:
data
});
});
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
&&
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
return
;
}
});
}
/**
/**
* 表单项更新
* 表单项更新
*
*
...
...
app_web/src/widgets/wfgroup/main-grid/main-grid.less
浏览文件 @
3759a0ab
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
height: 100%;
height: 100%;
display:flex;
display:flex;
flex-direction: column;
flex-direction: column;
justify-content: start;
justify-content:
flex-
start;
.el-table__row{
.el-table__row{
.grid-uiaction-divider {
.grid-uiaction-divider {
padding:0 10px 0 10px;
padding:0 10px 0 10px;
...
...
app_web/src/widgets/wfmember/main-form/main-form-base.vue
浏览文件 @
3759a0ab
...
@@ -1198,6 +1198,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1198,6 +1198,9 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
Object
.
is
(
'refresh'
,
action
))
{
if
(
Object
.
is
(
'refresh'
,
action
))
{
this
.
refresh
(
data
);
this
.
refresh
(
data
);
}
}
if
(
Object
.
is
(
'panelaction'
,
action
))
{
this
.
panelAction
(
data
.
action
,
data
.
emitAction
,
data
);
}
});
});
}
}
this
.
dataChang
this
.
dataChang
...
@@ -1689,6 +1692,50 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1689,6 +1692,50 @@ export default class MainBase extends Vue implements ControlInterface {
})
})
}
}
/**
* 面板行为
*
* @param {string} [action] 调用的实体行为
* @param {string} [emitAction] 抛出行为
* @param {*} [data={}] 传入数据
* @param {boolean} [showloading] 是否显示加载状态
*
* @memberof MainBase
*/
public
panelAction
(
action
:
string
,
emitAction
:
string
,
data
:
any
=
{},
showloading
?:
boolean
):
void
{
if
(
!
action
||
(
action
&&
Object
.
is
(
action
,
''
)))
{
return
;
}
const
arg
:
any
=
{
...
data
};
const
formdata
=
this
.
getValues
();
Object
.
assign
(
arg
,
formdata
);
Object
.
assign
(
arg
,
this
.
viewparams
);
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
action
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
showloading
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
if
(
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
const
data
=
response
.
data
;
this
.
onFormLoad
(
data
,
emitAction
);
this
.
$emit
(
emitAction
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
emitAction
,
data
:
data
});
});
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
&&
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
return
;
}
});
}
/**
/**
* 表单项更新
* 表单项更新
*
*
...
...
app_web/src/widgets/wfmember/main-grid/main-grid.less
浏览文件 @
3759a0ab
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
height: 100%;
height: 100%;
display:flex;
display:flex;
flex-direction: column;
flex-direction: column;
justify-content: start;
justify-content:
flex-
start;
.el-table__row{
.el-table__row{
.grid-uiaction-divider {
.grid-uiaction-divider {
padding:0 10px 0 10px;
padding:0 10px 0 10px;
...
...
app_web/src/widgets/wfprocess-definition/main-form/main-form-base.vue
浏览文件 @
3759a0ab
...
@@ -1244,6 +1244,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1244,6 +1244,9 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
Object
.
is
(
'refresh'
,
action
))
{
if
(
Object
.
is
(
'refresh'
,
action
))
{
this
.
refresh
(
data
);
this
.
refresh
(
data
);
}
}
if
(
Object
.
is
(
'panelaction'
,
action
))
{
this
.
panelAction
(
data
.
action
,
data
.
emitAction
,
data
);
}
});
});
}
}
this
.
dataChang
this
.
dataChang
...
@@ -1735,6 +1738,50 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1735,6 +1738,50 @@ export default class MainBase extends Vue implements ControlInterface {
})
})
}
}
/**
* 面板行为
*
* @param {string} [action] 调用的实体行为
* @param {string} [emitAction] 抛出行为
* @param {*} [data={}] 传入数据
* @param {boolean} [showloading] 是否显示加载状态
*
* @memberof MainBase
*/
public
panelAction
(
action
:
string
,
emitAction
:
string
,
data
:
any
=
{},
showloading
?:
boolean
):
void
{
if
(
!
action
||
(
action
&&
Object
.
is
(
action
,
''
)))
{
return
;
}
const
arg
:
any
=
{
...
data
};
const
formdata
=
this
.
getValues
();
Object
.
assign
(
arg
,
formdata
);
Object
.
assign
(
arg
,
this
.
viewparams
);
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
action
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
showloading
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
if
(
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
const
data
=
response
.
data
;
this
.
onFormLoad
(
data
,
emitAction
);
this
.
$emit
(
emitAction
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
emitAction
,
data
:
data
});
});
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
&&
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
return
;
}
});
}
/**
/**
* 表单项更新
* 表单项更新
*
*
...
...
app_web/src/widgets/wfprocess-definition/main-grid/main-grid.less
浏览文件 @
3759a0ab
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
height: 100%;
height: 100%;
display:flex;
display:flex;
flex-direction: column;
flex-direction: column;
justify-content: start;
justify-content:
flex-
start;
.el-table__row{
.el-table__row{
.grid-uiaction-divider {
.grid-uiaction-divider {
padding:0 10px 0 10px;
padding:0 10px 0 10px;
...
...
app_web/src/widgets/wfremodel/main-form/main-form-base.vue
浏览文件 @
3759a0ab
...
@@ -1021,6 +1021,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1021,6 +1021,9 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
Object
.
is
(
'refresh'
,
action
))
{
if
(
Object
.
is
(
'refresh'
,
action
))
{
this
.
refresh
(
data
);
this
.
refresh
(
data
);
}
}
if
(
Object
.
is
(
'panelaction'
,
action
))
{
this
.
panelAction
(
data
.
action
,
data
.
emitAction
,
data
);
}
});
});
}
}
this
.
dataChang
this
.
dataChang
...
@@ -1512,6 +1515,50 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1512,6 +1515,50 @@ export default class MainBase extends Vue implements ControlInterface {
})
})
}
}
/**
* 面板行为
*
* @param {string} [action] 调用的实体行为
* @param {string} [emitAction] 抛出行为
* @param {*} [data={}] 传入数据
* @param {boolean} [showloading] 是否显示加载状态
*
* @memberof MainBase
*/
public
panelAction
(
action
:
string
,
emitAction
:
string
,
data
:
any
=
{},
showloading
?:
boolean
):
void
{
if
(
!
action
||
(
action
&&
Object
.
is
(
action
,
''
)))
{
return
;
}
const
arg
:
any
=
{
...
data
};
const
formdata
=
this
.
getValues
();
Object
.
assign
(
arg
,
formdata
);
Object
.
assign
(
arg
,
this
.
viewparams
);
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
action
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
showloading
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
if
(
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
const
data
=
response
.
data
;
this
.
onFormLoad
(
data
,
emitAction
);
this
.
$emit
(
emitAction
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
emitAction
,
data
:
data
});
});
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
&&
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
return
;
}
});
}
/**
/**
* 表单项更新
* 表单项更新
*
*
...
...
app_web/src/widgets/wfuser/main-form/main-form-base.vue
浏览文件 @
3759a0ab
...
@@ -1064,6 +1064,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1064,6 +1064,9 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
Object
.
is
(
'refresh'
,
action
))
{
if
(
Object
.
is
(
'refresh'
,
action
))
{
this
.
refresh
(
data
);
this
.
refresh
(
data
);
}
}
if
(
Object
.
is
(
'panelaction'
,
action
))
{
this
.
panelAction
(
data
.
action
,
data
.
emitAction
,
data
);
}
});
});
}
}
this
.
dataChang
this
.
dataChang
...
@@ -1555,6 +1558,50 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1555,6 +1558,50 @@ export default class MainBase extends Vue implements ControlInterface {
})
})
}
}
/**
* 面板行为
*
* @param {string} [action] 调用的实体行为
* @param {string} [emitAction] 抛出行为
* @param {*} [data={}] 传入数据
* @param {boolean} [showloading] 是否显示加载状态
*
* @memberof MainBase
*/
public
panelAction
(
action
:
string
,
emitAction
:
string
,
data
:
any
=
{},
showloading
?:
boolean
):
void
{
if
(
!
action
||
(
action
&&
Object
.
is
(
action
,
''
)))
{
return
;
}
const
arg
:
any
=
{
...
data
};
const
formdata
=
this
.
getValues
();
Object
.
assign
(
arg
,
formdata
);
Object
.
assign
(
arg
,
this
.
viewparams
);
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
action
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
showloading
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
if
(
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
const
data
=
response
.
data
;
this
.
onFormLoad
(
data
,
emitAction
);
this
.
$emit
(
emitAction
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
emitAction
,
data
:
data
});
});
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
&&
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
return
;
}
});
}
/**
/**
* 表单项更新
* 表单项更新
*
*
...
...
app_web/src/widgets/wfuser/main-grid/main-grid.less
浏览文件 @
3759a0ab
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
height: 100%;
height: 100%;
display:flex;
display:flex;
flex-direction: column;
flex-direction: column;
justify-content: start;
justify-content:
flex-
start;
.el-table__row{
.el-table__row{
.grid-uiaction-divider {
.grid-uiaction-divider {
padding:0 10px 0 10px;
padding:0 10px 0 10px;
...
...
config.xml
浏览文件 @
3759a0ab
...
@@ -37,11 +37,6 @@
...
@@ -37,11 +37,6 @@
git clone -b master $para2 ibzwf/
git clone -b master $para2 ibzwf/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzwf/
cd ibzwf/
mvn clean package -Papi
cd ibzwf-provider/ibzwf-provider-api
mvn -Papi docker:build
mvn -Papi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzwf-provider-api.yaml ibzlab-rt --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
ibzwf-core/src/main/java/cn/ibizlab/core/workflow/domain/WFProcessNode.java
浏览文件 @
3759a0ab
...
@@ -66,6 +66,13 @@ public class WFProcessNode extends EntityBase implements Serializable {
...
@@ -66,6 +66,13 @@ public class WFProcessNode extends EntityBase implements Serializable {
@JsonProperty
(
"processDefinitionName"
)
@JsonProperty
(
"processDefinitionName"
)
private
String
processdefinitionname
;
private
String
processdefinitionname
;
/**
* 版本
*/
@JSONField
(
name
=
"version"
)
@JsonProperty
(
"version"
)
private
Integer
version
;
/**
/**
* 数量
* 数量
*/
*/
...
...
ibzwf-provider/ibzwf-provider-api/src/main/docker/Dockerfile
浏览文件 @
3759a0ab
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzwf-provider-api.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzwf-provider-api.jar
EXPOSE
40003
EXPOSE
8081
ADD
ibzwf-provider-api.jar /ibzwf-provider-api.jar
ADD
ibzwf-provider-api.jar /ibzwf-provider-api.jar
ibzwf-provider/ibzwf-provider-api/src/main/docker/ibzwf-provider-api.yaml
浏览文件 @
3759a0ab
...
@@ -3,22 +3,9 @@ services:
...
@@ -3,22 +3,9 @@ services:
ibzwf-provider-api
:
ibzwf-provider-api
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzwf-provider-api:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzwf-provider-api:latest
ports
:
ports
:
-
"
40003:40003
"
-
"
8081:8081
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=40003
-
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
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录