动火详情页面字段展示逻辑修改

20240528Test
WenShiJun 2024-06-14 17:57:03 +08:00
parent fcf94011d3
commit c007e133b4
1 changed files with 13 additions and 16 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">