From c8355643fef6cdfd7bb1f6477d2d58921f718dec Mon Sep 17 00:00:00 2001 From: xzt <1113240624@qq.com> Date: Tue, 26 Sep 2023 18:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E6=9C=9F=E6=9D=BF=E5=9D=97=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jwtech-admin-page/src/App.vue | 6 + .../bid/options/TenderAnnouncementPage.vue | 17 +- .../views/project/bid/options/bidBasePage.vue | 452 +++++++++++++++++- 3 files changed, 461 insertions(+), 14 deletions(-) diff --git a/jwtech-admin-page/src/App.vue b/jwtech-admin-page/src/App.vue index 78925b0f..62103eec 100644 --- a/jwtech-admin-page/src/App.vue +++ b/jwtech-admin-page/src/App.vue @@ -39,4 +39,10 @@ s { background: rgba(0, 0, 0, 0.1); transition: color 0.2s ease; } +.el-icon-download { + color: #36b29e; +} +.el-icon-download:hover { + color: #94e7c7; +} diff --git a/jwtech-admin-page/src/views/project/bid/options/TenderAnnouncementPage.vue b/jwtech-admin-page/src/views/project/bid/options/TenderAnnouncementPage.vue index f13a96e9..b9396ca0 100644 --- a/jwtech-admin-page/src/views/project/bid/options/TenderAnnouncementPage.vue +++ b/jwtech-admin-page/src/views/project/bid/options/TenderAnnouncementPage.vue @@ -459,7 +459,7 @@ - - + + --> + @@ -543,7 +550,7 @@ size="small" style="width: 100%" v-model="form.gainFileStartTime" - type="date" + type="datetime" value-format="yyyy-MM-dd" placeholder="选择获取招标文件开始时间" > @@ -557,7 +564,7 @@ size="small" style="width: 100%" v-model="form.gainFileEndTime" - type="date" + type="datetime" value-format="yyyy-MM-dd" placeholder="选择获取招标文件截止时间" > @@ -571,7 +578,7 @@ size="small" style="width: 100%" v-model="form.deliveryEndTime" - type="date" + type="datetime" value-format="yyyy-MM-dd" placeholder="选择递交投标文件截止时间" > 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 eff3a002..bfc2cd12 100644 --- a/jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue +++ b/jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue @@ -195,10 +195,17 @@ label="操作" align="center" class-name="small-padding fixed-width" - min-width="120" + min-width="180" fixed="right" > @@ -526,8 +890,12 @@ export default { bidInfoList: [], // 弹出层标题 title: "", + // 查看弹出层标题 + viewTitle: "", // 是否显示弹出层 open: false, + // 是否显示查看弹出层 + viewOpen: false, // 是否合并招标字典 isConsolidatedBiddingOptions: [], // 是否依法必招项目字典 @@ -603,6 +971,9 @@ export default { }, // 项目建议书的项目,同一个项目,有不同的项目编码 bidProjectNameOptions: [], + // 点击查看时的信息 + infoMsg: {}, + detailsMsg: {}, }; }, created() { @@ -631,11 +1002,13 @@ export default { listBidInfo(this.queryParams).then((response) => { this.bidInfoList = response.records; this.total = response.total; - this.loading = false; + setTimeout(() => { + this.loading = false; + }, 50); }); // 招标项目选项 listProposal({ data: { proNo: this.proNo } }).then((response) => { - console.log("response55555555555", response); + // console.log("response55555555555", response); this.bidProjectNameOptions = response.records; }); }, @@ -646,6 +1019,9 @@ export default { row.isConsolidatedBidding ); }, + isMustProjectFormat(row, column) { + return this.selectDictLabel(this.isMustProject, row.isMustProject); + }, projectNameFormat(row) { return row.bidProjectName.slice(0, row.bidProjectName.indexOf("[")); }, @@ -816,6 +1192,27 @@ export default { close() { this.reset(); }, + // 查看信息 + viewInfo(row) { + this.viewTitle = row.bidProjectName.slice( + 0, + row.bidProjectName.indexOf("[") + ); + this.infoMsg = row; + console.log("infoMsg", row); + getBidInfoVO(row.id).then((response) => { + this.detailsMsg = response.data.projectBidDetails; + console.log("detailsMsg", this.detailsMsg); + }); + + this.viewOpen = true; + }, + // 关闭弹窗 + closeView() { + this.infoMsg = {}; + this.detailsMsg = {}; + }, + /** 删除按钮操作 */ handleDelete(row) { const ids = row.id || this.ids; @@ -859,6 +1256,11 @@ export default { let file = JSON.parse(scope.row.bidAttachment)[index]; this.handlePreview(file); }, + // 查看信息中, 下载 + downloadFile2(info, index) { + console.log(info); + this.handlePreview(info); + }, // 点击预览下载文件 handlePreview(file) { // console.log(file); @@ -894,15 +1296,47 @@ export default { ::v-deep { .el-dialog { margin-top: 2vh !important; - height: 90%; + height: 95%; overflow-y: auto; } + .el-dialog__title { + font-weight: 700; + font-size: 28px; + } .el-divider { height: 4px; + color: #000; } .el-divider__text { font-weight: 700; font-size: 20px; } } +.draLine { + width: 100%; + border: 2px solid #000; + margin: 10px 0 20px 0; +} +.infoTitle, +.detailsTitle { + color: #000; + font-size: 20px; + font-weight: 700; +} +.detailsTitle { + margin-top: 30px; +} +.infoTable, +.detialsTable { + width: 100%; + border-collapse: collapse; + border-color: #ccc; +} +.infoTable th, +.infoTable tr, +.detialsTable th, +.detialsTable tr { + padding: 20px 0; + text-align: center; +}