index.html 4.2 KB

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