Commit 6bf72999 authored by kangzhenfei's avatar kangzhenfei

OK

parent 1133e1ef
......@@ -334,7 +334,6 @@ export default {
getlistall(id) {
let parme = { shopid: id }
Api.getlistall(parme).then((res) => {
console.log(res)
res.result.map((u) => {
u.checked = false
})
......@@ -369,8 +368,8 @@ export default {
openDrawer() {
let chekids = this.ids
let formData = this.listTask
let timebegin = formData[0].beginTime//: "2020-04-06 10:00:00"
let timend = formData[0].endTime//: "2020-04-06 10:00:00"
let timebegin = formData[0].beginTime
let timend = formData[0].endTime
if (this.button2 == '设备') {
this.entity.taskTime = [timebegin,timend]
this.facilityModal = true
......@@ -378,7 +377,6 @@ export default {
this.pentity.taskTime = [timebegin,timend]
this.manModal = true
}
this.newList = []
chekids.forEach((v) => {
var item = formData.filter((u) => {
......@@ -440,8 +438,7 @@ export default {
})
},
cancle() {
//取消
cancle() {//取消
this.facilityModal = false
this.manModal = false
this.footerToolbar=false
......@@ -470,16 +467,6 @@ export default {
this.footerToolbar = true
return peploeId
},
equipId() {
let equipId = null
this.listSheBei.map((u) => {
if (u.checked) {
equipId = u.id
}
})
// this.footerToolbar = true
return equipId
},
showOperate() {
return this.ids.length > 0 && (this.shebeiId > 0 || this.peploeId.length >0)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment