flat: 表字段修改

This commit is contained in:
Apcallover
2024-04-03 11:45:34 +08:00
parent eb93996c14
commit a22b39f1a9
3 changed files with 117 additions and 56 deletions

View File

@@ -165,11 +165,10 @@ import {
import { mapGetters } from "vuex";
import missionView from "@/views/util/mission-view";
import zpView from "./zpView";
import { missionState, wageUnitCategoryState, recruitStatus, dataSourcesEnum } from "@/common/dic";
import { missionState, wageUnitCategoryState, recruitStatus, dataSourcesEnum, educationState } from "@/common/dic";
import { calcDate } from "@/util/date";
import { Message } from "element-ui";
import lodash from "lodash";
const message = lodash.throttle(
function (options) {
Message(options);
@@ -244,22 +243,6 @@ export default {
searchSpan: 1,
display: false,
},
// {
// label: "申请人数",
// prop: "applyNum",
// search: false,
// searchSpan: 1,
// display: false,
// minWidth: 70,
// },
// {
// label: "录用人数",
// prop: "applyPassNum",
// search: false,
// searchSpan: 1,
// display: false,
// minWidth: 70,
// },
{
label: "参考工资",
prop: "wage",
@@ -271,12 +254,34 @@ export default {
label: "工资单位",
prop: "wageUnitCategory",
search: false,
hide: true,
// hide: true,
dicData: wageUnitCategoryState,
searchSpan: 5,
display: false,
},
{
label: "零工工种",
prop: "worktypeNames",
search: false,
display: false,
}, {
label: "年龄要求",
prop: "ageDesc",
search: false,
display: false,
},{
label: "学历要求",
prop: "education",
type: "select",
dicData: educationState,
search: false,
display: false,
},{
label: "经验要求",
prop: "experienceDesc",
search: false,
display: false,
},
{
label: "任务状态",
prop: "status",
@@ -290,6 +295,7 @@ export default {
{
label: "任务编码",
prop: "missionNo",
hide: true,
display: false,
},
{
@@ -309,6 +315,14 @@ export default {
minWidth: 70,
format: "yyyy-MM-dd",
},
{
label: "结束日期",
prop: "etime",
type: "date",
display: false,
minWidth: 100,
format: "yyyy-MM-dd",
},
{
label: "审核状态",
prop: "reviewState",
@@ -317,14 +331,6 @@ export default {
span: 24,
width: 80,
},
// {
// label: "结束日期",
// prop: "etime",
// type: "date",
// display: false,
// minWidth: 100,
// format: "yyyy-MM-dd",
// },
{
label: "数据来源",
prop: "dataSources",

View File

@@ -109,7 +109,7 @@ import { mapGetters } from "vuex";
import { dateFormat } from "@/util/date";
import { getTemplate } from "@/api/resource/template";
import saveButton from "./saveButton";
import { missionState } from "@/common/dic";
import {dataSourcesEnum, educationState, missionState, recruitStatus, wageUnitCategoryState} from "@/common/dic";
export default {
components: {
@@ -222,55 +222,110 @@ export default {
label: "任务名称",
prop: "missionTitle",
display: false,
slot: true,
},
{
label: "招聘人数",
prop: "peopleNum",
slot: true,
search: false,
searchSpan: 1,
display: false,
width: 110,
},
{
label: "参考工资",
prop: "wage",
search: false,
searchSpan: 5,
display: false,
},
{
label: "工资单位",
prop: "wageUnitCategory",
search: false,
// hide: true,
dicData: wageUnitCategoryState,
searchSpan: 5,
display: false,
},
{
label: "零工工种",
prop: "worktypeNames",
search: false,
display: false,
}, {
label: "年龄要求",
prop: "ageDesc",
search: false,
display: false,
},{
label: "学历要求",
prop: "education",
type: "select",
dicData: educationState,
search: false,
display: false,
},{
label: "经验要求",
prop: "experienceDesc",
search: false,
display: false,
},
{
label: "任务状态",
prop: "status",
type: "select",
dicData: missionState,
display: false,
hide: true,
span: 24,
width: 80,
},
{
label: "任务编码",
prop: "missionNo",
hide: true,
display: false,
},
{
label: "任务时长",
prop: "missionDuration",
search: false,
searchSpan: 5,
display: false,
hide: true,
minWidth: 70,
},
{
label: "开始日期",
prop: "stime",
type: "date",
display: false,
width: 130,
slot: true,
minWidth: 70,
format: "yyyy-MM-dd",
},
{
label: "完成日期",
label: "结束日期",
prop: "etime",
type: "date",
display: false,
width: 130,
slot: true,
minWidth: 100,
format: "yyyy-MM-dd",
},
{
label: "招聘人数",
prop: "peopleNum",
slot: true,
label: "审核状态",
prop: "reviewState",
dicData: recruitStatus,
display: false,
width: 110,
span: 24,
width: 80,
},
{
label: "数据来源",
prop: "dataSources",
dicData: dataSourcesEnum,
display: false,
span: 24,
width: 80,
},
// {
// label: "申请人数",
// prop: "signUpCount",
// slot: true,
// display: false,
// width: 110,
// },
// {
// label: "录用人数",
// prop: "takeOnCount",
// slot: true,
// display: false,
// width: 110,
// },
{
label: "机构名称",
prop: "companyName",