|
@ -160,22 +160,22 @@ |
|
|
<el-table ref="table" v-loading="crud.loading" :data="crud.data" highlight-current-row style="width: 100%;" height="calc(100vh - 295px)" @selection-change="selectionChangeHandler" @row-click="clickRowHandler"> |
|
|
<el-table ref="table" v-loading="crud.loading" :data="crud.data" highlight-current-row style="width: 100%;" height="calc(100vh - 295px)" @selection-change="selectionChangeHandler" @row-click="clickRowHandler"> |
|
|
<el-table-column align="center" type="selection" width="50" /> |
|
|
<el-table-column align="center" type="selection" width="50" /> |
|
|
<el-table-column align="center" type="index" label="序号" width="55" /> |
|
|
<el-table-column align="center" type="index" label="序号" width="55" /> |
|
|
<el-table-column align="center" prop="storeroomId.name" label="所属区域" width="100" /> |
|
|
|
|
|
|
|
|
<el-table-column align="center" prop="storeroomId.name" label="所属区域" width="100" show-overflow-tooltip /> |
|
|
<el-table-column align="center" label="设备状态" width="100"> |
|
|
<el-table-column align="center" label="设备状态" width="100"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span :class="{ 'spk-a': scope.row.deviceState === 1 }" /> |
|
|
<span :class="{ 'spk-a': scope.row.deviceState === 1 }" /> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column align="center" prop="deviceTypeId.name" label="设备类型" /> |
|
|
|
|
|
<el-table-column align="center" prop="supplierId.name" label="设备厂商" width="100" /> |
|
|
|
|
|
<el-table-column align="center" prop="deviceName" label="设备名称" /> |
|
|
|
|
|
<el-table-column align="center" label="设备ID"> |
|
|
|
|
|
|
|
|
<el-table-column align="center" prop="deviceTypeId.name" label="设备类型" show-overflow-tooltip /> |
|
|
|
|
|
<el-table-column align="center" prop="supplierId.name" label="设备厂商" width="100" show-overflow-tooltip /> |
|
|
|
|
|
<el-table-column align="center" prop="deviceName" label="设备名称" show-overflow-tooltip /> |
|
|
|
|
|
<el-table-column align="center" label="设备ID" show-overflow-tooltip> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.deviceId"> {{ scope.row.deviceId }} </span> |
|
|
<span v-if="scope.row.deviceId"> {{ scope.row.deviceId }} </span> |
|
|
<span v-else>——</span> |
|
|
<span v-else>——</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column align="center" label="接口IP" width="120"> |
|
|
|
|
|
|
|
|
<el-table-column align="center" label="接口IP" width="120" show-overflow-tooltip> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.deviceIp"> {{ scope.row.deviceIp }} </span> |
|
|
<span v-if="scope.row.deviceIp"> {{ scope.row.deviceIp }} </span> |
|
|
<span v-else>——</span> |
|
|
<span v-else>——</span> |
|
|