Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
29e4e493
authored
2025-03-06 09:29:07 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 重新发起
1 parent
700c2295
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/api/modules/workFlowService.ts
src/components/ApprovalProcess/dialog_approval.vue
src/api/modules/workFlowService.ts
View file @
29e4e49
...
...
@@ -74,7 +74,7 @@ export const getCrossDetailList = (params) => request({
/** 重新发起失败的流程 */
export
const
crossPlatformApprove
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_WORK_FLOW_URL
}
/approve-detail-cross/
list
?guid=
${
params
.
guid
}
&approveGuid=
${
params
.
approveGuid
}
`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_WORK_FLOW_URL
}
/approve-detail-cross/
add-cross-platform-approve
?guid=
${
params
.
guid
}
&approveGuid=
${
params
.
approveGuid
}
`
,
method
:
'post'
,
data
:
{}
})
...
...
src/components/ApprovalProcess/dialog_approval.vue
View file @
29e4e49
...
...
@@ -38,6 +38,7 @@ const dialogInfo = ref({
watch
(()
=>
props
.
visible
,
()
=>
{
dialogInfo
.
value
.
visible
=
props
.
visible
;
if
(
props
.
visible
)
{
isReSubmit
.
value
=
false
;
tableInfo
.
value
.
data
=
[];
tableInfo
.
value
.
actionInfo
.
show
=
props
.
currentRowInfo
?.
crossPlatformApproveState
==
'E'
;
gettableList
();
...
...
@@ -61,6 +62,7 @@ const gettableList = () => {
d
.
approveState
=
d
.
approveState
==
null
?
undefined
:
d
.
approveState
;
return
d
;
});
tableInfo
.
value
.
actionInfo
.
show
=
tableInfo
.
value
.
data
?.[
0
]
&&
data
?.[
0
]?.
approveState
==
'E'
;
}
else
{
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
...
...
@@ -104,8 +106,8 @@ const tableInfo = ref({
type
:
"success"
,
message
:
'重新发起成功'
,
});
gettableList
();
isReSubmit
.
value
=
true
;
tableInfo
.
value
.
actionInfo
.
show
=
false
;
}
else
{
proxy
.
$ElMessage
({
type
:
"error"
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment