Merge branch 'zentaopms_277'

This commit is contained in:
孙广明
2022-12-30 08:45:34 +08:00
53 changed files with 7295 additions and 243 deletions
+9 -2
View File
@@ -74,7 +74,14 @@ foreach(explode(',', $config->task->create->requiredFields) as $field)
<td>
<div class="input-group" id="dataPlanGroup">
<?php echo html::select('assignedTo[]', $members, $task->assignedTo, "class='form-control chosen'");?>
<?php echo html::input('teamMember', '', "class='form-control team-group fix-border hidden' readonly='readonly'");?>
<?php
$teamMember = '';
if(!empty($task->team))
{
foreach($task->team as $team) $teamMember .= ' ' . zget($members, $team->account);
}
?>
<?php echo html::input('teamMember', $teamMember, "class='form-control team-group fix-border hidden' readonly='readonly'");?>
<span class="input-group-btn team-group hidden"><a class="btn br-0" href="#modalTeam" data-toggle="modal"><?php echo $lang->task->team;?></a></span>
</div>
</td>
@@ -115,7 +122,7 @@ foreach(explode(',', $config->task->create->requiredFields) as $field)
<div class='input-group <?php if(empty($stories)) echo "hidden";?>'>
<?php echo html::select('story', $stories, $task->story, "class='form-control chosen' onchange='setStoryRelated();'");?>
<?php if(common::hasPriv('execution', 'storyView')):?>
<span class='input-group-btn' id='preview'><a href='#' class='btn iframe'><?php echo $lang->preview;?></a></span>
<span class='input-group-btn' id='preview'><a href='#' class='btn iframe' data-width="85%" data-height="300px"><?php echo $lang->preview;?></a></span>
<?php endif;?>
</div>
</td>