send.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-content">
  7. <form method="post" action="{:url('send',[],'')}/id/{$id}/mode/{$mode}" class="form-horizontal">
  8. <div class="form-group">
  9. <label class="col-sm-2 control-label">执行人<span class="text-danger">*</span></label>
  10. <div class="col-sm-6">
  11. {:widget('common/user-group-select',['name'=>'to_user_id','lists'=>$user_list,'multi'=>$send_user_num,'val'=>'','msg'=>''])}
  12. </div>
  13. </div>
  14. {if $mode==1}
  15. <div class="form-group">
  16. <label class="col-sm-2 control-label">报修事项</label>
  17. <div class="col-sm-6">
  18. {:widget('common/select',['name'=>'type_id','lists'=>$order_type_list,'value'=>isset($order_repair['type_id'])?$order_repair['type_id']:""])}
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="col-sm-2 control-label">报修地址</label>
  23. <div class="col-sm-6">
  24. {:widget('common/select',['name'=>'address_id','lists'=>$address_list,'value'=>isset($order_repair['address_id'])?$order_repair['address_id']:""])}
  25. </div>
  26. </div>
  27. {/if}
  28. <div class="form-group">
  29. <label class="col-sm-2 control-label">备注</label>
  30. <div class="col-sm-6">
  31. <textarea name="todo_content" class="form-control" cols="30" rows="3" ></textarea>
  32. </div>
  33. </div>
  34. <div class="hr-line-dashed"></div>
  35. <div class="form-group">
  36. <div class="col-sm-6 col-sm-offset-2">
  37. <button class="btn btn-primary ajax-post" data-layer="1" data-reload="1" target-form="form-horizontal" type="submit">确 定</button>
  38. <button class="btn cancel-btn btn-default" type="button">取 消</button>
  39. </div>
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. {/block}
  47. {block name="script"}
  48. <script>
  49. </script>
  50. {/block}