|
|
|
@ -4,15 +4,19 @@ |
|
|
|
|
<div slot="header" class="clearfix"> |
|
|
|
|
<div class="cardtitle"> |
|
|
|
|
<div class="cardline"></div> |
|
|
|
|
<div class="cardtext">{{title}}</div> |
|
|
|
|
<div class="cardtext">{{ title }}</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="cardBtn" @click="backlist">{{ '< 返回' }}</div> |
|
|
|
|
</div> |
|
|
|
|
<el-table :data="sactionData"> |
|
|
|
|
<el-table-column label="序号" align="center" prop="name" /> |
|
|
|
|
<el-table-column label="姓名" align="center" prop="name" /> |
|
|
|
|
<el-table-column label="手机号" align="center" prop="name" /> |
|
|
|
|
<el-table-column label="申请时间" align="center" prop="name" /> |
|
|
|
|
<el-table-column label="序号" align="center" prop="user_id" /> |
|
|
|
|
<el-table-column label="姓名" align="center" prop="user_name" /> |
|
|
|
|
<el-table-column label="手机号" align="center" prop="phonenumber" /> |
|
|
|
|
<el-table-column label="申请时间" align="center" prop="create_time"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{ scope.row.create_time && scope.row.create_time.slice(0, 10) }} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="260"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" @click="jlDetail(scope.row)"> 查看简历 </el-button> |
|
|
|
@ -31,34 +35,26 @@ |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
<!-- 弹层 --> |
|
|
|
|
<el-dialog title="删除" :visible.sync="dialogVisible" width="550px" class="dialogClass"> |
|
|
|
|
<div class="textdialog">删除后相关的申请岗位人数将无法查询,确定要删除吗?</div> |
|
|
|
|
<div class="dialogBtn"> |
|
|
|
|
<div class="dialogBtnL" @click="submitDia">确定</div> |
|
|
|
|
<div class="dialogBtnR" @click="cancelDia">取消</div> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
|
import { querydemand } from '@/api/my/testb' |
|
|
|
|
import { jobHuntDetail } from '@/api/job' |
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
title: '', |
|
|
|
|
sactionData: [], |
|
|
|
|
total: 0, |
|
|
|
|
queryParams: { |
|
|
|
|
pageSize: 10, |
|
|
|
|
pageNum: 1, |
|
|
|
|
}, |
|
|
|
|
dialogVisible: false, |
|
|
|
|
rowUserID: null,// 查看用户id |
|
|
|
|
rowUserID: null, // 查看用户id |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
this.title = this.$route.query.title || '' |
|
|
|
|
this.getList() |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
@ -67,9 +63,9 @@ export default { |
|
|
|
|
|
|
|
|
|
methods: { |
|
|
|
|
getList() { |
|
|
|
|
querydemand(this.userinform.userId).then((res) => { |
|
|
|
|
this.sactionData = res.rows |
|
|
|
|
this.total = res.total |
|
|
|
|
jobHuntDetail(this.$route.query.id).then((res) => { |
|
|
|
|
this.sactionData = res.data.rows |
|
|
|
|
this.total = res.data.total |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
handleCurrentChange(val) { |
|
|
|
@ -77,8 +73,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 查看简历按钮 |
|
|
|
|
jlDetail(row) { |
|
|
|
|
this.rowUserID = row.userId |
|
|
|
|
this.dialogVisible = true |
|
|
|
|
this.$router.push('/ability/more/detail?id=' + row.user_id) |
|
|
|
|
}, |
|
|
|
|
// 返回上一步 |
|
|
|
|
backlist() { |
|
|
|
|