接受交底人,完工验收添加多张签字图片逻辑修改
parent
f1128ecffc
commit
7ce609d18a
|
@ -165,14 +165,15 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="bbg">接受交底人</td>
|
<td class="bbg">接受交底人</td>
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div v-for="item in acceptConfessList" :key="item.USER_ID" style="text-align: right">
|
<div v-for="item in acceptConfessList" :key="item.USER_ID">
|
||||||
|
<div v-for="(signature, index) in item.APPROVAL_SIGNATURE" :key="index" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.APPROVAL_SIGNATURE" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + signature.trim()" alt="" width="100" height="100">
|
||||||
<span>{{ item.APPROVAL_SIGNATURE_TIME }}</span>
|
<span>{{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="bbg">监护人</td>
|
<td class="bbg">监护人</td>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
|
@ -333,7 +334,16 @@ export default {
|
||||||
this.confessList.push(item)
|
this.confessList.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
// this.acceptConfessList.push(item)
|
||||||
|
// }
|
||||||
|
// })
|
||||||
data.pd.acceptConfessList.forEach(item => {
|
data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// 将 APPROVAL_SIGNATURE 转换为数组
|
||||||
|
if (item.APPROVAL_SIGNATURE) {
|
||||||
|
item.APPROVAL_SIGNATURE = item.APPROVAL_SIGNATURE.split(';')
|
||||||
|
}
|
||||||
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
this.acceptConfessList.push(item)
|
this.acceptConfessList.push(item)
|
||||||
}
|
}
|
||||||
|
|
|
@ -164,10 +164,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="bbg">接受交底人</td>
|
<td class="bbg">接受交底人</td>
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div v-for="item in acceptConfessList" :key="item.USER_ID" style="text-align: right">
|
<div v-for="item in acceptConfessList" :key="item.USER_ID">
|
||||||
|
<div v-for="(signature, index) in item.APPROVAL_SIGNATURE" :key="index" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.APPROVAL_SIGNATURE" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + signature.trim()" alt="" width="100" height="100">
|
||||||
<span>{{ item.APPROVAL_SIGNATURE_TIME }}</span>
|
<span>{{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -415,7 +417,16 @@ export default {
|
||||||
this.confessList.push(item)
|
this.confessList.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
// this.acceptConfessList.push(item)
|
||||||
|
// }
|
||||||
|
// })
|
||||||
data.pd.acceptConfessList.forEach(item => {
|
data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// 将 APPROVAL_SIGNATURE 转换为数组
|
||||||
|
if (item.APPROVAL_SIGNATURE) {
|
||||||
|
item.APPROVAL_SIGNATURE = item.APPROVAL_SIGNATURE.split(';')
|
||||||
|
}
|
||||||
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
this.acceptConfessList.push(item)
|
this.acceptConfessList.push(item)
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,10 +138,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="bbg-transparent">接受交底人</td>
|
<td class="bbg-transparent">接受交底人</td>
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div v-for="item in acceptConfessList" :key="item.USER_ID" style="text-align: right">
|
<div v-for="item in acceptConfessList" :key="item.USER_ID">
|
||||||
|
<div v-for="(signature, index) in item.APPROVAL_SIGNATURE" :key="index" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.APPROVAL_SIGNATURE" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + signature.trim()" alt="" width="100" height="100">
|
||||||
<span>{{ item.APPROVAL_SIGNATURE_TIME }}</span>
|
<span>{{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -167,7 +169,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">
|
||||||
|
@ -177,7 +179,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">
|
||||||
|
@ -187,7 +189,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">
|
||||||
|
@ -197,7 +199,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">
|
||||||
|
@ -207,7 +209,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">
|
||||||
|
@ -217,7 +219,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">
|
||||||
|
@ -227,7 +229,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">
|
||||||
|
@ -319,7 +321,16 @@ export default {
|
||||||
this.confessList.push(item)
|
this.confessList.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
// this.acceptConfessList.push(item)
|
||||||
|
// }
|
||||||
|
// })
|
||||||
data.pd.acceptConfessList.forEach(item => {
|
data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// 将 APPROVAL_SIGNATURE 转换为数组
|
||||||
|
if (item.APPROVAL_SIGNATURE) {
|
||||||
|
item.APPROVAL_SIGNATURE = item.APPROVAL_SIGNATURE.split(';')
|
||||||
|
}
|
||||||
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
this.acceptConfessList.push(item)
|
this.acceptConfessList.push(item)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue