Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
4f037ffa
提交
4f037ffa
authored
4月 15, 2026
作者:
liuluyu
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
http://47.97.51.208/root/zrch-risk-39
上级
a555750e
ae4a38d5
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
25 个修改的文件
包含
1024 行增加
和
85 行删除
+1024
-85
flowable.json
...isk-client-39/src/components/Process/common/flowable.json
+5
-0
taskPanel.vue
...risk-client-39/src/components/Process/panel/taskPanel.vue
+158
-25
CurrentFormPanel.vue
zrch-risk-client-39/src/views/common/CurrentFormPanel.vue
+13
-4
TaskAssigneeDrawer.vue
zrch-risk-client-39/src/views/common/TaskAssigneeDrawer.vue
+71
-28
MyTaskFlowHis.api.ts
...sk-client-39/src/views/myTaskFlowHis/MyTaskFlowHis.api.ts
+72
-0
MyTaskFlowHis.data.ts
...k-client-39/src/views/myTaskFlowHis/MyTaskFlowHis.data.ts
+215
-0
MyTaskFlowHisList.vue
...k-client-39/src/views/myTaskFlowHis/MyTaskFlowHisList.vue
+211
-0
MyTaskFlowHisForm.vue
.../src/views/myTaskFlowHis/components/MyTaskFlowHisForm.vue
+71
-0
MyTaskFlowHisModal.vue
...src/views/myTaskFlowHis/components/MyTaskFlowHisModal.vue
+101
-0
StProblemArchiveList.vue
...9/src/views/project/problemCheck/StProblemArchiveList.vue
+15
-2
StProblemCheck.data.ts
...-39/src/views/project/problemCheck/StProblemCheck.data.ts
+1
-0
StProblemCheckList.vue
...-39/src/views/project/problemCheck/StProblemCheckList.vue
+4
-1
StProblemCheckPlanForm.vue
...roject/problemCheck/components/StProblemCheckPlanForm.vue
+1
-3
role.api.ts
zrch-risk-client-39/src/views/system/role/role.api.ts
+8
-0
user.api.ts
zrch-risk-client-39/src/views/system/user/user.api.ts
+11
-2
IFlowTaskService.java
.../org/jeecg/modules/flowable/service/IFlowTaskService.java
+4
-2
FlowDefinitionServiceImpl.java
...ules/flowable/service/impl/FlowDefinitionServiceImpl.java
+6
-2
FlowTaskServiceImpl.java
...cg/modules/flowable/service/impl/FlowTaskServiceImpl.java
+0
-0
MyTaskFlowHisController.java
...cg/modules/stm/my/controller/MyTaskFlowHisController.java
+33
-0
MyTaskFlowServiceImpl.java
...cg/modules/stm/my/service/impl/MyTaskFlowServiceImpl.java
+2
-5
PageTitleconfigController.java
...odules/stm/page/controller/PageTitleconfigController.java
+2
-2
StProblemCheckController.java
...ules/stm/problem/controller/StProblemCheckController.java
+1
-1
StProblemCheck.java
.../org/jeecg/modules/stm/problem/entity/StProblemCheck.java
+6
-7
application-dev.yml
...jeecg-system-start/src/main/resources/application-dev.yml
+1
-0
application-prod.yml
...eecg-system-start/src/main/resources/application-prod.yml
+12
-1
没有找到文件。
zrch-risk-client-39/src/components/Process/common/flowable.json
浏览文件 @
4f037ffa
...
@@ -315,6 +315,11 @@
...
@@ -315,6 +315,11 @@
"isAttr"
:
true
,
"isAttr"
:
true
,
"type"
:
"String"
"type"
:
"String"
},
},
{
"name"
:
"isRead"
,
"isAttr"
:
true
,
"type"
:
"Boolean"
},
{
{
"name"
:
"followUpDate"
,
"name"
:
"followUpDate"
,
"isAttr"
:
true
,
"isAttr"
:
true
,
...
...
zrch-risk-client-39/src/components/Process/panel/taskPanel.vue
浏览文件 @
4f037ffa
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
expId
?:
string
expId
?:
string
async
?:
boolean
async
?:
boolean
userName
?:
string
userName
?:
string
isRead
?:
boolean
isTransmit
?:
boolean
isReject
?:
boolean
isSend
?:
boolean
[
key
:
string
]:
any
[
key
:
string
]:
any
}
}
...
@@ -43,7 +47,11 @@
...
@@ -43,7 +47,11 @@
const
bpmnFormData
=
reactive
<
BpmnFormData
>
({
const
bpmnFormData
=
reactive
<
BpmnFormData
>
({
async
:
false
,
async
:
false
,
userType
:
'user'
userType
:
'user'
,
isTransmit
:
true
,
isReject
:
true
,
isSend
:
true
,
isRead
:
true
,
});
});
const
selectData
=
reactive
<
SelectData
>
({})
const
selectData
=
reactive
<
SelectData
>
({})
...
@@ -109,20 +117,6 @@
...
@@ -109,20 +117,6 @@
}
}
}
}
// 获取用户列表
// const getUserList = async (params) => {
// try {
// loading.value = true;
// const userList = await defHttp.get({ url: "/sys/user/list", params });
// return userList;
// } catch (error) {
// console.error('获取用户列表失败:', error);
// return [];
// } finally {
// loading.value = false;
// }
// }
const
formSchema
:
FormSchema
[]
=
[
const
formSchema
:
FormSchema
[]
=
[
{
{
label
:
'异步'
,
label
:
'异步'
,
...
@@ -211,7 +205,7 @@
...
@@ -211,7 +205,7 @@
updateCustomElement
(
"userType"
,
"role"
)
updateCustomElement
(
"userType"
,
"role"
)
emit
(
'update'
,
{
candidateGroups
,
userType
:
'role'
})
emit
(
'update'
,
{
candidateGroups
,
userType
:
'role'
})
if
(
bpmnFormData
.
userType
!==
'role'
)
{
if
(
bpmnFormData
.
userType
!==
'role'
)
{
bpmnFormData
.
userType
=
'role'
bpmnFormData
.
userType
=
'role'
isUser
.
value
=
false
isUser
.
value
=
false
updateCustomElement
(
"userType"
,
"role"
)
updateCustomElement
(
"userType"
,
"role"
)
...
@@ -253,7 +247,79 @@
...
@@ -253,7 +247,79 @@
emit
(
'update'
,
{
priority
})
emit
(
'update'
,
{
priority
})
}
}
}
}
}
},
{
label
:
'是否转阅'
,
field
:
'isRead'
,
component
:
'RadioGroup'
,
defaultValue
:
true
,
componentProps
:
{
options
:
[
{
label
:
'是'
,
value
:
true
},
{
label
:
'否'
,
value
:
false
},
],
disabled
:
props
.
readonly
,
onChange
:
(
isRead
:
boolean
)
=>
{
bpmnFormData
.
isRead
=
isRead
updateCustomElement
(
"isRead"
,
isRead
)
emit
(
'update'
,
{
isRead
})
}
}
},
{
label
:
'是否转办'
,
field
:
'isTransmit'
,
component
:
'RadioGroup'
,
defaultValue
:
true
,
componentProps
:
{
options
:
[
{
label
:
'是'
,
value
:
true
},
{
label
:
'否'
,
value
:
false
},
],
disabled
:
props
.
readonly
,
onChange
:
(
isTransmit
:
boolean
)
=>
{
bpmnFormData
.
isTransmit
=
isTransmit
updateCustomElement
(
"isTransmit"
,
isTransmit
)
emit
(
'update'
,
{
isTransmit
})
}
}
},
{
label
:
'是否可退'
,
field
:
'isReject'
,
component
:
'RadioGroup'
,
defaultValue
:
true
,
componentProps
:
{
options
:
[
{
label
:
'是'
,
value
:
true
},
{
label
:
'否'
,
value
:
false
},
],
disabled
:
props
.
readonly
,
onChange
:
(
isReject
:
boolean
)
=>
{
bpmnFormData
.
isReject
=
isReject
updateCustomElement
(
"isReject"
,
isReject
)
emit
(
'update'
,
{
isReject
})
}
}
},
{
label
:
'是否发送'
,
field
:
'isSend'
,
component
:
'RadioGroup'
,
defaultValue
:
true
,
componentProps
:
{
options
:
[
{
label
:
'是'
,
value
:
true
},
{
label
:
'否'
,
value
:
false
},
],
disabled
:
props
.
readonly
,
onChange
:
(
isSend
:
boolean
)
=>
{
bpmnFormData
.
isSend
=
isSend
updateCustomElement
(
"isSend"
,
isSend
)
emit
(
'update'
,
{
isSend
})
}
}
},
];
];
const
[
registerForm
,
{
updateSchema
,
setFieldsValue
,
getFieldsValue
,
setProps
}]
=
useForm
({
const
[
registerForm
,
{
updateSchema
,
setFieldsValue
,
getFieldsValue
,
setProps
}]
=
useForm
({
...
@@ -283,6 +349,58 @@
...
@@ -283,6 +349,58 @@
});
});
};
};
// 保存所有自定义属性(打包成 JSON)
const
saveCustomProperties
=
(
element
:
any
,
customData
:
Record
<
string
,
any
>
)
=>
{
if
(
!
modelerStore
.
modeler
||
!
element
)
{
return
false
}
try
{
const
modeling
=
modelerStore
.
modeler
.
get
(
'modeling'
)
let
targetElement
=
element
if
(
isProxy
(
element
))
{
targetElement
=
toRaw
(
element
)
}
// 将所有自定义属性转为 JSON 字符串存储
const
customDataStr
=
JSON
.
stringify
(
customData
)
modeling
.
updateProperties
(
targetElement
,
{
'customData'
:
customDataStr
})
return
true
}
catch
(
error
)
{
console
.
error
(
'保存自定义属性失败:'
,
error
)
return
false
}
}
// 读取所有自定义属性
const
getCustomProperties
=
(
element
:
any
):
Record
<
string
,
any
>
=>
{
if
(
!
element
||
!
element
.
businessObject
)
{
return
{}
}
try
{
const
customDataStr
=
element
.
businessObject
.
customData
if
(
customDataStr
)
{
return
JSON
.
parse
(
customDataStr
)
}
return
{}
}
catch
(
error
)
{
console
.
error
(
'读取自定义属性失败:'
,
error
)
return
{}
}
}
// 获取单个自定义属性
const
getCustomProperty
=
(
element
:
any
,
key
:
string
,
defaultValue
:
any
=
null
)
=>
{
const
customProps
=
getCustomProperties
(
element
)
return
customProps
[
key
]
!==
undefined
?
customProps
[
key
]
:
defaultValue
}
// 更新自定义流程节点/参数信息
// 更新自定义流程节点/参数信息
const
updateCustomElement
=
(
key
:
string
,
value
:
any
)
=>
{
const
updateCustomElement
=
(
key
:
string
,
value
:
any
)
=>
{
if
(
!
modelerStore
.
modeler
||
!
modelerStore
.
element
)
{
if
(
!
modelerStore
.
modeler
||
!
modelerStore
.
element
)
{
...
@@ -291,13 +409,19 @@
...
@@ -291,13 +409,19 @@
}
}
try
{
try
{
const
taskAttr
:
Record
<
string
,
any
>
=
{}
// BPMN 标准属性列表(这些可以直接更新)
taskAttr
[
key
]
=
value
const
standardProps
=
[
'async'
,
'dueDate'
,
'priority'
,
'assignee'
,
'candidateGroups'
,
'userType'
]
const
success
=
safeUpdateProperties
(
modelerStore
.
element
,
taskAttr
)
if
(
!
success
)
{
if
(
standardProps
.
includes
(
key
))
{
console
.
error
(
'更新自定义属性失败'
)
// 标准属性直接更新
const
taskAttr
:
Record
<
string
,
any
>
=
{}
taskAttr
[
key
]
=
value
safeUpdateProperties
(
modelerStore
.
element
,
taskAttr
)
}
else
{
// 自定义属性:先获取现有自定义属性,更新后统一保存
const
currentCustomProps
=
getCustomProperties
(
modelerStore
.
element
)
currentCustomProps
[
key
]
=
value
saveCustomProperties
(
modelerStore
.
element
,
currentCustomProps
)
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'更新自定义属性失败:'
,
error
)
console
.
error
(
'更新自定义属性失败:'
,
error
)
...
@@ -339,7 +463,11 @@
...
@@ -339,7 +463,11 @@
if
(
!
modelerStore
.
element
?.
businessObject
||
modelerStore
.
element
.
type
===
'bpmn:Process'
)
{
if
(
!
modelerStore
.
element
?.
businessObject
||
modelerStore
.
element
.
type
===
'bpmn:Process'
)
{
return
return
}
}
const
businessObject
=
modelerStore
.
element
.
businessObject
const
element
=
modelerStore
.
element
const
businessObject
=
element
.
businessObject
// 获取所有自定义属性
const
customProps
=
getCustomProperties
(
element
)
// 重置表单数据
// 重置表单数据
const
formData
:
BpmnFormData
=
{
const
formData
:
BpmnFormData
=
{
...
@@ -348,7 +476,12 @@
...
@@ -348,7 +476,12 @@
assignee
:
businessObject
.
assignee
||
''
,
assignee
:
businessObject
.
assignee
||
''
,
candidateGroups
:
businessObject
.
candidateGroups
||
''
,
candidateGroups
:
businessObject
.
candidateGroups
||
''
,
dueDate
:
businessObject
.
dueDate
||
''
,
dueDate
:
businessObject
.
dueDate
||
''
,
priority
:
businessObject
.
priority
||
'medium'
priority
:
businessObject
.
priority
||
'medium'
,
// 从自定义属性中读取
isRead
:
customProps
.
isRead
!==
undefined
?
customProps
.
isRead
:
true
,
isTransmit
:
customProps
.
isTransmit
!==
undefined
?
customProps
.
isTransmit
:
true
,
isReject
:
customProps
.
isReject
!==
undefined
?
customProps
.
isReject
:
true
,
isSend
:
customProps
.
isSend
!==
undefined
?
customProps
.
isSend
:
true
}
}
isUser
.
value
=
formData
.
userType
===
"user"
isUser
.
value
=
formData
.
userType
===
"user"
...
...
zrch-risk-client-39/src/views/common/CurrentFormPanel.vue
浏览文件 @
4f037ffa
...
@@ -5,8 +5,9 @@
...
@@ -5,8 +5,9 @@
<div
class=
"form-header"
>
<div
class=
"form-header"
>
<span
class=
"form-title"
>
当前待办
<font
color=
"red"
>
[
{{
editableNode
?.
name
||
'无'
}}
]
</font></span>
<span
class=
"form-title"
>
当前待办
<font
color=
"red"
>
[
{{
editableNode
?.
name
||
'无'
}}
]
</font></span>
<a-space>
<a-space>
<a-button
v-if=
"props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleApproval"
>
审批
</a-button>
<a-button
v-show=
"props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleApproval"
>
审批
</a-button>
<a-button
v-else
type=
"primary"
ghost
@
click=
"handleSend"
>
发送
</a-button>
<a-button
v-show=
"!props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleSend"
>
保存
</a-button>
<a-button
v-show=
"!props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleSend"
>
保存并发送
</a-button>
<a-button
v-show=
"!props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleReject"
>
驳回
</a-button>
<a-button
v-show=
"!props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleReject"
>
驳回
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"handleTransmit"
>
转办
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"handleTransmit"
>
转办
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"handleRead"
>
转阅
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"handleRead"
>
转阅
</a-button>
...
@@ -118,8 +119,16 @@ function handleTransmit() {
...
@@ -118,8 +119,16 @@ function handleTransmit() {
function
handleRead
()
{
function
handleRead
()
{
taskOpenModal
(
true
,
{
taskOpenModal
(
true
,
{
taskTitle
:
'转阅'
,
isUpdate
:
false
,
showFooter
:
true
,
taskType
:
'read'
,
taskTitle
:
'转阅'
,
deployId
:
props
.
deployId
,
taskId
:
props
.
taskId
,
procInsId
:
props
.
procInsId
,
dataId
:
props
.
dataId
,
assignee
:
props
.
assignee
,
userType
:
props
.
userType
,
isUpdate
:
false
,
showFooter
:
true
,
taskType
:
'read'
,
deployId
:
props
.
deployId
,
taskId
:
props
.
taskId
,
procInsId
:
props
.
procInsId
,
dataId
:
props
.
dataId
,
assignee
:
props
.
assignee
,
userType
:
props
.
userType
,
});
});
}
}
...
...
zrch-risk-client-39/src/views/common/TaskAssigneeDrawer.vue
浏览文件 @
4f037ffa
<
template
>
<
template
>
<BasicDrawer
<BasicDrawer
title=
"
任务指派
"
title=
"
发送任务
"
width=
"30%"
width=
"30%"
:closable=
"true"
:closable=
"true"
:mask-closable=
"false"
:mask-closable=
"false"
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
:header-style=
"
{ backgroundColor: '#018ffb', borderBottom: '1px solid #e8eef2' }"
:header-style=
"
{ backgroundColor: '#018ffb', borderBottom: '1px solid #e8eef2' }"
>
>
<div
class=
"drawer-content"
style=
"height: 80vh"
>
<div
class=
"drawer-content"
style=
"height: 80vh"
>
<a-card
title=
"选择任务
指派
人"
:bordered=
"false"
class=
"assignee-card"
>
<a-card
title=
"选择任务
接收
人"
:bordered=
"false"
class=
"assignee-card"
>
<a-form
layout=
"vertical"
>
<a-form
layout=
"vertical"
>
<a-form-item
label=
"用户类型"
required
>
<a-form-item
label=
"用户类型"
required
>
<a-radio-group
v-model:value=
"localUserType"
disabled
>
<a-radio-group
v-model:value=
"localUserType"
disabled
>
...
@@ -47,8 +47,12 @@
...
@@ -47,8 +47,12 @@
</a-form>
</a-form>
<div
class=
"assignee-actions"
>
<div
class=
"assignee-actions"
>
<a-space>
<a-space>
<a-button
@
click=
"handleClose"
>
取消
</a-button>
<a-button
@
click=
"handleClose"
block
style=
"width: 150px;"
>
取消
</a-button>
<a-button
type=
"primary"
:loading=
"confirmLoading"
@
click=
"handleConfirm"
>
确认
</a-button>
<a-button
type=
"primary"
style=
"width: 150px;"
:loading=
"confirmLoading"
@
click=
"handleConfirm"
block
>
确认
</a-button>
</a-space>
</a-space>
</div>
</div>
</a-card>
</a-card>
...
@@ -68,6 +72,11 @@ import { UserOutlined, TeamOutlined } from '@ant-design/icons-vue'
...
@@ -68,6 +72,11 @@ import { UserOutlined, TeamOutlined } from '@ant-design/icons-vue'
import
UserSelectModal
from
'/@/components/Form/src/jeecg/components/modal/UserSelectModal.vue'
import
UserSelectModal
from
'/@/components/Form/src/jeecg/components/modal/UserSelectModal.vue'
import
RoleSelectModal
from
'/@/components/Form/src/jeecg/components/modal/RoleSelectModal.vue'
import
RoleSelectModal
from
'/@/components/Form/src/jeecg/components/modal/RoleSelectModal.vue'
import
{
complete
,
getMyTaskFlow
}
from
'/@/components/Process/api/todo'
import
{
complete
,
getMyTaskFlow
}
from
'/@/components/Process/api/todo'
import
{
queryUserById
}
from
'/@/views/system/user/user.api'
import
{
queryRoleById
}
from
'/@/views/system/role/role.api'
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
const
{
createConfirm
}
=
useMessage
()
const
emit
=
defineEmits
([
'success'
,
'error'
,
'close'
])
const
emit
=
defineEmits
([
'success'
,
'error'
,
'close'
])
...
@@ -81,7 +90,7 @@ const confirmLoading = ref(false)
...
@@ -81,7 +90,7 @@ const confirmLoading = ref(false)
const
dataId
=
ref
(
''
)
const
dataId
=
ref
(
''
)
const
deployId
=
ref
(
''
)
const
deployId
=
ref
(
''
)
const
[
registerBasicDrawer
,
{
closeDrawer
}]
=
useDrawerInner
((
data
)
=>
{
const
[
registerBasicDrawer
,
{
closeDrawer
}]
=
useDrawerInner
(
async
(
data
)
=>
{
if
(
data
)
{
if
(
data
)
{
dataId
.
value
=
data
.
dataId
||
''
dataId
.
value
=
data
.
dataId
||
''
deployId
.
value
=
data
.
deployId
||
''
deployId
.
value
=
data
.
deployId
||
''
...
@@ -89,6 +98,11 @@ const [registerBasicDrawer, { closeDrawer }] = useDrawerInner((data) => {
...
@@ -89,6 +98,11 @@ const [registerBasicDrawer, { closeDrawer }] = useDrawerInner((data) => {
localUserType
.
value
=
data
.
userType
===
'role'
?
'role'
:
'user'
localUserType
.
value
=
data
.
userType
===
'role'
?
'role'
:
'user'
assigneeId
.
value
=
data
.
assignee
assigneeId
.
value
=
data
.
assignee
assigneeDisplayName
.
value
=
data
.
assigneeName
||
''
assigneeDisplayName
.
value
=
data
.
assigneeName
||
''
if
(
localUserType
.
value
===
'user'
)
{
await
setUserInfo
(
assigneeId
.
value
,
data
.
assigneeName
||
''
)
}
else
{
await
setRoleInfo
(
assigneeId
.
value
,
data
.
assigneeName
||
''
)
}
}
else
{
}
else
{
localUserType
.
value
=
data
.
userType
===
'role'
?
'role'
:
'user'
localUserType
.
value
=
data
.
userType
===
'role'
?
'role'
:
'user'
}
}
...
@@ -124,29 +138,41 @@ const handleClose = () => {
...
@@ -124,29 +138,41 @@ const handleClose = () => {
}
}
const
handleConfirm
=
async
()
=>
{
const
handleConfirm
=
async
()
=>
{
confirmLoading
.
value
=
true
createConfirm
({
try
{
title
:
'确认发送任务吗?'
,
if
(
dataId
.
value
&&
deployId
.
value
)
{
okText
:
'确认'
,
const
myTaskFlow
=
await
getMyTaskFlow
({
deploymentId
:
deployId
.
value
,
dataId
:
dataId
.
value
})
okType
:
'danger'
,
if
(
myTaskFlow
?.
taskId
)
{
iconType
:
'warning'
,
await
complete
({
onOk
:
async
()
=>
{
instanceId
:
myTaskFlow
.
procInsId
||
''
,
if
(
!
assigneeId
.
value
)
{
deployId
:
myTaskFlow
.
deployId
||
''
,
message
.
warning
(
'请选择任务接收人'
)
taskId
:
myTaskFlow
.
taskId
,
return
dataId
:
dataId
.
value
,
}
comment
:
''
,
confirmLoading
.
value
=
true
values
:
{
approval
:
assigneeId
.
value
,
approvalType
:
localUserType
.
value
},
try
{
})
if
(
dataId
.
value
&&
deployId
.
value
)
{
const
myTaskFlow
=
await
getMyTaskFlow
({
deploymentId
:
deployId
.
value
,
dataId
:
dataId
.
value
})
if
(
myTaskFlow
?.
taskId
)
{
await
complete
({
instanceId
:
myTaskFlow
.
procInsId
||
''
,
deployId
:
myTaskFlow
.
deployId
||
''
,
taskId
:
myTaskFlow
.
taskId
,
dataId
:
dataId
.
value
,
comment
:
''
,
values
:
{
approval
:
assigneeId
.
value
,
approvalType
:
localUserType
.
value
},
})
}
}
emit
(
'success'
,
dataId
.
value
)
message
.
success
(
'任务发送成功'
)
handleClose
()
}
catch
(
error
)
{
emit
(
'error'
,
error
)
}
finally
{
confirmLoading
.
value
=
false
}
}
}
}
})
emit
(
'success'
,
dataId
.
value
)
message
.
success
(
'任务发送成功'
)
handleClose
()
}
catch
(
error
)
{
emit
(
'error'
,
error
)
}
finally
{
confirmLoading
.
value
=
false
}
}
}
const
getAssigneeData
=
()
=>
({
const
getAssigneeData
=
()
=>
({
...
@@ -160,15 +186,32 @@ const setUserInfo = (userId: string, userNameValue: string) => {
...
@@ -160,15 +186,32 @@ const setUserInfo = (userId: string, userNameValue: string) => {
assigneeId
.
value
=
userId
assigneeId
.
value
=
userId
assigneeDisplayName
.
value
=
userNameValue
assigneeDisplayName
.
value
=
userNameValue
localUserType
.
value
=
'user'
localUserType
.
value
=
'user'
if
(
userNameValue
)
return
queryUserById
({
id
:
userId
}).
then
(
res
=>
{
if
(
res
?.
realname
)
{
assigneeDisplayName
.
value
=
res
.
realname
||
''
}
})
}
}
const
setRoleInfo
=
(
roleId
:
string
,
roleNameValue
:
string
)
=>
{
const
setRoleInfo
=
(
roleId
:
string
,
roleNameValue
:
string
)
=>
{
assigneeId
.
value
=
roleId
assigneeId
.
value
=
roleId
assigneeDisplayName
.
value
=
roleNameValue
assigneeDisplayName
.
value
=
roleNameValue
localUserType
.
value
=
'role'
localUserType
.
value
=
'role'
if
(
roleNameValue
)
return
queryRoleById
({
id
:
roleId
}).
then
(
res
=>
{
if
(
res
)
{
assigneeDisplayName
.
value
=
res
.
roleName
||
''
}
})
}
}
defineExpose
({
getAssigneeData
,
submit
:
handleConfirm
,
setUserInfo
,
setRoleInfo
})
defineExpose
({
getAssigneeData
,
submit
:
handleConfirm
,
setUserInfo
,
setRoleInfo
})
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
...
...
zrch-risk-client-39/src/views/myTaskFlowHis/MyTaskFlowHis.api.ts
0 → 100644
浏览文件 @
4f037ffa
import
{
defHttp
}
from
'/@/utils/http/axios'
;
import
{
useMessage
}
from
"/@/hooks/web/useMessage"
;
const
{
createConfirm
}
=
useMessage
();
enum
Api
{
starlist
=
'/my/myTaskFlowHis/starlist'
,
list
=
'/my/myTaskFlowHis/list'
,
save
=
'/my/myTaskFlowHis/add'
,
edit
=
'/my/myTaskFlowHis/edit'
,
deleteOne
=
'/my/myTaskFlowHis/delete'
,
deleteBatch
=
'/my/myTaskFlowHis/deleteBatch'
,
importExcel
=
'/my/myTaskFlowHis/importExcel'
,
exportXls
=
'/my/myTaskFlowHis/exportXls'
,
}
/**
* 导出api
* @param params
*/
export
const
getExportUrl
=
Api
.
exportXls
;
/**
* 导入api
*/
export
const
getImportUrl
=
Api
.
importExcel
;
/**
* 列表接口
* @param params
*/
export
const
list
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
list
,
params
});
/**
* 删除单个
*/
export
const
deleteOne
=
(
params
,
handleSuccess
)
=>
{
return
defHttp
.
delete
({
url
:
Api
.
deleteOne
,
params
},
{
joinParamsToUrl
:
true
}).
then
(()
=>
{
handleSuccess
();
});
}
/**
* 批量删除
* @param params
*/
export
const
batchDelete
=
(
params
,
handleSuccess
)
=>
{
createConfirm
({
iconType
:
'warning'
,
title
:
'确认删除'
,
content
:
'是否删除选中数据'
,
okText
:
'确认'
,
cancelText
:
'取消'
,
onOk
:
()
=>
{
return
defHttp
.
delete
({
url
:
Api
.
deleteBatch
,
data
:
params
},
{
joinParamsToUrl
:
true
}).
then
(()
=>
{
handleSuccess
();
});
}
});
}
/**
* 保存或者更新
* @param params
*/
export
const
saveOrUpdate
=
(
params
,
isUpdate
)
=>
{
let
url
=
isUpdate
?
Api
.
edit
:
Api
.
save
;
return
defHttp
.
post
({
url
:
url
,
params
});
}
/**
* 列表接口
* @param params
*/
export
const
starlist
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
starlist
,
params
});
zrch-risk-client-39/src/views/myTaskFlowHis/MyTaskFlowHis.data.ts
0 → 100644
浏览文件 @
4f037ffa
import
{
BasicColumn
}
from
'/@/components/Table'
;
import
{
FormSchema
}
from
'/@/components/Table'
;
import
{
rules
}
from
'/@/utils/helper/validator'
;
import
{
render
}
from
'/@/utils/common/renderUtils'
;
import
{
getWeekMonthQuarterYear
}
from
'/@/utils'
;
//列表数据
export
const
columns
:
BasicColumn
[]
=
[
{
title
:
'流程名称'
,
align
:
"center"
,
dataIndex
:
'flowName'
},
{
title
:
'标题'
,
align
:
"center"
,
dataIndex
:
'taskTitle'
},
{
title
:
'节点名称'
,
align
:
"center"
,
dataIndex
:
'taskName'
},
{
title
:
'节点类型'
,
align
:
"center"
,
dataIndex
:
'taskType'
},
{
title
:
'操作时间'
,
align
:
"center"
,
dataIndex
:
'optionTime'
},
{
title
:
'操作人'
,
align
:
"center"
,
dataIndex
:
'optionId'
},
/**
* {
title: '操作类型',
align:"center",
dataIndex: 'optionType'
},
{
title: '表单的表名ID',
align:"center",
dataIndex: 'formTableName'
},
{
title: '业务主表ID',
align:"center",
dataIndex: 'targetId'
},
{
title: '部署ID',
align:"center",
dataIndex: 'deployId'
},
{
title: '任务ID',
align:"center",
dataIndex: 'taskId'
},
{
title: '实例ID',
align:"center",
dataIndex: 'procInsId'
},
{
title: '执行ID',
align:"center",
dataIndex: 'executionId'
},
{
title: '流程定义ID',
align:"center",
dataIndex: 'procDefId'
},
{
title: '代办人',
align:"center",
dataIndex: 'uid'
},
{
title: '代办角色',
align:"center",
dataIndex: 'roleid'
},
{
title: '节点ID',
align:"center",
dataIndex: 'taskDefinitionKey'
},
*/
];
//查询数据
export
const
searchFormSchema
:
FormSchema
[]
=
[
];
//表单数据
export
const
formSchema
:
FormSchema
[]
=
[
{
label
:
'表单的表名ID'
,
field
:
'formTableName'
,
component
:
'Input'
,
},
{
label
:
'业务主表ID'
,
field
:
'targetId'
,
component
:
'Input'
,
},
{
label
:
'部署ID'
,
field
:
'deployId'
,
component
:
'Input'
,
},
{
label
:
'任务ID'
,
field
:
'taskId'
,
component
:
'Input'
,
},
{
label
:
'实例ID'
,
field
:
'procInsId'
,
component
:
'Input'
,
},
{
label
:
'执行ID'
,
field
:
'executionId'
,
component
:
'Input'
,
},
{
label
:
'流程定义ID'
,
field
:
'procDefId'
,
component
:
'Input'
,
},
{
label
:
'代办人'
,
field
:
'uid'
,
component
:
'Input'
,
},
{
label
:
'代办角色'
,
field
:
'roleid'
,
component
:
'Input'
,
},
{
label
:
'节点ID'
,
field
:
'taskDefinitionKey'
,
component
:
'Input'
,
},
{
label
:
'操作时间'
,
field
:
'optionTime'
,
component
:
'DatePicker'
,
componentProps
:
{
showTime
:
true
,
valueFormat
:
'YYYY-MM-DD HH:mm:ss'
},
},
{
label
:
'操作人'
,
field
:
'optionId'
,
component
:
'Input'
,
},
{
label
:
'操作类型'
,
field
:
'optionType'
,
component
:
'Input'
,
},
{
label
:
'节点类型'
,
field
:
'taskType'
,
component
:
'Input'
,
},
// TODO 主键隐藏字段,目前写死为ID
{
label
:
''
,
field
:
'id'
,
component
:
'Input'
,
show
:
false
},
];
// 高级查询数据
export
const
superQuerySchema
=
{
formTableName
:
{
title
:
'表单的表名ID'
,
order
:
0
,
view
:
'text'
,
type
:
'string'
,},
targetId
:
{
title
:
'业务主表ID'
,
order
:
1
,
view
:
'text'
,
type
:
'string'
,},
deployId
:
{
title
:
'部署ID'
,
order
:
2
,
view
:
'text'
,
type
:
'string'
,},
taskId
:
{
title
:
'任务ID'
,
order
:
3
,
view
:
'text'
,
type
:
'string'
,},
procInsId
:
{
title
:
'实例ID'
,
order
:
4
,
view
:
'text'
,
type
:
'string'
,},
executionId
:
{
title
:
'执行ID'
,
order
:
5
,
view
:
'text'
,
type
:
'string'
,},
procDefId
:
{
title
:
'流程定义ID'
,
order
:
6
,
view
:
'text'
,
type
:
'string'
,},
uid
:
{
title
:
'代办人'
,
order
:
7
,
view
:
'text'
,
type
:
'string'
,},
roleid
:
{
title
:
'代办角色'
,
order
:
8
,
view
:
'text'
,
type
:
'string'
,},
taskDefinitionKey
:
{
title
:
'节点ID'
,
order
:
9
,
view
:
'text'
,
type
:
'string'
,},
optionTime
:
{
title
:
'操作时间'
,
order
:
10
,
view
:
'datetime'
,
type
:
'string'
,},
optionId
:
{
title
:
'操作人'
,
order
:
11
,
view
:
'text'
,
type
:
'string'
,},
optionType
:
{
title
:
'操作类型'
,
order
:
12
,
view
:
'text'
,
type
:
'string'
,},
taskType
:
{
title
:
'节点类型'
,
order
:
13
,
view
:
'text'
,
type
:
'string'
,},
};
/**
* 流程表单调用这个方法获取formSchema
* @param param
*/
export
function
getBpmFormSchema
(
_formData
):
FormSchema
[]{
// 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema
return
formSchema
;
}
\ No newline at end of file
zrch-risk-client-39/src/views/myTaskFlowHis/MyTaskFlowHisList.vue
0 → 100644
浏览文件 @
4f037ffa
<
template
>
<div>
<!--引用表格-->
<BasicTable
@
register=
"registerTable"
:rowSelection=
"rowSelection"
>
<!--插槽:table标题-->
<template
#
tableTitle
>
<!--
<a-button
type=
"primary"
v-auth=
"'my:my_task_flow_his:add'"
@
click=
"handleAdd"
preIcon=
"ant-design:plus-outlined"
>
新增
</a-button>
<a-button
type=
"primary"
v-auth=
"'my:my_task_flow_his:exportXls'"
preIcon=
"ant-design:export-outlined"
@
click=
"onExportXls"
>
导出
</a-button>
<j-upload-button
type=
"primary"
v-auth=
"'my:my_task_flow_his:importExcel'"
preIcon=
"ant-design:import-outlined"
@
click=
"onImportXls"
>
导入
</j-upload-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<template
#
overlay
>
<a-menu>
<a-menu-item
key=
"1"
@
click=
"batchHandleDelete"
>
<Icon
icon=
"ant-design:delete-outlined"
></Icon>
删除
</a-menu-item>
</a-menu>
</
template
>
<a-button
v-auth=
"'my:my_task_flow_his:deleteBatch'"
>
批量操作
<Icon
icon=
"mdi:chevron-down"
></Icon>
</a-button>
</a-dropdown>
-->
<!-- 高级查询 -->
<super-query
:config=
"superQueryConfig"
@
search=
"handleSuperQuery"
/>
</template>
<!--操作栏
<template #action="{ record }">
<TableAction :actions="getTableAction(record)" :dropDownActions="getDropDownAction(record)"/>
</template>
-->
<!--字段回显插槽-->
<
template
v-slot:bodyCell=
"{ column, record, index, text }"
>
</
template
>
</BasicTable>
<!-- 表单区域 -->
<MyTaskFlowHisModal
@
register=
"registerModal"
@
success=
"handleSuccess"
></MyTaskFlowHisModal>
</div>
</template>
<
script
lang=
"ts"
name=
"my-myTaskFlowHis"
setup
>
import
{
ref
,
reactive
,
computed
,
unref
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'/@/components/Table'
;
import
{
useModal
}
from
'/@/components/Modal'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
import
MyTaskFlowHisModal
from
'./components/MyTaskFlowHisModal.vue'
import
{
columns
,
searchFormSchema
,
superQuerySchema
}
from
'./MyTaskFlowHis.data'
;
import
{
starlist
,
list
,
deleteOne
,
batchDelete
,
getImportUrl
,
getExportUrl
}
from
'./MyTaskFlowHis.api'
;
import
{
downloadFile
}
from
'/@/utils/common/renderUtils'
;
import
{
useUserStore
}
from
'/@/store/modules/user'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
import
{
getDateByPicker
}
from
'/@/utils'
;
//日期个性化选择
const
fieldPickers
=
reactive
({
});
const
queryParam
=
reactive
<
any
>
({});
const
checkedKeys
=
ref
<
Array
<
string
|
number
>>
([]);
const
userStore
=
useUserStore
();
const
{
createMessage
}
=
useMessage
();
//注册model
const
[
registerModal
,
{
openModal
}]
=
useModal
();
//注册table数据
const
{
prefixCls
,
tableContext
,
onExportXls
,
onImportXls
}
=
useListPage
({
tableProps
:{
title
:
'my_task_flow_his'
,
api
:
starlist
,
columns
,
canResize
:
true
,
formConfig
:
{
//labelWidth: 120,
schemas
:
searchFormSchema
,
autoSubmitOnEnter
:
true
,
showAdvancedButton
:
true
,
fieldMapToNumber
:
[
],
fieldMapToTime
:
[
],
},
actionColumn
:
{
width
:
120
,
fixed
:
'right'
},
beforeFetch
:
(
params
)
=>
{
if
(
params
&&
fieldPickers
)
{
for
(
let
key
in
fieldPickers
)
{
if
(
params
[
key
])
{
params
[
key
]
=
getDateByPicker
(
params
[
key
],
fieldPickers
[
key
]);
}
}
}
return
Object
.
assign
(
params
,
queryParam
);
},
},
exportConfig
:
{
name
:
"my_task_flow_his"
,
url
:
getExportUrl
,
params
:
queryParam
,
},
importConfig
:
{
url
:
getImportUrl
,
success
:
handleSuccess
},
})
const
[
registerTable
,
{
reload
},{
rowSelection
,
selectedRowKeys
}]
=
tableContext
// 高级查询配置
const
superQueryConfig
=
reactive
(
superQuerySchema
);
/**
* 高级查询事件
*/
function
handleSuperQuery
(
params
)
{
Object
.
keys
(
params
).
map
((
k
)
=>
{
queryParam
[
k
]
=
params
[
k
];
});
reload
();
}
/**
* 新增事件
*/
function
handleAdd
()
{
openModal
(
true
,
{
isUpdate
:
false
,
showFooter
:
true
,
});
}
/**
* 编辑事件
*/
function
handleEdit
(
record
:
Recordable
)
{
openModal
(
true
,
{
record
,
isUpdate
:
true
,
showFooter
:
true
,
});
}
/**
* 详情
*/
function
handleDetail
(
record
:
Recordable
)
{
openModal
(
true
,
{
record
,
isUpdate
:
true
,
showFooter
:
false
,
});
}
/**
* 删除事件
*/
async
function
handleDelete
(
record
)
{
await
deleteOne
({
id
:
record
.
id
},
handleSuccess
);
}
/**
* 批量删除事件
*/
async
function
batchHandleDelete
()
{
await
batchDelete
({
ids
:
selectedRowKeys
.
value
},
handleSuccess
);
}
/**
* 成功回调
*/
function
handleSuccess
()
{
(
selectedRowKeys
.
value
=
[])
&&
reload
();
}
/**
* 操作栏
*/
function
getTableAction
(
record
){
return
[
{
label
:
'编辑'
,
onClick
:
handleEdit
.
bind
(
null
,
record
),
auth
:
'my:my_task_flow_his:edit'
}
]
}
/**
* 下拉操作栏
*/
function
getDropDownAction
(
record
){
return
[
{
label
:
'详情'
,
onClick
:
handleDetail
.
bind
(
null
,
record
),
},
{
label
:
'删除'
,
popConfirm
:
{
title
:
'是否确认删除'
,
confirm
:
handleDelete
.
bind
(
null
,
record
),
placement
:
'topLeft'
,
},
auth
:
'my:my_task_flow_his:delete'
}
]
}
</
script
>
<
style
lang=
"less"
scoped
>
:deep(.ant-picker),:deep(.ant-input-number){
width: 100%;
}
</
style
>
\ No newline at end of file
zrch-risk-client-39/src/views/myTaskFlowHis/components/MyTaskFlowHisForm.vue
0 → 100644
浏览文件 @
4f037ffa
<
template
>
<div
style=
"min-height: 400px"
>
<BasicForm
@
register=
"registerForm"
></BasicForm>
<div
style=
"width: 100%;text-align: center"
v-if=
"!formDisabled"
>
<a-button
@
click=
"submitForm"
pre-icon=
"ant-design:check"
type=
"primary"
>
提 交
</a-button>
</div>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
BasicForm
,
useForm
}
from
'/@/components/Form/index'
;
import
{
computed
,
defineComponent
}
from
'vue'
;
import
{
defHttp
}
from
'/@/utils/http/axios'
;
import
{
propTypes
}
from
'/@/utils/propTypes'
;
import
{
getBpmFormSchema
}
from
'../MyTaskFlowHis.data'
;
import
{
saveOrUpdate
}
from
'../MyTaskFlowHis.api'
;
export
default
defineComponent
({
name
:
"MyTaskFlowHisForm"
,
components
:{
BasicForm
},
props
:{
formData
:
propTypes
.
object
.
def
({}),
formBpm
:
propTypes
.
bool
.
def
(
true
),
},
setup
(
props
){
const
[
registerForm
,
{
setFieldsValue
,
setProps
,
getFieldsValue
}]
=
useForm
({
labelWidth
:
150
,
schemas
:
getBpmFormSchema
(
props
.
formData
),
showActionButtonGroup
:
false
,
baseColProps
:
{
span
:
24
}
});
const
formDisabled
=
computed
(()
=>
{
if
(
props
.
formData
.
disabled
===
false
){
return
false
;
}
return
true
;
});
let
formData
=
{};
const
queryByIdUrl
=
'/my/myTaskFlowHis/queryById'
;
async
function
initFormData
(){
let
params
=
{
id
:
props
.
formData
.
dataId
};
const
data
=
await
defHttp
.
get
({
url
:
queryByIdUrl
,
params
});
formData
=
{...
data
}
//设置表单的值
await
setFieldsValue
(
formData
);
//默认是禁用
await
setProps
({
disabled
:
formDisabled
.
value
})
}
async
function
submitForm
()
{
let
data
=
getFieldsValue
();
let
params
=
Object
.
assign
({},
formData
,
data
);
console
.
log
(
'表单数据'
,
params
)
await
saveOrUpdate
(
params
,
true
)
}
initFormData
();
return
{
registerForm
,
formDisabled
,
submitForm
,
}
}
});
</
script
>
\ No newline at end of file
zrch-risk-client-39/src/views/myTaskFlowHis/components/MyTaskFlowHisModal.vue
0 → 100644
浏览文件 @
4f037ffa
<
template
>
<BasicModal
v-bind=
"$attrs"
@
register=
"registerModal"
destroyOnClose
:title=
"title"
:maxHeight=
"500"
:width=
"800"
@
ok=
"handleSubmit"
>
<BasicForm
@
register=
"registerForm"
name=
"MyTaskFlowHisForm"
/>
</BasicModal>
</
template
>
<
script
lang=
"ts"
setup
>
import
{
ref
,
computed
,
unref
,
reactive
}
from
'vue'
;
import
{
BasicModal
,
useModalInner
}
from
'/@/components/Modal'
;
import
{
BasicForm
,
useForm
}
from
'/@/components/Form/index'
;
import
{
formSchema
}
from
'../MyTaskFlowHis.data'
;
import
{
saveOrUpdate
}
from
'../MyTaskFlowHis.api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
import
{
getDateByPicker
}
from
'/@/utils'
;
const
{
createMessage
}
=
useMessage
();
// Emits声明
const
emit
=
defineEmits
([
'register'
,
'success'
]);
const
isUpdate
=
ref
(
true
);
const
isDetail
=
ref
(
false
);
//表单配置
const
[
registerForm
,
{
setProps
,
resetFields
,
setFieldsValue
,
validate
,
scrollToField
}]
=
useForm
({
labelWidth
:
150
,
schemas
:
formSchema
,
showActionButtonGroup
:
false
,
baseColProps
:
{
span
:
24
},
baseRowStyle
:
{
padding
:
"0 20px"
}
});
//表单赋值
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
//重置表单
await
resetFields
();
setModalProps
({
confirmLoading
:
false
,
showCancelBtn
:
!!
data
?.
showFooter
,
showOkBtn
:
!!
data
?.
showFooter
});
isUpdate
.
value
=
!!
data
?.
isUpdate
;
isDetail
.
value
=
!!
data
?.
showFooter
;
if
(
unref
(
isUpdate
))
{
//表单赋值
await
setFieldsValue
({
...
data
.
record
,
});
}
// 隐藏底部时禁用整个表单
setProps
({
disabled
:
!
data
?.
showFooter
})
});
//日期个性化选择
const
fieldPickers
=
reactive
({
});
//设置标题
const
title
=
computed
(()
=>
(
!
unref
(
isUpdate
)
?
'新增'
:
!
unref
(
isDetail
)
?
'详情'
:
'编辑'
));
//表单提交事件
async
function
handleSubmit
(
v
)
{
try
{
let
values
=
await
validate
();
// 预处理日期数据
changeDateValue
(
values
);
setModalProps
({
confirmLoading
:
true
});
//提交表单
await
saveOrUpdate
(
values
,
isUpdate
.
value
);
//关闭弹窗
closeModal
();
//刷新列表
emit
(
'success'
);
}
catch
({
errorFields
})
{
if
(
errorFields
)
{
const
firstField
=
errorFields
[
0
];
if
(
firstField
)
{
scrollToField
(
firstField
.
name
,
{
behavior
:
'smooth'
,
block
:
'center'
});
}
}
return
Promise
.
reject
(
errorFields
);
}
finally
{
setModalProps
({
confirmLoading
:
false
});
}
}
/**
* 处理日期值
* @param formData 表单数据
*/
const
changeDateValue
=
(
formData
)
=>
{
if
(
formData
&&
fieldPickers
)
{
for
(
let
key
in
fieldPickers
)
{
if
(
formData
[
key
])
{
formData
[
key
]
=
getDateByPicker
(
formData
[
key
],
fieldPickers
[
key
]);
}
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
/** 时间和数字输入框样式 */
:deep(.ant-input-number) {
width: 100%;
}
:deep(.ant-calendar-picker) {
width: 100%;
}
</
style
>
\ No newline at end of file
zrch-risk-client-39/src/views/project/problemCheck/StProblemArchiveList.vue
浏览文件 @
4f037ffa
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
import
{
columns
}
from
'./StProblemCheck.data'
;
import
{
columns
}
from
'./StProblemCheck.data'
;
import
{
list
,
problemArchive
}
from
'./StProblemCheck.api'
;
import
{
list
,
problemArchive
}
from
'./StProblemCheck.api'
;
const
{
createConfirm
}
=
useMessage
();
const
props
=
defineProps
({
const
props
=
defineProps
({
currentFlowNode
:
{
type
:
Object
,
default
:
()
=>
({})
},
currentFlowNode
:
{
type
:
Object
,
default
:
()
=>
({})
},
});
});
...
@@ -37,7 +39,14 @@
...
@@ -37,7 +39,14 @@
const
[
registerTable
,
{
reload
},
{
rowSelection
,
selectedRowKeys
}]
=
tableContext
;
const
[
registerTable
,
{
reload
},
{
rowSelection
,
selectedRowKeys
}]
=
tableContext
;
function
handleArchive
(
record
:
Recordable
)
{
function
handleArchive
(
record
:
Recordable
)
{
problemArchive
({
id
:
record
.
id
}).
then
(
handleSuccess
);
createConfirm
({
title
:
'确认归档问题吗?'
,
okText
:
'确认'
,
okType
:
'danger'
,
onOk
:
()
=>
{
problemArchive
({
id
:
record
.
id
}).
then
(
handleSuccess
);
},
});
}
}
function
handleSuccess
()
{
function
handleSuccess
()
{
...
@@ -46,7 +55,11 @@
...
@@ -46,7 +55,11 @@
}
}
function
getTableAction
(
record
)
{
function
getTableAction
(
record
)
{
return
[{
label
:
'问题归档'
,
onClick
:
handleArchive
.
bind
(
null
,
record
)
}];
return
[
{
label
:
'问题归档'
,
onClick
:
handleArchive
.
bind
(
null
,
record
)
}];
}
}
</
script
>
</
script
>
...
...
zrch-risk-client-39/src/views/project/problemCheck/StProblemCheck.data.ts
浏览文件 @
4f037ffa
...
@@ -69,6 +69,7 @@ export const columns: BasicColumn[] = [
...
@@ -69,6 +69,7 @@ export const columns: BasicColumn[] = [
return
render
.
renderDict
(
text
,
'bpm_status'
);
return
render
.
renderDict
(
text
,
'bpm_status'
);
},
},
sorter
:
true
,
sorter
:
true
,
ifShow
:
false
,
},
},
];
];
//查询数据
//查询数据
...
...
zrch-risk-client-39/src/views/project/problemCheck/StProblemCheckList.vue
浏览文件 @
4f037ffa
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<TableAction
:actions=
"getTableAction(record)"
:dropDownActions=
"getDropDownAction(record)"
/>
<TableAction
:actions=
"getTableAction(record)"
:dropDownActions=
"getDropDownAction(record)"
/>
</
template
>
</
template
>
</BasicTable>
</BasicTable>
<StProblemCheckModal
@
register=
"registerModal"
@
success=
"handleSuccess"
:center=
"true"
/>
<StProblemCheckModal
@
register=
"registerModal"
@
success=
"handleSuccess"
:center
ed
=
"true"
/>
</div>
</div>
</template>
</template>
...
@@ -35,6 +35,8 @@
...
@@ -35,6 +35,8 @@
import
StProblemCheckModal
from
'./components/StProblemCheckModal.vue'
;
import
StProblemCheckModal
from
'./components/StProblemCheckModal.vue'
;
import
{
columns
,
searchFormSchema
}
from
'./StProblemCheck.data'
;
import
{
columns
,
searchFormSchema
}
from
'./StProblemCheck.data'
;
import
{
list
,
deleteOne
,
batchDelete
,
getImportUrl
,
getExportUrl
,
saveOrUpdate
}
from
'./StProblemCheck.api'
;
import
{
list
,
deleteOne
,
batchDelete
,
getImportUrl
,
getExportUrl
,
saveOrUpdate
}
from
'./StProblemCheck.api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
const
{
createConfirm
}
=
useMessage
();
const
props
=
defineProps
({
const
props
=
defineProps
({
beforeFlowNode
:
{
type
:
Object
,
default
:
()
=>
({})
},
beforeFlowNode
:
{
type
:
Object
,
default
:
()
=>
({})
},
...
@@ -113,6 +115,7 @@
...
@@ -113,6 +115,7 @@
}
}
async
function
handleFlow
(
record
:
Recordable
)
{
async
function
handleFlow
(
record
:
Recordable
)
{
emit
(
'sendWorkFlow'
,
record
);
emit
(
'sendWorkFlow'
,
record
);
}
}
...
...
zrch-risk-client-39/src/views/project/problemCheck/components/StProblemCheckPlanForm.vue
浏览文件 @
4f037ffa
...
@@ -66,10 +66,8 @@
...
@@ -66,10 +66,8 @@
// 保存按钮
// 保存按钮
async
function
saveForm
(
formData
)
{
async
function
saveForm
(
formData
)
{
try
{
try
{
const
result
=
await
saveOrUpdate
(
formData
,
true
);
const
result
=
await
saveOrUpdate
(
formData
,
true
);
alert
(
JSON
.
stringify
(
result
))
// 保存成功后更新表单
// 保存成功后更新表单
if
(
result
&&
result
.
id
)
{
if
(
result
&&
result
.
id
)
{
await
initFormData
(
result
.
id
);
await
initFormData
(
result
.
id
);
...
...
zrch-risk-client-39/src/views/system/role/role.api.ts
浏览文件 @
4f037ffa
...
@@ -25,6 +25,7 @@ enum Api {
...
@@ -25,6 +25,7 @@ enum Api {
saveRoleIndex
=
'/sys/sysRoleIndex/add'
,
saveRoleIndex
=
'/sys/sysRoleIndex/add'
,
editRoleIndex
=
'/sys/sysRoleIndex/edit'
,
editRoleIndex
=
'/sys/sysRoleIndex/edit'
,
queryIndexByCode
=
'/sys/sysRoleIndex/queryByCode'
,
queryIndexByCode
=
'/sys/sysRoleIndex/queryByCode'
,
queryById
=
'/sys/role/queryById'
,
}
}
/**
/**
* 导出api
* 导出api
...
@@ -186,3 +187,10 @@ export const saveOrUpdateRoleIndex = (params, isUpdate) => {
...
@@ -186,3 +187,10 @@ export const saveOrUpdateRoleIndex = (params, isUpdate) => {
* @param params
* @param params
*/
*/
export
const
queryIndexByCode
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
queryIndexByCode
,
params
},
{
isTransformResponse
:
false
});
export
const
queryIndexByCode
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
queryIndexByCode
,
params
},
{
isTransformResponse
:
false
});
/**
*
* @param params
* @returns
*/
export
const
queryRoleById
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
queryById
,
params
});
zrch-risk-client-39/src/views/system/user/user.api.ts
浏览文件 @
4f037ffa
...
@@ -23,6 +23,8 @@ enum Api {
...
@@ -23,6 +23,8 @@ enum Api {
changePassword
=
'/sys/user/changePassword'
,
changePassword
=
'/sys/user/changePassword'
,
frozenBatch
=
'/sys/user/frozenBatch'
,
frozenBatch
=
'/sys/user/frozenBatch'
,
queryById
=
'/sys/user/queryById'
,
getQuitList
=
'/sys/user/getQuitList'
,
getQuitList
=
'/sys/user/getQuitList'
,
putCancelQuit
=
'/sys/user/putCancelQuit'
,
putCancelQuit
=
'/sys/user/putCancelQuit'
,
resetPassword
=
'/sys/user/resetPassword'
,
resetPassword
=
'/sys/user/resetPassword'
,
...
@@ -265,4 +267,11 @@ export const saveOrUpdateAgent = (params) => {
...
@@ -265,4 +267,11 @@ export const saveOrUpdateAgent = (params) => {
export
const
userQuitAgent
=
(
params
)
=>
{
export
const
userQuitAgent
=
(
params
)
=>
{
return
defHttp
.
put
({
url
:
Api
.
userQuitAgent
,
params
});
return
defHttp
.
put
({
url
:
Api
.
userQuitAgent
,
params
});
};
};
\ No newline at end of file
/**
*
* @param params
* @returns
*/
export
const
queryUserById
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
queryById
,
params
});
\ No newline at end of file
zrch-risk-server-39/jeecg-module-system/jeecg-module-flowable/src/main/java/org/jeecg/modules/flowable/service/IFlowTaskService.java
浏览文件 @
4f037ffa
...
@@ -7,6 +7,7 @@ import org.jeecg.modules.flowable.domain.dto.FlowViewerDto;
...
@@ -7,6 +7,7 @@ import org.jeecg.modules.flowable.domain.dto.FlowViewerDto;
import
org.jeecg.modules.flowable.domain.vo.FlowTaskVo
;
import
org.jeecg.modules.flowable.domain.vo.FlowTaskVo
;
import
java.io.InputStream
;
import
java.io.InputStream
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
@@ -180,6 +181,7 @@ public interface IFlowTaskService {
...
@@ -180,6 +181,7 @@ public interface IFlowTaskService {
public
Result
<
List
<
String
>>
todoListAll
();
public
Result
<
List
<
String
>>
todoListAll
();
public
void
saveMyTaskFlow
(
String
thistaskId
,
Task
nextTask
,
String
userType
,
String
approvalId
,
String
messageTaskName
);
public
void
saveMyTaskFlowHis
(
Task
task
,
String
userType
,
String
approvalId
,
Date
cdate
,
String
loginUserid
,
String
taskType
,
String
OptionType
);
}
}
zrch-risk-server-39/jeecg-module-system/jeecg-module-flowable/src/main/java/org/jeecg/modules/flowable/service/impl/FlowDefinitionServiceImpl.java
浏览文件 @
4f037ffa
...
@@ -471,7 +471,11 @@ public class FlowDefinitionServiceImpl extends FlowServiceFactory implements IFl
...
@@ -471,7 +471,11 @@ public class FlowDefinitionServiceImpl extends FlowServiceFactory implements IFl
}
}
String
userType
=
"user"
;
String
approvalId
=
sysUser
.
getId
();
flowTaskService
.
saveMyTaskFlowHis
(
task
,
userType
,
approvalId
,
cdate
,
sysUser
.
getId
(),
ProcessConstants
.
TASK_TYPE_START
,
OptionType
);
/**
MyTaskFlowHis taskFlowHis=new MyTaskFlowHis();
MyTaskFlowHis taskFlowHis=new MyTaskFlowHis();
taskFlowHis.setTaskId(task.getId());
taskFlowHis.setTaskId(task.getId());
taskFlowHis.setProcDefId(task.getProcessDefinitionId());
taskFlowHis.setProcDefId(task.getProcessDefinitionId());
...
@@ -488,8 +492,7 @@ public class FlowDefinitionServiceImpl extends FlowServiceFactory implements IFl
...
@@ -488,8 +492,7 @@ public class FlowDefinitionServiceImpl extends FlowServiceFactory implements IFl
taskFlowHis.setFormTableName(flowForm.getFormTableName());
taskFlowHis.setFormTableName(flowForm.getFormTableName());
}
}
String
userType
=
"user"
;
String
approvalId
=
sysUser
.
getId
();
if(userType.equals("user")) {
if(userType.equals("user")) {
taskFlowHis.setUid(approvalId);
taskFlowHis.setUid(approvalId);
...
@@ -509,6 +512,7 @@ public class FlowDefinitionServiceImpl extends FlowServiceFactory implements IFl
...
@@ -509,6 +512,7 @@ public class FlowDefinitionServiceImpl extends FlowServiceFactory implements IFl
taskFlowHis.setFlowName(flowname);
taskFlowHis.setFlowName(flowname);
myTaskFlowHisService.save(taskFlowHis);
myTaskFlowHisService.save(taskFlowHis);
*/
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-flowable/src/main/java/org/jeecg/modules/flowable/service/impl/FlowTaskServiceImpl.java
浏览文件 @
4f037ffa
差异被折叠。
点击展开。
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/my/controller/MyTaskFlowHisController.java
浏览文件 @
4f037ffa
...
@@ -22,6 +22,9 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -22,6 +22,9 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jeecg.modules.stm.utils.UserUtil
;
import
org.jeecg.modules.system.entity.SysUserRole
;
import
org.jeecg.modules.system.service.ISysUserRoleService
;
import
org.jeecgframework.poi.excel.ExcelImportUtil
;
import
org.jeecgframework.poi.excel.ExcelImportUtil
;
import
org.jeecgframework.poi.excel.def.NormalExcelConstants
;
import
org.jeecgframework.poi.excel.def.NormalExcelConstants
;
import
org.jeecgframework.poi.excel.entity.ExportParams
;
import
org.jeecgframework.poi.excel.entity.ExportParams
;
...
@@ -51,6 +54,8 @@ import org.apache.shiro.authz.annotation.RequiresPermissions;
...
@@ -51,6 +54,8 @@ import org.apache.shiro.authz.annotation.RequiresPermissions;
public
class
MyTaskFlowHisController
extends
JeecgController
<
MyTaskFlowHis
,
IMyTaskFlowHisService
>
{
public
class
MyTaskFlowHisController
extends
JeecgController
<
MyTaskFlowHis
,
IMyTaskFlowHisService
>
{
@Autowired
@Autowired
private
IMyTaskFlowHisService
myTaskFlowHisService
;
private
IMyTaskFlowHisService
myTaskFlowHisService
;
@Autowired
private
ISysUserRoleService
sysUserRoleService
;
/**
/**
* 分页列表查询
* 分页列表查询
...
@@ -75,6 +80,34 @@ public class MyTaskFlowHisController extends JeecgController<MyTaskFlowHis, IMyT
...
@@ -75,6 +80,34 @@ public class MyTaskFlowHisController extends JeecgController<MyTaskFlowHis, IMyT
IPage
<
MyTaskFlowHis
>
pageList
=
myTaskFlowHisService
.
page
(
page
,
queryWrapper
);
IPage
<
MyTaskFlowHis
>
pageList
=
myTaskFlowHisService
.
page
(
page
,
queryWrapper
);
return
Result
.
OK
(
pageList
);
return
Result
.
OK
(
pageList
);
}
}
@GetMapping
(
value
=
"/starlist"
)
public
Result
<
IPage
<
MyTaskFlowHis
>>
starlistqueryPageList
(
MyTaskFlowHis
myTaskFlowHis
,
@RequestParam
(
name
=
"pageNo"
,
defaultValue
=
"1"
)
Integer
pageNo
,
@RequestParam
(
name
=
"pageSize"
,
defaultValue
=
"10"
)
Integer
pageSize
,
HttpServletRequest
req
)
{
String
userId
=
UserUtil
.
getUserId
();
String
roleids
=
""
;
List
<
SysUserRole
>
userRole
=
sysUserRoleService
.
list
(
new
QueryWrapper
<
SysUserRole
>().
lambda
().
eq
(
SysUserRole:
:
getUserId
,
userId
));
for
(
int
u
=
0
;
u
<
userRole
.
size
();
u
++){
SysUserRole
sysUserRole
=
userRole
.
get
(
u
);
roleids
=
roleids
+
sysUserRole
.
getRoleId
()+
","
;
}
if
(!
roleids
.
equals
(
""
)){
roleids
=
roleids
.
substring
(
0
,
roleids
.
length
()-
1
);
}
// 创建一个最终变量或实际上的最终变量用于 lambda
final
String
finalRoleids
=
roleids
;
QueryWrapper
<
MyTaskFlowHis
>
queryWrapper
=
QueryGenerator
.
initQueryWrapper
(
myTaskFlowHis
,
req
.
getParameterMap
());
queryWrapper
.
eq
(
"option_id"
,
userId
)
.
eq
(
"task_type"
,
"发起"
)
.
orderByDesc
(
"option_time"
);
Page
<
MyTaskFlowHis
>
page
=
new
Page
<
MyTaskFlowHis
>(
pageNo
,
pageSize
);
IPage
<
MyTaskFlowHis
>
pageList
=
myTaskFlowHisService
.
page
(
page
,
queryWrapper
);
return
Result
.
OK
(
pageList
);
}
/**
/**
* 添加
* 添加
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/my/service/impl/MyTaskFlowServiceImpl.java
浏览文件 @
4f037ffa
...
@@ -41,21 +41,18 @@ public class MyTaskFlowServiceImpl extends ServiceImpl<MyTaskFlowMapper, MyTaskF
...
@@ -41,21 +41,18 @@ public class MyTaskFlowServiceImpl extends ServiceImpl<MyTaskFlowMapper, MyTaskF
@Override
@Override
public
List
<
String
>
queryTodoList
(
MyTaskFlow
myTaskFlow
)
{
public
List
<
String
>
queryTodoList
(
MyTaskFlow
myTaskFlow
)
{
LambdaQueryWrapper
<
MyTaskFlow
>
query
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
MyTaskFlow
>
query
=
new
LambdaQueryWrapper
<>();
String
roleCodes
=
UserUtil
.
getRoleCode
();
String
roleCodes
=
UserUtil
.
getRoleCode
();
final
List
<
String
>
roleCodeList
;
final
List
<
String
>
roleCodeList
;
final
List
<
String
>
roleIdList
;
// 使用 final 关键字
final
List
<
String
>
roleIdList
;
// 使用 final 关键字
if
(
StringUtils
.
hasText
(
roleCodes
))
{
if
(
StringUtils
.
hasText
(
roleCodes
))
{
roleCodeList
=
Arrays
.
asList
(
roleCodes
.
split
(
","
));
roleCodeList
=
Arrays
.
asList
(
roleCodes
.
split
(
","
));
roleIdList
=
queryRoleIdsByRoleCodes
(
roleCodeList
);
roleIdList
=
queryRoleIdsByRoleCodes
(
roleCodeList
);
}
else
{
}
else
{
roleCodeList
=
Collections
.
emptyList
();
// 明确赋值为空列表
roleCodeList
=
Collections
.
emptyList
();
roleIdList
=
Collections
.
emptyList
();
roleIdList
=
Collections
.
emptyList
();
}
}
// 基础条件
// 基础条件
query
.
eq
(
Objects
.
nonNull
(
myTaskFlow
.
getDeployId
()),
query
.
eq
(
Objects
.
nonNull
(
myTaskFlow
.
getDeployId
()),
MyTaskFlow:
:
getDeployId
,
myTaskFlow
.
getDeployId
())
MyTaskFlow:
:
getDeployId
,
myTaskFlow
.
getDeployId
())
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/page/controller/PageTitleconfigController.java
浏览文件 @
4f037ffa
...
@@ -114,8 +114,8 @@ public class PageTitleconfigController extends JeecgController<PageTitleconfig,
...
@@ -114,8 +114,8 @@ public class PageTitleconfigController extends JeecgController<PageTitleconfig,
wrapper
.
or
().
in
(
"roleid"
,
Arrays
.
asList
(
finalRoleids
.
split
(
","
)));
wrapper
.
or
().
in
(
"roleid"
,
Arrays
.
asList
(
finalRoleids
.
split
(
","
)));
}
}
})
})
.
orderByDesc
(
"
priority
"
)
.
orderByDesc
(
"
st_time
"
)
.
orderByDesc
(
"
st_time
"
);
.
orderByDesc
(
"
priority
"
);
queryWrapper
.
last
(
"limit 5"
);
queryWrapper
.
last
(
"limit 5"
);
List
<
MyTask
>
list
=
myTaskService
.
list
(
queryWrapper
);
List
<
MyTask
>
list
=
myTaskService
.
list
(
queryWrapper
);
return
Result
.
OK
(
list
);
return
Result
.
OK
(
list
);
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/problem/controller/StProblemCheckController.java
浏览文件 @
4f037ffa
...
@@ -72,7 +72,7 @@ public class StProblemCheckController extends JeecgController<StProblemCheck, IS
...
@@ -72,7 +72,7 @@ public class StProblemCheckController extends JeecgController<StProblemCheck, IS
QueryWrapper
<
StProblemCheck
>
queryWrapper
=
QueryGenerator
.
initQueryWrapper
(
stProblemCheck
,
req
.
getParameterMap
());
QueryWrapper
<
StProblemCheck
>
queryWrapper
=
QueryGenerator
.
initQueryWrapper
(
stProblemCheck
,
req
.
getParameterMap
());
MyTaskFlow
myTaskFlow
=
new
MyTaskFlow
();
MyTaskFlow
myTaskFlow
=
new
MyTaskFlow
();
myTaskFlow
.
setFormTableName
(
"st_problem_check"
);
myTaskFlow
.
setFormTableName
(
"st_problem_check"
);
myTaskFlow
.
setTaskDefinitionKey
(
stProblemCheck
.
getB
mp
NodeId
());
myTaskFlow
.
setTaskDefinitionKey
(
stProblemCheck
.
getB
pm
NodeId
());
List
<
String
>
todoList
=
myTaskFlowService
.
queryTodoList
(
myTaskFlow
);
List
<
String
>
todoList
=
myTaskFlowService
.
queryTodoList
(
myTaskFlow
);
if
(
Utils
.
isNullOrEmpty
(
todoList
))
{
if
(
Utils
.
isNullOrEmpty
(
todoList
))
{
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/problem/entity/StProblemCheck.java
浏览文件 @
4f037ffa
...
@@ -152,24 +152,23 @@ public class StProblemCheck implements Serializable {
...
@@ -152,24 +152,23 @@ public class StProblemCheck implements Serializable {
/**整改落实情况*/
/**整改落实情况*/
private
java
.
lang
.
String
execRemark
;
private
java
.
lang
.
String
execRemark
;
/**发现人*/
/**发现人*/
private
java
.
lang
.
String
findUser
;
private
java
.
lang
.
String
findUser
;
/**流程状态*/
private
java
.
lang
.
String
bpmStatus
;
/**部署ID*/
private
java
.
lang
.
String
deployId
;
/**流程实例ID*/
/**流程实例ID*/
private
java
.
lang
.
String
procInsId
;
private
java
.
lang
.
String
procInsId
;
/**风险等级*/
/**风险等级*/
private
java
.
lang
.
Integer
riskLevel
;
private
java
.
lang
.
Integer
riskLevel
;
/**流程节点ID*/
private
java
.
lang
.
String
bmpNodeId
;
// 当前用户需要处理的工作流 实例ID
// 当前用户需要处理的工作流 实例ID
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
java
.
util
.
List
todolist
;
private
java
.
util
.
List
todolist
;
/**流程状态*/
private
java
.
lang
.
String
bpmStatus
;
/**部署ID*/
private
java
.
lang
.
String
deployId
;
/**流程节点ID*/
private
java
.
lang
.
String
bpmNodeId
;
}
}
zrch-risk-server-39/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml
浏览文件 @
4f037ffa
...
@@ -173,6 +173,7 @@ spring:
...
@@ -173,6 +173,7 @@ spring:
url
:
jdbc:mysql://localhost:3306/zrch_stm_db_3.9_new?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://localhost:3306/zrch_stm_db_3.9_new?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username
:
root
username
:
root
password
:
123456
password
:
123456
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
# # shardingjdbc数据源
# # shardingjdbc数据源
# sharding-db:
# sharding-db:
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml
浏览文件 @
4f037ffa
...
@@ -18,7 +18,18 @@ management:
...
@@ -18,7 +18,18 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
metrics,httpexchanges,jeecghttptrace
include
:
metrics,httpexchanges,jeecghttptrace
flowable
:
database-schema-update
:
false
cmmn
:
enabled
:
false
app
:
enabled
:
false
content
:
enabled
:
false
dmn
:
enabled
:
false
form
:
enabled
:
false
spring
:
spring
:
# main:
# main:
# # 启动加速 (建议开发环境,开启后flyway自动升级失效)
# # 启动加速 (建议开发环境,开启后flyway自动升级失效)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论