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
ed56bb88
Commit
ed56bb88
authored
Jul 16, 2024
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签审历史修改
parent
05c7a730
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
13 deletions
+18
-13
index.vue
...workFlowTask/taskDetails/components/taskHistory/index.vue
+18
-13
No files found.
src/views/busniessComponents/workFlowTask/taskDetails/components/taskHistory/index.vue
View file @
ed56bb88
...
...
@@ -31,7 +31,7 @@
</template>
<
script
>
import
{
getInstTaskHisTory
,
getDictListByCode
}
from
'@/api/taskDetail'
import
{
getInstTaskHisTory
}
from
'@/api/taskDetail'
export
default
{
props
:
{
flowData
:
{
...
...
@@ -54,9 +54,8 @@ export default {
},
created
()
{
},
async
mounted
()
{
await
this
.
getDictArr
()
await
this
.
getWorkItemHistory
()
mounted
()
{
this
.
getWorkItemHistory
()
},
computed
:
{},
methods
:
{
...
...
@@ -88,16 +87,22 @@ export default {
(
dateEnd
.
getTime
()
-
dateStart
.
getTime
())
/
(
1000
*
60
*
60
*
24
)
)
},
getDictArr
()
{
getDictListByCode
(
'MigrationPlanStatus'
).
then
(
res
=>
{
if
(
!
res
||
!
res
.
items
)
{
return
[]
}
this
.
dictArr
=
res
.
items
.
content
})
},
translateStatus
(
status
)
{
return
this
.
dictArr
.
find
(
item
=>
item
.
dictKey
===
status
)?.
dictValue
let
str
=
''
switch
(
status
)
{
case
'COMPLETE'
:
str
=
'已完成'
break
case
'BE_RESOLVED'
:
str
=
'待处理'
break
case
'PENDING'
:
str
=
'被委托人待处理'
break
case
'RUNNING'
:
str
=
'进行中'
}
return
str
}
}
}
...
...
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