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
f7312547
Commit
f7312547
authored
Feb 29, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工时分配操作者可以查询其他班组下的人员,人员取值接口修改
parent
0f9046d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
index.vue
...ateComponents/components/workAllocationEditList/index.vue
+15
-15
No files found.
applications/dee-mes/src/privateComponents/components/workAllocationEditList/index.vue
View file @
f7312547
...
...
@@ -22,6 +22,7 @@
size=
"small"
filterable
remote
:remote-method=
"getUserData"
:loading=
"loading"
@
change=
"saveDxUserInfo"
>
...
...
@@ -157,7 +158,7 @@ export default {
created
()
{
},
mounted
()
{
this
.
getUserData
()
//
this.getUserData()
},
methods
:
{
getTableData
()
{
...
...
@@ -286,19 +287,14 @@ export default {
return
true
}
},
getUserData
()
{
getUserData
(
query
)
{
const
params
=
{
'pageFrom'
:
1
,
'pageSize'
:
9999
,
'pageSize'
:
100
,
'searchItems'
:
{
'children'
:
[
{
'items'
:
[
{
'fieldName'
:
'extProcessSkillId'
,
'operator'
:
'EQ'
,
'value'
:
this
.
basicData
.
joExecutePlan
&&
this
.
basicData
.
joExecutePlan
.
extProcessSkillId
||
this
.
basicData
.
extProcessSkillId
||
''
}
],
'operator'
:
'AND'
}
...
...
@@ -307,6 +303,7 @@ export default {
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'extProcessSkill'
},
{
'name'
:
'dxUserInfo'
},
{
'name'
:
'dxPost'
}
...
...
@@ -320,18 +317,21 @@ export default {
}
this
.
loading
=
true
this
.
userData
=
[]
post
(
`/ExtProcessSkillUser/
search
`
,
params
).
then
(
res
=>
{
post
(
`/ExtProcessSkillUser/
queryAll?user=
${
query
}
`
,
params
).
then
(
res
=>
{
res
.
items
&&
res
.
items
.
content
.
map
(
item
=>
{
this
.
userData
.
push
(
{
label
:
`
${
item
.
dxUserInfo
.
name
}
(
${
item
.
dxUserInfo
.
number
}
)`
,
value
:
item
.
id
}
)
if
(
item
.
dxUserInfo
&&
item
.
extProcessSkill
)
{
this
.
userData
.
push
(
{
label
:
`
${
item
.
dxUserInfo
.
name
}
(
${
item
.
dxUserInfo
.
number
}
)(
${
item
.
extProcessSkill
.
resCode
}
_
${
item
.
extProcessSkill
.
resName
}
)`
,
value
:
item
.
id
}
)
}
})
}).
catch
(
err
=>
{
console
.
log
(
err
)
}).
finally
(()
=>
{
this
.
loading
=
false
})
},
handleAdd
()
{
...
...
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