Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
6
608-pdm-web-5g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pdm
608-pdm-web-5g
Commits
7dd92652
Commit
7dd92652
authored
Aug 14, 2024
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成任务问题修改
parent
d2e4e9e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
25 deletions
+24
-25
index.vue
...ews/busniessComponents/workFlowTask/taskDetails/index.vue
+24
-25
No files found.
src/views/busniessComponents/workFlowTask/taskDetails/index.vue
View file @
7dd92652
...
...
@@ -301,31 +301,30 @@ export default {
taskVariables
:
{},
variables
:
{}
}
console
.
log
(
'obj'
,
obj
)
// completeTask(obj)
// .then((res) => {
// Notify({
// type: 'success',
// message: res.message,
// onOpened: () => {
// // sessionStorage.setItem('finishWork', true)
// this.$refs.taskBtnRef.comLoading = false
// this.$router.go(-1)
// // if (this.todoListTitle.includes('待办')) {
// // this.$router.push({
// // path: '/todoList?title=待办任务'
// // })
// // } else if (this.todoListTitle.includes('我发起')) {
// // this.$router.push({
// // path: '/todoList?title=我发起的任务'
// // })
// // }
// }
// })
completeTask
(
obj
)
.
then
((
res
)
=>
{
Notify
({
type
:
'success'
,
message
:
res
.
message
,
onOpened
:
()
=>
{
// sessionStorage.setItem('finishWork', true)
this
.
$refs
.
taskBtnRef
.
comLoading
=
false
this
.
$router
.
go
(
-
1
)
// if (this.todoListTitle.includes('待办')) {
// this.$router.push({
// path: '/todoList?title=待办任务'
// })
// .catch((e) => {
// this.$refs.taskBtnRef.comLoading = false
// } else if (this.todoListTitle.includes('我发起')) {
// this.$router.push({
// path: '/todoList?title=我发起的任务'
// })
// }
}
})
})
.
catch
((
e
)
=>
{
this
.
$refs
.
taskBtnRef
.
comLoading
=
false
})
}
}
}
...
...
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