* [story#69541,0.5h] add toggleCheckRows.

This commit is contained in:
qixinzhi
2024-12-26 09:01:22 +08:00
committed by 代婷婷
parent e7e6c11bf6
commit 0e9cdc4076
+7
View File
@@ -349,3 +349,10 @@ window.getPlanID = function(event)
const planID = $(event.target).closest('a').data('plan');
$('[name=planID]').val(planID);
}
window.toggleCheckRows = function(idList)
{
if(!idList?.length) return;
const dtable = zui.DTable.query($('#productPlans'));
dtable.$.toggleCheckRows(idList.split(','), true);
}