* Finish task #58767.

This commit is contained in:
mayue
2022-06-29 16:40:57 +08:00
parent b33c652953
commit 6289859fb2
7 changed files with 152 additions and 18 deletions
+7 -1
View File
@@ -24,7 +24,7 @@
<table class='table table-form'>
<tr>
<th class='w-80px'><?php echo $lang->story->reviewedBy;?></th>
<td colspan="2">
<td colspan='1' id='reviewerBox'>
<div class="input-group">
<?php echo html::select('reviewer[]', $productReviewers, $reviewer, "class='form-control picker-select' multiple" . ($this->story->checkForceReview() ? ' required' : ''));?>
<?php if(!$this->story->checkForceReview()):?>
@@ -34,6 +34,12 @@
<?php endif;?>
</div>
</td>
<td colspan='1' id='assignedToBox'>
<div class='input-group'>
<div class="input-group-addon"><?php echo $lang->story->assignedTo;?></div>
<?php echo html::select('assignedTo', $users, '', "class='form-control picker-select'");?>
</div>
</td>
</tr>
<tr class='hide'>
<th><?php echo $lang->story->status;?></th>
+6 -1
View File
@@ -29,7 +29,11 @@
</tr>
<tr>
<th><?php echo $lang->story->reviewResult;?></th>
<td class = 'required'><?php echo html::select('result', $lang->story->resultList, '', 'class=form-control onchange="switchShow(this.value)"');?></td><td></td>
<td class = 'required'><?php echo html::select('result', $lang->story->resultList, '', 'class="form-control chosen" onchange="switchShow(this.value)"');?></td><td></td>
</tr>
<tr id='assignedToBox' class='hide'>
<th><?php echo $lang->story->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, '', "class='form-control picker-select'");?></td><td></td>
</tr>
<tr id='rejectedReasonBox' class='hide'>
<th><?php echo $lang->story->rejectedReason;?></th>
@@ -85,4 +89,5 @@
<?php js::set('storyID', $story->id);?>
<?php js::set('storyType', $story->type);?>
<?php js::set('rawModule', $this->app->rawModule);?>
<?php js::set('isMultiple', count($reviewers) == 1 ? false : true);?>
<?php include '../../common/view/footer.html.php';?>