From 3654585b635c11a6aa7799b4848823b05bb1ad04 Mon Sep 17 00:00:00 2001 From: xzt <1113240624@qq.com> Date: Fri, 26 Jan 2024 10:11:18 +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 | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 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 1497ed1e..d149687d 100644 --- a/jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue +++ b/jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue @@ -425,22 +425,22 @@ - - + - --> + @@ -455,7 +455,7 @@ style="width: 100%" > - {{ this.detailsMsg.bidType }} + {{ bidTypeFormat(this.detailsMsg) }} @@ -1056,8 +1056,10 @@ export default { isConsolidatedBiddingOptions: [], // 是否依法必招项目字典 isMustProject: [], - // 招标方式字典 + // 招标项目类型字典 bidTypeOptions: [], + // 招标方式字典 + bidMethodOptions: [], // 查询参数 queryParams: { pageNum: 1, @@ -1157,9 +1159,12 @@ export default { this.isConsolidatedBiddingOptions = response.data; this.isMustProject = response.data; }); - this.getDicts("Bid_type").then((response) => { + this.getDicts("bid_pro_type").then((response) => { this.bidTypeOptions = response.data; }); + this.getDicts("Bid_type").then((response) => { + this.bidMethodOptions = response.data; + }); }, // 父组件 利用axios请求得到的值 传送到子组件,要监听,否则初始渲染时为空 watch: { @@ -1191,8 +1196,11 @@ export default { this.bidProjectNameOptions = response.records; }); }, + bidTypeFormat(row, column) { + return this.selectDictLabel(this.bidTypeOptions, row.bidType); + }, bidMethodFormat(row, column) { - return this.selectDictLabel(this.bidTypeOptions, row.bidMethod); + return this.selectDictLabel(this.bidMethodOptions, row.bidMethod); }, // 是否合并招标字典翻译 isConsolidatedBiddingFormat(row, column) {