|
@@ -26,10 +26,11 @@
|
|
|
</el-form>
|
|
|
|
|
|
<el-table border v-loading="loading" :data="sensorList">
|
|
|
- <el-table-column label="设备编号" align="left" prop="hardwareNum" />
|
|
|
- <el-table-column label="学院" align="center" prop="deptName" width="250"/>
|
|
|
+ <el-table-column label="设备名称" align="left" prop="deviceName" show-overflow-tooltip/>
|
|
|
+ <el-table-column label="设备编号" align="left" prop="hardwareNum" show-overflow-tooltip/>
|
|
|
+ <el-table-column label="学院" align="center" prop="deptName" width="200" show-overflow-tooltip/>
|
|
|
<el-table-column label="位置" align="center" prop="position" width="250" show-overflow-tooltip/>
|
|
|
- <el-table-column label="设备状态" align="center" prop="status">
|
|
|
+ <el-table-column label="设备状态" align="center" prop="status" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<el-switch
|
|
|
v-hasPermi="['laboratory:hardware7:changeStatus']"
|
|
@@ -44,9 +45,9 @@
|
|
|
</el-switch>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="创建时间" align="center" prop="createTime" width="250"/>
|
|
|
- <el-table-column label="创建人" align="center" prop="createBy" width="250"/>
|
|
|
- <el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="220">
|
|
|
+ <el-table-column label="创建时间" align="center" prop="createTime" width="200" show-overflow-tooltip/>
|
|
|
+ <el-table-column label="创建人" align="center" prop="createBy" width="200" show-overflow-tooltip/>
|
|
|
+ <el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="button-box">
|
|
|
<p class="table-min-button"
|
|
@@ -544,22 +545,28 @@ export default {
|
|
|
//}
|
|
|
.form-input-ip-box{
|
|
|
display: flex;
|
|
|
+ width:550px;
|
|
|
.form-ip{
|
|
|
- width:350px;
|
|
|
+ margin-right:0;
|
|
|
+ width:340px;
|
|
|
.el-form-item__label{
|
|
|
width:130px!important;
|
|
|
}
|
|
|
input{
|
|
|
- width:220px;
|
|
|
+ width:200px;
|
|
|
}
|
|
|
}
|
|
|
.form-port{
|
|
|
- width:170px;
|
|
|
+ margin-right:0;
|
|
|
+ flex:1;
|
|
|
.el-form-item__label{
|
|
|
width:50px!important;
|
|
|
}
|
|
|
input{
|
|
|
- width:120px;
|
|
|
+ width:140px;
|
|
|
+ }
|
|
|
+ input{
|
|
|
+ /*width:120px;*/
|
|
|
}
|
|
|
}
|
|
|
}
|