fix(接口测试): 修复批量执行case后勾选case批量删除case提示删除成功实际删除失败的缺陷
--bug=1013019 --user=王孝刚 【接口测试】批量执行case后勾选case-批量删除case-提示删除成功-实际删除失败 https://www.tapd.cn/55049933/s/1153949
This commit is contained in:
parent
414b124e50
commit
c39cf1dd65
|
@ -900,18 +900,18 @@ export default {
|
|||
obj.projectId = this.projectId;
|
||||
obj.selectAllDate = this.selectAll;
|
||||
obj.unSelectIds = this.unSelection;
|
||||
obj.ids = Array.from(this.selectRows).map(row => row.id);
|
||||
obj = Object.assign(obj, this.condition);
|
||||
obj.ids = Array.from(this.selectRows).map(row => row.id);
|
||||
this.$post('/api/testcase/checkDeleteDatas/', obj, response => {
|
||||
let checkResult = response.data;
|
||||
let alertMsg = this.$t('api_test.definition.request.delete_confirm') + " ?";
|
||||
let alertMsg = this.$t('api_test.definition.request.delete_case_confirm') + " ?";
|
||||
if (!checkResult.deleteFlag) {
|
||||
alertMsg = "";
|
||||
checkResult.checkMsg.forEach(item => {
|
||||
alertMsg += item + ";";
|
||||
});
|
||||
if (alertMsg === "") {
|
||||
alertMsg = this.$t('api_test.definition.request.delete_confirm') + " ?";
|
||||
alertMsg = this.$t('api_test.definition.request.delete_case_confirm') + " ?";
|
||||
} else {
|
||||
alertMsg += this.$t('api_test.is_continue') + " ?";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue