index.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <div class="copd-record-search-box">
  2. <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px;">
  3. <!--=======================================================-->
  4. <div class="searchDiv pb20">
  5. <label class="c-333 c-f14">
  6. <el-radio v-model="radio" label="1">按确诊年份:</el-radio>
  7. <el-select v-model="chooseYear" class="pr20 formWidth">
  8. <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
  9. </el-select>
  10. </label>
  11. </div>
  12. <!--=======================================================-->
  13. <div class="searchDiv pb20">
  14. <label class="c-333 c-f14">
  15. <el-radio v-model="radio" label="2">确诊时间:</el-radio>
  16. </label>
  17. <el-date-picker
  18. v-model="value1"
  19. type="daterange"
  20. value-format="yyyy-MM-dd"
  21. range-separator="-"
  22. start-placeholder="开始日期"
  23. end-placeholder="结束日期">
  24. </el-date-picker>
  25. </div>
  26. <!--=======================================================-->
  27. <div class="searchDiv pb20">
  28. <label class="c-333 c-f14">
  29. 患者性别:
  30. </label>
  31. <el-select class="pr20 formWidth" v-model="sex" placeholder="请选择">
  32. <el-option label="全部" value=""></el-option>
  33. <el-option label="男" value="1"></el-option>
  34. <el-option label="女" value="2"></el-option>
  35. </el-select>
  36. </div>
  37. <!--=======================================================-->
  38. <div class="searchDiv pb20">
  39. <label class="c-333 c-f14">
  40. 首次诊断地区:
  41. </label>
  42. <el-select class="pr20 formWidth" v-model="firstVisitArea" placeholder="请选择">
  43. <el-option label="全部" value=""></el-option>
  44. <el-option v-for="item in  areaArr " :key="item.code" :label="item.value" :value="item.code"></el-option>
  45. </el-select>
  46. </div>
  47. <!--=======================================================-->
  48. <div class="searchDiv pb20">
  49. <label class="c-333 c-f14">
  50. 首次诊断机构级别:
  51. </label>
  52. <el-select class="pr20 formWidth" v-model="firstVisitOrgLevel" placeholder="请选择">
  53. <el-option label="全部" value=""></el-option>
  54. <el-option v-for="item in orGlevelArr " :key="item.code" :label="item.value" :value="item.code"></el-option>
  55. </el-select>
  56. </div>
  57. <!--=======================================================-->
  58. <div class="searchDiv pb20">
  59. <label class="c-333 c-f14">
  60. 肺功能检查情况:
  61. </label>
  62. <el-select class="pr20 formWidth" v-model="hasLung" placeholder="请选择">
  63. <el-option label="全部" value=""></el-option>
  64. <el-option label="是" value="1"></el-option>
  65. <el-option label="否" value="2"></el-option>
  66. </el-select>
  67. </div>
  68. <!--=======================================================-->
  69. <div class="searchDiv pb20">
  70. <label class="c-333 c-f14">
  71. 胸部CT检查情况:
  72. </label>
  73. <el-select class="pr20 formWidth" v-model="hasCt" placeholder="请选择">
  74. <el-option label="全部" value=""></el-option>
  75. <el-option label="是" value="1"></el-option>
  76. <el-option label="否" value="2"></el-option>
  77. </el-select>
  78. </div>
  79. <!--=======================================================-->
  80. <div class="searchDiv pb20">
  81. <label class="c-333 c-f14">
  82. X线检查情况:
  83. </label>
  84. <el-select class="pr20 formWidth" v-model="hasx" placeholder="请选择">
  85. <el-option label="全部" value=""></el-option>
  86. <el-option label="是" value="1"></el-option>
  87. <el-option label="否" value="2"></el-option>
  88. </el-select>
  89. </div>
  90. <!--=======================================================-->
  91. <div class="searchDiv pb20">
  92. <label class="c-333 c-f14">
  93. 血气分析检查情况:
  94. </label>
  95. <el-select class="pr20 formWidth" v-model="hasBloodGas" placeholder="请选择">
  96. <el-option label="全部" value=""></el-option>
  97. <el-option label="是" value="1"></el-option>
  98. <el-option label="否" value="2"></el-option>
  99. </el-select>
  100. </div>
  101. <!--=======================================================-->
  102. <div class="searchDiv pb20">
  103. <label class="c-333 c-f14">
  104. 是否抽烟:
  105. </label>
  106. <el-select class="pr20 formWidth" v-model="hasSmoke" placeholder="请选择">
  107. <el-option label="全部" value=""></el-option>
  108. <el-option v-for="item in smokeArr " :key="item.code" :label="item.value" :value="item.code"></el-option>
  109. </el-select>
  110. </div>
  111. <!--=======================================================-->
  112. <div class="searchDiv pb20">
  113. <label class="c-333 c-f14">
  114. 是否饮酒:
  115. </label>
  116. <el-select class="pr20 formWidth" v-model="hasDrink" placeholder="请选择">
  117. <el-option label="全部" value=""></el-option>
  118. <el-option v-for="item in drinkArr " :key="item.code" :label="item.value" :value="item.code"></el-option>
  119. </el-select>
  120. </div>
  121. <!--=======================================================-->
  122. <div class="searchDiv pb20">
  123. <label class="c-333 c-f14">
  124. 病人转归情况:
  125. </label>
  126. <el-select class="pr20 formWidth" v-model="diseaseConversion" placeholder="请选择">
  127. <el-option label="全部" value=""></el-option>
  128. <el-option v-for="item in conversionArr " :key="item.code" :label="item.value" :value="item.code"></el-option>
  129. </el-select>
  130. </div>
  131. <!--=======================================================-->
  132. <div class="searchDiv pb20 age-range">
  133. <label class="c-333 c-f14">
  134. 患者年龄段:
  135. </label>
  136. <el-select class="pr20 formWidth" v-model="age" placeholder="请选择">
  137. <el-option label="全部" value=""></el-option>
  138. <el-option v-for="item in ageArr " :key="item.code" :label="item.value" :value="item.code"></el-option>
  139. </el-select>
  140. </div>
  141. <!--=======================================================-->
  142. <div class="searchDiv pb20">
  143. <label class="c-333 c-f14">
  144. 数据范围:
  145. </label>
  146. <el-select class="pr20 formWidth" v-model="rangeCode" placeholder="请选择">
  147. <el-option v-for="(option, index) in rangeList" :label="option.name"
  148. :value="option.code"></el-option>
  149. </el-select>
  150. </div>
  151. <!--=======================================================-->
  152. <template v-if="rangeCode!='city'">
  153. <div class="searchDiv pb20">
  154. <label class="c-333 c-f14">
  155. 地区:
  156. </label>
  157. <el-select v-model="areaCode" style="width: 100px" class="pr10">
  158. <el-option v-for="(item , index) in areaList" :key="index" :label="item.name"
  159. :value="item.code"></el-option>
  160. </el-select>
  161. </div>
  162. <!--=======================================================-->
  163. <div class="searchDiv pb20" v-show="rangeCode!='town'&&rangeCode!='specHos'">
  164. <label class="c-333 c-f14">
  165. 社区:
  166. </label>
  167. <el-select v-model="communityCode" style="width: 200px" class="pr10">
  168. <el-option v-for="(item , index) in communityArr" :key="index" :label="item.name"
  169. :value="item.code"></el-option>
  170. </el-select>
  171. </div>
  172. </template>
  173. <!--=======================================================-->
  174. <div class="searchDiv pb20">
  175. <el-button type="primary" size="mini" @click="search">查询</el-button>
  176. <el-button type="ff9526" size="mini" @click="exportTable" >导出</el-button>
  177. <span class="eliminate" @click="resetDate">清除筛选条件</span>
  178. </div>
  179. <!--=======================================================-->
  180. </div>
  181. <!-- <el-table style="width: 100%; margin-top: 16px" :data="dataList" v-loading="daLoading" >
  182. <el-table-column prop="serialNumber" label="序号" width="180" align="center"></el-table-column>
  183. <el-table-column prop="region" label="地区" width="180" align="center"></el-table-column>
  184. <el-table-column prop="communityHospital" label="社区医院" width="180" align="center"></el-table-column>
  185. <el-table-column prop="totalPatients" label="总患者人数" width="180" align="center"
  186. v-if="toggleField('totalPatients')"></el-table-column>
  187. <el-table-column prop="newPatientsThisYear" label="今年新增人数" width="180" align="center"
  188. v-if="toggleField('newPatientsThisYear')"></el-table-column>
  189. <el-table-column prop="followedUpPatients" label="已随访人数" width="180" align="center"
  190. v-if="toggleField('followedUpPatients')"></el-table-column>
  191. <el-table-column prop="completionRate" label="完成率" width="180" align="center"
  192. v-if="toggleField('completionRate')"></el-table-column>
  193. <el-table-column prop="regressedPatients" label="回退人数" width="180" align="center"
  194. v-if="toggleField('returnCount')"></el-table-column>
  195. <el-table-column prop="transferTimes" label="转移次数" width="180" align="center"
  196. v-if="toggleField('transferCount')"></el-table-column>
  197. <el-table-column prop="patientOutcomeCount" label="病人转归情况人数" width="180" align="center"
  198. v-if="toggleField('patientOutcomeCount')"></el-table-column>
  199. <el-table-column prop="signedPatients" label="家签患者人数" width="180" align="center"
  200. v-if="toggleField('signedPatients')"></el-table-column>
  201. <el-table-column prop="unsignedPatients" label="非家签患者人数" width="180" align="center"
  202. v-if="toggleField('unsignedPatients')"></el-table-column>
  203. <el-table-column prop="allocatedPatients" label="已分配人数" width="180" align="center"
  204. v-if="toggleField('assignedPatients')"></el-table-column>
  205. <el-table-column prop="unallocatedPatients" label="未分配人数" width="180" align="center"
  206. v-if="toggleField('unassignedPatients')"></el-table-column>
  207. <el-table-column prop="receivedPatients" label="已接收人数" width="180" align="center"
  208. v-if="toggleField('receivedPatients')"></el-table-column>
  209. <el-table-column prop="unreceivedPatients" label="未接收人数" width="180" align="center"
  210. v-if="toggleField('unreceivedPatients')"></el-table-column>
  211. <el-table-column prop="unfollowedPatients" label="已随访次数" width="180" align="center"
  212. v-if="toggleField('followUpCount')"></el-table-column>
  213. <el-table-column prop="missingPatients" label="失访人数" width="180" align="center"
  214. v-if="toggleField('lostFollowUpPatients')"></el-table-column>
  215. <el-table-column prop="deceasedPatients" label="死亡人数" width="180" align="center"
  216. v-if="toggleField('deceasedPatients')"></el-table-column>
  217. <el-table-column prop="patientOutcome" label="病人转归情况工人数" width="180" align="center">
  218. <el-table-column prop="cured" label="治愈" width="180" align="center"></el-table-column>
  219. <el-table-column prop="improved" label="好转" width="180" align="center"></el-table-column>
  220. <el-table-column prop="stable" label="稳定" width="180" align="center"></el-table-column>
  221. <el-table-column prop="deteriorated" label="恶化" width="180" align="center"></el-table-column>
  222. <el-table-column prop="deceased" label="死亡" width="180" align="center"></el-table-column>
  223. <el-table-column prop="other" label="其他" width="180" align="center"></el-table-column>
  224. </el-table-column>
  225. </el-table> -->
  226. <el-table border :data="tabledata" style="width: 100%" class="mt20" v-loading="daLoading"
  227. >
  228. <el-table-column fixed type="index" label="序号" width="50" min-width="50"
  229. align="center"></el-table-column>
  230. <el-table-column prop="townName" label="地区" align="center" v-if="rangeCode == 'town'"
  231. min-width="100"></el-table-column>
  232. <el-table-column prop="hospitalName" label="社区" align="center" v-if="rangeCode == 'hospital'"
  233. min-width="180"></el-table-column>
  234. <el-table-column :prop="item.prop" :label="item.label" align="right" header-align="center"
  235. v-for="(item,index) in tableHeader" :key="index"></el-table-column>
  236. </el-table>
  237. <div class="c-t-right mt20">
  238. <el-pagination @current-change="handleCurrentChange" :current-page.sync="currentPage"
  239. :page-size="currentSize" layout="total, prev, pager, next, jumper"
  240. :total="datatotal"></el-pagination>
  241. </div>
  242. </div>