index.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!-- 家庭病床css文件位置位于/component/common/jtbc.css -->
  2. <div id="app" 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">报警时间:</label>
  6. <el-date-picker v-model="chooseTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"></el-date-picker>
  7. </div>
  8. <div class="searchDiv pb20 pr20">
  9. <label class="c-333 c-f14">患者姓名:</label>
  10. <el-input v-model="form.name" class="formWidth wd160" placeholder="请输入患者姓名查询"></el-input>
  11. </div>
  12. <div class="searchDiv pb20">
  13. <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
  14. <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
  15. <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
  16. </div>
  17. </div>
  18. <el-table :data="tableData" style="width: 100%" v-loading="loading">
  19. <el-table-column type="index" min-width="60" label="序号"></el-table-column>
  20. <el-table-column :label="item.label" v-for="item in tableHeader">
  21. <template slot-scope="scope">{{scope.row[item.prop]}}</template>
  22. </el-table-column>
  23. </el-table>
  24. <el-pagination
  25. @current-change="handleCurrentChange"
  26. @size-change="handleSizeChange"
  27. :current-page.sync="page"
  28. :page-size="size"
  29. :page-sizes="[10, 20, 50]"
  30. layout="total, sizes, prev, pager, next, jumper"
  31. :total="total"
  32. class="pagination"></el-pagination>
  33. </div>