[update 全局翻译] 导入导出提示
This commit is contained in:
+6
-6
@@ -556,8 +556,8 @@ export default {
|
||||
// 加一个大的提示
|
||||
if (!this.loading) {
|
||||
importModalLoading = this.$info({
|
||||
title: '提示',
|
||||
content: <span>正在导入,请稍候 <a-spin size="small" /></span>,
|
||||
title: this.$t('tips'),
|
||||
content: <span>{this.$t('importTip')} <a-spin size="small" /></span>,
|
||||
keyboard: false,
|
||||
// 不显示 知道了 按钮
|
||||
okButtonProps: {
|
||||
@@ -587,7 +587,7 @@ export default {
|
||||
)
|
||||
})
|
||||
} else {
|
||||
this.$message.success(info.file.response.message || `${info.file.name} 文件上传成功`)
|
||||
this.$message.success(info.file.response.message || `${info.file.name} ${this.$t('fileUploadSuccess')}`)
|
||||
}
|
||||
// 前端存储,没有id的数据,前端加上uuid
|
||||
const data = info.file.response.result || []
|
||||
@@ -631,7 +631,7 @@ export default {
|
||||
})
|
||||
}
|
||||
} else {
|
||||
this.$message.warning(`文件上传失败: ${info.file.msg} `)
|
||||
this.$message.warning(`${this.$t('fileUploadFailed')}: ${info.file.msg} `)
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -640,10 +640,10 @@ export default {
|
||||
const { standardNumber, standardName } = this.standardInfo || {}
|
||||
if (this.isDistribute) {
|
||||
// 分发:编号 + 名称 + 解读分发
|
||||
fileName = `${standardNumber} ${standardName}-解读分发`
|
||||
fileName = `${standardNumber} ${standardName}-${this.$t('workCenter.standardInterpretationProcess.interpretationDistribution')}`
|
||||
} else {
|
||||
// 不分发和汇总:编号 + 名称 + 解读表
|
||||
fileName = `${standardNumber} ${standardName}-解读表`
|
||||
fileName = `${standardNumber} ${standardName}-${this.$t('workCenter.standardInterpretationProcess.interpretationTable')}`
|
||||
}
|
||||
const param = {
|
||||
projectId: this.$route.query.projectId,
|
||||
|
||||
Reference in New Issue
Block a user