|
@@ -143,7 +143,7 @@
|
|
|
|
|
|
<el-table style="width: 100%" :data="tableData.data" v-if="activetab == 'attr'">
|
|
|
<el-table-column label="属性标识" align="center" prop="key" />
|
|
|
- <el-table-column label="属性名称" prop="name" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="属性名称" prop="name" show-overflow-tooltip />
|
|
|
<el-table-column prop="valueType" label="数据类型" width="100" align="center">
|
|
|
<template #default="scope">
|
|
|
<span>{{ scope.row.valueType.type }}</span>
|
|
@@ -165,7 +165,7 @@
|
|
|
<el-tag type="success" size="small" v-else>读写</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="说明" prop="desc" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="说明" prop="desc" show-overflow-tooltip />
|
|
|
<el-table-column label="操作" width="300" align="center" fixed="right">
|
|
|
<template #default="scope">
|
|
|
<el-button size="small" text type="warning" v-auth="'edit'"
|
|
@@ -188,9 +188,9 @@
|
|
|
|
|
|
<el-table style="width: 100%" :data="tableData.data" v-if="activetab == 'fun'">
|
|
|
<el-table-column label="功能标识" align="center" prop="key" />
|
|
|
- <el-table-column label="名称" prop="name" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="名称" prop="name" show-overflow-tooltip />
|
|
|
|
|
|
- <el-table-column label="描述" prop="desc" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="描述" prop="desc" show-overflow-tooltip />
|
|
|
<el-table-column label="操作" width="300" align="center" fixed="right">
|
|
|
<template #default="scope">
|
|
|
<el-button size="small" text type="warning" v-auth="'edit'"
|
|
@@ -211,7 +211,7 @@
|
|
|
|
|
|
<el-table style="width: 100%" :data="tableData.data" v-if="activetab == 'event'">
|
|
|
<el-table-column label="事件标识" align="center" prop="key" />
|
|
|
- <el-table-column label="名称" prop="name" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="名称" prop="name" show-overflow-tooltip />
|
|
|
<el-table-column prop="level" label="事件级别" width="120" align="center">
|
|
|
<template #default="scope">
|
|
|
<el-tag type="primary" size="small" v-if="scope.row.level == 0">普通</el-tag>
|
|
@@ -219,7 +219,7 @@
|
|
|
<el-tag type="danger" size="small" v-if="scope.row.level == 2">紧急</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="描述" prop="desc" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="描述" prop="desc" show-overflow-tooltip />
|
|
|
|
|
|
<el-table-column label="操作" width="300" align="center" fixed="right">
|
|
|
<template #default="scope">
|
|
@@ -242,7 +242,7 @@
|
|
|
|
|
|
<el-table style="width: 100%" :data="tableData.data" v-if="activetab == 'tab'">
|
|
|
<el-table-column label="属性标识" align="center" prop="key" />
|
|
|
- <el-table-column label="属性名称" prop="name" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="属性名称" prop="name" show-overflow-tooltip />
|
|
|
<el-table-column prop="valueType" label="数据类型" width="120" align="center">
|
|
|
<template #default="scope">
|
|
|
<span>{{ scope.row.valueType.type }}</span>
|
|
@@ -254,7 +254,7 @@
|
|
|
<el-tag type="success" size="small" v-else>读写</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="描述" prop="desc" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="描述" prop="desc" show-overflow-tooltip />
|
|
|
<el-table-column label="操作" width="300" align="center" fixed="right">
|
|
|
<template #default="scope">
|
|
|
<el-button size="small" text type="warning" v-auth="'edit'"
|
|
@@ -305,9 +305,9 @@
|
|
|
</div>
|
|
|
<el-table style="width: 100%" :data="logtableData.data">
|
|
|
<el-table-column label="类型" align="center" prop="type" />
|
|
|
- <el-table-column label="时间" prop="ts" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="时间" prop="ts" show-overflow-tooltip />
|
|
|
|
|
|
- <el-table-column label="内容" prop="content" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="内容" prop="content" show-overflow-tooltip />
|
|
|
<el-table-column label="操作" width="300" align="center" fixed="right">
|
|
|
<template #default="scope">
|
|
|
<el-button size="small" text type="warning" @click="onLogDetail(scope.row)">查看</el-button>
|
|
@@ -332,9 +332,9 @@
|
|
|
<el-table :data="deviceTableData.data" style="width: 100%" @selection-change="handleSelectionChange"
|
|
|
v-loading="deviceTableData.loading">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="标识" prop="key" width="130" :show-overflow-tooltip="true" />
|
|
|
- <el-table-column label="设备名称" prop="name" :show-overflow-tooltip="true" />
|
|
|
- <el-table-column label="产品名称" prop="productName" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="标识" prop="key" width="130" show-overflow-tooltip />
|
|
|
+ <el-table-column label="设备名称" prop="name" show-overflow-tooltip />
|
|
|
+ <el-table-column label="产品名称" prop="productName" show-overflow-tooltip />
|
|
|
|
|
|
<el-table-column prop="status" label="状态" width="100" align="center">
|
|
|
<template #default="scope">
|