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
13285b20
Commit
13285b20
authored
May 06, 2024
by
15008242619
Committed by
jingnan
May 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退库单退库入库,工艺审核节点增加试飞中心工艺员
parent
a2571913
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 @
13285b20
...
...
@@ -90,8 +90,8 @@ export default {
'items'
:
[
{
'fieldName'
:
'source.name'
,
'operator'
:
'
EQ
'
,
'value'
:
'工艺员'
'operator'
:
'
IN
'
,
'value'
:
[
'工艺员'
,
'试飞工艺员'
]
}
],
'operator'
:
'AND'
...
...
@@ -116,14 +116,30 @@ export default {
]
}
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
=>
{
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 {
value
:
row
.
target
.
id
,
label
:
row
.
target
.
name
+
'/'
+
row
.
target
.
number
value: row.
value
,
label: row.
label
}
}
))
*/
})
}).
catch
((
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