|
@@ -110,7 +110,6 @@
|
|
|
<el-dialog :visible.sync="callLogDetailDialog" title="调用日志详情" width="50%">
|
|
|
<div v-if="callLogDetailData">
|
|
|
<p><strong>对象代码:</strong>{{ callLogDetailData.objCode }}</p>
|
|
|
- <p><strong>对象类型:</strong>{{ formatObjType(callLogDetailData.objType) }}</p>
|
|
|
<p><strong>模型代码:</strong>{{ callLogDetailData.modelCode }}</p>
|
|
|
<p><strong>能力标识:</strong>{{ callLogDetailData.abilityKey }}</p>
|
|
|
<p><strong>调用时间:</strong>{{ callLogDetailData.callTime }}</p>
|
|
@@ -129,7 +128,6 @@
|
|
|
<el-dialog :visible.sync="reportDetailDialog" title="设备日志详情" width="50%">
|
|
|
<div v-if="reportDetailData">
|
|
|
<p><strong>对象代码:</strong>{{ reportDetailData.objCode }}</p>
|
|
|
- <p><strong>对象类型:</strong>{{ formatObjType(reportDetailData.objType) }}</p>
|
|
|
<p><strong>消息描述:</strong>{{ reportDetailData.msgDesc }}</p>
|
|
|
<p><strong>上报时间:</strong>{{ reportDetailData.reportTime }}</p>
|
|
|
<p><strong>上报载体:</strong></p>
|
|
@@ -150,7 +148,7 @@
|
|
|
</el-dialog>
|
|
|
|
|
|
<!--详情 -->
|
|
|
- <el-dialog :visible.sync="open" title="设备详情" custom-class="detail-dialog">
|
|
|
+ <el-dialog :visible.sync="open" title="设备详情" custom-class="detail-dialog" width="65%">
|
|
|
<div v-if="curRow">
|
|
|
<el-tabs v-model="activeTab">
|
|
|
<el-tab-pane label="设备基本信息" name="basic"></el-tab-pane>
|
|
@@ -585,12 +583,6 @@ export default {
|
|
|
const seconds = date.getSeconds().toString().padStart(2, '0')
|
|
|
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`
|
|
|
},
|
|
|
- formatObjType(value) {
|
|
|
- const objTypeMap = {
|
|
|
- 2: '设备'
|
|
|
- }
|
|
|
- return objTypeMap[value] || '未知类型'
|
|
|
- },
|
|
|
formatCallStatus(status) {
|
|
|
const statusMap = {
|
|
|
0: '成功',
|