Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bd48210d
authored
Jan 26, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码评审】Bpm:数据报表
parent
79a53412
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
4 deletions
+21
-4
src/router/modules/remaining.ts
+12
-0
src/views/bpm/model/CategoryDraggableModel.vue
+4
-1
src/views/bpm/processInstance/report/index.vue
+5
-3
No files found.
src/router/modules/remaining.ts
View file @
bd48210d
...
...
@@ -308,6 +308,18 @@ const remainingRouter: AppRouteRecordRaw[] = [
})
},
{
path
:
'process-instance/report'
,
component
:
()
=>
import
(
'@/views/bpm/processInstance/report/index.vue'
),
name
:
'BpmProcessInstanceReport'
,
meta
:
{
noCache
:
true
,
hidden
:
true
,
canTo
:
true
,
title
:
'数据报表'
,
activeMenu
:
'/bpm/manager/model'
}
},
{
path
:
'oa/leave/create'
,
component
:
()
=>
import
(
'@/views/bpm/oa/leave/create.vue'
),
name
:
'OALeaveCreate'
,
...
...
src/views/bpm/model/CategoryDraggableModel.vue
View file @
bd48210d
...
...
@@ -194,7 +194,10 @@
</el-dropdown-item>
<el-dropdown-item
command=
"handleReport"
v-if=
"checkPermi(['bpm:model:report']) && scope.row.processDefinition"
v-if=
"
checkPermi(['bpm:process-instance:manager-query']) &&
scope.row.processDefinition
"
:disabled=
"!isManagerUser(scope.row)"
>
报表
...
...
src/views/bpm/processInstance/report/index.vue
View file @
bd48210d
...
...
@@ -171,9 +171,10 @@ const userList = ref<any[]>([]) // 用户列表
const
getList
=
async
()
=>
{
loading
.
value
=
true
try
{
let
queryParamsClone
=
{
...
queryParams
}
queryParamsClone
.
formFieldsParams
=
JSON
.
stringify
(
queryParamsClone
.
formFieldsParams
)
const
data
=
await
ProcessInstanceApi
.
getProcessInstanceManagerPage
(
queryParamsClone
)
const
data
=
await
ProcessInstanceApi
.
getProcessInstanceManagerPage
({
...
queryParams
,
formFieldsParams
:
JSON
.
stringify
(
queryParams
.
formFieldsParams
)
})
list
.
value
=
data
.
list
total
.
value
=
data
.
total
}
finally
{
...
...
@@ -205,6 +206,7 @@ const handleQuery = () => {
}
/** 重置按钮操作 */
// TODO @lesan:动态表单的 search ,无法重置的样子
const
resetQuery
=
()
=>
{
queryFormRef
.
value
.
resetFields
()
queryFormRef
.
value
.
formFieldsParams
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment