dedsudiyu 2 years ago
parent
commit
9bcc01b56e

+ 2 - 2
src/views/gasManage3_0/manage/recognizerManage/recognizerManage.vue

@@ -29,11 +29,11 @@
       <el-table-column label="设备编号" align="left" prop="hardwareNum" />
       <el-table-column label="学院" align="center" prop="deptName" width="250"/>
       <el-table-column label="位置" align="center" prop="posi" width="250" show-overflow-tooltip/>
-      <el-table-column label="设备状态" align="left" prop="status">
+      <el-table-column label="设备状态" align="center" prop="status">
         <template slot-scope="scope">
           <el-switch
+            v-hasPermi="['laboratory:hardware7:changeStatus']"
             class="switch"
-            style="margin-left:35px;"
             @change="switchChange(scope.row)"
             v-model="scope.row.onOff+''"
             active-value="1"