modal.ejs 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!-- 设置计算式 -->
  2. <div id="set-count" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
  3. <div class="modal-dialog">
  4. <div class="modal-content">
  5. <div class="modal-header">
  6. <h5 class="modal-title">设置规则</h5>
  7. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  8. </div>
  9. <div class="modal-body">
  10. <h5>当前规则:</h5>
  11. <h5>
  12. <span class="badge badge-light" title="合价">合价 <!--<a href="#" class="text-danger" title="移除"><i class="fa fa-remove"></i></a>--></span>
  13. <span class="badge badge-light" title="/">/ <!--<a href="#" class="text-danger" title="移除"><i class="fa fa-remove"></i></a>--></span>
  14. <span class="badge badge-light" title="路线总长度">路线总长度 <a href="#" class="text-danger" title="移除"><i class="fa fa-remove"></i></a></span>
  15. </h5>
  16. <div class="form-group">
  17. <select class="form-control">
  18. <option>全局参数</option>
  19. <option>本项目节参数</option>
  20. <option>计算式</option>
  21. </select>
  22. </div>
  23. <!--全局参数-->
  24. <div class="form-group">
  25. <select class="form-control">
  26. <option>总造价</option>
  27. <option>路线总长度</option>
  28. <option>计算式</option>
  29. </select>
  30. </div>
  31. <!--本项目节参数-->
  32. <div class="form-group">
  33. <select class="form-control">
  34. <option>合价</option>
  35. </select>
  36. </div>
  37. <!--计算式-->
  38. <div class="form-group">
  39. <select class="form-control">
  40. <option>/</option>
  41. </select>
  42. </div>
  43. <button class="btn btn-outline-primary">添加</button>
  44. </div>
  45. <div class="modal-footer">
  46. <button class="btn btn-primary">确定</button>
  47. <button class="btn btn-secondary" data-dismiss="modal" aria-hidden="true">取消</button>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <!-- 导入项目节 -->
  53. <div id="upload" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
  54. <form class="modal-dialog" action="/template/uploadExcel?_csrf=<%= ctx.csrf %>" method="post" enctype="multipart/form-data">
  55. <div class="modal-content">
  56. <div class="modal-header">
  57. <h5 class="modal-title">导入项目节</h5>
  58. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  59. </div>
  60. <div class="modal-body">
  61. <div class="form-group">
  62. <label for="exampleFormControlFile1">上传项目节文件</label>
  63. <div class="form-control">
  64. <input class="form-control-file" name="file" type="file">
  65. </div>
  66. </div>
  67. </div>
  68. <div class="modal-footer">
  69. <button type="submit" class="btn btn-primary">确认导入</button>
  70. <button class="btn btn-secondary" data-dismiss="modal" aria-hidden="true">关闭</button>
  71. </div>
  72. </div>
  73. </form>
  74. </div>