* Modify the question.

This commit is contained in:
tianshujie
2022-01-20 13:49:21 +08:00
parent ee15a96157
commit 7383bb566d
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -904,7 +904,7 @@ function changeCardColType(cardID, fromColID, toColID, fromLaneID, toLaneID, car
}
/**
*Close modal and update kanban data.
* Close modal and update kanban data.
*
* @param string kanbanData
* @param int regionID
+1 -1
View File
@@ -715,7 +715,7 @@ class kanbanModel extends model
* @access public
* @return array
*/
public function getRegionPairs($kanbanID, $regionID = 0 )
public function getRegionPairs($kanbanID, $regionID = 0)
{
return $this->dao->select('id,name')->from(TABLE_KANBANREGION)
->where('kanban')->eq($kanbanID)
+1 -2
View File
@@ -1019,9 +1019,8 @@ class task extends control
$execution = $this->execution->getByID($task->execution);
if($execution->type == 'kanban')
{
$this->loadModel('kanban');
$regionID = isset($output['regionID']) ? $output['regionID'] : 0;
$kanbanData = $this->kanban->getRDKanban($task->execution, 'all', 'id_desc', $regionID);
$kanbanData = $this->loadModel('kanban')->getRDKanban($task->execution, 'all', 'id_desc', $regionID);
$kanbanData = json_encode($kanbanData);
return print(js::closeModal('parent.parent', '', "parent.parent.updateKanban($kanbanData, $regionID)"));