* 1.added story verify in task view.

* 2.put story spec, verify and file together.
This commit is contained in:
chenfeiCF
2016-03-14 11:59:34 +08:00
parent b2d49204b8
commit 8bbad78ec1
4 changed files with 18 additions and 31 deletions
+2 -2
View File
@@ -455,8 +455,8 @@ class task extends control
else
{
$story = $this->story->getById($task->story);
$task->storySpec = empty($story) ? '' : $story->spec;
$task->storyComments = empty($story) ? array() : $this->task->getStoryComments($task->story);
$task->storySpec = empty($story) ? '' : $this->loadModel('file')->setImgSize($story->spec);
$task->storyVerify = empty($story) ? '' : $this->loadModel('file')->setImgSize($story->verify);
$task->storyFiles = $this->loadModel('file')->getByObject('story', $task->story);
}