[update] 54832

This commit is contained in:
zhaomeijing
2022-06-23 11:01:25 +08:00
parent 2dbced2f2a
commit 9780181e74
3 changed files with 12 additions and 6 deletions
+4 -1
View File
@@ -1000,5 +1000,8 @@ module.exports = {
Exporthistory: 'Exporthistory',
Exporttype: 'Export Type',
Exporttime: 'Export Time',
file: 'File'
file: 'File',
// 中英修改-全局
Copysuccessful: 'Copy Successful',
Copyfailed: 'Copy Failed',
}
+4 -1
View File
@@ -1005,5 +1005,8 @@ module.exports = {
Exporthistory: '导出历史',
Exporttype: '导出类型',
Exporttime: '导出时间',
file: '文件'
file: '文件',
// 中英修改-全局
Copysuccessful: '复制成功',
Copyfailed: '复制失败',
}
@@ -270,20 +270,20 @@ export default {
this.confirmLoading = true
let _tt = {
paramsTemplateId: this.selectedRowKeysDate[0].paramsTemplateId,
projectId: this.selectedRowKeysDate[0].projectId,
title: this.selectedRowKeysDate[0].title,
projectId: this.projectId,
title: this.formData.title,
paramsTemplatePublishVersion: this.selectedRowKeysDate[0].paramsTemplatePublishVersion,
sourceManifestId: this.selectedRowKeysDate[0].id,
}
postAction('params/manifest/copy', _tt).then((res) => {
if (res.success) {
this.$emit('copysubmit')
this.$message.success(res.message)
this.$message.success(this.$t('Copysuccessful'))
this.flag = false
this.spinLoading = false
this.confirmLoading = false
} else {
this.$message.warning(res.message)
this.$message.warning(this.$t('Copyfailed'))
this.flag = false
this.spinLoading = false
this.confirmLoading = false