Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
3be652d8
Commit
3be652d8
authored
May 06, 2024
by
15008242619
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退库单退库入库,工艺审核节点增加试飞中心工艺员
parent
8c49b7c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
index.vue
...-mes/src/privateComponents/components/backApply/index.vue
+21
-5
No files found.
applications/dee-mes/src/privateComponents/components/backApply/index.vue
View file @
3be652d8
...
@@ -90,8 +90,8 @@ export default {
...
@@ -90,8 +90,8 @@ export default {
'items'
:
[
'items'
:
[
{
{
'fieldName'
:
'source.name'
,
'fieldName'
:
'source.name'
,
'operator'
:
'
EQ
'
,
'operator'
:
'
IN
'
,
'value'
:
'工艺员'
'value'
:
[
'工艺员'
,
'试飞工艺员'
]
}
}
],
],
'operator'
:
'AND'
'operator'
:
'AND'
...
@@ -116,14 +116,30 @@ export default {
...
@@ -116,14 +116,30 @@ export default {
]
]
}
}
post
(
'/DxGroupMemberLink/search'
,
httpParams
).
then
(
res
=>
{
post
(
'/DxGroupMemberLink/search'
,
httpParams
).
then
(
res
=>
{
const
arr
=
[]
const
ids
=
[]
res
.
items
.
content
.
forEach
(
item
=>
{
if
(
ids
.
indexOf
(
item
.
target
.
id
)
===
-
1
)
{
ids
.
push
(
item
.
target
.
id
)
arr
.
push
({
value
:
item
.
target
.
id
,
label
:
item
.
target
.
name
+
'/'
+
item
.
target
.
number
})
}
})
this
.
formData
[
0
].
data
.
forEach
(
item
=>
{
this
.
formData
[
0
].
data
.
forEach
(
item
=>
{
item
.
key
===
'userIds'
&&
(
item
.
component
.
options
=
res
.
items
.
content
.
map
(
row
=>
{
if
(
item
.
key
===
'userIds'
)
{
item
.
component
.
options
=
arr
}
/**
item.key === 'userIds' && (item.component.options = arr.map(row => {
return {
return {
value
:
row
.
target
.
id
,
value: row.
value
,
label
:
row
.
target
.
name
+
'/'
+
row
.
target
.
number
label: row.
label
}
}
}
}
))
))
*/
})
})
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
...
...
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