|
|
@@ -2,11 +2,11 @@
|
|
|
<div>
|
|
|
<div class="count-list" v-if="auditData">
|
|
|
<div class="count-item">全部:{{auditData.countAllStatus}}</div>
|
|
|
- <div class="count-item">审核中:{{auditData.countWaitAudit}}</div>
|
|
|
+ <!-- <div class="count-item">审核中:{{auditData.countWaitAudit}}</div> -->
|
|
|
<div class="count-item">开放中:{{auditData.countOpen}}</div>
|
|
|
<div class="count-item">停止招聘:{{auditData.countOffline}}</div>
|
|
|
<div class="count-item" @click="goPublishCompanies()">发布企业:{{auditData.countCompanies}}</div>
|
|
|
- <div class="count-item" @click="goChatUsers()">聊天数据>></div>
|
|
|
+ <div class="count-item" @click="goChatUsers()">聊天数据>></div>
|
|
|
<div class="count-item">当前统计数量:{{auditData.total}}</div>
|
|
|
<div class="count-item" @click="goBehalfPost()">邀请代发岗位:{{auditData.countAuditAgencyPost}}</div>
|
|
|
</div>
|
|
|
@@ -21,7 +21,15 @@
|
|
|
<el-option label="已删除" value="5"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="申请审核日期">
|
|
|
+ <el-form-item label="岗位类型">
|
|
|
+ <el-select v-model="searchParams.workType" placeholder="全部">
|
|
|
+ <el-option label="全部" value="0"></el-option>
|
|
|
+ <el-option label="远程" value="2"></el-option>
|
|
|
+ <el-option label="驻场" value="3"></el-option>
|
|
|
+ <el-option label="全职" value="4"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <!-- <el-form-item label="申请审核日期">
|
|
|
<el-date-picker
|
|
|
v-model="searchParams.dateTime"
|
|
|
type="datetimerange"
|
|
|
@@ -30,7 +38,7 @@
|
|
|
end-placeholder="结束日期"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
></el-date-picker>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item>-->
|
|
|
<el-form-item label="发布者">
|
|
|
<el-input v-model="searchParams.uid" placeholder="全部"></el-input>
|
|
|
</el-form-item>
|
|
|
@@ -68,7 +76,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="auditAtFormat" label="发布(刷新)日期"></el-table-column>
|
|
|
<el-table-column prop="createdAtFormat" label="创建日期"></el-table-column>
|
|
|
- <el-table-column prop="submitAuditAtFormat" label="申请审核日期"></el-table-column>
|
|
|
+ <!-- <el-table-column prop="submitAuditAtFormat" label="申请审核日期"></el-table-column> -->
|
|
|
<el-table-column prop="countApplied" label="已投递" width="70"></el-table-column>
|
|
|
<el-table-column prop="countTalk" label="沟通中" width="70"></el-table-column>
|
|
|
<el-table-column prop="statusName" label="岗位状态" width="90"></el-table-column>
|
|
|
@@ -110,7 +118,7 @@ export default {
|
|
|
page: 1,
|
|
|
auditData: "",
|
|
|
form: {
|
|
|
- reason: ""
|
|
|
+ reason: "",
|
|
|
},
|
|
|
searchParams: {
|
|
|
status: "0",
|
|
|
@@ -118,9 +126,10 @@ export default {
|
|
|
dateTime: [],
|
|
|
startTime: null,
|
|
|
endTime: null,
|
|
|
- recruitResult: "0"
|
|
|
+ recruitResult: "0",
|
|
|
+ workType: "0",
|
|
|
},
|
|
|
- isDialogShow: false
|
|
|
+ isDialogShow: false,
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
@@ -133,7 +142,7 @@ export default {
|
|
|
const page = this.page;
|
|
|
const data = {
|
|
|
page,
|
|
|
- ...this.searchParams
|
|
|
+ ...this.searchParams,
|
|
|
};
|
|
|
let res = await this.$post("/api/admin/recruit/getAuditList", data);
|
|
|
if (res && res.status === 1) {
|
|
|
@@ -145,14 +154,14 @@ export default {
|
|
|
const action = "approve";
|
|
|
const data = {
|
|
|
recruitId,
|
|
|
- action
|
|
|
+ action,
|
|
|
};
|
|
|
let res = await this.$post("/api/admin/recruit/audit", data);
|
|
|
if (res && res.status === 1) {
|
|
|
console.log(res);
|
|
|
this.$message({
|
|
|
message: res.info,
|
|
|
- type: "success"
|
|
|
+ type: "success",
|
|
|
});
|
|
|
this.getAuditList();
|
|
|
}
|
|
|
@@ -163,7 +172,7 @@ export default {
|
|
|
},
|
|
|
handleCancleClick() {
|
|
|
this.form = {
|
|
|
- reason: ""
|
|
|
+ reason: "",
|
|
|
};
|
|
|
this.isDialogShow = false;
|
|
|
},
|
|
|
@@ -174,19 +183,19 @@ export default {
|
|
|
const data = {
|
|
|
recruitId,
|
|
|
action,
|
|
|
- reason
|
|
|
+ reason,
|
|
|
};
|
|
|
let res = await this.$post("/api/admin/recruit/audit", data);
|
|
|
if (res && res.status === 1) {
|
|
|
console.log(res);
|
|
|
this.$message({
|
|
|
message: res.info,
|
|
|
- type: "success"
|
|
|
+ type: "success",
|
|
|
});
|
|
|
this.getAuditList();
|
|
|
}
|
|
|
this.form = {
|
|
|
- reason: ""
|
|
|
+ reason: "",
|
|
|
};
|
|
|
this.isDialogShow = false;
|
|
|
},
|
|
|
@@ -199,23 +208,20 @@ export default {
|
|
|
this.$router.push({
|
|
|
path: "/main/job",
|
|
|
query: {
|
|
|
- id
|
|
|
- }
|
|
|
+ id,
|
|
|
+ },
|
|
|
});
|
|
|
},
|
|
|
- goPublishCompanies()
|
|
|
- {
|
|
|
- window.location.href='/main/jobs_publish_company';
|
|
|
+ goPublishCompanies() {
|
|
|
+ window.location.href = "/main/jobs_publish_company";
|
|
|
+ },
|
|
|
+ goChatUsers() {
|
|
|
+ window.location.href = "/main/chat_users";
|
|
|
},
|
|
|
- goChatUsers()
|
|
|
- {
|
|
|
- window.location.href='/main/chat_users';
|
|
|
+ goBehalfPost() {
|
|
|
+ window.location.href = "/main/jobs_behalf_post";
|
|
|
},
|
|
|
- goBehalfPost()
|
|
|
- {
|
|
|
- window.location.href='/main/jobs_behalf_post';
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|