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
269aabd6
authored
Mar 06, 2023
by
gexinzhineng/gxzn27
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情动态表单按钮不显示,我的流程流程分类显示问题
parent
6b256019
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
src/views/bpm/processInstance/detail.vue
+3
-3
src/views/bpm/processInstance/index.vue
+5
-0
src/views/bpm/processInstance/process.data.ts
+6
-1
No files found.
src/views/bpm/processInstance/detail.vue
View file @
269aabd6
...
...
@@ -404,9 +404,9 @@ const getDetail = () => {
data
.
formVariables
)
nextTick
().
then
(()
=>
{
fApi
.
value
?.
btn
.
show
(
false
)
fApi
.
value
?.
resetBtn
.
show
(
false
)
fApi
.
value
?.
btn
.
disabled
(
true
)
fApi
.
value
?.
fapi
?.
btn
.
show
(
false
)
fApi
.
value
?.
fapi
?.
resetBtn
.
show
(
false
)
fApi
.
value
?.
fapi
?
.
disabled
(
true
)
})
}
...
...
src/views/bpm/processInstance/index.vue
View file @
269aabd6
...
...
@@ -12,6 +12,10 @@
@
click=
"handleCreate"
/>
</
template
>
<!-- 流程分类 -->
<
template
#
category_default=
"{ row }"
>
<DictTag
:type=
"DICT_TYPE.BPM_MODEL_CATEGORY"
:value=
"Number(row?.category)"
/>
</
template
>
<!-- 当前审批任务 -->
<
template
#
tasks_default=
"{ row }"
>
<el-button
v-for=
"task in row.tasks"
:key=
"task.id"
link
>
...
...
@@ -40,6 +44,7 @@
<
script
setup
lang=
"ts"
>
// 全局相关的 import
import
{
ElMessageBox
}
from
'element-plus'
import
{
DICT_TYPE
}
from
'@/utils/dict'
// 业务相关的 import
import
*
as
ProcessInstanceApi
from
'@/api/bpm/processInstance'
...
...
src/views/bpm/processInstance/process.data.ts
View file @
269aabd6
...
...
@@ -33,7 +33,12 @@ const crudSchemas = reactive<VxeCrudSchema>({
field
:
'category'
,
dictType
:
DICT_TYPE
.
BPM_MODEL_CATEGORY
,
dictClass
:
'number'
,
isSearch
:
true
isSearch
:
true
,
table
:
{
slots
:
{
default
:
'category_default'
}
}
},
{
title
:
'当前审批任务'
,
...
...
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