Merge remote-tracking branch 'origin/pet' into pet

hyx_temporaryAccess
huangyuxuan 2024-11-19 18:03:40 +08:00
commit 8cc04a5b35
6 changed files with 41 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -10,6 +10,7 @@
<el-option :value="2" label="清单排查"/> <el-option :value="2" label="清单排查"/>
<el-option :value="4" label="安全环保检查(监管端)"/> <el-option :value="4" label="安全环保检查(监管端)"/>
<el-option :value="5" label="安全环保检查(企业端)"/> <el-option :value="5" label="安全环保检查(企业端)"/>
<el-option :value="6" label="消防检查"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -149,14 +150,6 @@
highlight-current-row highlight-current-row
> >
<el-table-column type="selection" width="55" align="center" /> <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="隐患来源" > <el-table-column label="隐患来源" >
<template slot-scope="{row}"> <template slot-scope="{row}">
<template v-if="row.SOURCE=='1'"> </template> <template v-if="row.SOURCE=='1'"> </template>
@ -164,6 +157,7 @@
<template v-else-if="row.SOURCE=='3'">清单排查 </template> <template v-else-if="row.SOURCE=='3'">清单排查 </template>
<template v-else-if="row.SOURCE=='4'">安全环保检查(监管端) </template> <template v-else-if="row.SOURCE=='4'">安全环保检查(监管端) </template>
<template v-else-if="row.SOURCE=='5'">安全环保检查(企业端) </template> <template v-else-if="row.SOURCE=='5'">安全环保检查(企业端) </template>
<template v-else-if="row.SOURCE=='6'">消防检查 </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="HIDDENDESCR" label="隐患描述"/> <el-table-column prop="HIDDENDESCR" label="隐患描述"/>
@ -171,12 +165,6 @@
<el-table-column prop="DISCOVERYTIME" label="隐患发现时间" width="160"/> <el-table-column prop="DISCOVERYTIME" label="隐患发现时间" width="160"/>
<el-table-column prop="CONFIRM_USER" label="确认人" width="120"/> <el-table-column prop="CONFIRM_USER" label="确认人" width="120"/>
<el-table-column prop="RECTIFICATIONOR_NAME" 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="隐患状态"> <el-table-column prop="STATE" label="隐患状态">
<template slot-scope="{row}"> <template slot-scope="{row}">
<span v-if="row.STATE == 0"></span> <span v-if="row.STATE == 0"></span>

View File

@ -22,6 +22,9 @@
<template v-else-if="pd.SOURCE=='5'"> <template v-else-if="pd.SOURCE=='5'">
<td colspan="3">安全环保检查(企业端)</td> <td colspan="3">安全环保检查(企业端)</td>
</template> </template>
<template v-else-if="pd.SOURCE=='6'">
<td colspan="3">消防检查</td>
</template>
</tr> </tr>
<!--<tr> <!--<tr>
<td class="tbg">检查内容</td> <td class="tbg">检查内容</td>

View File

@ -15,6 +15,39 @@
highlight-current-row> highlight-current-row>
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" /> <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 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"> <el-table-column label="隐患图片预览" align = "center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip placement="top"> <el-tooltip placement="top">

View File

@ -514,8 +514,8 @@ export default {
label: '人员', label: '人员',
dialog_width: '800px', dialog_width: '800px',
check: false, check: false,
img: require('../../assets/map/gangkou_index/buttom/ico1.png'), img: require('../../assets/map/gangkou_index/buttom/01.png'),
checkImg: require('../../assets/map/gangkou_index/buttom/ico1_on.png'), checkImg: require('../../assets/map/gangkou_index/buttom/01_on.png'),
type: 'PERSON', type: 'PERSON',
containAuthorization: ['035958e685cf4850bc40151c5e0617a6'], containAuthorization: ['035958e685cf4850bc40151c5e0617a6'],
eliminateAuthorization: [] eliminateAuthorization: []