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/trainingRegistration/data.js | 430 +++++++++++++++++++++++++----------------------------
1 files changed, 204 insertions(+), 226 deletions(-)
diff --git a/src/views/trainingRegistration/data.js b/src/views/trainingRegistration/data.js
index 704c0fc..c05d907 100644
--- a/src/views/trainingRegistration/data.js
+++ b/src/views/trainingRegistration/data.js
@@ -1,236 +1,214 @@
-var DIC = [
- {
- label: '招聘中',
- value: 1,
- }, {
- label: '停止招聘',
- value: 2,
- }
-]
-var DIC1 = [
- {
- label: '拥有',
- value: 1,
- }, {
- label: '未拥有',
- value: 2,
- }
-]
+var DIC = [{
+ label: '男',
+ value: 1,
+}, {
+ label: '女',
+ value: 2,
+}]
+var DIC1 = [{
+ label: '已报名',
+ value: 1,
+}, {
+ label: '已取消',
+ value: 2,
+}, {
+ label: '已确认',
+ value: 3,
+}]
-var w = 160
- , s = 12;
-export var column = [
- {
- label: "id",
- prop: "id",
+var w = 160,
+ s = 12;
+export var column = [{
+ label: "培训公司名称",
+ prop: "trainingUnitId",
+ dicUrl: "/api/blade-system/dept/lazy-tree-type?parentId=1418458374477549569",
+ cascaderItem: ["trainExamId"],
+ props: {
+ label: "title",
+ value: "id"
+ },
+ type: "select",
+ rules: [{
+ required: true,
+ message: "请输入培训公司名称",
+ trigger: "blur"
+ }],
+ searchSpan: 4,
+ searchLabelWidth: 110,
+ width: 200,
+ }, {
+ label: "姓名",
+ prop: "userId",
+ type: "select",
hide: true,
- editDisplay: false,
- addDisplay: false
- },
- {
- label: "保安单位",
- prop: "tenantName",
- hide: true,
- editDisplay: false,
- addDisplay: false
- },
- {
- label: "保安id",
- prop: "deptId",
- hide: true,
+ dicUrl: "/api/blade-user/page-security-unit?deptId={{key}}",
+ props: {
+ label: "realName",
+ value: "id"
+ },
+ searchSpan: 4,
+ rules: [{
+ required: true,
+ message: "请输入姓名",
+ trigger: "blur"
+ }],
+ }, {
+ label: "姓名",
+ prop: "realName",
+ search: true,
editDisplay: false,
addDisplay: false,
- value: JSON.parse(window.localStorage.getItem("saber-userInfo")).content.dept_id
- },//上面不显示
- {
- label: "招聘岗位",
- prop: "name",
- // search: true,
- },
- {
- label: "招聘人数",
- prop: "number",
- width: 70,
- // search: true,
- },
- {
- label: "保安证",
- prop: "permit",
- // addDisplay: true,
- // editDisplay: true,
- // viewDisplay: true,
- filter: false,
- type: 'tree',
- dicData: DIC1,
- searchSpan: 5,
- // 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: 5,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
- props: {
- label: "dictValue",
- value: "dictKey"
- },
- search: true,
- type: "select",
- // rules: [{
- // required: true,
- // message: "请选择学历",
- // trigger: "blur"
- // }],
- },
- {
- label: "工作经验",
- prop: "experience",
- addDisplay: true,
- editDisplay: true,
- viewDisplay: true,
- searchSpan: 5,
- 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,
- overHidden: true
- },
- {
- label: "福利",
- prop: "welfare",
- // search: true,
searchSpan: 4,
- overHidden: true
+ }, {
+ label: "身份证号",
+ prop: "idCardNo",
+ rules: [{
+ required: true,
+ message: "请输入身份证号",
+ trigger: "blur"
+ }],
+ editDisplay: false,
+ addDisplay: false,
+ width: 160
+ }, {
+ label: "准考证号",
+ prop: "candidateNo",
+ rules: [{
+ required: true,
+ message: "请输入准考证号",
+ trigger: "blur"
+ }],
+ editDisplay: false,
+ addDisplay: false,
+ width: 160
},
+ // {
+ // label: "电话",
+ // prop: "phone",
+ // // hide: true,
+ // rules: [{
+ // required: true,
+ // message: "请输入电话",
+ // trigger: "blur"
+ // }],
+ // editDisplay: false,
+ // addDisplay: false,
+ // width: 110,
+ // },
{
- label: "最低薪资",
- prop: "minSalary",
- width: 70,
- // search: true,
- searchSpan: 4,
- },
- {
- label: "最高薪资",
- prop: "maxSalary",
- width: 70,
- 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",
- addDisplay: true,
- editDisplay: true,
- viewDisplay: true,
- 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",
- // search: true,
- },
- {
- label: "联系人电话",
- prop: "phone",
- // search: true,
- width: 110,
- },
- {
- label: "详细地址",
- prop: "address",
- width: 110,
- // search: true,
- overHidden: true
- },
- {
- label: "开始时间",
- prop: "startTime",
- // search: true,
- type: "date",
- format: "yyyy-MM-dd hh:mm:ss",
- valueFormat: "timestamp",
- width: 88,
- },
-
- {
- label: "结束时间",
- prop: "endTime",
- // search: true,
- type: "date",
- format: "yyyy-MM-dd hh:mm:ss",
- valueFormat: "timestamp",
- width: 88,
- },
- {
- label: "招聘状态",
- // prop: "status",
+ label: "单位名称",
+ prop: "deptId",
+ // width: 70,
// search: true,
// searchSpan: 4,
- width: 70,
- prop: 'status',
- filter: false,
- type: 'tree',
- dicData: DIC,
- // rules: [{
- // required: true,
- // message: "请选择单位规模",
- // trigger: "blur"
- // }],
+ dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+ cascaderItem: ["userId"],
+ props: {
+ label: "title",
+ value: "id"
+ },
+ // search: true,
+ type: "select",
+ hide: true,
+ rules: [{
+ required: true,
+ message: "请输入单位名称",
+ trigger: "blur"
+ }],
+ overHidden: true
+ }, {
+ label: "单位名称",
+ prop: "deptName",
+ // hide: true,
+ search: true,
+ searchSpan: 6,
+ rules: [{
+ required: true,
+ message: "请输入单位名称",
+ trigger: "blur"
+ }],
+
},
-]
+ {
+ label: "考试名称",
+ prop: "trainExamName",
+ width: 220,
+ },
+ {
+ label: "考试证件",
+ prop: "applyCard"
+ },
+ {
+ label: "审核状态",
+ search: true,
+ searchLabelWidth: 110,
+ type: "select",
+ searchSpan: 4,
+ prop: "auditStatus",
+ searchValue: 4,
+ dicData: [{
+ label: '全部',
+ value: 0,
+ },
+ {
+ label: '审核通过',
+ value: 1,
+ },
+ {
+ label: '审核不通过',
+ value: 2,
+ },
+ {
+ label: '已提交审核',
+ value: 3,
+ },
+ {
+ label: '未提交审核',
+ value: 4,
+ }
+ ],
+ props: {
+ label: "label",
+ value: "value"
+ },
+ editDisplay: false,
+ addDisplay: false,
+ width: 100,
+ },
+ {
+ label: "报名状态",
+ search: true,
+ type: "select",
+ searchSpan: 4,
+ prop: "cancel",
+ searchValue: 1,
+ dicData: [{
+ label: '全部',
+ value: 0,
+ },
+ {
+ label: '已报名',
+ value: 1,
+ },
+ {
+ label: '已取消',
+ value: 2,
+ }
+ ],
+ props: {
+ label: "label",
+ value: "value"
+ },
+ editDisplay: false,
+ addDisplay: false,
+ width: 100,
+ },
+ // {
+ // label: "确认截止时间",
+ // prop: "remainingTime",
+ // editDisplay: false,
+ // addDisplay: false,
+ // width: 160
+ // }
+
+]
\ No newline at end of file
--
Gitblit v1.9.3