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
d0da7d67
authored
Feb 12, 2025
by
lizhixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 流程发布校验是否存在进行中的单据
parent
4f8b2830
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/views/bpm/model/CategoryDraggableModel.vue
+3
-4
src/views/bpm/model/form/index.vue
+1
-2
No files found.
src/views/bpm/model/CategoryDraggableModel.vue
View file @
d0da7d67
...
...
@@ -159,7 +159,7 @@
<el-button
link
type=
"primary"
@
click=
"openModelForm('update', scope.row.id
, scope.row.processDefinition?.id
)"
@
click=
"openModelForm('update', scope.row.id)"
v-if=
"hasPermiUpdate"
:disabled=
"!isManagerUser(scope.row)"
>
...
...
@@ -590,14 +590,13 @@ const handleDeleteCategory = async () => {
/** 添加流程模型弹窗 */
const
tagsView
=
useTagsView
()
const
openModelForm
=
async
(
type
:
string
,
id
?:
number
,
processDefinitionId
?:
any
)
=>
{
const
openModelForm
=
async
(
type
:
string
,
id
?:
number
)
=>
{
if
(
type
===
'create'
)
{
await
push
({
name
:
'BpmModelCreate'
})
}
else
{
const
params
=
processDefinitionId
?
{
id
,
type
,
processDefinitionId
}
:
{
id
,
type
}
await
push
({
name
:
'BpmModelUpdate'
,
params
:
params
params
:
{
id
,
type
}
})
// 设置标题
if
(
type
===
'copy'
)
{
...
...
src/views/bpm/model/form/index.vue
View file @
d0da7d67
...
...
@@ -162,8 +162,7 @@ const formData: any = ref({
summarySetting
:
{
enable
:
false
,
summary
:
[]
},
processDefinitionId
:
undefined
}
})
//流程数据
...
...
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