From 72780bc3f7a4b47ebba49f28f4ffe219c14349ba Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 01 七月 2026 11:16:01 +0800
Subject: [PATCH] 不合格处理调整&合格率统计调整
---
src/views/business/inspectionTask/inspection.vue | 55 ++++++++++++++++++++++++++-----------------------------
1 files changed, 26 insertions(+), 29 deletions(-)
diff --git a/src/views/business/inspectionTask/inspection.vue b/src/views/business/inspectionTask/inspection.vue
index d4c101b..bf77e81 100644
--- a/src/views/business/inspectionTask/inspection.vue
+++ b/src/views/business/inspectionTask/inspection.vue
@@ -1150,7 +1150,7 @@
<UnPassDialog
v-if="unPassDialog"
ref="unPassDialog"
- :orderId="orderId"
+ :selectOrderIds="[orderId]"
:unPassDialog="unPassDialog"
@resetForm="resetForm"
></UnPassDialog>
@@ -3561,31 +3561,33 @@
})
.then((res) => {
if (res.code === 200) {
- if (!res.data || res.data.errorMsg.length == 0) {
+ if (!res.data || res.data.errorMsg.length === 0) {
this.submitLoading = true;
+ this.confirmSubmit(true);
+ //鍘婚櫎鎷嗗垎璁㈠崟鏄惁鐧昏妫�楠岀粨鏋滅‘璁わ紝榛樿鏄�
//妫�楠岀被鍨嬩负鍘熸潗鏂�
- if (
- this.typeSource == 1 &&
- res.data.unInsOrderCount == 0 &&
- this.isSplit == 1
- ) {
- const htmlStr =
- "鏄惁鐧昏IFS閲囪喘妫�楠岀粨鏋滃苟绉诲簱锛熻鎿嶄綔浼氱櫥璁�<span style='color:#ff4949'>鍚屼竴闆朵欢鍚屼竴璁㈠崟鐨勬墍鏈夋媶鍒嗘壒娆�</span>锛岃璋ㄦ厧閫夋嫨銆�";
- this.$confirm(htmlStr, "鎻愮ず", {
- confirmButtonText: "鏄�",
- cancelButtonText: "鍚�",
- type: "warning",
- dangerouslyUseHTMLString: true,
- })
- .then(() => {
- this.confirmSubmit(true);
- })
- .catch(() => {
- this.confirmSubmit(false);
- });
- } else {
- this.confirmSubmit(true);
- }
+ // if (
+ // this.typeSource == 1 &&
+ // res.data.unInsOrderCount == 0 &&
+ // this.isSplit == 1
+ // ) {
+ // const htmlStr =
+ // "鏄惁鐧昏IFS閲囪喘妫�楠岀粨鏋滃苟绉诲簱锛熻鎿嶄綔浼氱櫥璁�<span style='color:#ff4949'>鍚屼竴闆朵欢鍚屼竴璁㈠崟鐨勬墍鏈夋媶鍒嗘壒娆�</span>锛岃璋ㄦ厧閫夋嫨銆�";
+ // this.$confirm(htmlStr, "鎻愮ず", {
+ // confirmButtonText: "鏄�",
+ // cancelButtonText: "鍚�",
+ // type: "warning",
+ // dangerouslyUseHTMLString: true,
+ // })
+ // .then(() => {
+ // this.confirmSubmit(true);
+ // })
+ // .catch(() => {
+ // this.confirmSubmit(false);
+ // });
+ // } else {
+ // this.confirmSubmit(true);
+ // }
} else {
let newData = [];
const h = this.$createElement;
@@ -4065,11 +4067,6 @@
display: inline-flex;
align-items: center;
}
-</style>
-<style scoped>
-/* .inspection .el-form-item__label {
- color: #000;
-} */
.inspection .el-drawer__header::before {
content: "";
--
Gitblit v1.9.3