|
|
@ -1755,10 +1755,14 @@ Page({ |
|
|
|
var superAdmin = [] |
|
|
|
var superAdminId |
|
|
|
var deviceimei |
|
|
|
if (this.data.deviceNum.length <= 15) { |
|
|
|
deviceimei = this.data.deviceNum |
|
|
|
} else { |
|
|
|
deviceimei = this.data.deviceNum.slice(this.data.deviceNum.length - 15, this.data.deviceNum.length) |
|
|
|
if(this.data.selectRadio1 == 1201){ |
|
|
|
deviceimei = this.data.lock.imei |
|
|
|
}else if(this.data.selectRadio1 == 1241) { |
|
|
|
if (this.data.deviceNum.length <= 15) { |
|
|
|
deviceimei = this.data.deviceNum |
|
|
|
} else { |
|
|
|
deviceimei = this.data.deviceNum.slice(this.data.deviceNum.length - 15, this.data.deviceNum.length) |
|
|
|
} |
|
|
|
} |
|
|
|
for (let i = 0; i < superAdminIdlist.length; i++) { |
|
|
|
if (superAdminIdlist[i] >= 0 && superAdminIdlist[i] <= 9) { |
|
|
|