1.优化重复图片列表

pet
guoyuepeng 2024-11-19 10:31:35 +08:00
parent c97736a3cb
commit 5068f503c0
2 changed files with 34 additions and 15 deletions

View File

@ -149,14 +149,6 @@
highlight-current-row
>
<el-table-column type="selection" width="55" align="center" />
<!-- <el-table-column prop="SOURCE" label="隐患来源">-->
<!-- <template slot-scope="{row}">-->
<!-- <span v-if="row.SOURCE == 1"></span>-->
<!-- <span v-else-if="row.SOURCE == 4">安全环保检查(监管端)</span>-->
<!-- <span v-else-if="row.SOURCE == 5">安全环保检查(企业端)</span>-->
<!-- <span v-else></span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="隐患来源" >
<template slot-scope="{row}">
<template v-if="row.SOURCE=='1'"> </template>
@ -171,12 +163,6 @@
<el-table-column prop="DISCOVERYTIME" label="隐患发现时间" width="160"/>
<el-table-column prop="CONFIRM_USER" label="确认人" width="120"/>
<el-table-column prop="RECTIFICATIONOR_NAME" label="整改负责人" width="120"/>
<!-- <template slot-scope="{row}">-->
<!-- <template v-if="row.SOURCE == 4">{{ row.RECTIFICATIONOR_NAME }}</template>-->
<!-- <template v-else-if="row.SOURCE == 5">{{ row.RECTIFICATIONOR_NAME }}</template>-->
<!-- <template v-else>{{ row.RECTIFICATIONOR }}</template>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column prop="STATE" label="隐患状态">
<template slot-scope="{row}">
<span v-if="row.STATE == 0"></span>

View File

@ -15,6 +15,39 @@
highlight-current-row>
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column type = "index" label="序号" width="50" align = "center" />
<el-table-column label="隐患来源" >
<template slot-scope="{row}">
<template v-if="row.SOURCE=='1'"> </template>
<template v-else-if="row.SOURCE=='2'">清单排查 </template>
<template v-else-if="row.SOURCE=='3'">清单排查 </template>
<template v-else-if="row.SOURCE=='4'">安全环保检查(监管端) </template>
<template v-else-if="row.SOURCE=='5'">安全环保检查(企业端) </template>
</template>
</el-table-column>
<el-table-column prop="HIDDENDESCR" label="隐患描述"/>
<el-table-column prop="findUserNames" label="隐患发现人" width="120"/>
<el-table-column prop="DISCOVERYTIME" label="隐患发现时间" width="160"/>
<el-table-column prop="CONFIRM_USER" label="确认人" width="120"/>
<el-table-column prop="RECTIFICATIONOR_NAME" label="整改负责人" width="120"/>
<el-table-column prop="STATE" label="隐患状态">
<template slot-scope="{row}">
<span v-if="row.STATE == 0"></span>
<span v-else-if="row.STATE == 1">未整改</span>
<span v-else-if="row.STATE == 2">已整改</span>
<span v-else-if="row.STATE == 3">已复查</span>
<span v-else-if="row.STATE == 4">已验收</span>
<span v-else-if="row.STATE == 5">忽略隐患</span>
<span v-else-if="row.STATE == 6">重大隐患</span>
<span v-else-if="row.STATE == -1">已过期</span>
<span v-else-if="row.STATE ==-2">待确认</span>
<span v-else-if="row.STATE == 7">待处理的特殊申请隐患</span>
<span v-else-if="row.STATE == 8">已处理的特殊申请隐患</span>
<span v-else-if="row.STATE == 16">确认打回</span>
<span v-else-if="row.STATE == 10">验收打回</span>
</template>
</el-table-column>
<el-table-column prop="CHECK_NAME" label="验收人" width="120"/>
<el-table-column label="隐患图片预览" align = "center">
<template slot-scope="scope">
<el-tooltip placement="top">