|
|
@@ -66,14 +66,13 @@
|
|
66
|
66
|
</el-dropdown-menu>
|
|
67
|
67
|
</el-dropdown> -->
|
|
68
|
68
|
<div class="device-content" style="display: flex; flex-direction: column; height: 100%;">
|
|
69
|
|
- <p class="device-name" style="font-size: 14px; margin-bottom: 8px;"><strong>{{ device.name
|
|
70
|
|
- }}</strong></p>
|
|
|
69
|
+ <p class="device-name" style="font-size: 14px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"><strong>{{ device.name }}</strong></p>
|
|
71
|
70
|
<div class="device-detail" style="display: flex; height: 100%;">
|
|
72
|
|
- <div class="device-img" style="width: 80px; padding-right: 12px;">
|
|
|
71
|
+ <!-- <div class="device-img" style="width: 80px; padding-right: 12px;">
|
|
73
|
72
|
<img src="@/assets/images/ippbx.png" alt=""
|
|
74
|
73
|
style="max-height: 80px; object-fit: contain;" />
|
|
75
|
|
- </div>
|
|
76
|
|
- <div class="device-info" style="width: 50%;">
|
|
|
74
|
+ </div> -->
|
|
|
75
|
+ <div class="device-info">
|
|
77
|
76
|
<p class="device-ip" style="font-size: 12px; color: #666; margin-bottom: 4px;">{{ device.ip
|
|
78
|
77
|
}}</p>
|
|
79
|
78
|
<el-tag v-if="device.status === null" type="info">未知</el-tag>
|
|
|
@@ -340,8 +339,8 @@ export default {
|
|
340
|
339
|
// 服务状态数据
|
|
341
|
340
|
services: [
|
|
342
|
341
|
{ id: 1, name: 'py_api', exeName: 'api', status: 'stopped' },
|
|
343
|
|
- { id: 2, name: 'vc_control', exeName: 'app.exe', status: 'stopped' },
|
|
344
|
|
- { id: 3, name: 'rec', exeName: 'filezilla.exe', status: 'stopped' },
|
|
|
342
|
+ { id: 2, name: 'vc_control', exeName: 'VCAPP.exe', status: 'stopped' },
|
|
|
343
|
+ { id: 3, name: 'rec', exeName: 'Rec.exe', status: 'stopped' },
|
|
345
|
344
|
],
|
|
346
|
345
|
// 服务器信息
|
|
347
|
346
|
server: [],
|
|
|
@@ -477,7 +476,9 @@ export default {
|
|
477
|
476
|
},
|
|
478
|
477
|
refreshDeviceStatus () {
|
|
479
|
478
|
this.$modal.loading("操作中,请稍候!");
|
|
480
|
|
- execCommand(4).then(res => {
|
|
|
479
|
+ execCommand(4, {
|
|
|
480
|
+ isReturn: 1,
|
|
|
481
|
+ }).then(res => {
|
|
481
|
482
|
// this.$modal.closeLoading();
|
|
482
|
483
|
console.log(res.msg.replace(/\r\n/g, '').replace(/""/g, '"'));
|
|
483
|
484
|
console.log(JSON.parse(res.msg.replace(/\r\n/g, '').replace(/""/g, '"')), 'refreshDeviceStatus');
|