This commit is contained in:
孙华伟
2022-03-01 15:37:05 +08:00
parent 5b99190d32
commit 23511a0472
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -2070,7 +2070,6 @@ class execution extends control
$this->view->branchID = $branchID;
$this->view->projectID = $this->loadModel('task')->getProjectID($execution->id);
$this->view->allProducts = $this->loadModel('product')->getProductPairsByProject($this->view->projectID, 'noclosed');
a(count($this->view->allProducts));
$this->view->allPlans = $allPlans;
$this->view->kanbanData = $kanbanData;
$this->view->executionActions = $executionActions;
+1 -1
View File
@@ -3,7 +3,7 @@ $(function()
$('#products').change(function()
{
var selectProductID = $('#products').val();
var attr = '/index.php?m=story&f=batchCreate&ProductID=' + selectProductID + '&branch=' + branch + '&moduleID=0&story=0&execution=' + execution + '&onlybody=yes';
var attr = ('story', 'batchCreate', selectProductID + '&branch=' + branch + '&moduleID=0&story=0&execution=' + execution, '', true);
$('#batchCreateStory').children().children().attr('href',attr);
});
})
+1 -1
View File
@@ -247,7 +247,7 @@ js::set('branch',$branchID);
<div class="modal-body">
<div class='input-group'>
<?php echo html::select('products', $allProducts, '', "class='form-control chosen' id='products'");?>
<span class='input-group-btn', id='chuangjian'><?php echo html::commonButton(html::a(helper::createLink('story', 'batchCreate', "productID=$productID&branch=$branchID&moduleID=0&story=0&execution=$execution->id", '', true), $lang->execution->batchCreateStroy, '', "class='btn-primary iframe' data-width='90%'"), "id='toStoryButton'", 'btn btn-primary');?></span>
<span class='input-group-btn'><?php echo html::a(helper::createLink('story', 'batchCreate', "productID=$productID&branch=$branchID&moduleID=0&story=0&execution=$execution->id", '', true), $lang->execution->batchCreateStroy, '', "class='btn btn-primary iframe' data-width='90%'");?></span>
</div>
</div>
</div>