index.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 pr20">
  14. <label class="c-333 c-f14">数据范围:</label>
  15. <el-select class="formWidth" v-model="rangeCode" placeholder="请选择">
  16. <el-option v-for="(option, index) in rangeList" :label="option.name" :value="option.code" :key="option.value"></el-option>
  17. </el-select>
  18. </div>
  19. <div class="searchDiv pb20 pr20">
  20. <label class="c-333 c-f14">地区:</label>
  21. <el-select class="formWidth" v-model="areaCode" placeholder="请选择" @change="getHospital">
  22. <el-option v-for="(option, index) in areaList" :label="option.name" :value="option.code" :key="option.value"></el-option>
  23. </el-select>
  24. </div>
  25. <div class="searchDiv pb20 pr20" v-if="rangeCode=='hospital'">
  26. <label class="c-333 c-f14">社区:</label>
  27. <el-select class="formWidth" v-model="communityCode" placeholder="请选择">
  28. <el-option v-for="(option, index) in communityList" :label="option.name" :value="option.code" :key="option.code"></el-option>
  29. </el-select>
  30. </div>
  31. <!--=======================================================-->
  32. <div class="searchDiv pb20">
  33. <el-button type="primary" size="mini" @click="search">查询</el-button>
  34. <el-button type="success" size="mini" @click="toggle(true)" v-if="isShowBtn">导入</el-button>
  35. <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
  36. <!-- <span class="eliminate" @click="eliminateClick">清除筛选条件</span> -->
  37. </div>
  38. <!--=======================================================-->
  39. </div>
  40. <div class="ad-schedule-import">
  41. <el-dialog :destroy-on-close="true" title="导入" custom-class="schedule-import" :visible.sync="isShow" :append-to-body="true" width="400px">
  42. <div>
  43. <el-form ref="form" label-width="100px">
  44. <el-form-item label="居民档案">
  45. <el-upload action="" :before-upload="beforeUploadPic" :multiple="false" accept=".xls,.xlsx" :show-file-list="false" :file-list="fileList">
  46. <span class="fileName" style="color: #12b7f5">{{file? file.name : '请选择文件'}}</span>
  47. <el-button style="vertical-align: middle" size="small" type="primary">选择文件</el-button>
  48. </el-upload>
  49. </el-form-item>
  50. <div style="color: #12b7f5; margin-left: 100px; cursor: pointer" @click="gotoDownLoad">模板下载</div>
  51. </el-form>
  52. </div>
  53. <span slot="footer" class="dialog-footer">
  54. <el-button @click="toggle(false)">取 消</el-button>
  55. <el-button v-loading="loading" type="primary" @click="check">确 定</el-button>
  56. </span>
  57. </el-dialog>
  58. </div>
  59. <el-table border :data="tabledata" style="width: 100%" class="mt20" v-loading="daLoading">
  60. <el-table-column fixed type="index" label="序号" :width="70" align="center" v-if="tableHeader.length>0"></el-table-column>
  61. <el-table-column
  62. align="center"
  63. :prop="item.prop"
  64. :label="item.label"
  65. :align="item.align"
  66. :header-align="item.headerAlign"
  67. :min-width="item.width"
  68. v-for="(item,index) in tableHeader"
  69. :key="index"></el-table-column>
  70. </el-table>
  71. <!-- <div class="c-t-right mt20">
  72. <el-pagination
  73. @current-change="handleCurrentChange"
  74. @size-change="handleSizeChange"
  75. :current-page.sync="page"
  76. :page-size="size"
  77. :page-sizes="[10, 20, 50]"
  78. layout="total,sizes, prev, pager, next, jumper"
  79. :total="datatotal"></el-pagination>
  80. </div> -->
  81. </div>