From b3ff9c11cae931ff14632a613dd3eb4fe110502d Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Tue, 10 Jun 2025 15:36:08 +0800
Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/pro-tabs/bns-timeline-tabs.vue | 36 +-
src/views/IndexPage/index_other.vue | 2 +
src/views/flow/auditRecord.vue | 2 +
.../components/hazardApprove.vue | 854 ++++++++++--------
src/views/pro/apply/consEnterApply.vue | 5 +-
src/views/pro/apply/supervisorEnterApply.vue | 1 +
.../supervisorApproval.vue | 9 +-
7 files changed, 527 insertions(+), 382 deletions(-)
diff --git a/src/components/pro-tabs/bns-timeline-tabs.vue b/src/components/pro-tabs/bns-timeline-tabs.vue
index a0b4097..5bb072c 100644
--- a/src/components/pro-tabs/bns-timeline-tabs.vue
+++ b/src/components/pro-tabs/bns-timeline-tabs.vue
@@ -7,7 +7,7 @@
v-if="!items"
style="position: absolute; top: 30%; left: 43%"
/>
-
+
-
+
-
+
+
+ 撤回
+
+ {{ row.status }}
+
+
+
{{ row.reason.replaceAll(/@@/g, ' ') || '--' }}
@@ -209,6 +219,12 @@ export default {
type: String,
default: () => '',
},
+
+ // 状态
+ enterStatus: {
+ type: String,
+ default: () => '',
+ },
},
computed: {
store() {
@@ -242,8 +258,18 @@ export default {
return (item, index) => {
if (item.auditStatus == 1 || item.auditStatus == 3) return '√'
if (item.auditStatus == 2) return 'X'
- if (item.auditStatus == null || this.endAuditingIndex > -1) return ''
- if (item.auditStatus == 4 && this.endAuditingIndex < 0) return '?'
+ if (
+ item.auditStatus == null ||
+ (this.endAuditingIndex > -1 && this.enterStatus && this.enterStatus.includes('撤回'))
+ )
+ return ''
+ if (
+ item.auditStatus == 4 &&
+ this.endAuditingIndex < 0 &&
+ this.enterStatus &&
+ !this.enterStatus.includes('撤回')
+ )
+ return '?'
}
},
},
diff --git a/src/views/IndexPage/index_other.vue b/src/views/IndexPage/index_other.vue
index cb5cb5c..81f172b 100644
--- a/src/views/IndexPage/index_other.vue
+++ b/src/views/IndexPage/index_other.vue
@@ -391,6 +391,7 @@ export default {
JSON.stringify({
type: 'edit',
taskId: row.taskId,
+ enterStatus: row.enterStatus,
})
)
)
@@ -533,6 +534,7 @@ export default {
JSON.stringify({
taskId: row.taskId,
taskType: '存在',
+ enterStatus: row.enterStatus,
})
)
)
diff --git a/src/views/flow/auditRecord.vue b/src/views/flow/auditRecord.vue
index e688590..9fda606 100644
--- a/src/views/flow/auditRecord.vue
+++ b/src/views/flow/auditRecord.vue
@@ -12,7 +12,9 @@
:show-type="1"
:show-position="2"
:items="approvalItems"
+ :auditReason="[]"
audit-type="审核记录"
+ :enterStatus="paramsData.enterStatus"
:audit-record-type="paramsData.auditRecordType ? '全部' : '部分'"
v-else
>
diff --git a/src/views/hiddenDangerManagement/hazardRectificationManagement/components/hazardApprove.vue b/src/views/hiddenDangerManagement/hazardRectificationManagement/components/hazardApprove.vue
index 8840971..1ec5fbb 100644
--- a/src/views/hiddenDangerManagement/hazardRectificationManagement/components/hazardApprove.vue
+++ b/src/views/hiddenDangerManagement/hazardRectificationManagement/components/hazardApprove.vue
@@ -2,7 +2,7 @@
提交
- 打印
+ 打印
验收通过
@@ -17,387 +17,469 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选择上传文件
-
- 查看文件
-
-
-
+
+
+
+ 选择上传文件
+
+ 查看文件
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -978,6 +1060,30 @@ export default {
}
})
},
+
+ onHandlePrint() {
+ // 直接使用浏览器打印指定的dom
+ window.print('#printQrCode')
+ // const printWindow = window.open('', '_blank')
+ // printWindow.document.write(`
+ //
+ //
+ // 打印
+ //
+ //
+ // ${this.$refs.printContent.innerHTML}
+ //
+ //
+ // `)
+ // printWindow.document.close()
+ // printWindow.focus()
+
+ // // 延迟执行打印,确保内容加载完成
+ // setTimeout(() => {
+ // printWindow.print()
+ // printWindow.close()
+ // }, 300)
+ },
},
}
diff --git a/src/views/pro/apply/consEnterApply.vue b/src/views/pro/apply/consEnterApply.vue
index 78ac48f..0623fe5 100644
--- a/src/views/pro/apply/consEnterApply.vue
+++ b/src/views/pro/apply/consEnterApply.vue
@@ -82,7 +82,7 @@
-
+
@@ -959,6 +959,7 @@
final-check="0"
:show-type="1"
:items="approvalItems"
+ :enterStatus="paramsData.enterStatus"
/>
@@ -1189,7 +1190,7 @@ export default {
status: undefined,
startDate: undefined,
endDate: undefined,
- fileIsActive:undefined,
+ fileIsActive: undefined,
},
equipQueryParams: {
pageNum: 1,
diff --git a/src/views/pro/apply/supervisorEnterApply.vue b/src/views/pro/apply/supervisorEnterApply.vue
index 7ea0f91..69ea4d5 100644
--- a/src/views/pro/apply/supervisorEnterApply.vue
+++ b/src/views/pro/apply/supervisorEnterApply.vue
@@ -470,6 +470,7 @@
final-check="0"
:show-type="1"
:items="approvalItems"
+ :enterStatus="paramsData.enterStatus"
/>
diff --git a/src/views/pro/supervisor/supervisedAdmission/supervisorApproval.vue b/src/views/pro/supervisor/supervisedAdmission/supervisorApproval.vue
index 30bc039..892145b 100644
--- a/src/views/pro/supervisor/supervisedAdmission/supervisorApproval.vue
+++ b/src/views/pro/supervisor/supervisedAdmission/supervisorApproval.vue
@@ -59,9 +59,16 @@
-
+
![]()