This commit is contained in:
tianshujie
2024-05-24 15:09:22 +08:00
parent 1e4ba9bb56
commit 1337f3beff
2 changed files with 10 additions and 2 deletions
+8 -1
View File
@@ -37,7 +37,14 @@ window.changeKanbanType = function()
{
const type = $('[name=type]:checked').val();
const url = $.createLink('kanban', 'create', 'spaceID=' + spaceID + '&type=' + type);
loadPartial(url, '#WIPCountBox, #spaceBox, #nameBox, #ownerBox, #teamBox, #fixedColBox, #autoColBox, #archiveBox, #manageProgressBox, #alignmentBox, #descBox, #whitelistBox');
loadPartial(url, '#WIPCountBox, #spaceBox, #nameBox, #ownerBox, #teamBox, #fixedColBox, #autoColBox, #archiveBox, #manageProgressBox, #alignmentBox, #descBox, #whitelistBox', {success: function()
{
waitDom('#spaceBox [name=space]', function()
{
const copySpaceID = $('#spaceBox input[name=space]').val();
$('#spaceBox input[name=space]').zui('picker').$.setValue(copySpaceID);
});
}});
}
window.loadAllUsers = function()
+2 -1
View File
@@ -6,7 +6,8 @@ window.clickCopyCard = function(event)
window.setCopyKanban = function(kanbanID)
{
copyRegion = $('[name=copyRegionInfo]').prop('checked');
const copyRegion = $('[name=copyRegionInfo]').prop('checked');
const spaceType = $('[name=type]:checked').val();
const url = $.createLink('kanban', 'create', 'spaceID=' + spaceID + '&type=' + spaceType + '&copyKanbanID=' + kanbanID + '&exyra=copyRegion=' + (copyRegion ? '1' : '0'));
loadPartial(url, '#WIPCountBox, #spaceBox, #nameBox, #ownerBox, #teamBox, #fixedColBox, #autoColBox, #archiveBox, #manageProgressBox, #alignmentBox, #descBox, #whitelistBox', {success: function()
{