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
6bf72999
Commit
6bf72999
authored
Apr 04, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OK
parent
1133e1ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
16 deletions
+3
-16
index.vue
pages/aps/dispatch/index.vue
+3
-16
No files found.
pages/aps/dispatch/index.vue
View file @
6bf72999
...
@@ -334,7 +334,6 @@ export default {
...
@@ -334,7 +334,6 @@ 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
})
})
...
@@ -369,8 +368,8 @@ export default {
...
@@ -369,8 +368,8 @@ export default {
openDrawer
()
{
openDrawer
()
{
let
chekids
=
this
.
ids
let
chekids
=
this
.
ids
let
formData
=
this
.
listTask
let
formData
=
this
.
listTask
let
timebegin
=
formData
[
0
].
beginTime
//: "2020-04-06 10:00:00"
let
timebegin
=
formData
[
0
].
beginTime
let
timend
=
formData
[
0
].
endTime
//: "2020-04-06 10:00:00"
let
timend
=
formData
[
0
].
endTime
if
(
this
.
button2
==
'设备'
)
{
if
(
this
.
button2
==
'设备'
)
{
this
.
entity
.
taskTime
=
[
timebegin
,
timend
]
this
.
entity
.
taskTime
=
[
timebegin
,
timend
]
this
.
facilityModal
=
true
this
.
facilityModal
=
true
...
@@ -378,7 +377,6 @@ export default {
...
@@ -378,7 +377,6 @@ export default {
this
.
pentity
.
taskTime
=
[
timebegin
,
timend
]
this
.
pentity
.
taskTime
=
[
timebegin
,
timend
]
this
.
manModal
=
true
this
.
manModal
=
true
}
}
this
.
newList
=
[]
this
.
newList
=
[]
chekids
.
forEach
((
v
)
=>
{
chekids
.
forEach
((
v
)
=>
{
var
item
=
formData
.
filter
((
u
)
=>
{
var
item
=
formData
.
filter
((
u
)
=>
{
...
@@ -440,8 +438,7 @@ export default {
...
@@ -440,8 +438,7 @@ export default {
})
})
},
},
cancle
()
{
cancle
()
{
//取消
//取消
this
.
facilityModal
=
false
this
.
facilityModal
=
false
this
.
manModal
=
false
this
.
manModal
=
false
this
.
footerToolbar
=
false
this
.
footerToolbar
=
false
...
@@ -470,16 +467,6 @@ export default {
...
@@ -470,16 +467,6 @@ 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