修改已知问题

This commit is contained in:
qq787203167
2022-05-26 13:57:30 +08:00
parent 891bbc5bc6
commit f85c9656ac
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -813,7 +813,7 @@ module.exports = {
TheDoesNotContainData: 'The maintenance list of the virtual list does not contain data', TheDoesNotContainData: 'The maintenance list of the virtual list does not contain data',
number: 'No.', number: 'No.',
Deadline: 'Deadline', Deadline: 'Deadline',
toBeConfirmed: 'To be confirmed', toBeConfirmed: 'No rating',
designComplianceReview: 'Confirm design conformance', designComplianceReview: 'Confirm design conformance',
preHomeConfirmation: 'Pre-Homo confirmation', preHomeConfirmation: 'Pre-Homo confirmation',
verificationComplianceReview: 'Verify conformance validation', verificationComplianceReview: 'Verify conformance validation',
@@ -77,6 +77,7 @@
import { ACCESS_TOKEN } from '@/store/mutation-types' import { ACCESS_TOKEN } from '@/store/mutation-types'
import ImportFile from '@/components/ImportFile/index' import ImportFile from '@/components/ImportFile/index'
import Vue from 'vue' import Vue from 'vue'
import moment from 'moment'
export default { export default {
name: 'docLibrary', name: 'docLibrary',
@@ -141,7 +142,8 @@
...this.$refs.searchRef.queryParam, ...this.$refs.searchRef.queryParam,
id: this.idList.join(',') 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() { Deselect() {
this.$refs.tableDataRef.selectedRowKeys = [] this.$refs.tableDataRef.selectedRowKeys = []
@@ -154,7 +156,8 @@
id: this.idList.join(','), id: this.idList.join(','),
flag: 'file' 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() { handleAdd() {
@@ -162,7 +165,8 @@
}, },
//下载模板 //下载模板
handleModule() { handleModule() {
downloadFile('document/bussDocumentLibraryEO/exportTemplate', '文档库导入模板.xls', {})
downloadFile('document/bussDocumentLibraryEO/exportTemplate', this.$t('importTemplate')+this.$t('importTemplate')+'.xls', {})
}, },
//批量删除 //批量删除
handleDel() { handleDel() {
@@ -126,7 +126,7 @@
name: this.$t('experimentFailed'), name: this.$t('experimentFailed'),
status: res.certificationProgress status: res.certificationProgress
}) })
color.push('#FF8543') color.push('#E83030')
this.dataSource[0].experimentFailed = res.certificationProgressCount this.dataSource[0].experimentFailed = res.certificationProgressCount
} else if (res.certificationProgress == 'Test passed') { } else if (res.certificationProgress == 'Test passed') {
data.push({ data.push({