From 1905783af69723b15a10f1a6564629fe971e34b4 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Wed, 26 Nov 2025 10:47:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=9B=E6=A0=87=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/analysis/analysis.js | 55 +-- .../analysis/components/AnalysisDetail.vue | 63 +--- src/views/analysis/components/BidForm.vue | 112 +++--- src/views/analysis/components/ProForm.vue | 348 ++++++++++++++++++ src/views/analysis/config.js | 38 +- src/views/analysis/index.vue | 2 +- 6 files changed, 468 insertions(+), 150 deletions(-) create mode 100644 src/views/analysis/components/ProForm.vue diff --git a/src/api/analysis/analysis.js b/src/api/analysis/analysis.js index a09f936..fc9ea40 100644 --- a/src/api/analysis/analysis.js +++ b/src/api/analysis/analysis.js @@ -1,4 +1,5 @@ import request from '@/utils/request' +import { data } from 'jquery' // 招标解析->查询列表 export function listAPI(params) { @@ -18,37 +19,47 @@ export function addDataAPI(data) { }) } -/* 工器具库->修改工器具 */ -export function editDataAPI(data) { +// 招标解析->查看标段列表 +export function getBidListAPI(params) { return request({ - url: '/smartBid/mainDatabase/tool/editData', - method: 'POST', - data - }) -} - -/* 工器具库->删除工器具 */ -export function delDataAPI(data) { - return request({ - url: '/smartBid/mainDatabase/tool/delData', - method: 'POST', - data - }) -} - -/* 工器具库->查询详情 */ -export function getDetailDataAPI(params) { - return request({ - url: '/smartBid/mainDatabase/tool/detailData', + url: '/smartBid/analysis/getBidList', method: 'GET', params }) } +// 招标解析->查看项目详情 +export function getProDetailAPI(params) { + return request({ + url: '/smartBid/analysis/getProDetail', + method: 'GET', + params + }) +} + +// 招标解析->更新项目数据 +export function editProDataAPI(data) { + return request({ + url: '/smartBid/analysis/editProData', + method: 'POST', + data + }) +} + +// 招标解析->更新标段数据 +export function editBidDataAPI(data) { + return request({ + url: '/smartBid/analysis/editBidData', + method: 'POST', + data + }) +} + + /* 测试 mq */ export function testMQAPI(params) { return request({ - url: '/smartBid/analysis/testAsyncMq', + url: '/smartBid/analysis/testAsyncMq2', method: 'GET', params }) diff --git a/src/views/analysis/components/AnalysisDetail.vue b/src/views/analysis/components/AnalysisDetail.vue index 98605f2..77db5ec 100644 --- a/src/views/analysis/components/AnalysisDetail.vue +++ b/src/views/analysis/components/AnalysisDetail.vue @@ -33,7 +33,7 @@
招标人
-
{{ detailData.bidder || '--' }}
+
{{ detailData.tenderer || '--' }}
@@ -48,13 +48,13 @@
开标时间
-
{{ detailData.openTime || '--' }}
+
{{ detailData.bidOpeningTime || '--' }}
开标方式
-
{{ detailData.openMethod || '--' }}
+
{{ detailData.bidOpeningMethod || '--' }}
@@ -62,14 +62,14 @@
项目简介
-
{{ detailData.proDescription || '--' }}
+
{{ detailData.proIntroduction || '--' }}
+ :columnsList="detailColumnsList" :request-api="getBidListAPI" :sendParams="sendParams" + :handleColWidth="180" :isShowtableCardStyle="false" :autoLoad="true"> diff --git a/src/views/analysis/components/BidForm.vue b/src/views/analysis/components/BidForm.vue index 06aa51e..d2e7497 100644 --- a/src/views/analysis/components/BidForm.vue +++ b/src/views/analysis/components/BidForm.vue @@ -14,7 +14,7 @@ + maxlength="32"> + maxlength="32"> - + @@ -51,26 +51,16 @@ + diff --git a/src/views/analysis/config.js b/src/views/analysis/config.js index 5cc07d3..0a24706 100644 --- a/src/views/analysis/config.js +++ b/src/views/analysis/config.js @@ -69,26 +69,26 @@ export const columnsList = [ ] export const detailColumnsList = [ - { t_props: 'toolName', t_label: '标的名称' }, - { t_props: 'model', t_label: '单位' }, - { t_props: 'unit', t_label: '标段标号' }, - { t_props: 'technicalParameters', t_label: '标段名称' }, - { t_props: 'mainFunction', t_label: '最高投标限价(万元)' }, - { t_props: 'mainFunction', t_label: '安全文明施工费(万元)' }, - { t_props: 'mainFunction', t_label: '投标保证金(万元)' }, - { t_props: 'mainFunction', t_label: '工期' }, - { t_props: 'mainFunction', t_label: '招标阶段' }, + { t_props: 'markName', t_label: '标的名称' }, + { t_props: 'unit', t_label: '单位' }, + { t_props: 'bidNumber', t_label: '标段标号' }, + { t_props: 'bidName', t_label: '标段名称' }, + { t_props: 'maximumBidLimit', t_label: '最高投标限价(万元)' }, + { t_props: 'safetyConstFee', t_label: '安全文明施工费(万元)' }, + { t_props: 'bidBond', t_label: '投标保证金(万元)' }, + { t_props: 'duration', t_label: '工期' }, + { t_props: 'biddingStage', t_label: '招标阶段' }, ] export const bidListColumnsList = [ - { t_props: 'toolName', t_label: '标的名称' }, - { t_props: 'model', t_label: '单位' }, - { t_props: 'unit', t_label: '标段标号' }, - { t_props: 'technicalParameters', t_label: '标段名称' }, - { t_props: 'mainFunction', t_label: '最高投标限价(万元)' }, - { t_props: 'mainFunction', t_label: '安全文明施工费(万元)' }, - { t_props: 'mainFunction', t_label: '投标保证金(万元)' }, - { t_props: 'mainFunction', t_label: '工期' }, - { t_props: 'mainFunction', t_label: '招标阶段' }, - { t_props: 'mainFunction', t_label: '解析状态' } + { t_props: 'markName', t_label: '标的名称' }, + { t_props: 'unit', t_label: '单位' }, + { t_props: 'bidNumber', t_label: '标段标号' }, + { t_props: 'bidName', t_label: '标段名称' }, + { t_props: 'maximumBidLimit', t_label: '最高投标限价(万元)' }, + { t_props: 'safetyConstFee', t_label: '安全文明施工费(万元)' }, + { t_props: 'bidBond', t_label: '投标保证金(万元)' }, + { t_props: 'duration', t_label: '工期' }, + { t_props: 'biddingStage', t_label: '招标阶段' }, + { t_props: 'parsingState', t_label: '解析状态' } ] \ No newline at end of file diff --git a/src/views/analysis/index.vue b/src/views/analysis/index.vue index 65cd7ec..3010eff 100644 --- a/src/views/analysis/index.vue +++ b/src/views/analysis/index.vue @@ -146,7 +146,7 @@ export default { this.$router.push({ name: 'AnalysisDetail', query: { - proId: encryptWithSM4('2'), + proId: encryptWithSM4(row.proId + '' || '0'), }, }) },