xiug
This commit is contained in:
@@ -96,9 +96,6 @@
|
|||||||
async _queryDeviceByarea (e) {
|
async _queryDeviceByarea (e) {
|
||||||
let res = await queryDeviceByarea(e)
|
let res = await queryDeviceByarea(e)
|
||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
res.data.map(el => {
|
|
||||||
el.value = el.text
|
|
||||||
})
|
|
||||||
this.options3 = [...res.data]
|
this.options3 = [...res.data]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -137,7 +134,13 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
let res = await cutUpShaft(this.index2, this.index3, this.index1, this.upL, this.upR)
|
let txt1 = ''
|
||||||
|
this.options1.map(el => {
|
||||||
|
if (el.value === this.index1) {
|
||||||
|
txt1 = el.text
|
||||||
|
}
|
||||||
|
})
|
||||||
|
let res = await cutUpShaft(this.index2, this.index3, txt1, this.upL, this.upR)
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|||||||
Reference in New Issue
Block a user