index.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!-- <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>患者情况分析</title>
  7. <link rel="stylesheet" type="text/css" href="index.css" />
  8. </head>
  9. <body> -->
  10. <!-- 家庭病床css文件位置位于/component/common/jtbc.css -->
  11. <div id="app" class="jtbc">
  12. <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px">
  13. <div class="searchDiv pb20">
  14. <label class="c-333 c-f14">
  15. <el-radio v-model="yearType" label="1">按建床年度:</el-radio>
  16. <el-select v-model="chooseYear" class="pr20 formWidth wd160">
  17. <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
  18. </el-select>
  19. </label>
  20. </div>
  21. <div class="searchDiv pb20 pr20">
  22. <label class="c-333 c-f14" style="display: flex; align-items: center">
  23. <el-radio v-model="yearType" label="2">自定义建床时间:</el-radio>
  24. <el-date-picker
  25. v-model="chooseTime"
  26. type="daterange"
  27. range-separator="至"
  28. start-placeholder="开始日期"
  29. end-placeholder="结束日期"
  30. value-format="yyyy-MM-dd"></el-date-picker>
  31. </label>
  32. </div>
  33. <div class="searchDiv pb20 pr20">
  34. <label class="c-333 c-f14">责任医师:</label>
  35. <el-input v-model="form.doctorName" class="formWidth wd160" placeholder="请输入责任医师查询"></el-input>
  36. </div>
  37. <div class="searchDiv pb20 pr20">
  38. <label class="c-333 c-f14">身份证号:</label>
  39. <el-input v-model="form.idcard" class="formWidth wd160" placeholder="请输入身份证号查询"></el-input>
  40. </div>
  41. <div class="searchDiv pb20 pr20">
  42. <label class="c-333 c-f14">住院号:</label>
  43. <el-input v-model="form.visitNo" class="formWidth wd160" placeholder="请输入住院号查询"></el-input>
  44. </div>
  45. <div class="searchDiv pb20 pr20">
  46. <label class="c-333 c-f14">患者姓名:</label>
  47. <el-input v-model="form.patientName" class="formWidth wd160" placeholder="请输入患者姓名查询"></el-input>
  48. </div>
  49. <div class="searchDiv pb20">
  50. <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
  51. <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
  52. <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
  53. </div>
  54. </div>
  55. <el-table :data="tableData" style="width: 100%" v-loading="loading">
  56. <el-table-column type="index" min-width="60" label="序号"></el-table-column>
  57. <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
  58. <template slot-scope="scope">{{scope.row[item.prop]}}</template>
  59. </el-table-column>
  60. </el-table>
  61. <el-pagination
  62. @current-change="handleCurrentChange"
  63. @size-change="handleSizeChange"
  64. :current-page.sync="page"
  65. :page-size="size"
  66. :page-sizes="[10, 20, 50]"
  67. layout="total, sizes, prev, pager, next, jumper"
  68. :total="total"
  69. class="pagination"></el-pagination>
  70. </div>
  71. <!-- </body> -->
  72. <!-- </html> -->