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
2ba1080c
Commit
2ba1080c
authored
Apr 04, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备id
parent
849e2b9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
index.vue
pages/aps/dispatch/index.vue
+15
-0
No files found.
pages/aps/dispatch/index.vue
View file @
2ba1080c
...
@@ -334,6 +334,7 @@ export default {
...
@@ -334,6 +334,7 @@ export default {
getlistall
(
id
)
{
getlistall
(
id
)
{
let
parme
=
{
shopid
:
id
}
let
parme
=
{
shopid
:
id
}
Api
.
getlistall
(
parme
).
then
((
res
)
=>
{
Api
.
getlistall
(
parme
).
then
((
res
)
=>
{
console
.
log
(
res
)
res
.
result
.
map
((
u
)
=>
{
res
.
result
.
map
((
u
)
=>
{
u
.
checked
=
false
u
.
checked
=
false
})
})
...
@@ -395,6 +396,7 @@ export default {
...
@@ -395,6 +396,7 @@ export default {
item
.
map
((
u
)
=>
{
item
.
map
((
u
)
=>
{
u
.
userIds
=
this
.
entity
.
userIds
u
.
userIds
=
this
.
entity
.
userIds
u
.
remark
=
this
.
entity
.
remark
u
.
remark
=
this
.
entity
.
remark
u
.
equipId
=
this
.
shebeiId
})
})
// console.log(item)
// console.log(item)
this
.
$refs
[
'formValidate'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'formValidate'
].
validate
((
valid
)
=>
{
...
@@ -402,6 +404,8 @@ export default {
...
@@ -402,6 +404,8 @@ export default {
Api
.
saveTeamentry
(
item
).
then
((
res
)
=>
{
Api
.
saveTeamentry
(
item
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
'设备派工成功。'
)
this
.
$Message
.
success
(
'设备派工成功。'
)
this
.
getUserInfoFn
()
this
.
facilityModal
=
false
}
else
{
}
else
{
this
.
$Message
.
error
(
'设备派工失败...'
)
this
.
$Message
.
error
(
'设备派工失败...'
)
}
}
...
@@ -424,6 +428,7 @@ export default {
...
@@ -424,6 +428,7 @@ export default {
Api
.
saveTeamentry
(
item
).
then
((
res
)
=>
{
Api
.
saveTeamentry
(
item
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
'人员派工成功。'
)
this
.
$Message
.
success
(
'人员派工成功。'
)
this
.
getUserInfoFn
()
this
.
manModal
=
false
this
.
manModal
=
false
}
else
{
}
else
{
this
.
$Message
.
error
(
'人员派工失败...'
)
this
.
$Message
.
error
(
'人员派工失败...'
)
...
@@ -465,6 +470,16 @@ export default {
...
@@ -465,6 +470,16 @@ export default {
this
.
footerToolbar
=
true
this
.
footerToolbar
=
true
return
peploeId
return
peploeId
},
},
equipId
()
{
let
equipId
=
null
this
.
listSheBei
.
map
((
u
)
=>
{
if
(
u
.
checked
)
{
equipId
=
u
.
id
}
})
// this.footerToolbar = true
return
equipId
},
showOperate
()
{
showOperate
()
{
return
this
.
ids
.
length
>
0
&&
(
this
.
shebeiId
>
0
||
this
.
peploeId
.
length
>
0
)
return
this
.
ids
.
length
>
0
&&
(
this
.
shebeiId
>
0
||
this
.
peploeId
.
length
>
0
)
}
}
...
...
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