index.html 12 KB

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