Compare commits

..

No commits in common. "38888f2c83582455a5ec99ccc1cb8d5d053e5c50" and "d360137c93f908ad023f0fa04a27e6a217bda621" have entirely different histories.

3 changed files with 0 additions and 27 deletions

View File

@ -135,7 +135,6 @@ export default {
this.topList.push(el)
}
})
this.topList.sort(this.compare('equipmentStatu'))
setTimeout(() => {
if(this.topList.length)
this.getData(this.topList[0])
@ -143,14 +142,6 @@ export default {
}
})
},
//
compare(property) {
return function (a, b) {
let value1 = a[property];
let value2 = b[property];
return value1 - value2;
};
},
getData(item) {
// var data={deviceId:item.deviceId}
this.api.getcontrol_cpermission(item.deviceId).then(res => {

View File

@ -118,7 +118,6 @@ export default {
this.topList.push(el)
}
})
this.topList.sort(this.compare('equipmentStatu'))
setTimeout(() => {
if(this.topList.length)
this.getData(this.topList[0])
@ -126,14 +125,6 @@ export default {
}
})
},
//
compare(property) {
return function (a, b) {
let value1 = a[property];
let value2 = b[property];
return value1 - value2;
};
},
getData(item){
var data={deviceId:item.deviceId}
this.api.selControlPermissions(data).then(res=>{

View File

@ -110,7 +110,6 @@ export default {
this.topList.push(el)
}
})
this.topList.sort(this.compare('equipmentStatu'))
setTimeout(() => {
if(this.topList.length)
this.getData(this.topList[0])
@ -118,14 +117,6 @@ export default {
}
})
},
//
compare(property) {
return function (a, b) {
let value1 = a[property];
let value2 = b[property];
return value1 - value2;
};
},
getData(item) {
var data = { deviceId: item.deviceId }
this.api.wxgetpermission(data).then(res => {