Browse Source

优化合同审核

hetong_dev
zhouhaibin 5 days ago
parent
commit
1011f6d35f
  1. 116
      public/configs/tenderTaskConfigs.json
  2. 2
      src/components/UniversalResultDrawer.vue
  3. 2
      src/views/homepage/index.vue
  4. 4
      src/views/user/home/components/ReviewPage.vue

116
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"
}
]
}
]
},

2
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, ''),

2
src/views/homepage/index.vue

@ -28,7 +28,7 @@
</p>
<div class="hero-buttons">
<button class="btn btn-primary" @click="startTrial">立即体验</button>
<button class="btn btn-secondary" @click="contactUs">联系我们</button>
<!-- <button class="btn btn-secondary" @click="contactUs">联系我们</button> -->
</div>
</div>
<div class="hero-visual">

4
src/views/user/home/components/ReviewPage.vue

@ -17,7 +17,7 @@
</div>
</div>
<div
:class="['option-button', 'disabled']"
:class="['option-button']"
>
<span class="option-icon"></span>
<div class="option-content">
@ -26,7 +26,7 @@
</div>
</div>
<div
:class="['option-button', 'disabled']"
:class="['option-button']"
>
<span class="option-icon">🔄</span>
<div class="option-content">

Loading…
Cancel
Save