statistics.html 18 KB

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