Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
3559fb76
提交
3559fb76
编写于
5月 25, 2020
作者:
sq3536
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
a24cb459
52d3e7d8
变更
29
隐藏空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
328 行增加
和
17 行删除
+328
-17
app-register.ts
app_web/src/app-register.ts
+2
-2
app-wf-approval.less
app_web/src/components/app-wf-approval/app-wf-approval.less
+92
-0
app-wf-approval.vue
app_web/src/components/app-wf-approval/app-wf-approval.vue
+119
-0
entity-service.ts
app_web/src/service/entity-service.ts
+14
-1
main-grid-base.vue
...web/src/widgets/sys-auth-log/main-grid/main-grid-base.vue
+2
-1
main-form-base.vue
...b/src/widgets/sys-permission/main-form/main-form-base.vue
+1
-1
main-grid-base.vue
...b/src/widgets/sys-permission/main-grid/main-grid-base.vue
+2
-1
main-form-base.vue
.../widgets/sys-role-permission/main-form/main-form-base.vue
+1
-1
main-grid-base.vue
.../widgets/sys-role-permission/main-grid/main-grid-base.vue
+2
-1
main-form-base.vue
app_web/src/widgets/sys-role/main-form/main-form-base.vue
+1
-1
main-grid-base.vue
app_web/src/widgets/sys-role/main-grid/main-grid-base.vue
+2
-1
main-form-base.vue
...eb/src/widgets/sys-user-role/main-form/main-form-base.vue
+1
-1
main-grid-base.vue
...eb/src/widgets/sys-user-role/main-grid/main-grid-base.vue
+2
-1
main-form-base.vue
app_web/src/widgets/sys-user/main-form/main-form-base.vue
+1
-1
main-grid-base.vue
app_web/src/widgets/sys-user/main-grid/main-grid-base.vue
+2
-1
config.xml
config.xml
+5
-0
Dockerfile
ibzuaa-app/ibzuaa-app-web/src/main/docker/Dockerfile
+1
-1
ibzuaa-app-web.yaml
...aa-app/ibzuaa-app-web/src/main/docker/ibzuaa-app-web.yaml
+15
-1
SysAppMenuItemServiceImpl.java
...zlab/core/uaa/service/impl/SysAppMenuItemServiceImpl.java
+6
-0
SysAuthLogServiceImpl.java
.../ibizlab/core/uaa/service/impl/SysAuthLogServiceImpl.java
+6
-0
SysOperatorPrivServiceImpl.java
...lab/core/uaa/service/impl/SysOperatorPrivServiceImpl.java
+6
-0
SysPSSystemServiceImpl.java
...ibizlab/core/uaa/service/impl/SysPSSystemServiceImpl.java
+6
-0
SysPermissionServiceImpl.java
...izlab/core/uaa/service/impl/SysPermissionServiceImpl.java
+6
-0
SysRolePermissionServiceImpl.java
...b/core/uaa/service/impl/SysRolePermissionServiceImpl.java
+7
-0
SysRoleServiceImpl.java
.../cn/ibizlab/core/uaa/service/impl/SysRoleServiceImpl.java
+6
-0
SysUniResServiceImpl.java
...n/ibizlab/core/uaa/service/impl/SysUniResServiceImpl.java
+6
-0
SysUserRoleServiceImpl.java
...ibizlab/core/uaa/service/impl/SysUserRoleServiceImpl.java
+7
-0
SysUserServiceImpl.java
.../cn/ibizlab/core/uaa/service/impl/SysUserServiceImpl.java
+6
-0
DEFieldCacheMap.java
...src/main/java/cn/ibizlab/util/helper/DEFieldCacheMap.java
+1
-1
未找到文件。
app_web/src/app-register.ts
浏览文件 @
3559fb76
...
@@ -75,8 +75,7 @@ import AppOrgSelect from './components/app-org-select/app-org-select.vue'
...
@@ -75,8 +75,7 @@ import AppOrgSelect from './components/app-org-select/app-org-select.vue'
import
AppDepartmentSelect
from
'./components/app-department-select/app-department-select.vue'
import
AppDepartmentSelect
from
'./components/app-department-select/app-department-select.vue'
import
IBizGroupSelect
from
'./components/ibiz-group-select/ibiz-group-select.vue'
import
IBizGroupSelect
from
'./components/ibiz-group-select/ibiz-group-select.vue'
import
IBizGroupPicker
from
'./components/ibiz-group-picker/ibiz-group-picker.vue'
import
IBizGroupPicker
from
'./components/ibiz-group-picker/ibiz-group-picker.vue'
import
AppWFApproval
from
'./components/app-wf-approval/app-wf-approval.vue'
// 全局挂载UI实体服务注册中心
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
...
@@ -161,5 +160,6 @@ export const AppComponents = {
...
@@ -161,5 +160,6 @@ export const AppComponents = {
v
.
component
(
'app-department-select'
,
AppDepartmentSelect
);
v
.
component
(
'app-department-select'
,
AppDepartmentSelect
);
v
.
component
(
'ibiz-group-select'
,
IBizGroupSelect
);
v
.
component
(
'ibiz-group-select'
,
IBizGroupSelect
);
v
.
component
(
'ibiz-group-picker'
,
IBizGroupPicker
);
v
.
component
(
'ibiz-group-picker'
,
IBizGroupPicker
);
v
.
component
(
'app-wf-approval'
,
AppWFApproval
);
},
},
};
};
\ No newline at end of file
app_web/src/components/app-wf-approval/app-wf-approval.less
0 → 100644
浏览文件 @
3559fb76
.app-wf-approval{
width:400px;
.app-wf-approval-header{
width: 100%;
text-align: center;
background: #9acdf5;
height: 32px;
line-height: 32px;
font-size: 16px;
border: 1px solid #565656;
.approval-header-left{
margin-right: 24px;
}
}
.app-wf-approval-bottom{
width: 100%;
text-align: center;
background: #9acdf5;
height: 32px;
line-height: 32px;
font-size: 16px;
border-style: solid;
border-width: 0px 1px 1px 1px;
border-color: #565656;
}
.app-wf-approval-content{
border-left: 1px solid #565656;
border-right: 1px solid #565656;
.approval-content-item{
display: flex;
align-items: center;
font-size: 16px;
border-bottom: 1px solid #565656;
.approval-content-item-left{
width: 30%;
padding: 8px;
}
.approval-content-item-right{
width: 70%;
border-left:1px solid #565656;
.approval-content-item-wait{
padding: 0px 4px;
height: 32px;
line-height: 32px;
font-size: 16px;
border-bottom:1px solid #565656;
background: #d1ef5c;
>span{
font-size: 18px;
color: #000;
font-weight: 600;
}
}
.approval-content-item-info{
.approval-content-item-info-item {
padding: 0px 4px;
height: 32px;
line-height: 32px;
border-bottom:1px solid #565656;
}
.approval-content-item-info-top{
font-size: 16px;
}
.approval-content-item-info-bottom{
font-size: 14px;
text-align: right;
>span{
margin-right:6px;
}
.info-bottom-name{
font-size: 18px;
font-weight: 600;
}
}
> div:nth-last-child(1){
> .approval-content-item-info-item:nth-last-child(1){
border-bottom: 0;
}
}
}
.approval-content-item-memo{
border-top:1px solid #565656;
padding: 0px 4px;
.el-textarea__inner{
border: 0px !important;
padding: 0px !important;
}
}
}
}
}
}
\ No newline at end of file
app_web/src/components/app-wf-approval/app-wf-approval.vue
0 → 100644
浏览文件 @
3559fb76
<
template
>
<div
class=
'app-wf-approval'
>
<div
class=
"app-wf-approval-header"
>
<span
class=
"approval-header-left"
>
{{
data
.
startTime
}}
</span>
<span>
{{
data
.
startUserName
}}
提交
</span>
</div>
<div
class=
"app-wf-approval-content"
v-if=
"data.usertasks.length >0"
>
<div
class=
"approval-content-item"
v-for=
"(usertask,index) in data.usertasks"
:key=
"index"
>
<div
class=
"approval-content-item-left"
>
{{
usertask
.
userTaskName
}}
</div>
<div
class=
"approval-content-item-right"
>
<div
class=
"approval-content-item-wait"
v-if=
"usertask.identitylinks.length >0"
>
等待
<span
v-for=
"(identitylink,inx) in usertask.identitylinks"
:key=
"inx"
>
{{
identitylink
.
displayname
}}
<span
v-if=
"inx >0"
>
、
</span></span>
处理
</div>
<div
class=
"approval-content-item-info"
v-if=
"usertask.comments.length >0"
>
<div
v-for=
"(comment,commentInx) in usertask.comments"
:key=
"commentInx"
>
<div
class=
"approval-content-item-info-item approval-content-item-info-top"
>
{{
`【${comment.type
}
】${comment.fullMessage
}
`
}}
<
/div
>
<
div
class
=
"approval-content-item-info-item approval-content-item-info-bottom"
>
<
span
class
=
"info-bottom-name"
>
{{
comment
.
authorName
}}
<
/span
>
<
span
>
{{
comment
.
time
}}
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"approval-content-item-memo"
v
-
if
=
"usertask.userTaskId === 'tid-2-c60d498abacb47b510e0aa9d64a55e57'"
>
<
el
-
input
type
=
"textarea"
:
rows
=
"2"
v
-
model
=
"input"
placeholder
=
"请输入内容"
><
/el-input
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"app-wf-approval-bottom"
>
<
span
v
-
if
=
"data.endTime"
>
{{
data
.
endTime
}}
结束
<
/span
>
<
/div
>
<
/div
>
<
/template
>
<
script
lang
=
'ts'
>
import
{
Vue
,
Component
}
from
'vue-property-decorator'
;
@
Component
({
}
)
export
default
class
AppWFApproval
extends
Vue
{
public
input
:
any
=
""
;
/**
* 传入数据
*
* @memberof AppWFApproval
*/
public
data
:
any
=
{
"id"
:
"40833204-9be4-11ea-9c94-0242130d84ce"
,
"name"
:
null
,
"processDefinitionKey"
:
null
,
"processDefinitionName"
:
null
,
"businessKey"
:
"DC20200522022"
,
"startTime"
:
"2020-05-22 12:25:22"
,
"endTime"
:
null
,
"startUserId"
:
"001-004_0001"
,
"startUserName"
:
"隆俊杰"
,
"usertasks"
:
[{
"userTaskId"
:
"tid-1-1f3eda90105907e25e6f2e8c0f82b903"
,
"userTaskName"
:
"管理员审批"
,
"processDefinitionKey"
:
null
,
"processDefinitionName"
:
null
,
"identitylinks"
:
[],
"comments"
:
[{
"id"
:
"44eddf40-9be4-11ea-9c94-0242130d84ce"
,
"author"
:
"001-004_0001"
,
"authorName"
:
"隆俊杰"
,
"fullMessage"
:
""
,
"time"
:
"2020-05-22 12:25:29"
,
"type"
:
"审批不通过"
,
"taskId"
:
"40844383-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceId"
:
"40833204-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceBusinessKey"
:
"DC20200522022"
}
,
{
"id"
:
"b39cfc68-9be4-11ea-9c94-0242130d84ce"
,
"author"
:
"450000-000"
,
"authorName"
:
"ibzadmin"
,
"fullMessage"
:
""
,
"time"
:
"2020-05-22 12:28:35"
,
"type"
:
"审批不通过"
,
"taskId"
:
"a6c57ad1-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceId"
:
"40833204-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceBusinessKey"
:
"DC20200522022"
}
]
}
,
{
"userTaskId"
:
"tid-2-c60d498abacb47b510e0aa9d64a55e57"
,
"userTaskName"
:
"被驳回"
,
"processDefinitionKey"
:
null
,
"processDefinitionName"
:
null
,
"identitylinks"
:
[{
"id"
:
"001-004_0001"
,
"firstname"
:
null
,
"displayname"
:
"隆俊杰"
}
],
"comments"
:
[{
"id"
:
"a6c21f6e-9be4-11ea-9c94-0242130d84ce"
,
"author"
:
"001-004_0001"
,
"authorName"
:
"隆俊杰"
,
"fullMessage"
:
""
,
"time"
:
"2020-05-22 12:28:14"
,
"type"
:
"提交"
,
"taskId"
:
"44f09e63-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceId"
:
"40833204-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceBusinessKey"
:
"DC20200522022"
}
]
}
]
}
;
}
<
/script
>
<
style
lang
=
"less"
>
@
import
'./app-wf-approval.less'
;
<
/style>
\ No newline at end of file
app_web/src/service/entity-service.ts
浏览文件 @
3559fb76
...
@@ -619,7 +619,7 @@ export default class EntityService {
...
@@ -619,7 +619,7 @@ export default class EntityService {
* @memberof EntityService
* @memberof EntityService
*/
*/
public
async
removeBatch
(
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
removeBatch
(
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
delete
(
`/
${
this
.
APPDENAME
}
/batch`
,
isloading
,
data
);
return
Http
.
getInstance
().
delete
(
`/
${
this
.
APPDENAME
}
/batch`
,
isloading
,
data
[
this
.
APPDEKEY
]
);
}
}
/**
/**
...
@@ -765,6 +765,19 @@ export default class EntityService {
...
@@ -765,6 +765,19 @@ export default class EntityService {
return
Http
.
getInstance
().
get
(
`/wfcore/
${
this
.
SYSTEMNAME
}
-app-
${
this
.
APPNAME
}
/
${
this
.
APPDENAME
}
/
${
context
[
this
.
APPLYDEKEY
]}
/usertasks/
${
data
[
'taskDefinitionKey'
]}
/ways`
);
return
Http
.
getInstance
().
get
(
`/wfcore/
${
this
.
SYSTEMNAME
}
-app-
${
this
.
APPNAME
}
/
${
this
.
APPDENAME
}
/
${
context
[
this
.
APPLYDEKEY
]}
/usertasks/
${
data
[
'taskDefinitionKey'
]}
/ways`
);
}
}
/**
* GetWFHistory接口方法(根据业务主键获取工作流程记录)
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof EntityService
*/
public
async
GetWFHistory
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/
${
this
.
SYSTEMNAME
}
-app-
${
this
.
APPNAME
}
/
${
this
.
APPDENAME
}
/
${
context
[
this
.
APPLYDEKEY
]}
/process-instances/alls/history`
);
}
/**
/**
* WFSubmit接口方法
* WFSubmit接口方法
*
*
...
...
app_web/src/widgets/sys-auth-log/main-grid/main-grid-base.vue
浏览文件 @
3559fb76
...
@@ -752,8 +752,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -752,8 +752,9 @@ export default class MainBase extends Vue implements ControlInterface {
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_keys
=
keys
.
length
>
1
?
keys
:
keys
[
0
]
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysauthlog
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
sysauthlog
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysauthlog
:
_keys
}),
Object
.
assign
({
sysauthlog
:
_keys
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-permission/main-form/main-form-base.vue
浏览文件 @
3559fb76
...
@@ -932,7 +932,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -932,7 +932,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
print
(){
public
print
(){
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$print
({
id
:
'
form
'
,
popTitle
:
'主编辑表单'
});
_this
.
$print
({
id
:
'
syspermission_main
'
,
popTitle
:
'主编辑表单'
});
}
}
/**
/**
...
...
app_web/src/widgets/sys-permission/main-grid/main-grid-base.vue
浏览文件 @
3559fb76
...
@@ -652,8 +652,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -652,8 +652,9 @@ export default class MainBase extends Vue implements ControlInterface {
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_keys
=
keys
.
length
>
1
?
keys
:
keys
[
0
]
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
syspermission
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
syspermission
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
syspermission
:
_keys
}),
Object
.
assign
({
syspermission
:
_keys
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-role-permission/main-form/main-form-base.vue
浏览文件 @
3559fb76
...
@@ -1053,7 +1053,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1053,7 +1053,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
print
(){
public
print
(){
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$print
({
id
:
'
form
'
,
popTitle
:
'主编辑表单'
});
_this
.
$print
({
id
:
'
sysrolepermission_main
'
,
popTitle
:
'主编辑表单'
});
}
}
/**
/**
...
...
app_web/src/widgets/sys-role-permission/main-grid/main-grid-base.vue
浏览文件 @
3559fb76
...
@@ -680,8 +680,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -680,8 +680,9 @@ export default class MainBase extends Vue implements ControlInterface {
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_keys
=
keys
.
length
>
1
?
keys
:
keys
[
0
]
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysrolepermission
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
sysrolepermission
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysrolepermission
:
_keys
}),
Object
.
assign
({
sysrolepermission
:
_keys
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-role/main-form/main-form-base.vue
浏览文件 @
3559fb76
...
@@ -1063,7 +1063,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1063,7 +1063,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
print
(){
public
print
(){
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$print
({
id
:
'
form
'
,
popTitle
:
'主编辑表单'
});
_this
.
$print
({
id
:
'
sysrole_main
'
,
popTitle
:
'主编辑表单'
});
}
}
/**
/**
...
...
app_web/src/widgets/sys-role/main-grid/main-grid-base.vue
浏览文件 @
3559fb76
...
@@ -694,8 +694,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -694,8 +694,9 @@ export default class MainBase extends Vue implements ControlInterface {
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_keys
=
keys
.
length
>
1
?
keys
:
keys
[
0
]
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysrole
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
sysrole
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysrole
:
_keys
}),
Object
.
assign
({
sysrole
:
_keys
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-user-role/main-form/main-form-base.vue
浏览文件 @
3559fb76
...
@@ -1066,7 +1066,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1066,7 +1066,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
print
(){
public
print
(){
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$print
({
id
:
'
form
'
,
popTitle
:
'主编辑表单'
});
_this
.
$print
({
id
:
'
sysuserrole_main
'
,
popTitle
:
'主编辑表单'
});
}
}
/**
/**
...
...
app_web/src/widgets/sys-user-role/main-grid/main-grid-base.vue
浏览文件 @
3559fb76
...
@@ -694,8 +694,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -694,8 +694,9 @@ export default class MainBase extends Vue implements ControlInterface {
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_keys
=
keys
.
length
>
1
?
keys
:
keys
[
0
]
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysuserrole
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
sysuserrole
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysuserrole
:
_keys
}),
Object
.
assign
({
sysuserrole
:
_keys
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-user/main-form/main-form-base.vue
浏览文件 @
3559fb76
...
@@ -971,7 +971,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -971,7 +971,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
print
(){
public
print
(){
let
_this
:
any
=
this
;
let
_this
:
any
=
this
;
_this
.
$print
({
id
:
'
form
'
,
popTitle
:
'主编辑表单'
});
_this
.
$print
({
id
:
'
sysuser_main
'
,
popTitle
:
'主编辑表单'
});
}
}
/**
/**
...
...
app_web/src/widgets/sys-user/main-grid/main-grid-base.vue
浏览文件 @
3559fb76
...
@@ -680,8 +680,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -680,8 +680,9 @@ export default class MainBase extends Vue implements ControlInterface {
keys
.
push
(
data
.
srfkey
);
keys
.
push
(
data
.
srfkey
);
});
});
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_removeAction
=
keys
.
length
>
1
?
'removeBatch'
:
this
.
removeAction
;
let
_keys
=
keys
.
length
>
1
?
keys
:
keys
[
0
]
;
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
context
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysuser
:
keys
.
join
(
';'
)
}),
Object
.
assign
({
sysuser
:
keys
.
join
(
';'
)
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
const
post
:
Promise
<
any
>
=
this
.
service
.
delete
(
_removeAction
,
Object
.
assign
(
context
,{
sysuser
:
_keys
}),
Object
.
assign
({
sysuser
:
_keys
},{
viewparams
:
this
.
viewparams
}),
this
.
showBusyIndicator
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
config.xml
浏览文件 @
3559fb76
...
@@ -37,6 +37,11 @@
...
@@ -37,6 +37,11 @@
git clone -b master $para2 ibzuaa/
git clone -b master $para2 ibzuaa/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzuaa/
cd ibzuaa/
mvn clean package -Pweb
cd ibzuaa-app/ibzuaa-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzuaa-app-web.yaml ibzlab-rt --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
ibzuaa-app/ibzuaa-app-web/src/main/docker/Dockerfile
浏览文件 @
3559fb76
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-app-web.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-app-web.jar
EXPOSE
8080
EXPOSE
30002
ADD
ibzuaa-app-web.jar /ibzuaa-app-web.jar
ADD
ibzuaa-app-web.jar /ibzuaa-app-web.jar
ibzuaa-app/ibzuaa-app-web/src/main/docker/ibzuaa-app-web.yaml
浏览文件 @
3559fb76
...
@@ -3,9 +3,23 @@ services:
...
@@ -3,9 +3,23 @@ services:
ibzuaa-app-web
:
ibzuaa-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-app-web:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-app-web:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
30002:30002
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=30002
-
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
-
ABC=1
-
DEC=2
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysAppMenuItemServiceImpl.java
浏览文件 @
3559fb76
...
@@ -67,6 +67,12 @@ public class SysAppMenuItemServiceImpl extends ServiceImpl<SysAppMenuItemMapper,
...
@@ -67,6 +67,12 @@ public class SysAppMenuItemServiceImpl extends ServiceImpl<SysAppMenuItemMapper,
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysAppMenuItem
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysAppMenuItem
>
list
)
{
public
void
saveBatch
(
List
<
SysAppMenuItem
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
saveOrUpdateBatch
(
list
,
batchSize
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysAuthLogServiceImpl.java
浏览文件 @
3559fb76
...
@@ -130,6 +130,12 @@ public class SysAuthLogServiceImpl extends ServiceImpl<SysAuthLogMapper, SysAuth
...
@@ -130,6 +130,12 @@ public class SysAuthLogServiceImpl extends ServiceImpl<SysAuthLogMapper, SysAuth
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysAuthLog
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysAuthLog
>
list
)
{
public
void
saveBatch
(
List
<
SysAuthLog
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
saveOrUpdateBatch
(
list
,
batchSize
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysOperatorPrivServiceImpl.java
浏览文件 @
3559fb76
...
@@ -130,6 +130,12 @@ public class SysOperatorPrivServiceImpl extends ServiceImpl<SysOperatorPrivMappe
...
@@ -130,6 +130,12 @@ public class SysOperatorPrivServiceImpl extends ServiceImpl<SysOperatorPrivMappe
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysOperatorPriv
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysOperatorPriv
>
list
)
{
public
void
saveBatch
(
List
<
SysOperatorPriv
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
saveOrUpdateBatch
(
list
,
batchSize
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysPSSystemServiceImpl.java
浏览文件 @
3559fb76
...
@@ -116,6 +116,12 @@ public class SysPSSystemServiceImpl extends ServiceImpl<SysPSSystemMapper, SysPS
...
@@ -116,6 +116,12 @@ public class SysPSSystemServiceImpl extends ServiceImpl<SysPSSystemMapper, SysPS
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysPSSystem
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysPSSystem
>
list
)
{
public
void
saveBatch
(
List
<
SysPSSystem
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
saveOrUpdateBatch
(
list
,
batchSize
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysPermissionServiceImpl.java
浏览文件 @
3559fb76
...
@@ -70,6 +70,12 @@ public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, S
...
@@ -70,6 +70,12 @@ public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, S
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysPermission
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysPermission
>
list
)
{
public
void
saveBatch
(
List
<
SysPermission
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
saveOrUpdateBatch
(
list
,
batchSize
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysRolePermissionServiceImpl.java
浏览文件 @
3559fb76
...
@@ -125,6 +125,13 @@ public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionM
...
@@ -125,6 +125,13 @@ public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionM
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysRolePermission
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysRolePermission
>
list
)
{
public
void
saveBatch
(
List
<
SysRolePermission
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
list
.
forEach
(
item
->
fillParentData
(
item
));
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysRoleServiceImpl.java
浏览文件 @
3559fb76
...
@@ -73,6 +73,12 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
...
@@ -73,6 +73,12 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysRole
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysRole
>
list
)
{
public
void
saveBatch
(
List
<
SysRole
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
saveOrUpdateBatch
(
list
,
batchSize
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysUniResServiceImpl.java
浏览文件 @
3559fb76
...
@@ -81,6 +81,12 @@ public class SysUniResServiceImpl extends ServiceImpl<SysUniResMapper, SysUniRes
...
@@ -81,6 +81,12 @@ public class SysUniResServiceImpl extends ServiceImpl<SysUniResMapper, SysUniRes
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysUniRes
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysUniRes
>
list
)
{
public
void
saveBatch
(
List
<
SysUniRes
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
saveOrUpdateBatch
(
list
,
batchSize
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysUserRoleServiceImpl.java
浏览文件 @
3559fb76
...
@@ -141,6 +141,13 @@ public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUs
...
@@ -141,6 +141,13 @@ public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUs
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysUserRole
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysUserRole
>
list
)
{
public
void
saveBatch
(
List
<
SysUserRole
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
list
.
forEach
(
item
->
fillParentData
(
item
));
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysUserServiceImpl.java
浏览文件 @
3559fb76
...
@@ -117,6 +117,12 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
...
@@ -117,6 +117,12 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
}
}
}
}
@Override
public
boolean
saveBatch
(
Collection
<
SysUser
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
@Override
public
void
saveBatch
(
List
<
SysUser
>
list
)
{
public
void
saveBatch
(
List
<
SysUser
>
list
)
{
saveOrUpdateBatch
(
list
,
batchSize
);
saveOrUpdateBatch
(
list
,
batchSize
);
...
...
ibzuaa-util/src/main/java/cn/ibizlab/util/helper/DEFieldCacheMap.java
浏览文件 @
3559fb76
...
@@ -183,7 +183,7 @@ public class DEFieldCacheMap {
...
@@ -183,7 +183,7 @@ public class DEFieldCacheMap {
Field
field
=
DEFieldCacheMap
.
getField
(
clazz
,
fieldname
);
Field
field
=
DEFieldCacheMap
.
getField
(
clazz
,
fieldname
);
if
(
field
!=
null
)
{
if
(
field
!=
null
)
{
DEField
deField
=
field
.
getAnnotation
(
DEField
.
class
);
DEField
deField
=
field
.
getAnnotation
(
DEField
.
class
);
if
(
deField
!=
null
&&
deField
.
name
()!=
null
)
if
(
deField
!=
null
&&
!
StringUtils
.
isEmpty
(
deField
.
name
())
)
return
deField
.
name
();
return
deField
.
name
();
}
}
return
fieldname
;
return
fieldname
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录