statistics.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  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. <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
  9. <meta name="referrer" content="no-referrer" />
  10. <title>疾病筛查</title>
  11. <link rel="shortcut icon" href="../../../favicon.ico" />
  12. <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css" />
  13. <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
  14. <link rel="stylesheet" type="text/css" href="../../../css/cross.ui.css" />
  15. <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css" />
  16. <link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
  17. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet" />
  18. <link rel="stylesheet" href="../css/statistics.css" />
  19. </head>
  20. <body>
  21. <div id="app" v-cloak>
  22. <div class="re-title no-select">
  23. <div class="name">筛查统计</div>
  24. </div>
  25. <!--筛查数据模型-->
  26. <div id="sc_datamodel" class="boxcenter p10">
  27. <div class="div-table plr80">
  28. <div class="table-row">
  29. <div class="table-cell">
  30. <div class="ui-grid">
  31. <div class="ui-col-1">
  32. <div class="bigbox bgc1-12B7F5 numcircle">
  33. <span class="pl20 c-12B7F5"></span>
  34. 筛查表管理
  35. </div>
  36. <div class="bgc-D7F3FE c-border-radius-blr plr20 ptb10">
  37. <div class="border-6FD7FE bgc-6fd7fe">
  38. <div class="c-fff c-f16 lheight-24">筛查表</div>
  39. <div class="c-12B7F5 smallbox">
  40. <span class="c-f20">{{Statics.useTemplateCount}}</span>
  41. </div>
  42. </div>
  43. <img src="../images/jiantou_02_img.png" class="mt-4" />
  44. <div class="border-6FD7FE bgc-6fd7fe">
  45. <div class="c-fff c-f16 lheight-24">已下发问卷</div>
  46. <div class="c-12B7F5 smallbox">
  47. <span class="c-f20">{{Statics.grantCount}}</span>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="ui-col-0"><img src="../images/jiantou_03_img.png" class="mt10 ml-2" /></div>
  53. </div>
  54. </div>
  55. <div class="table-cell plr30">
  56. <div class="ui-grid">
  57. <div class="ui-col-1">
  58. <div class="bigbox bgc1-2DBE55 numcircle">
  59. <span class="pl20 c-2DBE55"></span>
  60. 筛查记录
  61. </div>
  62. <div class="bgc-DCFDE6 c-border-radius-blr plr20 ptb10">
  63. <div class="border-61D882 mb20 bgc-61D882">
  64. <div class="c-fff c-f16 lheight-24">疑似高危</div>
  65. <div class="c-2DBE55 smallbox">
  66. <span class="c-f20">{{Statics.dangetCount}}</span>
  67. </div>
  68. </div>
  69. <div class="border-61D882 bgc-61D882">
  70. <div class="c-fff c-f16 lheight-24">健康跟踪</div>
  71. <div class="c-2DBE55 smallbox">
  72. <span class="c-f20">{{Statics.followCount}}</span>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <div class="ui-col-0">
  78. <img src="../images/jiantou_04_img.png" class="mt10 ml-2" />
  79. <img src="../images/jiantou_01_img.png" class="jiantou01" />
  80. </div>
  81. </div>
  82. </div>
  83. <div class="table-cell">
  84. <div class="bigbox bgc1-FF9630 numcircle">
  85. <span class="pl20 c-FF9630"></span>
  86. 病人服务
  87. </div>
  88. <div class="bgc-FEEEDF c-border-radius-blr plr20 ptb10">
  89. <div class="border-FAB675 mb20 bgc-FAB675">
  90. <div class="c-fff c-f16 lheight-24">预约转诊</div>
  91. <div class="c-FF9630 smallbox">
  92. <span class="c-f20">{{Statics.orderCount}}</span>
  93. </div>
  94. </div>
  95. <div class="border-FAB675 bgc-FAB675">
  96. <div class="c-fff c-f16 lheight-24">社区管理</div>
  97. <div class="c-FF9630 smallbox">
  98. <span class="c-f20">{{Statics.followupCount}}</span>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. <!--疑似高危记录表-搜索-->
  107. <div id="sc_searchbar" class="pt20">
  108. <div id="datamodeltap" class="up_datamodel" @click="datamodeltap()">
  109. <span class="c-12B7F5 c-f14 pl20">收起</span>
  110. </div>
  111. <div class="tabs tabs-two c-position-r" data-toggle="tabs" data-toggle-tabs="oneIframe">
  112. <ul class="nav nav-tabs plr20">
  113. <li role="presentation" :class="{'active':isDanger=='1'}" @click="gettable('1')">
  114. <a href="javascript:;">疑似高危记录表</a>
  115. </li>
  116. <li role="presentation" :class="{'active':isDanger!='1'}" @click="gettable('')">
  117. <a href="javascript:;">所有记录</a>
  118. </li>
  119. </ul>
  120. <!--<div class="tabs-hd clearfix">
  121. <a href="javascript:;" :class="{curr:isDanger=='1'}" @click="gettable('1')"><span>疑似高危记录表</span></a>
  122. <a href="javascript:;" :class="{curr:isDanger==''}" @click="gettable('')"><span>所有记录</span></a>
  123. </div>-->
  124. <div class="tabs-bd pt20 plr20" >
  125. <template v-if="scListItem">
  126. <div class="dataCell form-group">
  127. <div class="w160 inline c-vam">
  128. <div class="input-group">
  129. <input
  130. id="Type"
  131. placeholder="请选择筛查"
  132. type="text"
  133. value="冠心病"
  134. class="form-control bgc-fff"
  135. name="Type"
  136. readonly="readonly" />
  137. <div class="input-group-btn">
  138. <button
  139. type="button"
  140. class="btn btn-white dropdown-toggle"
  141. data-toggle="dropdown"
  142. aria-haspopup="true"
  143. aria-expanded="false">
  144. <span class="caret"></span>
  145. </button>
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. <div class="dataCell form-group">
  151. <div class="w160 inline c-vam">
  152. <div class="input-group">
  153. <input
  154. id="Type"
  155. placeholder="请选择筛查"
  156. Value="ASCVD风险评估"
  157. type="text"
  158. class="form-control bgc-fff"
  159. name="Type"
  160. readonly="readonly" />
  161. <div class="input-group-btn">
  162. <button
  163. type="button"
  164. class="btn btn-white dropdown-toggle"
  165. data-toggle="dropdown"
  166. aria-haspopup="true"
  167. aria-expanded="false">
  168. <span class="caret"></span>
  169. </button>
  170. </div>
  171. </div>
  172. </div>
  173. </template>
  174. <template v-else>
  175. <div class="dataCell form-group">
  176. <div class="w160 inline c-vam">
  177. <div class="input-group">
  178. <input
  179. id="Type"
  180. placeholder="请选择筛查"
  181. type="text"
  182. class="form-control bgc-fff"
  183. name="Type"
  184. readonly="readonly" />
  185. <div class="input-group-btn">
  186. <button
  187. type="button"
  188. class="btn btn-white dropdown-toggle"
  189. data-toggle="dropdown"
  190. aria-haspopup="true"
  191. aria-expanded="false">
  192. <span class="caret"></span>
  193. </button>
  194. <ul class="dropdown-menu dropdown-menu-right" ></ul>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. <div class="dataCell form-group">
  200. <div class="w160 inline c-vam">
  201. <div class="input-group">
  202. <el-select v-model="selectedNewDropdown" placeholder="请选择筛查表单" >
  203. <el-option
  204. v-for="item in newDropdownItems"
  205. :key="item.code"
  206. :label="item.name"
  207. :value="item.code">
  208. </el-option>
  209. </el-select>
  210. </div>
  211. </div>
  212. </div>
  213. </template>
  214. <div class="dataCell form-group">
  215. <div class="w160 inline c-vam">
  216. <div class="input-group">
  217. <input
  218. id="Status"
  219. placeholder="请选择管理情况"
  220. type="text"
  221. class="form-control"
  222. name="Status"
  223. readonly="readonly" />
  224. <div class="input-group-btn">
  225. <button
  226. type="button"
  227. class="btn btn-white dropdown-toggle"
  228. data-toggle="dropdown"
  229. aria-haspopup="true"
  230. aria-expanded="false">
  231. <span class="caret"></span>
  232. </button>
  233. <ul class="dropdown-menu dropdown-menu-right"></ul>
  234. </div>
  235. </div>
  236. </div>
  237. </div>
  238. <div class="dataCell form-group">
  239. <el-date-picker
  240. style="height: 30px;width: 350px;display: flex;align-items: center;list-style: none;"
  241. v-model="value1"
  242. type="daterange"
  243. range-separator="至"
  244. start-placeholder="开始日期"
  245. end-placeholder="结束日期"
  246. format="yyyy-MM-dd"
  247. value-format="yyyy-MM-dd"
  248. >
  249. </el-date-picker>
  250. </div>
  251. <input
  252. class="form-control w-220 fl"
  253. style="height: 28px; border-radius: 3px"
  254. placeholder="请输入居民姓名"
  255. v-model="name"
  256. :readonly="scListItem.patientName"
  257. />
  258. <div class="btn bgc-12B7F5 fl ml20" @click="search(1)">查询</div>
  259. <div class="btn bgc-12B7F5 ml20 right" @click="shaicha()">人工筛查</div>
  260. <div class="btn fl ml20" @click="exportScreenResultList()" style="background-color: #67c23a;" v-if="!scListItem">导出</div>
  261. </div>
  262. </div>
  263. </div>
  264. <!--疑似高危记录表-表格-->
  265. <div id="sc_table" class="p20">
  266. <table class="table-bordered table-striped width-100 c-t-center" v-loading="isloading">
  267. <thead>
  268. <tr>
  269. <th>姓名</th>
  270. <th>筛查类型</th>
  271. <th>评分</th>
  272. <th>状态</th>
  273. <th>评估</th>
  274. <th>时间</th>
  275. <th style="width: 200px">管理情况</th>
  276. </tr>
  277. </thead>
  278. <tbody>
  279. <tr v-if="!wujilu" v-for="(data, index) in tablelist">
  280. <td style="width: 80px">{{data.patientName}}</td>
  281. <td @click="view(data)">{{data.templateTitle}}</td>
  282. <td class="c-FF9630" style="width: 50px" v-if="data.screenResultScore==-1">{{data.screenResult}}</td>
  283. <td class="c-FF9630" style="width: 50px" v-else>{{data.screenResultScore?data.screenResultScore+"分":""}}</td>
  284. <td style="width: 70px">
  285. <!-- -->
  286. <template v-if="!data.surveyStatus">
  287. <!-- 是否可以再次评估 && 是否高危 -->
  288. <!-- <div v-if="data.isAgain==1&&data.isDanger==1"> -->
  289. <div v-if="data.isDanger==1">
  290. <span v-if="data.following==1">已跟踪</span>
  291. <span v-if="data.isOrder==1">已预约</span>
  292. <span v-if="data.isOrder==2">已接诊</span>
  293. <span v-if="data.following==0&&data.isOrder==0">待处理</span>
  294. </div>
  295. <span v-if="data.isDanger==0">日常健康管理</span>
  296. </template>
  297. <template v-if="data.surveyStatus">
  298. <span v-if ="data.surveyStatus==1">已管理</span>
  299. <span v-if ="data.surveyStatus==2">住院补筛</span>
  300. </template>
  301. <!-- <div v-else>&nbsp;</div> -->
  302. </td>
  303. <td v-if="data.screenResultScore==-1">{{data.thirdAdvice}}</td>
  304. <td v-else>{{data.screenResult}}</td>
  305. <td style="width: 155px">{{data.czrq}}</td>
  306. <td style="width: 200px">
  307. <template v-if="docInfo.level==2">
  308. <div v-if="data.isAgain==1 && data.isDanger==1">
  309. <div v-if="data.isOrder==1" class="c-12B7F5">已预约</div>
  310. <div v-else-if="data.following==0 && data.isOrder==0">
  311. <span class="btn bgc-FF9630 fl ml10" @click="jkgz(data) " v-if="data.disease!=3">健康跟踪</span>
  312. </div>
  313. <div v-else-if="data.following==1">
  314. <span class="btn bgc-2DBE55 fl ml10" @click="jkjy(data)">健康教育</span>
  315. <span class="btn bgc-12B7F5 fl ml10" @click="shaicha(data,1)">再次筛查</span>
  316. </div>
  317. <div v-else-if="data.isOrder==2" class="c-12B7F5">已接诊</div>
  318. </div>
  319. <div class="" v-if="docInfo.level==2&&!data.surveyStatus&&data.screenResultScore==-1&&(data.isDanger==1)&&(data.following==0&&data.isOrder==0)">
  320. <span class="btn bgc-FF9630 fl ml10" @click="sqsf(data) ">纳入社区管理</span>
  321. <span class="btn bgc-02cfb9 fl ml10" @click="zhuanzhen(data)">转诊</span>
  322. </div>
  323. <div v-else-if="data.isDanger==0">
  324. <div class="btn bgc-12B7F5" style="text-align: center" @click="jkzd(data)">健康指导</div>
  325. </div>
  326. </template>
  327. <!-- 专科 已管理 待处理 已预约 已接诊-->
  328. <template v-if="docInfo.level=='1'&&(data.surveyStatus==1||(data.following==0&&data.isOrder==0)||(data.isOrder==1)||(data.isOrder==2))">
  329. <span class="btn fl ml10" style="background-color: #12b7f5;" @click="lianxijiayi(data)">联系家医</span>
  330. </template>
  331. </td>
  332. </tr>
  333. <tr v-if="wujilu">
  334. <td colspan="7">无记录</td>
  335. </tr>
  336. </tbody>
  337. </table>
  338. <navigation
  339. :pages="pagetotal"
  340. :current="currentPage"
  341. @navpage="search"
  342. :total="total"
  343. :size="pagesize"></navigation>
  344. </div>
  345. <el-dialog title="提示" :visible.sync="centerDialogVisible" width="40%" center>
  346. <span>是否确认纳入社区进行管理</span>
  347. <span slot="footer" class="dialog-footer">
  348. <el-button @click="centerDialogVisible = false">取 消</el-button>
  349. <el-button type="primary" @click="centerDialogClick">确 定</el-button>
  350. </span>
  351. </el-dialog>
  352. <el-dialog title="家医联系方式" :visible.sync="jiayiShow" width="25%" center>
  353. <span>如需联系家医,请拨打下方电话:<br> {{doctorMobile || '无'}}</span>
  354. <span slot="footer" class="dialog-footer">
  355. <el-button type="primary" @click="jiayiShow = false">确 定</el-button>
  356. </span>
  357. </el-dialog>
  358. </div>
  359. <script type="text/javascript" src="../../../js/vue.js"></script>
  360. <script type="text/javascript" src="../../../js/jquery-2.2.4.js"></script>
  361. <script src="../../../component/common/event-bus.js"></script>
  362. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  363. <script src="../../../plugins/toastr/toastr.min.js"></script>
  364. <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
  365. <script src="../../../plugins/layer/layer.min.js"></script>
  366. <script src="../../../js/util.js"></script>
  367. <script src="../../../api/http-request.js"></script>
  368. <script src="../../../js/underscore.js"></script>
  369. <script src="../../../plugins/suggest/bootstrap-suggest.min.js"></script>
  370. <script src="../../../component/common/pagination.js"></script>
  371. <script src="../../../api/jbsc-api.js"></script>
  372. <script src="../js/statistics.js"></script>
  373. </body>
  374. </html>