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
4faf9666
Commit
4faf9666
authored
Nov 07, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
班组定义bug
parent
79fb0d91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
index.vue
...ateComponents/components/AddExtProcessSkillUser/index.vue
+26
-26
No files found.
applications/dee-mes/src/privateComponents/components/AddExtProcessSkillUser/index.vue
View file @
4faf9666
...
...
@@ -82,36 +82,36 @@ export default {
}
}
try
{
const
post
=
await
this
.
$api
.
searchApi
(
'DxPostMemberLink'
,
params
)
if
(
post
.
items
.
content
.
length
)
{
const
postList
=
post
.
items
.
content
[
0
]
tableDataList
.
push
({
dxPost
:
postList
.
source
,
dxUserInfo
:
user
,
dxUserInfoId
:
user
.
id
,
isSkillLeader
:
form
.
isSkillLeader
,
postValidity
:
form
.
postValidity
,
remark
:
form
.
remark
,
sealNo
:
form
.
sealNo
})
}
else
{
tableDataList
.
push
({
dxUserInfo
:
user
,
dxUserInfoId
:
user
.
id
,
isSkillLeader
:
form
.
isSkillLeader
,
postValidity
:
form
.
postValidity
,
remark
:
form
.
remark
,
sealNo
:
form
.
sealNo
})
}
// 判断是否是最后一个用户
if
(
i
===
users
.
length
-
1
)
{
this
.
$emit
(
'submitEvent'
,
{
formData
:
tableDataList
})
}
await
this
.
$api
.
searchApi
(
'DxPostMemberLink'
,
params
).
then
(
post
=>
{
if
(
post
.
items
.
content
.
length
)
{
const
postList
=
post
.
items
.
content
[
0
]
tableDataList
.
push
({
dxPost
:
postList
.
source
,
dxUserInfo
:
user
,
dxUserInfoId
:
user
.
id
,
isSkillLeader
:
form
.
isSkillLeader
,
postValidity
:
form
.
postValidity
,
remark
:
form
.
remark
,
sealNo
:
form
.
sealNo
})
}
else
{
tableDataList
.
push
({
dxUserInfo
:
user
,
dxUserInfoId
:
user
.
id
,
isSkillLeader
:
form
.
isSkillLeader
,
postValidity
:
form
.
postValidity
,
remark
:
form
.
remark
,
sealNo
:
form
.
sealNo
})
}
})
}
catch
(
error
)
{
console
.
error
(
'Error fetching data for user:'
,
user
.
id
,
error
)
}
}))
this
.
$nextTick
(()
=>
{
this
.
$emit
(
'submitEvent'
,
{
formData
:
tableDataList
})
})
}
}
},
...
...
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