orders_details.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"
  6. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <script type="text/javascript" src="/static/jquery-2.2.4.min.js"></script>
  9. <script type="text/javascript" src="/static/layer/layer.js"></script>
  10. <script type="text/javascript" src="/admin/js/common.js"></script>
  11. <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
  12. <title>完成订单详情</title>
  13. <style>
  14. body{
  15. background-color: #F1F1F1;
  16. }
  17. .container{
  18. max-width: 100vw;
  19. height: auto;
  20. margin: 0;
  21. padding: 0;
  22. margin-bottom: 60px;
  23. }
  24. .public-info{
  25. width: 100%;
  26. height: 32vw;
  27. background: #FFFFFF;
  28. }
  29. .public-info .left-box{
  30. width: 22vw;
  31. height: 27vw;
  32. padding: 0vw 3vw;
  33. margin-top: 5vw;
  34. display: inline-block;
  35. float: left;
  36. }
  37. .public-info .left-box .title{
  38. width:16vw;
  39. height:16vw;
  40. line-height: 16vw;
  41. background: #E7F0F9;
  42. border-radius: 10px;
  43. font-size: 32px;
  44. font-family: PingFang SC;
  45. font-weight: bold;
  46. color: #148d8f;
  47. text-align: center;
  48. }
  49. .public-info .right-box{
  50. width: 78vw;
  51. height: 32vw;
  52. display: inline-block;
  53. float: left;
  54. }
  55. .public-info .right-box .name-box{
  56. width: 100%;
  57. height: 16vw;
  58. overflow: hidden;
  59. }
  60. .public-info .right-box .name-box .left-name-box{
  61. width: 44%;
  62. height: 16vw;
  63. line-height: 16vw;
  64. display: inline-block;
  65. float: left;
  66. font-size: 25px;
  67. font-weight: bold;
  68. color: #333333;
  69. overflow: hidden;
  70. }
  71. .public-info .right-box .name-box .right-status-box{
  72. width: 13vw;
  73. height: 5vw;
  74. line-height: 5vw;
  75. border-radius: 20px;
  76. color: #ffffff;
  77. display: inline-block;
  78. float: right;
  79. text-align: center;
  80. font-size: 13px;
  81. margin-top: 5.5vw;
  82. margin-right: 4vw;
  83. }
  84. .public-info .right-box .name-box .color1{
  85. background-color: #148d8f;
  86. }
  87. .public-info .right-box .name-box .color2{
  88. background-color: #05D8DA;
  89. }
  90. .public-info .right-box .name-box .color3{
  91. background-color: #437EFF;
  92. }
  93. .public-info .right-box .name-box .color4{
  94. background-color: #F79F2D;
  95. }
  96. .public-info .right-box .name-box .color4{
  97. background-color: #089857;
  98. }
  99. .public-info .right-box .info-user-box{
  100. width: 100%;
  101. height: 8vw;
  102. line-height: 8vw;
  103. }
  104. .public-info .right-box .info-user-box .one{
  105. width: 50%;
  106. height: 100%;
  107. display: inline-block;
  108. float: left;
  109. overflow: hidden;
  110. }
  111. .public-info .right-box .info-user-box .one .img{
  112. width: 3.3vw;
  113. height: 3.3vw;
  114. display: inline-block;
  115. }
  116. .public-info .right-box .info-user-box .one .img img{
  117. width: 100%;
  118. height: 100%;
  119. }
  120. .public-info .right-box .info-user-box text{
  121. font-size: 14px;
  122. font-weight: 400;
  123. color: #666666;
  124. }
  125. .public-info-content{
  126. width: 100%;
  127. height: auto;
  128. margin-top: 1vw;
  129. background-color: #fff;
  130. }
  131. .header{
  132. width: 100%;
  133. height: 12vw;
  134. }
  135. .header .header-left {
  136. width: 60vw;
  137. height: 12vw;
  138. line-height: 12vw;
  139. display: inline-block;
  140. float: left;
  141. }
  142. .header .header-right{
  143. width: 40vw;
  144. height: 12vw;
  145. line-height: 12vw;
  146. display: inline-block;
  147. float: right;
  148. padding-right: 4vw;
  149. font-size: 14px;
  150. font-weight: 400;
  151. color: #666666;
  152. text-align: right;
  153. }
  154. .header .header-left .line-box{
  155. width: 0.8vw;
  156. height: 3.4vw;
  157. background: #148d8f;
  158. border-radius: 3px;
  159. display: inline-block;
  160. float: left;
  161. margin-left: 2vw;
  162. margin-top: 4.3vw;
  163. margin-right: 2vw;
  164. }
  165. .header .header-left .title{
  166. width: 55vw;
  167. height: 12vw;
  168. font-size: 19px;
  169. font-weight: bold;
  170. color: #333333;
  171. display: inline-block;
  172. float: left;
  173. }
  174. .public-info-content .content-box{
  175. width: 100%;
  176. height: auto;
  177. padding: 1vw;
  178. }
  179. .public-info-content .content-box div{
  180. width: 100%;
  181. background: #F7F7F7;
  182. border-radius: 10px;
  183. padding: 1vw;
  184. min-height: 20vw;
  185. word-wrap:break-word;
  186. }
  187. .public-info-content .voices-box{
  188. width: 100%;
  189. height: 16vw;
  190. line-height: 16vw;
  191. text-align: right;
  192. padding: 1vw;
  193. }
  194. .public-info-taskImg{
  195. width: 100%;
  196. height: auto;
  197. background-color: #fff;
  198. margin-top: 1vw;
  199. }
  200. .public-info-taskImg .img-box{
  201. width: 100%;
  202. height: auto;
  203. overflow: hidden;
  204. }
  205. .public-info-taskImg .img-box .img-all-box{
  206. width: 100%;
  207. height: auto;
  208. padding: 0vw 4vw;
  209. overflow: hidden;
  210. }
  211. .public-info-taskImg .img-box .img-all-box .img{
  212. width: 22vw;
  213. height: 22vw;
  214. display: inline-block;
  215. float: left;
  216. margin-right: 1vw;
  217. margin-bottom: 1vw;
  218. }
  219. .public-info-taskImg .img-box .img-all-box .img img{
  220. width: 100%;
  221. height: 100%;
  222. }
  223. .public-info-taskImg .img-box .img-all-box .img video{
  224. width: 100%;
  225. height: 100%;
  226. }
  227. .public-info-taskImg .img-box .bottom-title-box{
  228. width: 100%;
  229. height: 10vw;
  230. line-height: 10vw;
  231. text-align: center;
  232. font-size: 12px;
  233. color: #666666;
  234. }
  235. .repairs-box{
  236. width: 100%;
  237. height: auto;
  238. margin-top: 1vw;
  239. background-color: #fff;
  240. }
  241. .repairs-matter{
  242. width: 100%;
  243. height: 10vw;
  244. line-height: 10vw;
  245. border-bottom: 1px solid #f1f1f1;
  246. padding: 0vw 4vw;
  247. overflow: hidden;
  248. }
  249. .repairs-matter .title{
  250. font-size: 17px;
  251. font-family: PingFang SC;
  252. font-weight: 500;
  253. color: #666666;
  254. float: left;
  255. }
  256. .repairs-matter .content{
  257. font-weight: 500;
  258. color: #666666;
  259. float: right;
  260. }
  261. .repairs-type{
  262. width: 100%;
  263. height: 10vw;
  264. line-height: 10vw;
  265. border-bottom: 1px solid #f1f1f1;
  266. padding: 0vw 4vw;
  267. overflow: hidden;
  268. padding-bottom: 1vw;
  269. }
  270. .repairs-type .title{
  271. font-size: 17px;
  272. font-family: PingFang SC;
  273. font-weight: 500;
  274. color: #666666;
  275. float: left;
  276. }
  277. .repairs-type .content{
  278. font-weight: 500;
  279. color: #666666;
  280. float: right;
  281. }
  282. .execute-user{
  283. width: 100%;
  284. height: auto;
  285. background-color: #fff;
  286. margin-top: 1vw;
  287. }
  288. .execute-user .execute-user-name{
  289. width: 100%;
  290. height: auto;
  291. overflow: hidden;
  292. }
  293. .execute-user .execute-user-name .user-info{
  294. width: 100%;
  295. height: 10vw;
  296. line-height: 10vw;
  297. padding: 0vw 4vw;
  298. }
  299. .execute-user .execute-user-name .user-info .name{
  300. font-size: 17px;
  301. font-weight: 500;
  302. color: #666666;
  303. float: left;
  304. }
  305. .execute-user .execute-user-name .user-info .status{
  306. font-weight: 500;
  307. float: right;
  308. }
  309. .execute-user .execute-user-name .user-info .status text{
  310. margin-left: 1vw;
  311. font-weight: 500;
  312. color: #666666;
  313. }
  314. .cancel-cause{
  315. width: 100%;
  316. height: auto;
  317. margin-top: 1vw;
  318. padding: 0vw 2vw;
  319. background-color: #fff;
  320. }
  321. .cancel-cause .title{
  322. width: 100%;
  323. height: 12vw;
  324. line-height: 12vw;
  325. font-size: 19px;
  326. font-weight: bold;
  327. color: #148d8f;
  328. border-bottom: 1px solid #148d8f;
  329. }
  330. .cancel-cause .content{
  331. width: 100%;
  332. height: auto;
  333. padding: 2vw 4vw 5vw 0vw;
  334. word-wrap:break-word;
  335. }
  336. .footer-back{
  337. position: fixed;
  338. z-index: 1000;
  339. width: 100%;
  340. height: 45px;
  341. line-height: 45px;
  342. background-color: #ffffff;
  343. bottom: 0;
  344. left: 0;
  345. box-shadow: 0px 0px 10px 0px rgba(26, 25, 26, 0.05);
  346. display: table-cell;
  347. vertical-align: middle;
  348. text-align: center;
  349. }
  350. .footer-back a img{
  351. width: 43px;
  352. height: 43px;
  353. }
  354. .convey-box{
  355. width: 100%;
  356. height: 12vw;
  357. background-color: #fff;
  358. margin-top: 1vw;
  359. }
  360. .convey-route-box{
  361. width: 100%;
  362. height: 32vw;
  363. background-color: #fff;
  364. margin-top: 1vw;
  365. }
  366. .patient-info-box{
  367. width: 100%;
  368. height: 62vw;
  369. background-color: #fff;
  370. margin-top: 1vw;
  371. }
  372. .pay-status{
  373. width: 13vw;
  374. height: 100%;
  375. display: inline-block;
  376. float: left;
  377. }
  378. .pay-status .pay{
  379. width: 13vw;
  380. height: 5vw;
  381. line-height: 5vw;
  382. border-radius: 20px;
  383. color: #ffffff;
  384. display: inline-block;
  385. text-align: center;
  386. font-size: 13px;
  387. margin-top: 5.5vw;
  388. background-color: #148d8f;
  389. }
  390. </style>
  391. </head>
  392. <body>
  393. <div class="container">
  394. <div class="public-info">
  395. <div class="left-box">
  396. <div class="title">订</div>
  397. </div>
  398. <div class="right-box">
  399. <div class="name-box">
  400. <div class="left-name-box">{$info['work_type_mode_text']}订单</div>
  401. {if $info['oc']['conveyTypeCate'] == 1}
  402. {if $info['pay']['is_pay'] == 0}
  403. <div class="pay-status">
  404. <div class="pay">未支付</div>
  405. </div>
  406. {else /}
  407. <div class="pay-status">
  408. <div class="pay">已支付</div>
  409. </div>
  410. {/if}
  411. {/if}
  412. <div class="right-status-box color1">{$info['order_mode_out_text']}</div>
  413. </div>
  414. <div class="info-user-box">
  415. <div class="one">
  416. <div class="img">
  417. <img src="/img/h5/icon-ren.png" alt="">
  418. </div>
  419. <text>{$info['real_name']}</text>
  420. </div>
  421. <div class="one">
  422. <div class="img">
  423. <img src="/img/h5/icon-date.png" alt="">
  424. </div>
  425. <text>{$info['create_time']}</text>
  426. </div>
  427. </div>
  428. <div class="info-user-box">
  429. <div class="one">
  430. <div class="img">
  431. <img src="/img/h5/icon-bumen.png" alt="">
  432. </div>
  433. <span>{$info['dep']}</span>
  434. </div>
  435. <div class="one">
  436. <div class="img">
  437. <img src="/img/h5/icon-dianhua.png" alt="">
  438. </div>
  439. <span>{$info['mobile']}</span>
  440. </div>
  441. </div>
  442. </div>
  443. </div>
  444. <!-- 任务内容-->
  445. <div class="public-info-content">
  446. <div class="header">
  447. <div class="header-left">
  448. <div class="line-box"></div>
  449. <div class="title">任务内容</div>
  450. </div>
  451. </div>
  452. <div class="content-box">
  453. <div>{$info['content']}</div>
  454. </div>
  455. {if($info['voices'])}
  456. <div class="voices-box">
  457. <audio src="{$info['voices']}" controls="controls">
  458. </audio>
  459. </div>
  460. {/if}
  461. </div>
  462. <!-- 任务图片-->
  463. {if !empty($info['images']) || !empty($info['videos'])}
  464. <div class="public-info-taskImg">
  465. <div class="header">
  466. <div class="header-left">
  467. <div class="line-box"></div>
  468. <div class="title">任务图片</div>
  469. </div>
  470. </div>
  471. <div class="img-box">
  472. <div class="img-all-box">
  473. {if($info['images'])}
  474. {foreach $info['images'] as $k=>$v}
  475. <div class="img">
  476. <img src="{$v}" onclick="open_img(this)" alt="">
  477. </div>
  478. {/foreach}
  479. {/if}
  480. {if($info['videos'])}
  481. {foreach $info['videos'] as $k=>$v}
  482. <div class="img">
  483. <video src="{$v}" style="object-fit: fill;" onclick="playVideo(this)"></video>
  484. </div>
  485. {/foreach}
  486. {/if}
  487. </div>
  488. <div class="bottom-title-box">(点击可查看图片、视频详情信息)</div>
  489. </div>
  490. </div>
  491. {/if}
  492. <!-- 取消原因-->
  493. {if $info['order_mode'] == 2 || $info['order_mode'] == 3}
  494. <div class="cancel-cause">
  495. <div class="title">取消原因</div>
  496. <div class="content">
  497. {$info['cancel_reason']}
  498. </div>
  499. </div>
  500. {/if}
  501. {if $info['work_type_mode'] == 1}
  502. <!-- 报修 -->
  503. <div class="repairs-box">
  504. <div class="header">
  505. <div class="header-left">
  506. <div class="line-box"></div>
  507. <div class="title">报修地点</div>
  508. </div>
  509. <span class="header-right">{$info['repair']['address_title']}</span>
  510. </div>
  511. <div class="header">
  512. <div class="header-left">
  513. <div class="line-box"></div>
  514. <div class="title">报修事项</div>
  515. </div>
  516. </div>
  517. <div class="repairs-matter">
  518. <text class="title">报修事项:</text>
  519. <text class="content">{$info['repair']['order_type_matter']}</text>
  520. </div>
  521. <div class="repairs-type">
  522. <text class="title">报修类型:</text>
  523. <text class="content">{$info['repair']['order_type']}</text>
  524. </div>
  525. </div>
  526. {/if}
  527. <!-- 运送 -->
  528. {if $info['work_type_mode'] == 3}
  529. <div class="convey-box">
  530. <div class="header">
  531. <div class="header-left">
  532. <div class="line-box"></div>
  533. <div class="title">运送类型</div>
  534. </div>
  535. <span class="header-right">{$info['oc']['type_name']}</span>
  536. </div>
  537. </div>
  538. <div class="convey-route-box">
  539. <div class="header">
  540. <div class="header-left">
  541. <div class="line-box"></div>
  542. <div class="title">运送路线</div>
  543. </div>
  544. </div>
  545. <div class="repairs-matter" style="border-bottom: 0 !important;">
  546. <span class="title">开始地点:</span>
  547. <span class="content">{$info['oc']['start_name']}</span>
  548. </div>
  549. <div class="repairs-type">
  550. <span class="title">结束地点:</span>
  551. <span class="content">{$info['oc']['end_name']}</span>
  552. </div>
  553. </div>
  554. <div class="convey-route-box">
  555. <div class="header">
  556. <div class="header-left">
  557. <div class="line-box"></div>
  558. <div class="title">运送时间</div>
  559. </div>
  560. </div>
  561. <div class="repairs-matter">
  562. <span class="title">需求时间:</span>
  563. <span class="content">{$info['oc']['xq_time']}</span>
  564. </div>
  565. <div class="repairs-type">
  566. <span class="title">完成时间:</span>
  567. <span class="content">{$info['oc']['ywc_time']}</span>
  568. </div>
  569. </div>
  570. <div class="convey-box">
  571. <div class="header">
  572. <div class="header-left">
  573. <div class="line-box"></div>
  574. <div class="title">优先级</div>
  575. </div>
  576. <span class="header-right">{$info['oc']['priority']}</span>
  577. </div>
  578. </div>
  579. <div class="convey-box">
  580. <div class="header">
  581. <div class="header-left">
  582. <div class="line-box"></div>
  583. <div class="title">运送工具</div>
  584. </div>
  585. <span class="header-right">{$info['oc']['device_name']}</span>
  586. </div>
  587. </div>
  588. <div class="convey-route-box">
  589. <div class="header">
  590. <div class="header-left">
  591. <div class="line-box"></div>
  592. <div class="title">联系人信息</div>
  593. </div>
  594. </div>
  595. <div class="repairs-matter">
  596. <text class="title">联系人姓名:</text>
  597. <text class="content">{$info['oc']['name']}</text>
  598. </div>
  599. <div class="repairs-type">
  600. <text class="title">联系人电话:</text>
  601. <text class="content">{$info['oc']['phone']}</text>
  602. </div>
  603. </div>
  604. {if $info['oc']['conveyTypeCate']==1 && !empty($info['oc']['ocp'])}
  605. <div class="patient-info-box">
  606. <div class="header">
  607. <div class="header-left">
  608. <div class="line-box"></div>
  609. <div class="title">病人信息</div>
  610. </div>
  611. </div>
  612. <div class="repairs-matter">
  613. <text class="title">床号</text>
  614. <text class="content">{$info['oc']['ocp']['bed_number']}</text>
  615. </div>
  616. <div class="repairs-matter">
  617. <text class="title">病人姓名</text>
  618. <text class="content">{$info['oc']['ocp']['name']}</text>
  619. </div>
  620. <div class="repairs-matter">
  621. <text class="title">病案号</text>
  622. <text class="content">{$info['oc']['ocp']['ba_number']}</text>
  623. </div>
  624. <div class="repairs-matter">
  625. <text class="title">性别</text>
  626. {if $info['oc']['ocp']['gender'] == 0}
  627. <text class="content">未知</text>
  628. {elseif($info['oc']['ocp']['gender'] == 1)}
  629. <text class="content">男</text>
  630. {elseif($info['oc']['ocp']['gender'] == 2)}
  631. <text class="content">女</text>
  632. {/if}
  633. </div>
  634. <div class="repairs-matter">
  635. <text class="title">是否往返</text>
  636. {if $info['oc']['ocp']['back'] == 0}
  637. <text class="content">否</text>
  638. {elseif($info['oc']['ocp']['back'] == 1)}
  639. <text class="content">往返</text>
  640. {/if}
  641. </div>
  642. </div>
  643. <!-- 途径地点-->
  644. <div class="execute-user">
  645. <div class="header">
  646. <div class="header-left">
  647. <div class="line-box"></div>
  648. <div class="title">途径地点</div>
  649. </div>
  650. </div>
  651. <div class="execute-user-name">
  652. {if($info['ends'])}
  653. {foreach $info['ends'] as $k=>$v}
  654. <div class="user-info">
  655. <span class="name">{$v['title']}</span>
  656. {if $v['scan'] == 0}
  657. <span class="status"> <input type="checkbox" disabled> </span>
  658. {else /}
  659. <span class="status"> <input type="checkbox" checked disabled> </span>
  660. {/if}
  661. </div>
  662. {/foreach}
  663. {/if}
  664. </div>
  665. </div>
  666. {/if}
  667. {/if}
  668. <div class="execute-user">
  669. <div class="header">
  670. <div class="header-left">
  671. <div class="line-box"></div>
  672. <div class="title">执行人员</div>
  673. </div>
  674. </div>
  675. <div class="execute-user-name">
  676. {if($info['todo_list'])}
  677. {foreach $info['todo_list'] as $k=>$v}
  678. {if $v['todo_mode'] != 1}
  679. <div class="user-info" onclick="ordersSubDetails(this)" data-id="{$v['id']}" data-orgId="{$v['org_id']}">
  680. <span class="name">{$v['to_real_name']}</span>
  681. <span class="status">{$v['todo_mode_text']}<text>></text></span>
  682. </div>
  683. {else /}
  684. <div class="user-info">
  685. <span class="name">{$v['to_real_name']}</span>
  686. <span class="status">{$v['todo_mode_text']}<text>></text></span>
  687. </div>
  688. {/if}
  689. {/foreach}
  690. {/if}
  691. </div>
  692. </div>
  693. <div class="footer-back">
  694. <a href="javascript:;" onclick="javascript:history.back(-1);"><img src="/img/back.png"></a>
  695. </div>
  696. </div>
  697. </body>
  698. </html>
  699. <script>
  700. var orgId = "{$info['org_id']}";
  701. function ordersSubDetails(obj) {
  702. var id = $(obj).attr('data-id');
  703. var org = $(obj).attr('data-orgId');
  704. var url = "{:url('Statistics/ordersSubDetails')}?id="+id+'&orgId='+org;
  705. window.location.href=url;
  706. }
  707. function playVideo(obj) {
  708. var obj =$(obj);
  709. var url = obj.attr('src');
  710. var url = "{:url('Statistics/videoPlay')}?url="+url+'&orgId='+orgId;
  711. window.location.href=url;
  712. }
  713. </script>