1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!-- css文件位置位于/component/common/jtbc.css -->
- <div id="app" class="jtbc">
- <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px">
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">
- <el-radio v-model="yearType" label="1">按筛查年份:</el-radio>
- <el-select v-model="chooseYear" class="formWidth wd160">
- <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
- </el-select>
- </label>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14" style="display: flex; align-items: center">
- <el-radio v-model="yearType" label="2">自定义筛查时间:</el-radio>
- <el-date-picker
- v-model="chooseTime"
- type="daterange"
- range-separator="至"
- start-placeholder="开始日期"
- end-placeholder="结束日期"
- value-format="yyyy-MM-dd"></el-date-picker>
- </label>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">数据范围:</label>
- <el-select class="formWidth" v-model="form.turnOver" placeholder="请选择">
- <el-option v-for="(option, index) in turnOverOptions" :label="option.value" :value="option.code"></el-option>
- </el-select>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">地区:</label>
- <el-select class="formWidth" v-model="form.turnOver" placeholder="请选择">
- <el-option v-for="(option, index) in turnOverOptions" :label="option.value" :value="option.code"></el-option>
- </el-select>
- </div>
- <div class="searchDiv pb20">
- <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
- <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
- <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
- </div>
- </div>
- <el-table :data="tableData" style="width: 100%" v-loading="loading">
- <el-table-column type="index" min-width="60" label="序号"></el-table-column>
- <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
- <template slot-scope="scope">{{scope.row[item.prop]}}</template>
- </el-table-column>
- </el-table>
- <el-pagination
- @current-change="handleCurrentChange"
- @size-change="handleSizeChange"
- :current-page.sync="page"
- :page-size="size"
- :page-sizes="[10, 20, 50]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="total"
- class="pagination"></el-pagination>
- </div>
|