From 1011f6d35fc5ba125911e1f619861e323362b52d Mon Sep 17 00:00:00 2001
From: zhouhaibin
Date: Fri, 22 Aug 2025 14:25:31 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=88=E5=90=8C=E5=AE=A1?=
=?UTF-8?q?=E6=A0=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/configs/tenderTaskConfigs.json | 116 +++++++++++-------
src/components/UniversalResultDrawer.vue | 2 +-
src/views/homepage/index.vue | 2 +-
src/views/user/home/components/ReviewPage.vue | 4 +-
4 files changed, 77 insertions(+), 47 deletions(-)
diff --git a/public/configs/tenderTaskConfigs.json b/public/configs/tenderTaskConfigs.json
index afb0e0f..3279d51 100644
--- a/public/configs/tenderTaskConfigs.json
+++ b/public/configs/tenderTaskConfigs.json
@@ -138,7 +138,7 @@
"tenderComplianceReview": {
"taskType": "tenderComplianceReview",
"name": "招投标文件合规性审核",
- "mode": "single",
+ "mode": "tabs",
"pdfConfig": {
"layout": "single",
"sources": [
@@ -149,54 +149,84 @@
}
]
},
- "fields": [
- {
- "field": "issueName",
- "title": "合规性分类-具体问题(示例:资质审查-业绩要求)",
- "dataType": "string",
- "displayType": "markdown",
- "pdfSource": "document"
- },
- {
- "field": "originalText",
- "title": "原文",
- "dataType": "string",
- "displayType": "markdown",
- "pdfSource": "document"
- },
+ "tabs": [
{
- "field": "reviewBasis",
- "title": "相关法律法规政策",
- "dataType": "json",
- "displayType": "markdown",
- "jsonConfig": {
- "extractFields": [
- "review_points"
- ],
- "separator": ":",
- "fieldProcessors": {
- "review_points": "arrayJoinNewLine"
+ "key": "存在",
+ "label": "存在",
+ "fields": [
+ {
+ "field": "originalText",
+ "title": "原文",
+ "dataType": "string",
+ "displayType": "markdown",
+ "pdfSource": "bid",
+ "required": true
+ },
+ {
+ "field": "issueName",
+ "title": "审查点及其结果",
+ "dataType": "string",
+ "displayType": "markdown"
+ },
+ {
+ "field": "existingIssues",
+ "title": "原因",
+ "dataType": "string",
+ "displayType": "markdown"
}
- }
+ ]
},
{
- "field": "modifiedContent",
- "title": "修改建议",
- "dataType": "string",
- "displayType": "markdown",
- "pdfSource": "document"
+ "key": "不存在",
+ "label": "不存在",
+ "fields": [
+ {
+ "field": "originalText",
+ "title": "原文",
+ "dataType": "string",
+ "displayType": "markdown",
+ "pdfSource": "bid",
+ "required": true
+ },
+ {
+ "field": "issueName",
+ "title": "审查点及其结果",
+ "dataType": "string",
+ "displayType": "markdown"
+ },
+ {
+ "field": "existingIssues",
+ "title": "原因",
+ "dataType": "string",
+ "displayType": "markdown"
+ }
+ ]
},
{
- "field": "reviewBasis",
- "title": "风险等级(红色预警:直接废标项,橙色风险:可能引发投诉项)",
- "dataType": "json",
- "displayType": "markdown",
- "jsonConfig": {
- "extractFields": [
- "risk_level"
- ],
- "separator": ":"
- }
+ "key": "无法判断",
+ "label": "无法判断",
+ "fields": [
+ {
+ "field": "originalText",
+ "title": "原文",
+ "dataType": "string",
+ "displayType": "markdown",
+ "pdfSource": "bid",
+ "required": true
+ },
+ {
+ "field": "issueName",
+ "title": "审查点及其结果",
+ "dataType": "string",
+ "displayType": "markdown"
+ },
+ {
+ "field": "existingIssues",
+ "title": "原因",
+ "dataType": "string",
+ "displayType": "markdown"
+ }
+ ]
}
]
},
diff --git a/src/components/UniversalResultDrawer.vue b/src/components/UniversalResultDrawer.vue
index 77e3286..8ad2b22 100644
--- a/src/components/UniversalResultDrawer.vue
+++ b/src/components/UniversalResultDrawer.vue
@@ -509,7 +509,7 @@
const matches = [
category.name === tabConfig.label,
category.name === tabConfig.key,
- category.name.includes(tabConfig.label),
+
tabConfig.label.includes(category.name),
// 额外的匹配:去掉括号和空格后的匹配
category.name.replace(/[()\(\)\s]/g, '') === tabConfig.label.replace(/[()\(\)\s]/g, ''),
diff --git a/src/views/homepage/index.vue b/src/views/homepage/index.vue
index aee265c..c125751 100644
--- a/src/views/homepage/index.vue
+++ b/src/views/homepage/index.vue
@@ -28,7 +28,7 @@
-
+
diff --git a/src/views/user/home/components/ReviewPage.vue b/src/views/user/home/components/ReviewPage.vue
index 93bdf78..d2720d9 100644
--- a/src/views/user/home/components/ReviewPage.vue
+++ b/src/views/user/home/components/ReviewPage.vue
@@ -17,7 +17,7 @@