* Code for task #84583.

This commit is contained in:
hufangzhou
2023-02-19 09:17:49 +00:00
parent 58d20833c7
commit aaeeb9372d
5 changed files with 32 additions and 33 deletions
+2 -27
View File
@@ -160,37 +160,12 @@ js::set('isCNLang', !$this->loadModel('common')->checkNotCN());
$('#batchEditBtn').click(function()
{
var batchEditLink = createLink('execution', 'batchEdit');
var tempform = document.createElement("form");
tempform.action = batchEditLink;
tempform.method = "post";
tempform.style.display = "none";
var opt = document.createElement("input");
opt.name = 'executionIDList';
opt.value = checkItems;
tempform.appendChild(opt);
document.body.appendChild(tempform);
tempform.submit();
buildForm(createLink('execution', 'batchEdit'));
})
$('.statusLink').click(function()
{
var changeStatusLink = $(this).data('link');
var tempform = document.createElement("form");
tempform.action = changeStatusLink;
tempform.method = "post";
tempform.target = "hiddenwin";
tempform.style.display = "none";
var opt = document.createElement("input");
opt.name = 'executionIDList';
opt.value = checkItems;
tempform.appendChild(opt);
document.body.appendChild(tempform);
tempform.submit();
buildForm($(this).data('link'), 'hiddenwin');
})
</script>
<?php endif;?>