refactor(测试跟踪): 新建用例文案优化

--bug=1023415 --user=陈建星 【测试跟踪】功能用例-编辑-依赖关系-解除依赖-弹框提示和原型不符 https://www.tapd.cn/55049933/s/1338973
--bug=1023413 --user=陈建星 【测试跟踪】功能用例,新建用例的 “保存并新建” 按钮容易让人误解,文案建议改成 “保存并继续添加” https://www.tapd.cn/55049933/s/1338974
This commit is contained in:
chenjianxing 2023-02-20 19:09:07 +08:00 committed by jianxing
parent 6ff5584be0
commit 4906f50f11
5 changed files with 11 additions and 8 deletions

View File

@ -195,7 +195,7 @@ export default {
handleDelete(item) { handleDelete(item) {
operationConfirm( operationConfirm(
this, this,
this.$t("test_track.case.delete_confirm") + "依赖吗 ", this.$t("case.dependency_remove_confirm"),
() => { () => {
this.$emit("deleteRelationship", item.sourceId, item.targetId); this.$emit("deleteRelationship", item.sourceId, item.targetId);
} }

View File

@ -184,7 +184,7 @@ export default {
handleDelete(item) { handleDelete(item) {
operationConfirm( operationConfirm(
this, this,
this.$t("test_track.case.delete_confirm") + "依赖吗 ", this.$t("case.dependency_remove_confirm"),
() => { () => {
this.$emit("deleteRelationship", item.sourceId, item.targetId); this.$emit("deleteRelationship", item.sourceId, item.targetId);
} }

View File

@ -131,7 +131,7 @@ const message = {
please_enter_expected_results: "Please enter expected results", please_enter_expected_results: "Please enter expected results",
please_enter_comments: "Please enter comments", please_enter_comments: "Please enter comments",
disassociate: "Disassociate", disassociate: "Disassociate",
saveAndCreate: "Save and Add", saveAndCreate: "Save and continue create",
last_version: "Last version", last_version: "Last version",
set_new: "Set new", set_new: "Set new",
version_comparison: "Version comparison", version_comparison: "Version comparison",
@ -146,7 +146,8 @@ const message = {
enter_comments_and_click_send: "Enter comments and click Send", enter_comments_and_click_send: "Enter comments and click Send",
cancel_relate_case_tips_title: "Confirm cancel?", cancel_relate_case_tips_title: "Confirm cancel?",
cancel_relate_case_tips_content: "Cancel it will affect the test plan statistics. Sure?", cancel_relate_case_tips_content: "Cancel it will affect the test plan statistics. Sure?",
back_tips: "TestCase is not saved, Are you sure to quit?" back_tips: "TestCase is not saved, Are you sure to quit?",
dependency_remove_confirm: "Is dependency release confirmed?"
}, },
attachment: { attachment: {
preview: "Preview", preview: "Preview",

View File

@ -131,7 +131,7 @@ const message = {
please_enter_expected_results: "请输入预期结果", please_enter_expected_results: "请输入预期结果",
please_enter_comments: "请输入备注", please_enter_comments: "请输入备注",
disassociate: "取消关联", disassociate: "取消关联",
saveAndCreate: "保存并添加", saveAndCreate: "保存并继续添加",
last_version: "最新版本", last_version: "最新版本",
set_new: "置新", set_new: "置新",
version_comparison: "版本对比", version_comparison: "版本对比",
@ -146,7 +146,8 @@ const message = {
enter_comments_and_click_send: "输入评论,点击发送", enter_comments_and_click_send: "输入评论,点击发送",
cancel_relate_case_tips_title: "确定取消关联关系吗?", cancel_relate_case_tips_title: "确定取消关联关系吗?",
cancel_relate_case_tips_content: "取消关联会影响测试计划相关统计, 确定取消吗?", cancel_relate_case_tips_content: "取消关联会影响测试计划相关统计, 确定取消吗?",
back_tips: "你填写的信息未保存, 确定退出吗?" back_tips: "你填写的信息未保存, 确定退出吗?",
dependency_remove_confirm: "确定解除依赖吗?"
}, },
attachment: { attachment: {
preview: "预览", preview: "预览",

View File

@ -131,7 +131,7 @@ const message = {
please_enter_expected_results: "請輸入預期結果", please_enter_expected_results: "請輸入預期結果",
please_enter_comments: "請輸入備注", please_enter_comments: "請輸入備注",
disassociate: "取消關联", disassociate: "取消關联",
saveAndCreate: "保存並添加", saveAndCreate: "保存並繼續添加",
last_version: "最新版本", last_version: "最新版本",
set_new: "置新", set_new: "置新",
version_comparison: "版本對比", version_comparison: "版本對比",
@ -146,7 +146,8 @@ const message = {
enter_comments_and_click_send: "輸入評論,點擊發送", enter_comments_and_click_send: "輸入評論,點擊發送",
cancel_relate_case_tips_title: "確定取消關聯關係嗎?", cancel_relate_case_tips_title: "確定取消關聯關係嗎?",
cancel_relate_case_tips_content: "取消關聯會影響測試計劃相關統計, 確定取消嗎?", cancel_relate_case_tips_content: "取消關聯會影響測試計劃相關統計, 確定取消嗎?",
back_tips: "你填寫的信息未保存, 確定退出嗎?" back_tips: "你填寫的信息未保存, 確定退出嗎?",
dependency_remove_confirm: "確定解除依賴嗎?"
}, },
attachment: { attachment: {
preview: "預覽", preview: "預覽",