Merge branch 'master' of https://gitlab.zcorp.cc/easycorp/zentaopms into importExport
This commit is contained in:
@@ -230,7 +230,7 @@ class task extends control
|
||||
elseif($this->post->after == 'toTaskList')
|
||||
{
|
||||
setcookie('moduleBrowseParam', 0, 0, $this->config->webRoot, '', $this->config->cookieSecure, false);
|
||||
$taskLink = $this->createLink('execution', 'task', "executionID=$executionID&status=unclosed¶m=0&orderBy=id_desc");
|
||||
$taskLink = $this->createLink('execution', 'task', "executionID=$executionID&status=all¶m=0&orderBy=id_desc");
|
||||
$response['locate'] = $taskLink;
|
||||
return $this->send($response);
|
||||
}
|
||||
|
||||
@@ -22,6 +22,5 @@
|
||||
|
||||
.c-multipleTask {width: 110px;}
|
||||
.c-modulel {width: 110px;}
|
||||
.c-selectStory {width: 120px;}
|
||||
|
||||
.keep-row-height {height: 32px;}
|
||||
|
||||
@@ -1673,7 +1673,7 @@ class taskModel extends model
|
||||
$estimate->left = zget($_POST, 'left', 0);
|
||||
$estimate->work = zget($task, 'work', '');
|
||||
$estimate->account = $this->app->user->account;
|
||||
$estimate->consumed = $estimate->consumed - $oldTask->consumed;
|
||||
$estimate->consumed = !empty($oldTask->team) ? $estimate->consumed - $oldTask->team[$this->app->user->account]->consumed : $estimate->consumed - $oldTask->consumed;
|
||||
if($this->post->comment) $estimate->work = $this->post->comment;
|
||||
$this->addTaskEstimate($estimate);
|
||||
|
||||
|
||||
@@ -166,8 +166,8 @@
|
||||
<?php endif;?>
|
||||
<div class='main-actions'>
|
||||
<div class="btn-toolbar">
|
||||
<?php if(!isonlybody()):?>
|
||||
<?php echo html::a($browseLink, '<i class="icon icon-back icon-sm"></i> ' . $lang->goback, '', "class='btn btn-secondary'");?>
|
||||
<?php if(!isonlybody() and $this->app->getViewType() != 'xhtml'):?>
|
||||
<?php echo html::a($browseLink, '<i class="icon icon-back icon-sm"></i> ' . $lang->goback, '', "class='btn'");?>
|
||||
<?php echo "<div class='divider'></div>";?>
|
||||
<?php endif;?>
|
||||
<?php $task->executionList = $execution;?>
|
||||
|
||||
Reference in New Issue
Block a user