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
f90c9a0c
authored
Feb 28, 2023
by
gexinzhineng/gxzn27
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.流程图显示问题
2.任务分配规则列表显示问题(传递id错误) 3.流程分类显示错误
parent
666a523f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
src/views/bpm/definition/definition.data.ts
+7
-2
src/views/bpm/definition/index.vue
+8
-2
No files found.
src/views/bpm/definition/definition.data.ts
View file @
f90c9a0c
...
@@ -26,8 +26,13 @@ const crudSchemas = reactive<VxeCrudSchema>({
...
@@ -26,8 +26,13 @@ const crudSchemas = reactive<VxeCrudSchema>({
{
{
title
:
'流程分类'
,
title
:
'流程分类'
,
field
:
'category'
,
field
:
'category'
,
dictType
:
DICT_TYPE
.
BPM_MODEL_CATEGORY
,
// dictType: DICT_TYPE.BPM_MODEL_CATEGORY,
dictClass
:
'number'
// dictClass: 'string'
table
:
{
slots
:
{
default
:
'category_default'
}
}
},
},
{
{
title
:
'表单信息'
,
title
:
'表单信息'
,
...
...
src/views/bpm/definition/index.vue
View file @
f90c9a0c
...
@@ -6,6 +6,10 @@
...
@@ -6,6 +6,10 @@
<template
#
name_default=
"
{ row }">
<template
#
name_default=
"
{ row }">
<XTextButton
:title=
"row.name"
@
click=
"handleBpmnDetail(row.id)"
/>
<XTextButton
:title=
"row.name"
@
click=
"handleBpmnDetail(row.id)"
/>
</
template
>
</
template
>
<!-- 流程分类 -->
<
template
#
category_default=
"{ row }"
>
<DictTag
:type=
"DICT_TYPE.BPM_MODEL_CATEGORY"
:value=
"Number(row?.category)"
/>
</
template
>
<!-- 表单信息 -->
<!-- 表单信息 -->
<
template
#
formId_default=
"{ row }"
>
<
template
#
formId_default=
"{ row }"
>
<XTextButton
<XTextButton
...
@@ -61,6 +65,8 @@ import * as DefinitionApi from '@/api/bpm/definition'
...
@@ -61,6 +65,8 @@ import * as DefinitionApi from '@/api/bpm/definition'
// import * as ModelApi from '@/api/bpm/model'
// import * as ModelApi from '@/api/bpm/model'
import
{
allSchemas
}
from
'./definition.data'
import
{
allSchemas
}
from
'./definition.data'
import
{
setConfAndFields2
}
from
'@/utils/formCreate'
import
{
setConfAndFields2
}
from
'@/utils/formCreate'
import
{
DICT_TYPE
}
from
'@/utils/dict'
const
bpmnXML
=
ref
(
null
)
const
bpmnXML
=
ref
(
null
)
const
showBpmnOpen
=
ref
(
false
)
const
showBpmnOpen
=
ref
(
false
)
const
bpmnControlForm
=
ref
({
const
bpmnControlForm
=
ref
({
...
@@ -105,7 +111,7 @@ const handleBpmnDetail = (row) => {
...
@@ -105,7 +111,7 @@ const handleBpmnDetail = (row) => {
console
.
log
(
row
)
console
.
log
(
row
)
DefinitionApi
.
getProcessDefinitionBpmnXMLApi
(
row
).
then
((
response
)
=>
{
DefinitionApi
.
getProcessDefinitionBpmnXMLApi
(
row
).
then
((
response
)
=>
{
console
.
log
(
response
,
'response'
)
console
.
log
(
response
,
'response'
)
bpmnXML
.
value
=
response
.
bpmnXml
bpmnXML
.
value
=
response
// 弹窗打开
// 弹窗打开
showBpmnOpen
.
value
=
true
showBpmnOpen
.
value
=
true
})
})
...
@@ -117,7 +123,7 @@ const handleAssignRule = (row) => {
...
@@ -117,7 +123,7 @@ const handleAssignRule = (row) => {
router
.
push
({
router
.
push
({
name
:
'BpmTaskAssignRuleList'
,
name
:
'BpmTaskAssignRuleList'
,
query
:
{
query
:
{
model
Id
:
row
.
id
processDefinition
Id
:
row
.
id
}
}
})
})
}
}
...
...
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