order-list.html 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>续方订单</title>
  7. <meta name="keywords" content="">
  8. <meta name="description" content="">
  9. <link rel="shortcut icon" href="favicon.ico">
  10. <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  11. <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  12. <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
  13. <link href="css/animate.min.css" rel="stylesheet">
  14. <link href="css/style.css?v=4.1.0" rel="stylesheet">
  15. <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
  16. </head>
  17. <body class="white-bg">
  18. <div class="wrapper wrapper-content animated fadeInRight">
  19. <div class="border-bottom overflow-h">
  20. <ul class="nav navbar-nav">
  21. <li class="n-tab active" data-val="0">
  22. <a href="#">所有续方</a>
  23. </li>
  24. <li class="n-tab" data-val="1">
  25. <a href="#">近一周</a>
  26. </li>
  27. <li class="n-tab" data-val="2">
  28. <a href="#">近一月</a>
  29. </li>
  30. <li class="n-tab" data-val="3">
  31. <a href="#">近半年</a>
  32. </li>
  33. <li class="n-tab" data-val="4">
  34. <a href="#">近一年</a>
  35. </li>
  36. </ul>
  37. </div>
  38. <form role="form" class="form-inline ptb10" onsubmit="return false;">
  39. <div class="form-group mr10">
  40. <label for="orderStatus">订单状态:</label>
  41. <select name="orderStatus" id="orderStatus" class="form-control input-sm">
  42. <option value="">所有状态</option>
  43. </select>
  44. </div>
  45. <div class="form-group mr10">
  46. <label for="">配送方式:</label>
  47. <select name="express" id="express" class="form-control input-sm">
  48. <option value="">所有配送方式</option>
  49. </select>
  50. </div>
  51. <div class="form-group mr10">
  52. <label for="">配送地点:</label>
  53. <select name="address" id="address" class="form-control input-sm">
  54. </select>
  55. </div>
  56. <div class="form-group hidden" id="checkboxBox">
  57. <input type="checkbox" class="icon-checkbox" id="allocationType">
  58. <label for="">只显示待分配配送员订单</label>
  59. </div>
  60. </form>
  61. <form role="form" class="form-inline pb10" onsubmit="return false;">
  62. <div class="form-group">
  63. <label for="">续方搜索:</label>
  64. <input type="text" class="form-control input-sm" id="searchName" placeholder="可按申请居民搜索">
  65. </div>
  66. <div class="form-group ml5">
  67. <button type="button" class="btn btn-w-80 btn-sm bgc-12b7f5 c-fff" id="searchBtn">搜索</button>
  68. </div>
  69. </form>
  70. <table id="prescriptTable" data-mobile-responsive="true" class="table">
  71. <thead class="thead-inverse">
  72. <tr class="">
  73. <th data-field="checkbox"></th>
  74. <th data-field="name" tabindex="0">居民姓名</th>
  75. <th data-field="result" tabindex="0">诊断结果</th>
  76. <th data-field="express" tabindex="0">配送方式</th>
  77. <th data-field="expressage" tabindex="0">配送员</th>
  78. <th data-field="address" tabindex="0">配送地点</th>
  79. <th data-field="statusName" tabindex="0">订单状态</th>
  80. <th data-field="action" tabindex="0">操作</th>
  81. </tr>
  82. </thead>
  83. <tbody></tbody>
  84. </table>
  85. <div class="mt20">
  86. <input type="checkbox" name="" id="selectAll" class="icon-checkbox">
  87. <label for="selectAll">全选</label>
  88. <a class="ml20 c-12b7f5 disabled" id="arrange">批量分配配送员</a>
  89. <span class="ml20 c-999">共选中<span id="selectedCount">0</span>条记录</span>
  90. </div>
  91. </div>
  92. <!-- Modal -->
  93. <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  94. <div class="modal-dialog" role="document">
  95. <div class="modal-content">
  96. <div class="modal-header">
  97. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  98. <h4 class="modal-title" id="myModalLabel">
  99. <img src="img/shezi_tankuang_icon.png" class="mr10">选择配送员
  100. </h4>
  101. </div>
  102. <div class="modal-body">
  103. <div class="mb10">
  104. <input type="search" class="form-control input-sm" id="doctorName" placeholder="请输入健管师姓名">
  105. </div>
  106. <table id="hDoctor" data-mobile-responsive="true" data-show-header="false">
  107. <thead class="thead-inverse">
  108. <tr class="">
  109. <th data-field="photo" tabindex="0">头像</th>
  110. <th data-field="name" tabindex="0">姓名</th>
  111. <th data-field="job" tabindex="0">职称</th>
  112. </tr>
  113. </thead>
  114. <tbody></tbody>
  115. </table>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. <div class="modal fade" id="confirmModal" tabindex="-1" role="dialog">
  121. <div class="modal-dialog modal-sm" role="document">
  122. <div class="modal-content">
  123. <div class="modal-header">
  124. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  125. <h4 class="modal-title">
  126. <img src="img/shezi_tankuang_icon.png" class="mr10"> 确认选择
  127. </h4>
  128. </div>
  129. <div class="modal-body">
  130. <p class="c-333 text-center">是否确认将<span class="c-12b7f5" id="orderCount"></span>个订单分配给 <span id="docInfo"></span >配送?</p>
  131. <p class="c-333 text-center">确认后将不可变更!</p>
  132. </div>
  133. <div class="modal-footer">
  134. <button type="button" class="btn btn-primary" id="confirmBtn">确定</button>
  135. <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. <script type="text/html" id="state_tmpl">
  141. {{each list as it}}
  142. <option value="{{it.code}}">{{it.name}}</option>
  143. {{/each}}
  144. </script>
  145. <script type="text/html" id="express_tmpl">
  146. {{each list as it}}
  147. <option value="{{it.code}}">{{it.name}}</option>
  148. {{/each}}
  149. </script>
  150. <script type="text/html" id="address_tmpl">
  151. <option value="">所有地点</option>
  152. {{each list as it}}
  153. <option value="{{it.hospitalCode}}">{{it.hospitalName}}</option>
  154. {{/each}}
  155. <option value="other">其他</option>
  156. </script>
  157. <script type="text/html" id="list_tmpl">
  158. {{each list as it index}}
  159. <tr data-json="{{it.jsonStr}}">
  160. <td class="bs-checkbox">
  161. <input name="btSelectItem" type="checkbox" class="icon-checkbox">
  162. </td>
  163. <td>{{it.name}}</td>
  164. <td>{{it.result}}</td>
  165. <td>{{it.express}}</td>
  166. {{if it.dispensaryType == 2}}
  167. <td>顺丰速递</td>
  168. {{else}}
  169. <td>{{it.expressageName}}</td>
  170. {{/if}}
  171. <td>{{it.expressageHospitalName}}</td>
  172. <td>{{it.statusName}}</td>
  173. <td>{{#it.action}}</td>
  174. </tr>
  175. {{/each}}
  176. </script>
  177. <script src="js/jquery.min.js?v=2.1.4"></script>
  178. <script src="js/bootstrap.min.js?v=3.3.6"></script>
  179. <script src="js/content.min.js?v=1.0.0"></script>
  180. <script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
  181. <script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
  182. <script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
  183. <script src="js/plugins/toastr/toastr.min.js"></script>
  184. <script src="js/plugins/pace/pace.min.js"></script>
  185. <script src="js/es6-promise.js"></script>
  186. <script src="js/underscore.js"></script>
  187. <script src="js/api-service.js"></script>
  188. <script src="js/order-api.js"></script>
  189. <script src="js/util.js"></script>
  190. <script src="js/template.js"></script>
  191. <script src="js/buz/order-list.js"></script>
  192. </body>
  193. </html>