index.html 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <div id="app" class="jtbc">
  2. <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px">
  3. <div class="searchDiv pb20 pr20">
  4. <label class="c-333 c-f14">
  5. <el-radio v-model="yearType" label="1">提醒年份:</el-radio>
  6. <el-select v-model="chooseYear" class="formWidth wd160">
  7. <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
  8. </el-select>
  9. </label>
  10. </div>
  11. <div class="searchDiv pb20 pr20">
  12. <label class="c-333 c-f14" style="display: flex; align-items: center">
  13. <el-radio v-model="yearType" label="2">提醒时间:</el-radio>
  14. <el-date-picker
  15. v-model="chooseTime"
  16. type="daterange"
  17. range-separator="至"
  18. start-placeholder="开始日期"
  19. end-placeholder="结束日期"
  20. value-format="yyyy-MM-dd"
  21. ></el-date-picker>
  22. </label>
  23. </div>
  24. <div class="searchDiv pb20 pr20">
  25. <label class="c-333 c-f14" style="width: 100px">居民姓名:</label>
  26. <el-input v-model="paramsObj.name" placeholder="请输入居民姓名查询"></el-input>
  27. </div>
  28. <div class="searchDiv pb20 pr20">
  29. <label class="c-333 c-f14" style="width: 100px">签约医院:</label>
  30. <el-input v-model="paramsObj.hospitalName" placeholder="请输入签约医院查询"></el-input>
  31. </div>
  32. <div class="searchDiv pb20 pr20">
  33. <label class="c-333 c-f14" style="width: 100px">签约医生:</label>
  34. <el-input v-model="paramsObj.signDoctorName" placeholder="请输入签约医生查询"></el-input>
  35. </div>
  36. <div class="searchDiv pb20 pr20">
  37. <label class="c-333 c-f14" style="width: 100px">提醒类型:</label>
  38. <!-- <el-input v-model="form.name" placeholder="请输入提醒类型查询"></el-input> -->
  39. <el-select v-model="paramsObj.type" class="formWidth wd160">
  40. <el-option label="全部" value=""></el-option>
  41. <el-option label="筛查提醒" value="1"></el-option>
  42. <el-option label="复诊提醒" value="2"></el-option>
  43. </el-select>
  44. </div>
  45. <div class="searchDiv pb20">
  46. <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
  47. <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
  48. <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
  49. </div>
  50. </div>
  51. <el-table :data="tableData" style="width: 100%" v-loading="loading" empty-text="暂无数据">
  52. <el-table-column type="index" min-width="60" label="序号"></el-table-column>
  53. <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
  54. <template slot-scope="scope">
  55. {{scope.row[item.prop]}}
  56. </template>
  57. </el-table-column>
  58. <el-table-column label="操作" align="center">
  59. <template slot-scope="scope">
  60. <el-button @click="showInfo(scope.row)" type="text" size="small">查看</el-button>
  61. </template>
  62. </el-table-column>
  63. </el-table>
  64. <el-dialog title="消息提醒内容" :visible.sync="messageVisible" @close="closeMessageDialog" width="540px">
  65. <div v-html="messTxt"></div>
  66. <span slot="footer" class="dialog-footer">
  67. <el-button @click="messageVisible = false">取消</el-button>
  68. </span>
  69. </el-dialog>
  70. <el-pagination
  71. @current-change="handleCurrentChange"
  72. @size-change="handleSizeChange"
  73. :current-page.sync="page"
  74. :page-size="size"
  75. :page-sizes="[10, 20, 50]"
  76. layout="total, sizes, prev, pager, next, jumper"
  77. :total="total"
  78. class="pagination"
  79. ></el-pagination>
  80. </div>