Commit e09db54a authored by wanghao's avatar wanghao

1 测试定时任务界面显示数据调整。

parent 0413cc73
......@@ -143,7 +143,7 @@ export default {
}).then(({ value }) => {
batchReadingCabinetStatus(value).then(response => {
if(response.code === 200) {
this.textarea = "批量读取设备状态成功:" + response.data;
this.textarea = "批量读取设备状态成功:" + JSON.stringify(response.data);
this.$message.success("读取成功");
}
})
......@@ -157,7 +157,7 @@ export default {
}).then(({ value }) => {
readingHoldingRegister(value).then(response => {
if(response.code === 200) {
this.textarea = "测试501端口成功:" + response.data;
this.textarea = "测试501端口成功:" + JSON.stringify(response.data);
this.$message.success("测试成功");
}
})
......@@ -184,7 +184,7 @@ export default {
}).then(({ value }) => {
designatedDevicePowerOff(value).then(response => {
if(response.code === 200) {
this.textarea = "指定设备已断电成功:" + response.data;
this.textarea = "指定设备已断电成功:" + JSON.stringify(response.data);
this.$message.success("指定设备已断电成功");
}
})
......@@ -197,7 +197,7 @@ export default {
}).then(({ value }) => {
designatedDevicePowerOn(value).then(response => {
if(response.code === 200) {
this.textarea = "指定设备已上电成功:" + response.data;
this.textarea = "指定设备已上电成功:" + JSON.stringify(response.data);
this.$message.success("指定设备已上电成功");
}
})
......@@ -235,7 +235,7 @@ export default {
}).then(({ value }) => {
sendWriteHour(value).then(response => {
if(response.code === 200) {
this.textarea = "写时间测试成功:" + response.data;
this.textarea = "写时间测试成功:" + JSON.stringify(response.data);
this.$message.success("写时间成功");
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment