order-tracking.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  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. <meta name="renderer" content="webkit">
  7. <meta http-equiv="Cache-Control" content="no-siteapp" />
  8. <title>订单跟踪</title>
  9. <meta name="keywords" content="">
  10. <meta name="description" content="">
  11. <link rel="shortcut icon" href="favicon.ico">
  12. <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  13. <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  14. <link href="css/animate.min.css" rel="stylesheet">
  15. <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
  16. <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
  17. <link href="js/plugins/artDialog/6.0.5/css/ui-dialog.min.css" rel="stylesheet">
  18. <link href="css/style.css" rel="stylesheet">
  19. <link href="css/order-tracking.css" rel="stylesheet" >
  20. </head>
  21. <body>
  22. <div class="plr10 ptb20 c-position-r mb74" id="infoPanel">
  23. <div class="session-title border-bottom pb5">续方记录</div>
  24. <div class="container" id="">
  25. <div class="row mtb5">
  26. <div class="col-xs-6">
  27. <span class="c-999">申请时间:</span>
  28. <span id="applyDate"></span>
  29. </div>
  30. <div class="col-xs-6">
  31. <span class="c-999">审核医生:</span>
  32. <span id="checkDoc"></span>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="session-title border-bottom mt20 pb5">收药信息</div>
  37. <div class="container" id="syInfo"></div>
  38. <div class="session-title border-bottom mt20 pb5">订单记录</div>
  39. <div class="container" id="recordInfo"></div>
  40. <div class="session-title border-bottom mt20 pb5">药品信息</div>
  41. <div class="container" id="drugInfo"></div>
  42. </div>
  43. <div class="footer-btn">
  44. <button class="btn btn-1 hidden">分配配送员</button>
  45. <button class="btn btn-2">返回</button>
  46. </div>
  47. <!-- Modal -->
  48. <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  49. <div class="modal-dialog" role="document">
  50. <div class="modal-content">
  51. <div class="modal-header">
  52. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  53. <h4 class="modal-title" id="myModalLabel">
  54. <img src="img/shezi_tankuang_icon.png" class="mr10">订单跟踪详情
  55. </h4>
  56. </div>
  57. <div class="modal-body">
  58. <div class="straight-line"></div>
  59. <ul class="s-list" id="orderLogs">
  60. </ul>
  61. </div>
  62. <div class="modal-footer" style="text-align: center;">
  63. <button type="button" class="btn btn-success" data-dismiss="modal">确定</button>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <!-- 快递信息 -->
  69. <div class="modal fade" id="expressModal" tabindex="-1" role="dialog" aria-labelledby="expressModalLabel">
  70. <div class="modal-dialog" role="document">
  71. <div class="modal-content">
  72. <div class="modal-header">
  73. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  74. <h4 class="modal-title" id="expressModalLabel">
  75. <img src="img/shezi_tankuang_icon.png" class="mr10">快递记录
  76. </h4>
  77. </div>
  78. <div class="modal-body">
  79. <div class="container" style="width: 100%;" id="expressInfo">
  80. </div>
  81. <div class="straight-line"></div>
  82. <ul class="s-list" id="expressLogs">
  83. </ul>
  84. </div>
  85. <div class="modal-footer" style="text-align: center;">
  86. <button type="button" class="btn btn-success" data-dismiss="modal">确定</button>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <!-- 分配健管师Modal -->
  92. <div class="modal fade" id="docModal" tabindex="-1" role="dialog" aria-labelledby="docModalLabel">
  93. <div class="modal-dialog" role="document">
  94. <div class="modal-content">
  95. <div class="modal-header">
  96. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  97. <h4 class="modal-title" id="docModalLabel">
  98. <img src="img/shezi_tankuang_icon.png" class="mr10">选择配送员
  99. </h4>
  100. </div>
  101. <div class="modal-body">
  102. <div class="mb10">
  103. <input type="search" class="form-control input-sm" id="doctorName" placeholder="请输入健管师姓名">
  104. </div>
  105. <table id="hDoctor" data-mobile-responsive="true" data-show-header="false">
  106. <thead class="thead-inverse">
  107. <tr class="">
  108. <th data-field="photo" tabindex="0">头像</th>
  109. <th data-field="name" tabindex="0">姓名</th>
  110. <th data-field="job" tabindex="0">职称</th>
  111. </tr>
  112. </thead>
  113. <tbody></tbody>
  114. </table>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. <div class="modal fade" id="confirmModal" tabindex="-1" role="dialog">
  120. <div class="modal-dialog modal-sm" role="document">
  121. <div class="modal-content">
  122. <div class="modal-header">
  123. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  124. <h4 class="modal-title">
  125. <img src="img/shezi_tankuang_icon.png" class="mr10"> 确认选择
  126. </h4>
  127. </div>
  128. <div class="modal-body">
  129. <p class="c-333 text-center">是否确认将订单分配给 <span id="docInfo"></span >配送?</p>
  130. <p class="c-333 text-center">确认后将不可变更!</p>
  131. </div>
  132. <div class="modal-footer">
  133. <button type="button" class="btn btn-primary" id="confirmBtn">确定</button>
  134. <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. <script type="text/html" id="syinfo_tmp">
  140. {{if dispensaryDispensaryType == 3}}
  141. <div class="row mtb5">
  142. <div class="col-xs-6">
  143. <span class="c-999">配送方式:</span>
  144. <span>{{dispensaryDispensaryTypeName}}</span>
  145. </div>
  146. <div class="col-xs-6">
  147. <span class="c-999">配送时间:</span>
  148. <span>{{deliveryTime}}</span>
  149. </div>
  150. </div>
  151. <div class="row mtb5">
  152. <div class="col-xs-6">
  153. <span class="c-999">居民姓名:</span>
  154. <span>{{name}}</span>
  155. </div>
  156. <div class="col-xs-6">
  157. <span class="c-999">居民电话:</span>
  158. <span>{{mobile}}</span>
  159. </div>
  160. </div>
  161. {{if expressageName}}
  162. <div class="row mtb5">
  163. <div class="col-xs-6">
  164. <span class="c-999">配送员:</span>
  165. <span>{{expressageName}}</span>
  166. </div>
  167. <div class="col-xs-6">
  168. <span class="c-999">配送员电话:</span>
  169. <span>{{expressageMobile}}</span>
  170. </div>
  171. </div>
  172. <div class="row mtb5">
  173. <div class="col-xs-6">
  174. <span class="c-999">配送地点:</span>
  175. <span>{{patientHospitalName}}</span>
  176. </div>
  177. <div class="col-xs-6">
  178. <span class="c-999">服务站地址:</span>
  179. <span>{{patientHospitalAddress}}</span>
  180. </div>
  181. </div>
  182. {{else}}
  183. <div class="row mtb5">
  184. <div class="col-xs-6">
  185. <span class="c-999">配送员:</span>
  186. <span class="c-ff3b30">待分配</span>
  187. </div>
  188. <div class="col-xs-6">
  189. <span class="c-999">配送地点:</span>
  190. <span>{{patientHospitalName}}</span>
  191. </div>
  192. </div>
  193. <div class="row mtb5">
  194. <div class="col-xs-6">
  195. <span class="c-999">服务站地址:</span>
  196. <span>{{patientHospitalAddress}}</span>
  197. </div>
  198. </div>
  199. {{/if}}
  200. {{else if dispensaryDispensaryType == 2}}
  201. <div class="row mtb5">
  202. <div class="col-xs-6">
  203. <span class="c-999">配送方式:</span>
  204. <span class="ff3b30">{{dispensaryDispensaryTypeName}}</span>
  205. </div>
  206. <div class="col-xs-6">
  207. <span class="c-999">配送时间:</span>
  208. <span>{{deliveryTime}}</span>
  209. </div>
  210. </div>
  211. <div class="row mtb5">
  212. <div class="col-xs-6">
  213. <span class="c-999">快递单号:</span>
  214. <a class="c-12b7f5" onclick="showExpressFollow()">{{mailno}}</a>
  215. </div>
  216. <div class="col-xs-6">
  217. <span class="c-999">收药人:</span>
  218. <span class="ff3b30">{{name}}</span>
  219. </div>
  220. </div>
  221. <div class="row mtb5">
  222. <div class="col-xs-6">
  223. <span class="c-999">联系电话:</span>
  224. <span>{{mobile}}</span>
  225. </div>
  226. <div class="col-xs-6">
  227. <span class="c-999">收药地址:</span>
  228. <span>{{provinceName}}{{cityName}}{{townName}}{{address}}</span>
  229. </div>
  230. </div>
  231. {{else}}
  232. <div class="row mtb5">
  233. <div class="col-xs-6">
  234. <span class="c-999">配送方式:</span>
  235. <span class="ff3b30">{{dispensaryDispensaryTypeName}}</span>
  236. </div>
  237. <div class="col-xs-6">
  238. <span class="c-999">取药时间:</span>
  239. <span>{{deliveryTime}}</span>
  240. </div>
  241. </div>
  242. <div class="row mtb5">
  243. <div class="col-xs-6">
  244. <span class="c-999">取药地址:</span>
  245. <span>{{hospitalAddress}}</span>
  246. </div>
  247. </div>
  248. <div class="row mtb5">
  249. <div class="col-xs-6">
  250. <span class="c-999">居民姓名:</span>
  251. <span class="ff3b30">{{name}}</span>
  252. </div>
  253. <div class="col-xs-6">
  254. <span class="c-999">居民电话:</span>
  255. <span>{{mobile}}</span>
  256. </div>
  257. </div>
  258. {{/if}}
  259. </script>
  260. <script type="text/html" id="record_tmp">
  261. <div class="row mtb5">
  262. <div class="col-xs-6">
  263. <span class="c-999">订单状态:</span>
  264. <span>{{prescriptionStatusName}}</span>
  265. </div>
  266. <div class="col-xs-6">
  267. <span class="c-999">订单号:</span>
  268. <span>{{orderCode}}</span>
  269. </div>
  270. </div>
  271. <div class="row mtb5">
  272. <div class="col-xs-6">
  273. <span class="c-999">订单跟踪:</span>
  274. <a class="c-12b7f5" onclick="showOrderFollow()">点击查看</a>
  275. </div>
  276. <div class="col-xs-6">
  277. <span class="c-999">出药机构:</span>
  278. <span>{{prescriptionHospital}}</span>
  279. </div>
  280. </div>
  281. </script>
  282. <script type="text/html" id="drug_tmp">
  283. {{each list as dg}}
  284. <div class="row">
  285. <div class="col-xs-5">{{dg.drugName}}</div>
  286. <div class="col-xs-3"><span class="c-999">总量:</span>{{dg.num}}{{dg.drugNumUnitName}}</div>
  287. <div class="col-xs-4"><span class="c-999">规格:</span>{{dg.drugFormat}}</div>
  288. </div>
  289. {{/each}}
  290. </script>
  291. <script type="text/html" id="flow_tmp">
  292. {{each list as it index}}
  293. <li class="ptb10">
  294. {{if index == 0}}
  295. <img src="img/lan_biaoji_icon.png" width="20" alt="" class="mlr14 header-icon"/>
  296. {{else}}
  297. <img src="img/hui_biaoji_icon.png" width="20" alt="" class="mlr14 header-icon"/>
  298. {{/if}}
  299. <div class="s-list-info">
  300. <span class="{{if index == 0}}c-12b7f5{{else}}c-999{{/if}} c-f16">{{it.statusName}}</span>
  301. <p class="c-f12 c-c8c8c8">{{it.createTime}}</p>
  302. </div>
  303. </li>
  304. {{/each}}
  305. </script>
  306. <script type="text/html" id="expressInfo_tmp">
  307. <div class="row">
  308. <div class="col-xs-6">
  309. <span class="c-999">物流状态:</span>
  310. <span>{{expressStatus}}</span>
  311. </div>
  312. <div class="col-xs-6">
  313. <span class="c-999">承运来源:</span>
  314. <span>{{expressName}}</span>
  315. </div>
  316. </div>
  317. <div class="row">
  318. <div class="col-xs-6">
  319. <span class="c-999">运单编号:</span>
  320. <span>{{expressMailNo}}</span>
  321. </div>
  322. <div class="col-xs-6">
  323. <span class="c-999">官方电话:</span>
  324. <span>{{expressPhone}}</span>
  325. </div>
  326. </div>
  327. </script>
  328. <script src="js/jquery.min.js?v=2.1.4"></script>
  329. <script src="js/bootstrap.min.js?v=3.3.6"></script>
  330. <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
  331. <script src="js/plugins/layer/layer.min.js"></script>
  332. <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  333. <script src="js/hplus.min.js?v=4.1.0"></script>
  334. <script src="js/plugins/pace/pace.min.js"></script>
  335. <script src="js/plugins/toastr/toastr.min.js"></script>
  336. <script src="js/plugins/artDialog/6.0.5/js/dialog-plus.min.js"></script>
  337. <script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
  338. <script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
  339. <script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
  340. <script src="js/es6-promise.js"></script>
  341. <script src="js/underscore.js"></script>
  342. <script src="js/util.js"></script>
  343. <script src="js/template.js"></script>
  344. <script src="js/api-service.js"></script>
  345. <script src="js/order-api.js"></script>
  346. <script src="js/buz/order-tracking.js"></script>
  347. </body>
  348. </html>