Merge remote-tracking branch 'origin/20240528Test' into liujun-2024-06-06-相关方新需求

liujun-2024-06-06-相关方新需求
liujun 2024-06-18 08:39:58 +08:00
commit 1dcdfbd468
3 changed files with 52 additions and 51 deletions

View File

@ -75,23 +75,20 @@
<td class="bbg">动火作业实施时间</td> <td class="bbg">动火作业实施时间</td>
<td colspan="3">{{ pd.WORK_START_DATE }}{{ pd.WORK_END_DATE }}</td> <td colspan="3">{{ pd.WORK_START_DATE }}{{ pd.WORK_END_DATE }}</td>
</tr> </tr>
<tr> <tr v-if="pd.FIRE_COMPLETED === '1' && pd.SITE_CLEANED === '1'">
<td class="bbg">动火是否完成</td> <td class="bbg">动火是否完成</td>
<td> <td>
<span v-if="pd.FIRE_COMPLETED == 1"></span> <span>已完成</span>
<span v-else-if ="pd.FIRE_COMPLETED == 0">未完成</span>
</td> </td>
<td class="bbg">作业现场是否清理</td> <td class="bbg">动火是否完成</td>
<td> <td>
<span v-if="pd.SITE_CLEANED == 1"></span> <span>已清理</span>
<span v-else-if ="pd.SITE_CLEANED == 0">未清理</span>
</td> </td>
</tr> </tr>
<tr> <tr v-if="pd.NO_REMAINING_EMBERS === '1'">
<td class="bbg">是否存在遗留火种</td> <td class="bbg">是否存在遗留火种</td>
<td> <td>
<span v-if="pd.NO_REMAINING_EMBERS == 1"></span> <span>无遗留火种</span>
<span v-else-if ="pd.NO_REMAINING_EMBERS == 0">未确定无遗留火种</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -204,7 +201,7 @@
</tr> </tr>
<tr v-if="pd.CONFIRM_USER_SIGNER_PATH"> <tr v-if="pd.CONFIRM_USER_SIGNER_PATH">
<td colspan="6"> <td colspan="6">
<div>作业负责人意见{{ pd.CONFIRM_CONTENT }}</div> <div>作业负责人意见{{ pd.CONFIRM_CONTENT === '无' ? '同意' : pd.CONFIRM_CONTENT }}</div>
<div style="text-align: right"> <div style="text-align: right">
<span>签字</span> <span>签字</span>
<img v-viewer :src="config.fileUrl + pd.CONFIRM_USER_SIGNER_PATH" alt="" width="100" height="100"> <img v-viewer :src="config.fileUrl + pd.CONFIRM_USER_SIGNER_PATH" alt="" width="100" height="100">
@ -214,7 +211,7 @@
</tr> </tr>
<tr v-if="pd.BELONGING_SIGNATURE"> <tr v-if="pd.BELONGING_SIGNATURE">
<td colspan="6"> <td colspan="6">
<div>项目主管部门负责人意见{{ pd.BELONGING_OPINIONS }}</div> <div>项目主管部门负责人意见{{ pd.BELONGING_OPINIONS === '' ? '同意' : pd.BELONGING_OPINIONS }}</div>
<div style="text-align: right"> <div style="text-align: right">
<span>签字</span> <span>签字</span>
<img v-viewer :src="config.fileUrl + pd.BELONGING_SIGNATURE" alt="" width="100" height="100"> <img v-viewer :src="config.fileUrl + pd.BELONGING_SIGNATURE" alt="" width="100" height="100">
@ -224,7 +221,7 @@
</tr> </tr>
<tr v-if="pd.LEADER_USER_SIGNER_PATH"> <tr v-if="pd.LEADER_USER_SIGNER_PATH">
<td colspan="6"> <td colspan="6">
<div>所在单位意见{{ pd.LEADER_CONTENT }}</div> <div>所在单位意见{{ pd.LEADER_CONTENT === '无' ? '同意' : pd.LEADER_CONTENT }}</div>
<div style="text-align: right"> <div style="text-align: right">
<span>签字</span> <span>签字</span>
<img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100"> <img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100">
@ -234,7 +231,7 @@
</tr> </tr>
<tr v-if="pd.AUDIT_USER_SIGNER_PATH"> <tr v-if="pd.AUDIT_USER_SIGNER_PATH">
<td colspan="6"> <td colspan="6">
<div>安全管理部门意见{{ pd.AUDIT_CONTENT }}</div> <div>安全管理部门意见{{ pd.AUDIT_CONTENT === '无' ? '同意' : pd.AUDIT_CONTENT }}</div>
<div style="text-align: right"> <div style="text-align: right">
<span>签字</span> <span>签字</span>
<img v-viewer :src="config.fileUrl + pd.AUDIT_USER_SIGNER_PATH" alt="" width="100" height="100"> <img v-viewer :src="config.fileUrl + pd.AUDIT_USER_SIGNER_PATH" alt="" width="100" height="100">
@ -244,7 +241,7 @@
</tr> </tr>
<tr v-if="pd.APPROVE_USER_SIGNER_PATH"> <tr v-if="pd.APPROVE_USER_SIGNER_PATH">
<td colspan="6"> <td colspan="6">
<div>动火审批人意见{{ pd.APPROVE_CONTENT }}</div> <div>动火审批人意见{{ pd.APPROVE_CONTENT === '无' ? '同意' : pd.APPROVE_CONTENT }}</div>
<div style="text-align: right"> <div style="text-align: right">
<span>签字</span> <span>签字</span>
<img v-viewer :src="config.fileUrl + pd.APPROVE_USER_SIGNER_PATH" alt="" width="100" height="100"> <img v-viewer :src="config.fileUrl + pd.APPROVE_USER_SIGNER_PATH" alt="" width="100" height="100">
@ -254,7 +251,7 @@
</tr> </tr>
<tr v-if="pd.MONITOR_USER_SIGNER_PATH"> <tr v-if="pd.MONITOR_USER_SIGNER_PATH">
<td colspan="6"> <td colspan="6">
<div>动火前验票负责人{{ pd.MONITOR_CONTENT }}</div> <div>动火前验票负责人{{ pd.MONITOR_CONTENT === '无' ? '同意' : pd.MONITOR_CONTENT }}</div>
<div style="text-align: right"> <div style="text-align: right">
<span>签字</span> <span>签字</span>
<img v-viewer :src="config.fileUrl + pd.MONITOR_USER_SIGNER_PATH" alt="" width="100" height="100"> <img v-viewer :src="config.fileUrl + pd.MONITOR_USER_SIGNER_PATH" alt="" width="100" height="100">
@ -264,7 +261,7 @@
</tr> </tr>
<tr v-if="imgList1.length>0"> <tr v-if="imgList1.length>0">
<td colspan="10"> <td colspan="10">
<div>完工验收{{ pd.ACCEPT_CONTENT }}</div> <div>完工验收{{ pd.ACCEPT_CONTENT === '无' ? '同意' : pd.ACCEPT_CONTENT }}</div>
<div v-for="item in imgList1" :key="item.ACCEPT_CONFESS_ID" style="text-align: right"> <div v-for="item in imgList1" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
<span>签字</span> <span>签字</span>
<img v-viewer :src="config.fileUrl + item.ACCEPT_USER_SIGNER_PATH" alt="" width="100" height="100"> <img v-viewer :src="config.fileUrl + item.ACCEPT_USER_SIGNER_PATH" alt="" width="100" height="100">
@ -347,23 +344,23 @@ export default {
this.acceptConfessList.push(item) this.acceptConfessList.push(item)
} }
}) })
for (let i = 0; i < data.measuresList.length; i++) { // for (let i = 0; i < data.measuresList.length; i++) {
// // //
const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('') // const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('')
for (let j = 1; j <= 3; j++) { // for (let j = 1; j <= 3; j++) {
// // //
if (this.findCharIndex(PROTECTIVE_MEASURES, '', j) !== -1) { // if (this.findCharIndex(PROTECTIVE_MEASURES, '', j) !== -1) {
// // //
PROTECTIVE_MEASURES.splice( // PROTECTIVE_MEASURES.splice(
this.findCharIndex(PROTECTIVE_MEASURES, '', j) + 1, // this.findCharIndex(PROTECTIVE_MEASURES, '', j) + 1,
0, // 0,
data.measuresList[i]['ANSWER' + j] // data.measuresList[i]['ANSWER' + j]
) // )
} // }
} // }
// // //
data.measuresList[i].PROTECTIVE_MEASURES = PROTECTIVE_MEASURES.join('') // data.measuresList[i].PROTECTIVE_MEASURES = PROTECTIVE_MEASURES.join('')
} // }
this.measuresList = data.measuresList // map this.measuresList = data.measuresList // map
this.gasList = data.gasList // map this.gasList = data.gasList // map
if (this.pd.WORK_LEVEL === '二级') { if (this.pd.WORK_LEVEL === '二级') {

View File

@ -52,14 +52,14 @@
<template slot-scope="{row}"> <template slot-scope="{row}">
<span v-if="row.APPLY_STATUS==0"></span> <span v-if="row.APPLY_STATUS==0"></span>
<span v-else-if="row.APPLY_STATUS==1">作业负责人待审核</span> <span v-else-if="row.APPLY_STATUS==1">作业负责人待审核</span>
<span v-else-if="row.APPLY_STATUS==1.5">项目负责人待审核</span> <span v-else-if="row.APPLY_STATUS==1.5">项目主管部门待审核</span>
<span v-else-if="row.APPLY_STATUS==2">属地监管单位待审核</span> <span v-else-if="row.APPLY_STATUS==2">属地监管单位待审核</span>
<span v-else-if="row.APPLY_STATUS==4">安全管理部门待审核</span> <span v-else-if="row.APPLY_STATUS==4">安全管理部门待审核</span>
<span v-else-if="row.APPLY_STATUS==5">动火审批人待审核</span> <span v-else-if="row.APPLY_STATUS==5">动火审批人待审核</span>
<span v-else-if="row.APPLY_STATUS==6">班长待验票</span> <span v-else-if="row.APPLY_STATUS==6">班长待验票</span>
<span v-else-if="row.APPLY_STATUS==7">待验收</span> <span v-else-if="row.APPLY_STATUS==7">待验收</span>
<span v-else-if="row.APPLY_STATUS==8">验收归档</span> <span v-else-if="row.APPLY_STATUS==8">验收归档</span>
<span v-else-if="row.APPLY_STATUS==-1.5">项目负责人审核打回</span> <span v-else-if="row.APPLY_STATUS==-1.5">项目主管部门审核打回</span>
<span v-else-if="row.APPLY_STATUS==-2">作业负责人审核打回</span> <span v-else-if="row.APPLY_STATUS==-2">作业负责人审核打回</span>
<span v-else-if="row.APPLY_STATUS==-4">所在单位审核打回</span> <span v-else-if="row.APPLY_STATUS==-4">所在单位审核打回</span>
<span v-else-if="row.APPLY_STATUS==-5">安全管理部门审核打回</span> <span v-else-if="row.APPLY_STATUS==-5">安全管理部门审核打回</span>

View File

@ -73,27 +73,31 @@
<tr> <tr>
<td>序号</td> <td>序号</td>
<td>安全措施</td> <td>安全措施</td>
<td style="width: 80px; text-align: center">是否涉及</td> <td style="width: 80px; text-align: center;">是否涉及</td>
<td style="width: 80px; text-align: center">确认人</td> <td style="width: 80px; text-align: center;">确认人</td>
</tr> </tr>
<tr v-for="(item, index) in measuresList" :key="index"> <tr v-for="(item, index) in measuresList" :key="index">
<td>{{ index + 1 }}</td> <td style="text-align: center;">{{ index + 1 }}</td>
<td> <td>
{{ item.PROTECTIVE_MEASURES }} {{ item.PROTECTIVE_MEASURES }}
<!-- <template v-if="item.QUESTION1">--> <!--
<!-- {{ item.QUESTION1 }}({{ item.ANSWER1 }})--> <template v-if="item.QUESTION1">
<!-- </template>--> {{ item.QUESTION1 }}({{ item.ANSWER1 }})
<!-- <template v-if="item.QUESTION2">--> </template>
<!-- {{ item.QUESTION2 }}({{ item.ANSWER2 }}) {{ item.QUESTION3 }}({{ item.ANSWER3 }})--> <template v-if="item.QUESTION2">
<!-- </template>--> {{ item.QUESTION2 }}({{ item.ANSWER2 }}) {{ item.QUESTION3 }}({{ item.ANSWER3 }})
</template>
-->
</td> </td>
<td> <td style="text-align: center;">
<span v-if="item.STATUS=='1'"><input type="radio" disabled checked>&nbsp;&nbsp;&nbsp;</span> <span v-if="item.STATUS == '1'">
<span v-if="item.STATUS=='-1'"><input type="radio" disabled checked>不涉及</span> <input type="radio" disabled checked>&nbsp;&nbsp;&nbsp;
</td> </span>
<td> <span v-if="item.STATUS == '-1'">
{{ item.CONFIRM_NAME }} <input type="radio" disabled checked>不涉及
</span>
</td> </td>
<td style="text-align: center;">{{ item.CONFIRM_NAME }}</td>
</tr> </tr>
<tr v-if="pd.SAFETY_USER_MEASURES || pd.CONFIRM_OTHER_CONTENT || pd.BELONGING_USER_MEASURES || pd.GUARDIAN_USER_MEASURES || pd.LEADER_USER_MEASURES <tr v-if="pd.SAFETY_USER_MEASURES || pd.CONFIRM_OTHER_CONTENT || pd.BELONGING_USER_MEASURES || pd.GUARDIAN_USER_MEASURES || pd.LEADER_USER_MEASURES
|| pd.AUDIT_USER_MEASURES || pd.APPROVE_USER_MEASURES || pd.MONITOR_USER_MEASURES"> || pd.AUDIT_USER_MEASURES || pd.APPROVE_USER_MEASURES || pd.MONITOR_USER_MEASURES">