|
@@ -81,7 +81,7 @@
|
|
|
<el-descriptions-item label="设备名称">{{ detail.name }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="所属产品">
|
|
|
<router-link :to="'/iotmanager/device/product/detail/' + prodetail.key" class="link-type">{{
|
|
|
- detail.productName }} </router-link>
|
|
|
+ detail.productName }} </router-link>
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="消息协议">{{ prodetail.messageProtocol }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="链接协议">{{ prodetail.transportProtocol }}</el-descriptions-item>
|
|
@@ -136,11 +136,11 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="说明" prop="desc" show-overflow-tooltip />
|
|
|
- <el-table-column label="操作" width="300" align="center" fixed="right">
|
|
|
+ <el-table-column label="操作" width="150" align="right" header-align="center" fixed="right">
|
|
|
<template #default="scope">
|
|
|
+ <el-button size="small" text type="primary" v-auth="'edit'" v-if="!scope.row.accessMode" @click="setAttr(scope.row)">设置属性</el-button>
|
|
|
<el-button size="small" text type="warning" v-auth="'edit'" @click="onEditAttr(scope.row)">修改</el-button>
|
|
|
<el-button size="small" text type="danger" v-auth="'del'" @click="onRowDel(scope.row.key, 'attr')">删除</el-button>
|
|
|
- <el-button size="small" text type="primary" v-auth="'edit'" @click="setAttr(scope.row)">设置属性</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|