|
@@ -64,8 +64,16 @@
|
|
|
|
|
|
<el-table v-loading="loading" border :data="tableData">
|
|
|
<el-table-column label="实验室" align="left" prop="name" width="300" show-overflow-tooltip/>
|
|
|
- <el-table-column label="安全分类" align="left" prop="typeName" width="140"/>
|
|
|
- <el-table-column label="安全分级" align="left" prop="leveName" width="140"/>
|
|
|
+ <el-table-column label="安全分类" align="left" prop="typeName" width="140">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-for="(item,index) in typeList" :key="index" v-if="item.id == scope.row.typeId">{{item.typeName}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="安全分级" align="left" prop="leveName" width="140">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-for="(item,index) in levelList" :key="index" v-if="item.id == scope.row.level">{{item.classifiedName}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="危险源" align="left" prop="labSensorHazardRelationsList" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<span style="margin-right:10px;" v-for="(item,index) in scope.row.labSensorHazardRelationsList" :key="index">
|