Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
9ad7b305
Commit
9ad7b305
authored
Jun 22, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user
parent
88e15c87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
process.vue
pages/handle/process.vue
+14
-2
No files found.
pages/handle/process.vue
View file @
9ad7b305
...
...
@@ -49,6 +49,15 @@
</div>
<div
style=
"width:98%"
v-if=
"com(item.records).length>0"
>
<Table
:columns=
"columns"
border
size=
"small"
width=
"90%"
:data=
"com(item.records)"
></Table>
<p>
<state
code=
"workflow.record.status"
:value=
"item.status"
type=
"text"
></state>
<!--
<User
v-for=
"(item2, index2) in item.defaultUsers.immutable"
:key=
"index2"
:value=
"item2"
class=
"mr5"
/>
-->
<!--
<span>
{{
item
}}
</span>
-->
</p>
</div>
</div>
</TimelineItem>
...
...
@@ -60,6 +69,9 @@ import Api from './api'
export
default
{
name
:
'process'
,
components
:
{},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
'loadDictionary'
)
// 加载数据字典
},
data
()
{
return
{
currentUserId
:
0
,
...
...
@@ -181,8 +193,8 @@ export default {
com
(
items
)
{
if
(
items
)
return
items
.
filter
((
u
)
=>
{
return
[
2
,
3
,
5
,
6
].
indexOf
(
u
.
status
)
>
-
1
})
return
[
2
,
3
,
5
,
6
].
indexOf
(
u
.
status
)
>
-
1
})
else
return
[];
},
...
...
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