|
@@ -62,13 +62,19 @@
|
|
></el-switch>
|
|
></el-switch>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="危险源" align="left" prop="createName"/>
|
|
|
|
|
|
+ <el-table-column label="危险源" align="left" prop="isConfigHazard" width="100">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span v-if="scope.row.isConfigHazard">已配置</span>
|
|
|
|
+ <span v-if="!scope.row.isConfigHazard" style="color: #FF0000;">未配置</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column label="添加人" align="left" prop="createName"/>
|
|
<el-table-column label="添加人" align="left" prop="createName"/>
|
|
<el-table-column label="添加时间" align="left" prop="createTime">
|
|
<el-table-column label="添加时间" align="left" prop="createTime">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ parseTime(scope.row.createTime,"{y}-{m}-{d} {h}:{i}") }}</span>
|
|
<span>{{ parseTime(scope.row.createTime,"{y}-{m}-{d} {h}:{i}") }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+
|
|
<el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="120" v-if="tableButtonType">
|
|
<el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="120" v-if="tableButtonType">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div class="table-button-box">
|
|
<div class="table-button-box">
|