prescription-analysis.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>长处方分析</title>
  6. <meta name="author" content="yihu.com" />
  7. <meta name="format-detection" content="telephone=no" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" />
  9. <meta name="apple-mobile-web-app-capable" content="yes" />
  10. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  11. <link rel="shortcut icon" href="../../../favicon.ico">
  12. <link rel="stylesheet" type="text/css" href="../../../css/font-awesome.min.css"/>
  13. <link rel="stylesheet" type="text/css" href="../../../css/style.min.css"/>
  14. <link rel="stylesheet" type="text/css" href="../../../css/cross.css"/>
  15. <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css"/>
  16. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  17. <link rel="stylesheet" type="text/css" href="../css/common.css"/>
  18. <style>
  19. .chart-center-text{position: absolute; width: 100%; top: 50%; margin-top: -17px;}
  20. .el-input__inner{line-height: 0;}
  21. </style>
  22. </head>
  23. <body>
  24. <div id="main" class="c-hide" v-loading.fullscreen.lock="isloading">
  25. <header-tab
  26. appname="长处方分析"
  27. isback="true"
  28. isrefresh="true"
  29. isfilter="true"
  30. isdownload="true"
  31. @download="exportData"
  32. ></header-tab>
  33. <header-prompt></header-prompt>
  34. <div v-show="sumType==1" class="order-tag-panel">
  35. <ul class="l-banner">
  36. <li>
  37. <div class="tag" :class="{'active': tagCode==1}" @click="changeTagCode(1)">
  38. <div class="c-f18">{{orderTagDatas.total}}</div>
  39. <div class="mt5 c-f14 l-name">续方总量</div>
  40. </div>
  41. </li>
  42. <li>
  43. <div class="tag" :class="{'active': tagCode==2}" @click="changeTagCode(2)">
  44. <div class="c-f18">{{orderTagDatas.finishCount}}</div>
  45. <div class="mt5 c-f14 l-name">已完成</div>
  46. </div>
  47. </li>
  48. <li>
  49. <div class="tag" :class="{'active': tagCode==3}" @click="changeTagCode(3)">
  50. <div class="c-f18">{{orderTagDatas.patientCancelCount}}</div>
  51. <div class="mt5 c-f14 l-name">居民取消</div>
  52. </div>
  53. </li>
  54. </ul>
  55. <ul class="l-banner">
  56. <li>
  57. <div class="tag" :class="{'active': tagCode==4}" @click="changeTagCode(4)">
  58. <div class="c-f18">{{orderTagDatas.noReviewedCount}}</div>
  59. <div class="mt5 c-f14 l-name">审核未通过</div>
  60. </div>
  61. </li>
  62. <li>
  63. <div class="tag" :class="{'active': tagCode==5}" @click="changeTagCode(5)">
  64. <div class="c-f18">{{orderTagDatas.processingCount}}</div>
  65. <div class="mt5 c-f14 l-name">进行中</div>
  66. </div>
  67. </li>
  68. <li>
  69. <div class="tag" :class="{'active': tagCode==6}" @click="changeTagCode(6)">
  70. <div class="c-f18">{{orderTagDatas.payOuttimeCount}}</div>
  71. <div class="mt5 c-f14 l-name">其他原因取消</div>
  72. </div>
  73. </li>
  74. </ul>
  75. </div>
  76. <div v-show="sumType==2" class="payment-tag-panel">
  77. <ul class="l-banner">
  78. <li style="width:50%;">
  79. <div class="tag" :class="{'active': tagCode==1}" @click="changeTagCode(1)" style="width: 60%">
  80. <div class="c-f18">{{paymentData.sum}}</div>
  81. <div class="mt5 c-f14 l-name">费用总计</div>
  82. </div>
  83. </li>
  84. <li style="width:50%;">
  85. <div class="tag" :class="{'active': tagCode==2}" @click="changeTagCode(2)" style="width: 60%">
  86. <div class="c-f18">{{paymentData.avg}}</div>
  87. <div class="mt5 c-f14 l-name">人均费用</div>
  88. </div>
  89. </li>
  90. </ul>
  91. </div>
  92. <div v-show="sumType==3">
  93. <ul class="l-banner">
  94. <li>
  95. <div class="tag" :class="{'active': tagCode==1}" @click="changeTagCode(1)">
  96. <div class="c-f18">{{expressData.self}}</div>
  97. <div class="mt5 c-f14 l-name">居民自取</div>
  98. </div>
  99. </li>
  100. <li>
  101. <div class="tag" :class="{'active': tagCode==2}" @click="changeTagCode(2)">
  102. <div class="c-f18">{{expressData.delivery}}</div>
  103. <div class="mt5 c-f14 l-name">物流配送</div>
  104. </div>
  105. </li>
  106. <li>
  107. <div class="tag" :class="{'active': tagCode==3}" @click="changeTagCode(3)">
  108. <div class="c-f18">{{expressData.doctor}}</div>
  109. <div class="mt5 c-f14 l-name">健管师配送</div>
  110. </div>
  111. </li>
  112. </ul>
  113. </div>
  114. <div v-show="sumType==4" class="mt10 c-border">
  115. <div class="plr10 ptb10 c-border-b">
  116. <span class="c-f14 c-333 ml5">年龄统计</span>
  117. </div>
  118. <div class="ui-grid ui-grid-middle">
  119. <div class="ui-col-0 ptb10 c-position-r" style="width: 50%">
  120. <div class="c-t-center chart-center-text">年龄分布<br/>情况</div>
  121. <div id="agePie" style="width: 100%; height:160px;"></div>
  122. </div>
  123. <div class="ui-col-1" id="fenbuList">
  124. <div v-for="age in ageDatas" class="mtb5 ml10">
  125. <span class="color-tag" :style="{'background-color': age.color}"></span>
  126. <span class="div-jkrq c-f14" :style="{'color': age.color}">{{age.value}}人</span>
  127. <span class="c-f12 c-909090 ml5">({{age.name}})</span>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. <!--<bar-chart v-show="sumType==3" class="mt15" @getbardata="getBarData" :barid="'barChart'+ sumType"></bar-chart>-->
  133. <line-chart v-show="sumType==1 || sumType==3" class="mt15" @getlinedata="getBarData" lineid="lineChart1" :show-date-panel="1"></line-chart>
  134. <line-chart v-show="sumType==2" @getlinedata="getPaymentLineData" lineid="lineChart2"></line-chart>
  135. <div v-show="sumType==4" class="mt10 c-border">
  136. <div class="plr10 ptb10 c-border-b">
  137. <span class="c-f14 c-333 ml5">人均使用次数</span>
  138. </div>
  139. <div id="ageBar" style="height: 200px; width: 100%;"></div>
  140. </div>
  141. <area-data-panel class="mt15" @getnewdata="getBottomAreaData"></area-data-panel>
  142. <vuedals></vuedals>
  143. </div>
  144. <script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
  145. <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
  146. <script src="../../../plugins/toastr/toastr.min.js"></script>
  147. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  148. <script src="../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
  149. <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  150. <script src="../../../plugins/echarts/3.8.5/echarts.min.js" type="text/javascript" charset="utf-8"></script>
  151. <script src="../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
  152. <script src="../../../api/statistics-api.js" type="text/javascript" charset="utf-8"></script>
  153. <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
  154. <script src="../../../component/common/event-bus.js"></script>
  155. <script src="../../../component/common/vuedals.js" type="text/javascript" charset="utf-8"></script>
  156. <script src="../../../component/statistics/header-tab.js" type="text/javascript" charset="utf-8"></script>
  157. <script src="../../../component/statistics/header-prompt.js" type="text/javascript" charset="utf-8"></script>
  158. <script src="../../../component/statistics/prescription-filter.js" type="text/javascript" charset="utf-8"></script>
  159. <script src="../../../component/statistics/line-chart.js" type="text/javascript" charset="utf-8"></script>
  160. <script src="../../../component/statistics/bar-chart.js" type="text/javascript" charset="utf-8"></script>
  161. <script src="../../../component/statistics/area-data-panel.js" type="text/javascript" charset="utf-8"></script>
  162. <script src="../../../component/statistics/team-info.js" type="text/javascript" charset="utf-8"></script>
  163. <script src="../js/common.js" type="text/javascript" charset="utf-8"></script>
  164. <script src="../js/xlsx.core.min.js" type="text/javascript" charset="utf-8"></script>
  165. <script src="../js/exportExcel.js" type="text/javascript" charset="utf-8"></script>
  166. <script src="../js/prescription-analysis.js" type="text/javascript" charset="utf-8"></script>
  167. </body>
  168. </html>