postchkbox.php 767 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Post checkbox component for customer management
  4. * Displays action selection dropdown and execute button
  5. */
  6. ?>
  7. <div class="postchkbox">
  8. <select id="chkact" name="chkact">
  9. <option value="0">无响应</option>
  10. <option value="1">背景调查</option>
  11. <option value="2">明确需求</option>
  12. <?php
  13. $result = $conn->query("SELECT id, em_code, em_user FROM employee ORDER BY em_code ASC");
  14. while ($row = $result->fetch_assoc()) {
  15. echo "<option value=\"t{$row['id']}\">转给" . htmlspecialcharsFix($row['em_user']) . "(" . htmlspecialcharsFix($row['em_code']) . ")</option>";
  16. }
  17. ?>
  18. </select>
  19. <input type="button" value="执行" onClick="postchk(1)" class="btn1" />
  20. </div>