|
@@ -36,7 +36,8 @@
|
|
|
<el-table class="table-box" v-loading="loading" border :data="dataList">
|
|
|
<el-table-column label="名称" prop="hardwareTypeName" show-overflow-tooltip/>
|
|
|
<el-table-column label="标识" prop="hardwareTypeKey" width="200" show-overflow-tooltip/>
|
|
|
- <el-table-column label="状态" prop="state" width="100" show-overflow-tooltip>
|
|
|
+ <el-table-column label="状态" prop="state" width="100" show-overflow-tooltip
|
|
|
+ v-hasPermiRouter="['iot:hardwareType:edit']">
|
|
|
<template slot-scope="scope">
|
|
|
<el-switch
|
|
|
@click.native="tableButton(5,scope.row)"
|