代码调整

This commit is contained in:
dong 2022-07-29 13:37:09 +08:00
parent c8d4901149
commit aa344631ff

View File

@ -191,6 +191,7 @@ export default {
}
},
doShow() {
this.searchCmd();
this.getSenderName();
this.getSignedData();
this.dialogShow = true;
@ -245,6 +246,16 @@ export default {
}).catch(error => {
this.$messageBox('查询调度命令失败:' + error.message);
});
},
searchCmd() {
return new Promise((resolve, reject) => {
sendCommandNew(this.group, 'CTC_QUERY_DISPATCH_COMMAND', {}).then((res) => {
console.log(res, '---res----');
resolve();
}).catch(error => {
reject(error.message);
});
});
}
}