岗位列表字段调整

This commit is contained in:
zxy
2024-02-16 21:37:45 +08:00
parent 8dcecb78f2
commit 10408634a7
8 changed files with 59 additions and 48 deletions

View File

@@ -12,10 +12,10 @@
</template>
<!--/自定义按钮-->
<!--自定义列-->
<template slot="missionTitle" slot-scope="{ row }">
<el-tooltip effect="dark" :content="row.missionTitle" placement="top">
<template slot="jobName" slot-scope="{ row }">
<el-tooltip effect="dark" :content="row.jobName" placement="top">
<div style="color: black">
<b>{{ row.missionTitle | ellipsis }}</b>
<b>{{ row.jobName | ellipsis }}</b>
</div>
</el-tooltip>
</template>
@@ -224,51 +224,56 @@ export default {
},
{
label: "岗位编码",
prop: "id",
prop: "missionNo",
width: 180,
display: false,
display: true,
},
{
label: "开始日期",
prop: "stime",
display: false,
width: 130,
slot: true,
label: "发布时间",
prop: "createTime",
display: true,
width: 160,
},
// {
// label: "岗位状态",
// prop: "jobStatus",
// slot: true,
// display: false,
// width: 110,
// dicData: [
// {
// label: "在招",
// value: 1,
// },
// {
// label: "已招",
// value: 2,
// },
// {
// label: "过期",
// value: 3,
// },
// {
// label: "未正式发布",
// value: 4,
// },
// ],
// },
{
label: "岗位状态",
prop: "jobStatus",
slot: true,
display: false,
width: 110,
dicData: [
{
label: "在招",
value: 1,
},
{
label: "已招",
value: 2,
},
{
label: "过期",
value: 3,
},
{
label: "未正式发布",
value: 4,
},
],
},
{
label: "申请人数",
label: "招聘人数",
prop: "peopleNum",
slot: true,
display: false,
slot: false,
display: true,
},
{
label: "录用人数",
prop: "applyNum",
label: "薪资待遇",
prop: "wage",
slot: false,
display: true,
},
{
label: "报名人数",
prop: "signUpCount",
slot: true,
display: false,
},
@@ -384,6 +389,8 @@ export default {
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
console.log(data.records)
console.log(this.data)
this.loading = false;
});
},