" <?php echo $selected; ?> ><?php echo InspectTask::$statusDesc[$st]; ?> </option> <?php } ?> </select> <span >来源:</span> <select name='tasksrc'> <option value=''>全部</option> <?php foreach (InspectTask::getSaleSrc() as $srcValue => $srcDesc) { $selected = ''; if ($srcValue == $searchsrc) { $selected = 'selected'; } ?> <option value="<?php echo $srcValue; ?> " <?php echo $selected; ?> ><?php echo $srcDesc; ?> </option>
private function getTaskGroup($groupId, $src, $source, $fromGroup, $taskLevel) { /*{{{*/ $group = InspectGroup::find($groupId); if ($group instanceof SaleInspectGroup) { if (InspectTask::isDingDanGenJin($src) || InspectTask::isYiXianDaiXia($src)) { $group = SaleInspectGroup::getToGroupByTaskLevel($source, $fromGroup, $taskLevel); } } return $group; }
?> " type='text' id='doctorname' name='doctorname'/> <span>创建时间:</span> <input value="<?php echo isset($searchctimeFrom) ? $searchctimeFrom : ''; ?> " type='text' id='ctimefrom' name='ctimefrom'/>至 <input value="<?php echo isset($searchctimeTo) ? $searchctimeTo : ''; ?> " type='text' id='ctimeto' name='ctimeto'/><br /> <span>状态:</span> <select name='searchstatus'> <option value='' >全部</option> <?php foreach (InspectTask::getUnFinishedStatus() as $st) { $selected = ''; if ($st == $searchstatus) { $selected = 'selected'; } ?> <option value="<?php echo $st; ?> " <?php echo $selected; ?> ><?php echo BaseTask::$statusDesc[$st]; ?> </option>