优化命令页面

master
fanluyan 2 years ago
parent 0dde117b95
commit f25447d691

@ -1017,7 +1017,7 @@ export default {
this.frpcform = {
// ip: "",
// port: "",
server_addr: "180.166.218.22",
server_addr: "180.166.218.222",
server_port: 40204,
frpc_type: "adb",
type: "tcp",

@ -43,6 +43,7 @@
<span class="comMsg"
><b>时间{{ item.createTime }}</b>
<b>设备ID{{ item.cmdid }}</b>
<b v-if="item.cmd.fileName">apk{{ item.cmd.fileName }}</b>
<b>命令{{ cmdCn[item.cmdName] }}</b></span
>
</p>
@ -98,8 +99,9 @@
><b>下发时间{{ item.publishTime }}</b>
<b>设备ID{{ item.cmdid }}</b>
<b>命令{{ cmdCn[item.cmdName] }}</b>
<b>cmd{{ item.cmd }}</b></span
>
<b v-if="item.cmd.fileName">apk{{ item.cmd.fileName }}</b>
<b v-else>cmd{{ item.cmd }}</b>
</span>
</p>
</div>
<div class="commandList" v-else>
@ -242,8 +244,8 @@ export default {
getqueryCmdsApi({ qt: "his", p: 1, ps: 200 })
.then((res) => {
console.log(res);
this.endCommand = res.data;
//this.endCommand = res.data.filter((item) => item.status == "1");
//this.endCommand = res.data;
this.endCommand = res.data.filter((item) => item.status == "1");
this.selectRightChanged(this.operateR);
// this.leftComLoading = false;
this.updateTime = new Date();

Loading…
Cancel
Save