mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 21:49:23 +08:00
refactor(测试跟踪): 测试计划关联用例确认弹窗优化
--bug=1027465 --user=宋昌昌 【测试跟踪】github#25287,测试计划,关联某一模块下面的用例,点击【确定】会直接把关联用例页面给关闭了,测试跟踪重度用户反馈,能不能只关联不关闭页面。 https://www.tapd.cn/55049933/s/1393397
This commit is contained in:
parent
3953193044
commit
8c9372f938
@ -256,10 +256,9 @@ export default {
|
||||
param.environmentId = environmentId;
|
||||
relevanceList(param)
|
||||
.then(() => {
|
||||
this.$success(this.$t("commons.save_success"));
|
||||
this.$success(this.$t("plan.relevance_case_success"));
|
||||
this.$emit("refresh");
|
||||
this.refresh();
|
||||
this.$refs.baseRelevance.close();
|
||||
this.isSaving = false;
|
||||
})
|
||||
.catch(() => {
|
||||
|
@ -172,11 +172,10 @@ export default {
|
||||
scenarioRelevance(param)
|
||||
.then(() => {
|
||||
this.isSaving = false;
|
||||
this.$success(this.$t("commons.save_success"));
|
||||
this.$success(this.$t("plan.relevance_case_success"));
|
||||
this.$emit("refresh");
|
||||
this.refresh();
|
||||
this.autoCheckStatus();
|
||||
this.$refs.baseRelevance.close();
|
||||
})
|
||||
.catch(() => {
|
||||
this.isSaving = false;
|
||||
|
@ -62,8 +62,7 @@ export default {
|
||||
.then(() => {
|
||||
vueObj.page.loading = false;
|
||||
vueObj.isSaving = false;
|
||||
this.$success(this.$t('commons.save_success'));
|
||||
vueObj.$refs.baseRelevance.close();
|
||||
this.$success(this.$t("plan.relevance_case_success"));
|
||||
vueObj.setSelectCounts(0);
|
||||
this.$emit('refresh');
|
||||
}).catch((error) => {
|
||||
|
@ -208,9 +208,9 @@ export default {
|
||||
testPlanLoadRelevance(condition)
|
||||
.then(() => {
|
||||
this.loading = false;
|
||||
this.$success(this.$t('commons.save_success'));
|
||||
this.$refs.baseRelevance.close();
|
||||
this.$success(this.$t("plan.relevance_case_success"));
|
||||
this.$emit('refresh');
|
||||
this.search();
|
||||
})
|
||||
.catch((e) => {
|
||||
});
|
||||
|
@ -182,11 +182,10 @@ export default {
|
||||
.then(() => {
|
||||
this.loading = false;
|
||||
this.isSaving = false;
|
||||
this.$success(this.$t("commons.save_success"));
|
||||
this.$success(this.$t("plan.relevance_case_success"));
|
||||
this.$emit("refresh");
|
||||
this.refresh();
|
||||
this.autoCheckStatus();
|
||||
this.$refs.baseRelevance.close();
|
||||
})
|
||||
.catch(() => {
|
||||
this.isSaving = false;
|
||||
|
@ -64,6 +64,7 @@ const message = {
|
||||
},
|
||||
plan: {
|
||||
batch_delete_tip: "Do you want to continue deleting the test plan?",
|
||||
relevance_case_success: "Relevance success"
|
||||
},
|
||||
review: {
|
||||
result_distribution: "Result Distribution",
|
||||
|
@ -64,6 +64,7 @@ const message = {
|
||||
},
|
||||
plan: {
|
||||
batch_delete_tip: "批量删除测试计划,是否继续?",
|
||||
relevance_case_success: "已添加至测试计划"
|
||||
},
|
||||
review: {
|
||||
result_distribution: "结果分布",
|
||||
|
@ -64,6 +64,7 @@ const message = {
|
||||
},
|
||||
plan: {
|
||||
batch_delete_tip: "批量刪除測試計劃,是否繼續?",
|
||||
relevance_case_success: "已添加至測試計劃"
|
||||
},
|
||||
review: {
|
||||
result_distribution: "結果分布",
|
||||
|
Loading…
Reference in New Issue
Block a user