index.html 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <!-- 样式写在component/common/jtbc.css里 -->
  2. <div class="jtbc">
  3. <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px">
  4. <div class="searchDiv pb20 pr20">
  5. <label class="c-333 c-f14">
  6. <el-radio v-model="yearType" label="1">按签约年度:</el-radio>
  7. <el-select v-model="chooseYear" class="formWidth wd160">
  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. <div class="searchDiv pb20 pr20">
  13. <label class="c-333 c-f14" style="display: flex; align-items: center">
  14. <el-radio v-model="yearType" label="2">创建时间:</el-radio>
  15. <el-date-picker
  16. v-model="chooseTime"
  17. type="daterange"
  18. range-separator="至"
  19. start-placeholder="开始日期"
  20. end-placeholder="结束日期"
  21. value-format="yyyy-MM-dd"></el-date-picker>
  22. </label>
  23. </div>
  24. <div class="searchDiv pb20 pr20">
  25. <label class="c-333 c-f14">居民姓名:</label>
  26. <el-input class="formWidth" v-model="form.patientName" placeholder="请输入患者姓名查询"></el-input>
  27. </div>
  28. <div class="searchDiv pb20 pr20">
  29. <label class="c-333 c-f14">签约医生:</label>
  30. <el-input class="formWidth" v-model="form.doctorName" placeholder="请输入签约医生姓名查询"></el-input>
  31. </div>
  32. <div class="searchDiv pb20 pr20">
  33. <label class="c-333 c-f14">服务类型:</label>
  34. <el-select v-model="form.serviceType" class="formWidth" placeholder="请选择" filterable>
  35. <el-option value="" label="全部"></el-option>
  36. <el-option v-for="(item,index) in health_bank_service_type" :key="item.value" :value="item.code" :label="item.value"></el-option>
  37. </el-select>
  38. </div>
  39. <div class="searchDiv pb20 pr20">
  40. <label class="c-333 c-f14">数据范围:</label>
  41. <el-select class="formWidth" v-model="form.range" placeholder="请选择" @change="resetArea">
  42. <el-option v-for="(option, index) in rangeOptions" :label="option.label" :value="option.value" :key="option.value"></el-option>
  43. </el-select>
  44. </div>
  45. <div class="searchDiv pb20 pr20">
  46. <label class="c-333 c-f14">地区:</label>
  47. <el-select class="formWidth" v-model="form.area" placeholder="请选择" @change="getHospital">
  48. <el-option v-for="(option, index) in areaOptions" :label="option.label" :value="option.value" :key="option.value"></el-option>
  49. </el-select>
  50. </div>
  51. <div class="searchDiv pb20 pr20" v-if="form.range == 'hospital'||form.range == 'team'">
  52. <label class="c-333 c-f14">社区:</label>
  53. <el-select class="formWidth" v-model="form.hospital" placeholder="请选择" @change="getTeam">
  54. <el-option v-for="(option, index) in hospitalOptions" :label="option.name" :value="option.code" :key="option.code"></el-option>
  55. </el-select>
  56. </div>
  57. <div class="searchDiv pb20 pr20" v-if="form.range == 'team'">
  58. <label class="c-333 c-f14">团队:</label>
  59. <el-select class="formWidth" v-model="form.team" placeholder="请选择">
  60. <el-option v-for="(option, index) in teamOptions" :label="option.name" :value="option.id" :key="option.id"></el-option>
  61. </el-select>
  62. </div>
  63. <div class="searchDiv pb20">
  64. <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
  65. <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
  66. <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
  67. </div>
  68. </div>
  69. <el-table border :data="tableData" style="width: 100%" v-loading="loading" class="mt20">
  70. <template>
  71. <el-table-column type="index" label="序号" align="center"></el-table-column>
  72. <el-table-column prop="hospitalName" label="社区名称" align="center"></el-table-column>
  73. <el-table-column prop="name" label="居民" align="center"></el-table-column>
  74. <el-table-column prop="ssc" label="医保卡" align="center"></el-table-column>
  75. <el-table-column prop="idcard" label="身份证" align="center"></el-table-column>
  76. <el-table-column prop="mobile" label="手机号" align="center"></el-table-column>
  77. <el-table-column prop="address" label="地址" align="center" width="170"></el-table-column>
  78. <el-table-column prop="doctorName" label="签约医生" align="center"></el-table-column>
  79. <!-- <el-table-column prop="feeTotal" label="该居民已领取活动奖励的次数" align="center"></el-table-column>
  80. <el-table-column prop="rewardTimes" label="该居民已领取奖励的总金额" align="center" width="170"></el-table-column> -->
  81. <el-table-column prop="feeTotal" label="奖励金额" align="center"></el-table-column>
  82. <el-table-column prop="rewardTimes" label="领取次数" align="center"></el-table-column>
  83. </template>
  84. </el-table>
  85. <el-pagination
  86. @current-change="handleCurrentChange"
  87. @size-change="handleSizeChange"
  88. :current-page.sync="page"
  89. :page-size="size"
  90. :page-sizes="[10, 20, 50]"
  91. layout="total, sizes, prev, pager, next, jumper"
  92. :total="total"
  93. class="pagination"></el-pagination>
  94. </div>