diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js index dd3688052a..43d9702380 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js @@ -582,6 +582,7 @@ export default { import_bugs: "Import Issue", export_bugs: "Export Issue", save_before_open_comment: "Please save issue before comment", + delete_third_part_tip: "This operation will delete third-party platform defects synchronously", delete_tip: "Confirm Delete Issue:", batch_delete_tip: "Confirm Batch Delete Issue", check_id_exist: "Check", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js index dd344117cb..2c6e8a8d4a 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js @@ -550,6 +550,7 @@ export default { import_bugs: "导入缺陷", export_bugs: "导出缺陷", save_before_open_comment: "请先保存缺陷再添加评论", + delete_third_part_tip: "该操作将同步删除第三方平台缺陷", delete_tip: "确认删除缺陷:", batch_delete_tip: "确认批量删除缺陷", check_id_exist: "检查", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js index f45e5702e8..0571ca978d 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js @@ -549,6 +549,7 @@ export default { import_bugs: "導入缺陷", export_bugs: "導出缺陷", save_before_open_comment: "請先保存缺陷再添加評論", + delete_third_part_tip: "該操作將同步刪除第三方平台缺陷", delete_tip: "確認刪除缺陷:", batch_delete_tip: "確認批量刪除缺陷", check_id_exist: "檢查", diff --git a/test-track/frontend/src/business/issue/IssueList.vue b/test-track/frontend/src/business/issue/IssueList.vue index f53c09bade..eac71f03ce 100644 --- a/test-track/frontend/src/business/issue/IssueList.vue +++ b/test-track/frontend/src/business/issue/IssueList.vue @@ -524,7 +524,11 @@ export default { this.$refs.issueEdit.open(copyData, 'copy'); }, handleDelete(data) { - this.$alert(this.$t('test_track.issue.delete_tip') + ' ' + data.title + " ?", '', { + let tip = this.$t('test_track.issue.delete_tip') + ' ' + data.title + " ?"; + if (this.isThirdPart) { + tip = this.$t('test_track.issue.delete_third_part_tip') + ", " + tip; + } + this.$alert(tip, '', { confirmButtonText: this.$t('commons.confirm'), callback: (action) => { if (action === 'confirm') { @@ -540,7 +544,11 @@ export default { }) }, handleBatchDelete() { - this.$alert(this.$t('test_track.issue.batch_delete_tip') + " ?", '', { + let tip = this.$t('test_track.issue.batch_delete_tip') + " ?"; + if (this.isThirdPart) { + tip = this.$t('test_track.issue.delete_third_part_tip') + ", " + tip; + } + this.$alert(tip, '', { confirmButtonText: this.$t('commons.confirm'), callback: (action) => { if (action === 'confirm') {