|
|
@ -268,22 +268,21 @@ export default { |
|
|
|
const options={ |
|
|
|
"ASK":"7" |
|
|
|
} |
|
|
|
let ask = await this.requestURL("ASKDF",options); |
|
|
|
|
|
|
|
let workingMode = await this.requestURL("ASKMD"); |
|
|
|
// if (result.data == 7) { |
|
|
|
// this.activeName = "second"; |
|
|
|
// this.tabClick(); |
|
|
|
// } else { |
|
|
|
console.log("工作模式") |
|
|
|
console.log(workingMode.data) |
|
|
|
this.formData.controlType = workingMode.data + "" || "0"; |
|
|
|
// let ask = await this.requestURL("ASKDF",options); |
|
|
|
//查询时间 |
|
|
|
let resultTime = await this.requestURL("ASKTM"); |
|
|
|
console.log("工作时长") |
|
|
|
console.log(resultTime.data) |
|
|
|
this.formData.onWorkStatus = resultTime.data || 0; |
|
|
|
this.formData.onWorkStatus = resultTime.data + "" || "0"; |
|
|
|
this.activeName = "first"; |
|
|
|
|
|
|
|
|
|
|
|
let workingMode = await this.requestURL("ASKMD"); |
|
|
|
|
|
|
|
console.log("工作模式") |
|
|
|
console.log(workingMode.data) |
|
|
|
this.formData.controlType = workingMode.data + "" || "0"; |
|
|
|
|
|
|
|
// } |
|
|
|
}, |
|
|
|
async requestURL(functionId, options = {}) { |
|
|
|