|
@@ -4,11 +4,11 @@
|
|
|
* @Autor: XuTongZhang
|
|
|
* @Date: 2020-07-30 10:17:25
|
|
|
* @LastEditors : yuanrunwei
|
|
|
- * @LastEditTime : 2021-02-04 20:21:30
|
|
|
+ * @LastEditTime : 2021-02-05 15:12:37
|
|
|
-->
|
|
|
<template>
|
|
|
<div class="indexPage">
|
|
|
- <v-input :btn="btn" :list="list" @search="search" @exports="exports" @upload="upload=true"></v-input>
|
|
|
+ <v-input :btn="btn" :list="list" @search="search" @exports="exports" @upload="upload=true" @excel="handleExcel"></v-input>
|
|
|
<v-table :table="table" :tableList="tableList" :sortType="true" :queryData="queryData" :form="searchForm" @details="details" @update="update"></v-table>
|
|
|
<v-pager @page="callPage" :total="totalrecords"></v-pager>
|
|
|
<!-- <resume :dialogFormVisible="dialogFormVisible" :close="close" :info="info" :searchForm="searchForm" :queryData="queryData"></resume> -->
|
|
@@ -315,6 +315,11 @@ export default {
|
|
|
name: '上传简历',
|
|
|
type: 'primary',
|
|
|
method: 'upload'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '导入简历',
|
|
|
+ type: 'upload',
|
|
|
+ method: 'excel'
|
|
|
}
|
|
|
],
|
|
|
table: {
|
|
@@ -560,6 +565,12 @@ export default {
|
|
|
}
|
|
|
this.queryData()
|
|
|
})
|
|
|
+ },
|
|
|
+ handleExcel () {
|
|
|
+ this.$api.post('/admin/resumeInfo/batchUploadResume').then(result => {
|
|
|
+ this.$message.success('导入成功')
|
|
|
+ this.queryData()
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|