From f85c9656ac332741037589e1428e5acc0959b7de Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 26 May 2022 13:57:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=B2=E7=9F=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 2 +- jero-web/src/views/documentManage/library/index.vue | 10 +++++++--- .../components/certificationProgressEchart.vue | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index c2b7ae4a0..9fdb884bb 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -813,7 +813,7 @@ module.exports = { TheDoesNotContainData: 'The maintenance list of the virtual list does not contain data', number: 'No.', Deadline: 'Deadline', - toBeConfirmed: 'To be confirmed', + toBeConfirmed: 'No rating', designComplianceReview: 'Confirm design conformance', preHomeConfirmation: 'Pre-Homo confirmation', verificationComplianceReview: 'Verify conformance validation', diff --git a/jero-web/src/views/documentManage/library/index.vue b/jero-web/src/views/documentManage/library/index.vue index 0560be03c..29c0b0b81 100644 --- a/jero-web/src/views/documentManage/library/index.vue +++ b/jero-web/src/views/documentManage/library/index.vue @@ -77,6 +77,7 @@ import { ACCESS_TOKEN } from '@/store/mutation-types' import ImportFile from '@/components/ImportFile/index' import Vue from 'vue' + import moment from 'moment' export default { name: 'docLibrary', @@ -141,7 +142,8 @@ ...this.$refs.searchRef.queryParam, id: this.idList.join(',') } - downloadFile('document/bussDocumentLibraryEO/exportExcel', this.$t('DocumentLibrary')+'.xls', query, this.Deselect) + let handlingTime = moment(new Date()).format('YYYY-MM-DD') + downloadFile('document/bussDocumentLibraryEO/exportExcel', this.$t('DocumentLibrary')+handlingTime+'.xls', query, this.Deselect) }, Deselect() { this.$refs.tableDataRef.selectedRowKeys = [] @@ -154,7 +156,8 @@ id: this.idList.join(','), flag: 'file' } - downloadFile('document/bussDocumentLibraryEO/exportZip', '文档库.zip', query, this.Deselect) + let handlingTime = moment(new Date()).format('YYYY-MM-DD') + downloadFile('document/bussDocumentLibraryEO/exportZip', this.$t('DocumentLibrary')+handlingTime+'.zip', query, this.Deselect) }, //新增 handleAdd() { @@ -162,7 +165,8 @@ }, //下载模板 handleModule() { - downloadFile('document/bussDocumentLibraryEO/exportTemplate', '文档库导入模板.xls', {}) + + downloadFile('document/bussDocumentLibraryEO/exportTemplate', this.$t('importTemplate')+this.$t('importTemplate')+'.xls', {}) }, //批量删除 handleDel() { diff --git a/jero-web/src/views/projectManagement/components/certificationProgressEchart.vue b/jero-web/src/views/projectManagement/components/certificationProgressEchart.vue index dfa4961dd..70ddc668d 100644 --- a/jero-web/src/views/projectManagement/components/certificationProgressEchart.vue +++ b/jero-web/src/views/projectManagement/components/certificationProgressEchart.vue @@ -126,7 +126,7 @@ name: this.$t('experimentFailed'), status: res.certificationProgress }) - color.push('#FF8543') + color.push('#E83030') this.dataSource[0].experimentFailed = res.certificationProgressCount } else if (res.certificationProgress == 'Test passed') { data.push({