From c4e67a8942e514b65ab41bb19781d50576c15725 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 24 Sep 2021 19:56:52 +0800
Subject: [PATCH] 用户
---
src/views/recruitmentManagement/data.js | 356 ++++++++++++++++++++++++----------------------------------
1 files changed, 148 insertions(+), 208 deletions(-)
diff --git a/src/views/recruitmentManagement/data.js b/src/views/recruitmentManagement/data.js
index 53b7a65..d482386 100644
--- a/src/views/recruitmentManagement/data.js
+++ b/src/views/recruitmentManagement/data.js
@@ -7,100 +7,111 @@
value: 2,
}
]
-var educationS = [
+var DIC1 = [
{
- label: '高中及以上',
- value: "高中及以上"
+ label: '拥有',
+ value: 1,
}, {
- label: '大专及以上',
- value: "大专及以上"
+ label: '未拥有',
+ value: 2,
}
- // {
- // label: '初中及以下',
- // value: "初中及以下",
- // }, {
- // label: '高中/中技/中专',
- // value: '高中/中技/中专',
- // },
- // {
- // label: '大专',
- // value: '大专',
- // }, {
- // label: '本科',
- // value: '本科',
- // }, {
- // label: '硕士',
- // value: '硕士',
- // }, {
- // label: '博士',
- // value: '博士',
- // }, {
- // label: '不限',
- // value: '不限',
- // }
]
-
+var w = 160
+ , s = 12;
export var column = [
{
label: "id",
prop: "id",
hide: true,
editDisplay: false,
- addDisplay: false
+ addDisplay: false,
+ viewDisplay: false,
},
+ // {
+ // label: "保安单位",
+ // prop: "tenantName",
+ // hide: true,
+ // editDisplay: false,
+ // addDisplay: false
+ // },
+ // {
+ // label: "保安id",
+ // prop: "deptId",
+ // hide: true,
+ // editDisplay: false,
+ // addDisplay: false,
+ // value: JSON.parse(window.localStorage.getItem("saber-userInfo")).content.dept_id
+ // },//上面不显示
{
- label: "保安单位",
- prop: "tenantName",
+ label: "保安公司",
+ prop: "deptId",
+ rules: [{
+ required: true,
+ message: "请输入保安公司",
+ trigger: "blur"
+ }],
+ // addDisplay: true,
+ // editDisplay: true,
+ // viewDisplay: true,
+ overHidden: true,
+ searchSpan: 4,
+ dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+ props: {
+ label: "title",
+ value: "id"
+ },
hide: true,
- editDisplay: false,
- addDisplay: false
+ // search: true,
+ type: "select",
},
- {
- label: "保安id",
- prop: "tenantId",
- hide: true,
- editDisplay: false,
- addDisplay: false
- },//上面不显示
{
label: "招聘岗位",
prop: "name",
+ hide: true,
// search: true,
},
{
label: "招聘人数",
prop: "number",
width: 70,
+ hide: true,
// search: true,
},
{
- label: "学历要求",
- prop: 'education',
- filter: false,
- type: 'tree',
- search: true,
- searchSpan: 5,
- dicData: educationS
- // prop: "education",
- // // search: true,
- // // searchSpan: 4,
- // props: {
- // label: 'educationType',
- // value: 1
- // }
- // prop: "education",
+ label: "保安证",
+ prop: "permit",
// addDisplay: true,
// editDisplay: true,
// viewDisplay: true,
- // searchSpan: 3,
- // dicUrl: "/api/blade-system/dict-biz/dictionary?code=education",
+ filter: false,
+ type: 'tree',
+ dicData: DIC1,
+ searchSpan: 4,
+ hide: true,
+ // dicUrl: "/api/blade-system/dict-biz/dictionary?code=equipage",
// props: {
// label: "dictValue",
// value: "dictKey"
// },
// search: true,
// type: "select",
+ },
+ {
+ label: "学历要求",
+ prop: "education",
+ addDisplay: true,
+ editDisplay: true,
+ viewDisplay: true,
+ searchSpan: 4,
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
+ props: {
+ label: "dictValue",
+ value: "dictKey"
+ },
+ hide: true,
+ // search: true,
+ type: "select",
// rules: [{
// required: true,
// message: "请选择学历",
@@ -110,48 +121,105 @@
{
label: "工作经验",
prop: "experience",
- search: true,
+ addDisplay: true,
+ editDisplay: true,
+ viewDisplay: true,
+ hide: true,
searchSpan: 4,
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=experienceType",
+ props: {
+ label: "dictValue",
+ value: "dictKey"
+ },
+ // search: true,
+ type: "select",
+ // rules: [{
+ // required: true,
+ // message: "请选择工作经验",
+ // trigger: "blur"
+ // }],
},
{
label: "工作任务",
prop: "workDesc",
// search: true,
- width: 110,
+ // width: 110,
overHidden: true
},
{
label: "福利",
prop: "welfare",
- // search: true,
+ search: true,
+ searchLabelWidth: 50,
searchSpan: 4,
overHidden: true
},
{
label: "最低薪资",
prop: "minSalary",
+ width: 100,
// search: true,
searchSpan: 4,
},
{
label: "最高薪资",
prop: "maxSalary",
- search: true,
+ width: 100,
+ // search: true,
searchSpan: 4,
+ },
+ {
+ label: "单位性质",
+ prop: "unitsNature",
+ width: 70,
+ addDisplay: true,
+ editDisplay: true,
+ viewDisplay: true,
+ searchSpan: 4,
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsNatureType",
+ props: {
+ label: "dictValue",
+ value: "dictKey"
+ },
+ // search: true,
+ type: "select",
+ // rules: [{
+ // required: false,
+ // message: "请选择单位规模",
+ // trigger: "blur"
+ // }],
},
{
label: "单位规模",
prop: "unitsScale",
- // search: true,
+ addDisplay: true,
+ editDisplay: true,
+ viewDisplay: true,
+ width: 150,
+ searchSpan: 4,
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsScaleType",
+ props: {
+ label: "dictValue",
+ value: "dictKey"
+ },
+ search: true,
+ type: "select",
+ // rules: [{
+ // required: true,
+ // message: "请选择单位规模",
+ // trigger: "blur"
+ // }],
},
{
label: "联系人",
prop: "linkman",
+ hide: true,
// search: true,
},
{
label: "联系人电话",
prop: "phone",
+ hide: true,
// search: true,
width: 110,
},
@@ -160,12 +228,17 @@
prop: "address",
width: 110,
// search: true,
+ hide: true,
overHidden: true
},
{
label: "开始时间",
prop: "startTime",
// search: true,
+ hide: true,
+ type: "date",
+ format: "yyyy-MM-dd hh:mm:ss",
+ valueFormat: "yyyy-MM-dd hh:mm:ss",
width: 88,
},
@@ -173,6 +246,10 @@
label: "结束时间",
prop: "endTime",
// search: true,
+ hide: true,
+ type: "date",
+ format: "yyyy-MM-dd hh:mm:ss",
+ valueFormat: "yyyy-MM-dd hh:mm:ss",
width: 88,
},
{
@@ -180,153 +257,16 @@
// prop: "status",
// search: true,
// searchSpan: 4,
+ width: 70,
prop: 'status',
+ hide: true,
filter: false,
type: 'tree',
- dicData: DIC
+ dicData: DIC,
+ // rules: [{
+ // required: true,
+ // message: "请选择单位规模",
+ // trigger: "blur"
+ // }],
},
-]
-
-
-export var data = [
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "3年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "5年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- }
]
--
Gitblit v1.9.3