* testcase: add function to filter the scene id list when export.

This commit is contained in:
liugang
2023-08-15 16:49:46 +08:00
parent 2b7be14c72
commit 487fbaeda4
+9
View File
@@ -1,3 +1,12 @@
window.setCheckedCookie = function() {
var checkeds = [];
var $checkboxes = $('#mainContent .main-table tbody>tr input[type="checkbox"][name^=caseIDList]:checked');
$checkboxes.each(function() {
checkeds.push($(this).val());
});
$.cookie('checkedItem', checkeds.join(','), {expires: config.cookieLife, path: config.webRoot});
};
/**
* Confirm batch delete cases.
*