6170控制设备接口,添加参数imei
This commit is contained in:
@ -484,7 +484,8 @@
|
||||
|
||||
let data = {
|
||||
deviceId: this.deviceID,
|
||||
instructValue: this.sliderValue + '.00'
|
||||
instructValue: this.sliderValue + '.00',
|
||||
deviceImei:this.itemInfo.deviceImei
|
||||
}
|
||||
lightBrightnessSettings(data).then((res) => {
|
||||
if (res.code !== 200) {
|
||||
@ -502,7 +503,8 @@
|
||||
|
||||
let data = {
|
||||
deviceId: this.apiType === 'listA' ? this.deviceID : this.itemInfo.deviceId,
|
||||
instructValue: this.sliderValue + '.00'
|
||||
instructValue: this.sliderValue + '.00',
|
||||
deviceImei:this.itemInfo.deviceImei
|
||||
}
|
||||
lightBrightnessSettings(data).then((res) => {
|
||||
if (res.code == 200) {
|
||||
@ -581,7 +583,8 @@
|
||||
this.selectedItemIndex = this.selectedItemIndex;
|
||||
let data = {
|
||||
deviceId: this.apiType === 'listA' ? this.deviceID : this.itemInfo.deviceId,
|
||||
instructValue: selectedItem.instructValue
|
||||
instructValue: selectedItem.instructValue,
|
||||
deviceImei:this.itemInfo.deviceImei
|
||||
}
|
||||
lightModeSettings(data).then((res) => {
|
||||
if (res.code == 200) {
|
||||
@ -607,7 +610,8 @@
|
||||
const instructValue = this.isLaserOn ? 0 : 1;
|
||||
let data = {
|
||||
deviceId: this.apiType === 'listA' ? this.deviceID : this.itemInfo.deviceId,
|
||||
instructValue: instructValue
|
||||
instructValue: instructValue,
|
||||
deviceImei:this.itemInfo.deviceImei
|
||||
}
|
||||
laserModeSettings(data).then((res) => {
|
||||
if (res.code == 200) {
|
||||
@ -690,6 +694,7 @@
|
||||
name: 'file',
|
||||
formData: {
|
||||
deviceId: this.apiType === 'listA' ? this.deviceID : this.itemInfo.deviceId,
|
||||
deviceImei:this.itemInfo.deviceImei
|
||||
},
|
||||
header: {
|
||||
'Authorization': 'Bearer ' + getToken(),
|
||||
|
Reference in New Issue
Block a user