From 908829028edac20edf0b2277fb61c15d6d080981 Mon Sep 17 00:00:00 2001 From: xzt <1113240624@qq.com> Date: Fri, 26 Jan 2024 09:59:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/project/bid/options/bidBasePage.vue | 37 ++++++++++++++----- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue b/jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue index 96fad628..1497ed1e 100644 --- a/jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue +++ b/jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue @@ -425,7 +425,11 @@ - + - + placeholder="请输入招标项目类型" + /> --> + + + @@ -964,7 +980,7 @@ - {{ this.detailsMsg.bidMethod }} + {{ bidMethodFormat(this.detailsMsg) }} @@ -1040,8 +1056,8 @@ export default { isConsolidatedBiddingOptions: [], // 是否依法必招项目字典 isMustProject: [], - // 招标项目类型字典 - bidType: [], + // 招标方式字典 + bidTypeOptions: [], // 查询参数 queryParams: { pageNum: 1, @@ -1142,7 +1158,7 @@ export default { this.isMustProject = response.data; }); this.getDicts("Bid_type").then((response) => { - this.bidType = response.data; + this.bidTypeOptions = response.data; }); }, // 父组件 利用axios请求得到的值 传送到子组件,要监听,否则初始渲染时为空 @@ -1175,6 +1191,9 @@ export default { this.bidProjectNameOptions = response.records; }); }, + bidMethodFormat(row, column) { + return this.selectDictLabel(this.bidTypeOptions, row.bidMethod); + }, // 是否合并招标字典翻译 isConsolidatedBiddingFormat(row, column) { return this.selectDictLabel(