|
@@ -6,7 +6,7 @@
|
|
<a href="#">系统管理</a>
|
|
<a href="#">系统管理</a>
|
|
</el-breadcrumb-item>
|
|
</el-breadcrumb-item>
|
|
<el-breadcrumb-item>
|
|
<el-breadcrumb-item>
|
|
- <a href="/employeeInfo">员工信息</a>
|
|
|
|
|
|
+ <a href="/base/employeeInfo">员工信息</a>
|
|
</el-breadcrumb-item>
|
|
</el-breadcrumb-item>
|
|
</el-breadcrumb>
|
|
</el-breadcrumb>
|
|
<el-divider></el-divider>
|
|
<el-divider></el-divider>
|
|
@@ -27,6 +27,13 @@
|
|
<el-form-item label="姓名" prop="employeeName">
|
|
<el-form-item label="姓名" prop="employeeName">
|
|
<el-input type="text" size="mini" v-model="queryModel.employeeName"></el-input>
|
|
<el-input type="text" size="mini" v-model="queryModel.employeeName"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="导出状态" prop="exportStatus">
|
|
|
|
+ <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>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
@@ -71,15 +78,15 @@
|
|
@selection-change="handleSelectionChange"
|
|
@selection-change="handleSelectionChange"
|
|
>
|
|
>
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
- <el-table-column prop="no" sort-by="no_" label="编号" sortable="custom" width="100"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="id" label="编号" width="80"></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="companyName"
|
|
prop="companyName"
|
|
label="所属公司"
|
|
label="所属公司"
|
|
sortable="custom"
|
|
sortable="custom"
|
|
width="180"
|
|
width="180"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
- <el-table-column prop="name" sort-by="name_" label="姓名" sortable="custom" width="250"></el-table-column>
|
|
|
|
- <el-table-column prop="photo" label="照片" width="180">
|
|
|
|
|
|
+ <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}">
|
|
<template slot-scope="{row}">
|
|
<a :href="row.photo" target="_blank">
|
|
<a :href="row.photo" target="_blank">
|
|
<el-avatar
|
|
<el-avatar
|
|
@@ -89,9 +96,15 @@
|
|
</a>
|
|
</a>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="sortNo" sort-by="sort_no" label="排序" sortable="custom" width="180"></el-table-column>
|
|
|
|
- <el-table-column prop="openId" sort-by="open_id" label="openId" sortable="custom" width="250"></el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
|
|
+ <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-pagination
|
|
<el-pagination
|
|
:current-page.sync="pageIndex"
|
|
:current-page.sync="pageIndex"
|
|
:total="totalElements"
|
|
:total="totalElements"
|
|
@@ -132,7 +145,8 @@ export default {
|
|
return {
|
|
return {
|
|
queryModel: {
|
|
queryModel: {
|
|
companyId: "",
|
|
companyId: "",
|
|
- employeeName: ""
|
|
|
|
|
|
+ employeeName: "",
|
|
|
|
+ exportStatus: ""
|
|
},
|
|
},
|
|
loading: false,
|
|
loading: false,
|
|
tableData: [],
|
|
tableData: [],
|
|
@@ -149,7 +163,7 @@ export default {
|
|
businessKey: "",
|
|
businessKey: "",
|
|
companyList: [],
|
|
companyList: [],
|
|
dialogFormVisible: false,
|
|
dialogFormVisible: false,
|
|
- downPath: "C:\\"
|
|
|
|
|
|
+ downPath: "C:"
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -166,6 +180,7 @@ export default {
|
|
|
|
|
|
formData.append("employeeName", self.queryModel.employeeName);
|
|
formData.append("employeeName", self.queryModel.employeeName);
|
|
formData.append("companyId", self.queryModel.companyId);
|
|
formData.append("companyId", self.queryModel.companyId);
|
|
|
|
+ formData.append("exportStatus", self.queryModel.exportStatus);
|
|
|
|
|
|
if (this.field != null) {
|
|
if (this.field != null) {
|
|
formData.append("field", this.field);
|
|
formData.append("field", this.field);
|
|
@@ -274,7 +289,7 @@ export default {
|
|
});
|
|
});
|
|
var localPath = self.downPath;
|
|
var localPath = self.downPath;
|
|
if (localPath == null || localPath.length == 0) {
|
|
if (localPath == null || localPath.length == 0) {
|
|
- localPath = "C:\\";
|
|
|
|
|
|
+ localPath = "C:";
|
|
}
|
|
}
|
|
employeeInfoApi.downloadZip(idList, localPath);
|
|
employeeInfoApi.downloadZip(idList, localPath);
|
|
}
|
|
}
|