参考工资存入前端字典统一管理

This commit is contained in:
zxy
2024-02-17 16:30:11 +08:00
parent d1b8e9ba87
commit 923ad084a0
4 changed files with 89 additions and 166 deletions

View File

@@ -160,6 +160,89 @@ export const wageUnitCategoryState = [
{value: 6, label: '元/人·件', disable: true},
];
export const wageOptions = [
{
value: '10-15元/小时',
label: '10-15元/小时',
},
{
value: '16-20元/小时',
label: '16-20元/小时',
},
{
value: '21-25元/小时',
label: '21-25元/小时',
},
{
value: '26-30元/小时',
label: '26-30元/小时',
},
{
value: '30元/小时以上',
label: '30元/小时以上',
},
{
value: '100-150元/天',
label: '100-150元/天',
},
{
value: '151-200元/天',
label: '151-200元/天',
},
{
value: '201-250元/天',
label: '201-250元/天',
},
{
value: '251-300元/天',
label: '251-300元/天',
},
{
value: '300元/天以上',
label: '300元/天以上',
},
{
value: '2000元以下/月',
label: '2000元以下/月',
},
{
value: '2000-5000元/月',
label: '2000-5000元/月',
},
{
value: '5000-8000元/月',
label: '5000-8000元/月',
},
{
value: '8000-10000元/月',
label: '8000-10000元/月',
},
{
value: '10000-15000元/月',
label: '10000-15000元/月',
},
{
value: '15000-20000元/月',
label: '15000-20000元/月',
},
{
value: '20000-25000元/月',
label: '20000-25000元/月',
},
{
value: '25000-30000元/月',
label: '25000-30000元/月',
},
{
value: '30000元以上/月',
label: '30000元以上/月',
},
{
value: '面议、暂无要求',
label: '面议、暂无要求',
}
]
export const educationState = [
{
label: '不限',

View File

@@ -155,6 +155,7 @@ import { isvalidatemobile } from "@/util/validate";
import { mapGetters } from "vuex";
import {
wageUnitCategoryState,
wageOptions,
educationState,
// genderState,
} from "@/common/dic";
@@ -553,88 +554,7 @@ export default {
label: "参考工资",
prop: "wage",
type: "select",
dicData: [
{
value: '10-15元/小时',
label: '10-15元/小时',
},
{
value: '16-20元/小时',
label: '16-20元/小时',
},
{
value: '21-25元/小时',
label: '21-25元/小时',
},
{
value: '26-30元/小时',
label: '26-30元/小时',
},
{
value: '30元/小时以上',
label: '30元/小时以上',
},
{
value: '100-150元/天',
label: '100-150元/天',
},
{
value: '151-200元/天',
label: '151-200元/天',
},
{
value: '201-250元/天',
label: '201-250元/天',
},
{
value: '251-300元/天',
label: '251-300元/天',
},
{
value: '300元/天以上',
label: '300元/天以上',
},
{
value: '2000元以下/月',
label: '2000元以下/月',
},
{
value: '2000-5000元/月',
label: '2000-5000元/月',
},
{
value: '5000-8000元/月',
label: '5000-8000元/月',
},
{
value: '8000-10000元/月',
label: '8000-10000元/月',
},
{
value: '10000-15000元/月',
label: '10000-15000元/月',
},
{
value: '15000-20000元/月',
label: '15000-20000元/月',
},
{
value: '20000-25000元/月',
label: '20000-25000元/月',
},
{
value: '25000-30000元/月',
label: '25000-30000元/月',
},
{
value: '30000元以上/月',
label: '30000元以上/月',
},
{
value: '面议、暂无要求',
label: '面议、暂无要求',
}
],
dicData: wageOptions,
rules: [
{
required: true,

View File

@@ -155,6 +155,7 @@ import { isvalidatemobile } from "@/util/validate";
import { mapGetters } from "vuex";
import {
wageUnitCategoryState,
wageOptions,
educationState,
// genderState,
} from "@/common/dic";
@@ -553,88 +554,7 @@ export default {
label: "参考工资",
prop: "wage",
type: "select",
dicData: [
{
value: '10-15元/小时',
label: '10-15元/小时',
},
{
value: '16-20元/小时',
label: '16-20元/小时',
},
{
value: '21-25元/小时',
label: '21-25元/小时',
},
{
value: '26-30元/小时',
label: '26-30元/小时',
},
{
value: '30元/小时以上',
label: '30元/小时以上',
},
{
value: '100-150元/天',
label: '100-150元/天',
},
{
value: '151-200元/天',
label: '151-200元/天',
},
{
value: '201-250元/天',
label: '201-250元/天',
},
{
value: '251-300元/天',
label: '251-300元/天',
},
{
value: '300元/天以上',
label: '300元/天以上',
},
{
value: '2000元以下/月',
label: '2000元以下/月',
},
{
value: '2000-5000元/月',
label: '2000-5000元/月',
},
{
value: '5000-8000元/月',
label: '5000-8000元/月',
},
{
value: '8000-10000元/月',
label: '8000-10000元/月',
},
{
value: '10000-15000元/月',
label: '10000-15000元/月',
},
{
value: '15000-20000元/月',
label: '15000-20000元/月',
},
{
value: '20000-25000元/月',
label: '20000-25000元/月',
},
{
value: '25000-30000元/月',
label: '25000-30000元/月',
},
{
value: '30000元以上/月',
label: '30000元以上/月',
},
{
value: '面议、暂无要求',
label: '面议、暂无要求',
}
],
dicData: wageOptions,
rules: [
{
required: true,