From 79d9fc857559982b00b68b2d709807bdc4cd286f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 11 Apr 2022 10:58:17 +0800
Subject: [PATCH] minio 地址修改

---
 src/views/trainingRegistration/data.js |  509 +++++++++++++++++++++++++++++++-------------------------
 1 files changed, 284 insertions(+), 225 deletions(-)

diff --git a/src/views/trainingRegistration/data.js b/src/views/trainingRegistration/data.js
index 704c0fc..4dd2e3e 100644
--- a/src/views/trainingRegistration/data.js
+++ b/src/views/trainingRegistration/data.js
@@ -1,236 +1,295 @@
-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: 180,
+    }, {
+        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,
+        searchLabelWidth: 56,
         editDisplay: false,
         addDisplay: false,
-        value: JSON.parse(window.localStorage.getItem("saber-userInfo")).content.dept_id
-    },//上面不显示
-    {
-        label: "招聘岗位",
-        prop: "name",
-        // search: true,
+        searchSpan: 3,
+        width: 90
+    }, {
+        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: 110
+    // },
     {
-        label: "招聘人数",
-        prop: "number",
-        width: 70,
-        // search: true,
+        label: "报名时间",
+        prop: "trainingTime",
+        rules: [{
+            required: true,
+            message: "请输入报名时间",
+            trigger: "blur"
+        }],
+        editDisplay: false,
+        addDisplay: false,
+        width: 130
     },
+    // {
+    //     label: "电话",
+    //     prop: "phone",
+    //     // hide: true,
+    //     rules: [{
+    //         required: true,
+    //         message: "请输入电话",
+    //         trigger: "blur"
+    //     }],
+    //     editDisplay: false,
+    //     addDisplay: false,
+    //     width: 110,
+    // },
     {
-        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: "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,
+        searchLabelWidth: 85,
+        searchSpan: 5,
+        rules: [{
+            required: true,
+            message: "请输入企业名称",
+            trigger: "blur"
+        }],
+
     },
-]
+    {
+        label: "考试名称",
+        prop: "trainExamName",
+        width: 220,
+    },
+    {
+        label: "考试证件",
+        prop: "applyCard",
+        width: 70
+    },
+    {
+        label: "审核状态",
+        search: true,
+        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,
+        searchLabelWidth: 85,
+        dicData: [{
+                label: '全部',
+                value: 0,
+            },
+            {
+                label: '已报名',
+                value: 1,
+            },
+            {
+                label: '已取消',
+                value: 2,
+            }
+        ],
+        props: {
+            label: "label",
+            value: "value"
+        },
+        editDisplay: false,
+        addDisplay: false,
+        width: 100,
+    },
+    {
+        label: "考试状态",
+        search: true,
+        type: "select",
+        searchSpan: 4,
+        prop: "isExam",
+        searchValue: 1,
+        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: "vipStatus",
+    //     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