|
@@ -28,8 +28,13 @@
|
|
|
<el-input type="text" size="mini" v-model="queryModel.employeeName"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="导出状态" prop="exportStatus">
|
|
|
- <el-select size="mini" v-model="queryModel.exportStatus"
|
|
|
- clearable filterable placeholder="请选择">
|
|
|
+ <el-select
|
|
|
+ size="mini"
|
|
|
+ v-model="queryModel.exportStatus"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ placeholder="请选择"
|
|
|
+ >
|
|
|
<el-option :label="'已导出'" :value="true"></el-option>
|
|
|
<el-option :label="'未导出'" :value="false"></el-option>
|
|
|
</el-select>
|
|
@@ -59,7 +64,7 @@
|
|
|
icon="el-icon-circle-plus"
|
|
|
:disabled="multipleSelection.length==0"
|
|
|
@click="downConfirm"
|
|
|
- >打包下载员工资料</el-button>
|
|
|
+ >打包下载员工资料</el-button>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
size="small"
|
|
@@ -79,12 +84,7 @@
|
|
|
>
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
<el-table-column prop="id" label="编号" width="80"></el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="companyName"
|
|
|
- label="所属公司"
|
|
|
- sortable="custom"
|
|
|
- width="180"
|
|
|
- ></el-table-column>
|
|
|
+ <el-table-column prop="companyName" label="所属公司" sortable="custom" width="180"></el-table-column>
|
|
|
<el-table-column prop="name" sort-by="name_" label="姓名" width="100"></el-table-column>
|
|
|
<el-table-column prop="photo" label="照片" width="100">
|
|
|
<template slot-scope="{row}">
|
|
@@ -99,15 +99,19 @@
|
|
|
</a>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="exportStatus" sort-by="export_status" label="导出状态" sortable="custom" width="100">
|
|
|
- <template slot-scope="{row}">
|
|
|
- {{row.exportStatus ? "已导出" : "未导出"}}
|
|
|
- </template>
|
|
|
+ <el-table-column
|
|
|
+ prop="exportStatus"
|
|
|
+ sort-by="export_status"
|
|
|
+ label="导出状态"
|
|
|
+ sortable="custom"
|
|
|
+ width="100"
|
|
|
+ >
|
|
|
+ <template slot-scope="{row}">{{row.exportStatus ? "已导出" : "未导出"}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="openId" label="openId" width="200"></el-table-column>
|
|
|
<el-table-column prop="createTime" label="创建时间" width="150"></el-table-column>
|
|
|
<el-table-column prop="updateTime" label="更新时间" width="150"></el-table-column>
|
|
|
- </el-table>
|
|
|
+ </el-table>
|
|
|
<el-pagination
|
|
|
:current-page.sync="pageIndex"
|
|
|
:total="totalElements"
|
|
@@ -116,11 +120,12 @@
|
|
|
@size-change="pageSizeChange"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
></el-pagination>
|
|
|
- <el-dialog
|
|
|
- :visible.sync="dialogFormVisible"
|
|
|
- :modal-append-to-body="false"
|
|
|
+ <el-dialog
|
|
|
+ :visible.sync="dialogFormVisible"
|
|
|
+ :modal-append-to-body="false"
|
|
|
:close-on-click-modal="false"
|
|
|
- width="30%">
|
|
|
+ width="30%"
|
|
|
+ >
|
|
|
<el-form>
|
|
|
<el-form-item label="压缩包解压后文件夹所在路径" prop="downPath">
|
|
|
<el-input v-model="downPath" placeholder="请输入所在路径" style="width:100%"></el-input>
|
|
@@ -154,12 +159,12 @@ export default {
|
|
|
loading: false,
|
|
|
tableData: [],
|
|
|
pageIndex: 1,
|
|
|
- pageSize: 10,
|
|
|
+ pageSize: 100,
|
|
|
totalPages: 0,
|
|
|
totalElements: 0,
|
|
|
field: "",
|
|
|
direction: "",
|
|
|
- pageSizeList: [10, 20, 30],
|
|
|
+ pageSizeList: [100, 200, 300, 500],
|
|
|
multipleSelection: [],
|
|
|
showModal: false,
|
|
|
modalTitle: "",
|
|
@@ -212,7 +217,7 @@ export default {
|
|
|
pageSizeChange(pageSize) {
|
|
|
this.pageSize = pageSize;
|
|
|
|
|
|
- this.$nextTick(()=>{
|
|
|
+ this.$nextTick(() => {
|
|
|
this.changePage(this.pageIndex);
|
|
|
});
|
|
|
},
|