From fe0c2d838e1657dbe3efdf4dfd083cee6cf80de1 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 13 Sep 2021 19:20:26 +0800
Subject: [PATCH] 考试报名,培训报名修改

---
 src/views/companyApply/index.vue |   81 +++++++++++++++++++++++-----------------
 1 files changed, 47 insertions(+), 34 deletions(-)

diff --git a/src/views/companyApply/index.vue b/src/views/companyApply/index.vue
index 6627bc6..4415aec 100644
--- a/src/views/companyApply/index.vue
+++ b/src/views/companyApply/index.vue
@@ -32,6 +32,7 @@
             <!-- 自定义按钮 -->
             <template slot="menuLeft">
               <el-button
+                style="display:none"
                 type="primary"
                 size="small"
                 plain
@@ -153,7 +154,7 @@
         index: true,
         stripe: true,
         viewBtn: false,
-        addBtn: false,
+        addBtn: true,
         selection: true,
         excelBtn: false,
         menuWidth: 230,
@@ -241,15 +242,13 @@
         // 操作栏多余按钮去除
         delBtn: false,
         editBtn: false,
-        addBtn: false,
+        addBtn: true,
         selection: true,
         menu: true,
         // 导出按钮
         // excelBtn: true,
         viewBtn: false,
-
-        // title: '题库',
-
+        addBtnText:"报名信息新增",
         align: "center",
         height: "auto",
         calcHeight: 80,
@@ -267,12 +266,34 @@
 
         column: [
           {
-            label: "姓名",
+            label: "保安公司名称",
+            searchLabelWidth: "110",
+            // prop: "deptName",
+            prop: "deptId",
+            type: "tree",
+            hide:true,
+            dicUrl:
+              "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+            props: {
+              label: "title",
+              value: "id",
+            },
+            slot: true,
+            searchSpan: 4,
+            search: false,
+            width: 260,
+          },
+          {
+            label: "保安员",
             prop: "realName",
             search: true,
             searchSpan: 4,
-            searchLabelWidth: 50,
-            display: false,
+            searchLabelWidth: 100,
+          },
+          {
+            label: "身份证号",
+            prop: "cardid",
+            width:150,
           },
           {
             label: "性别",
@@ -302,36 +323,13 @@
           {
             label: "籍贯",
             prop: "nativeplace",
-            display: false,
           },
           {
             label: "联系电话",
             prop: "phone",
-            display: false,
           },
-          {
-            label: "入职时间",
-            prop: "rtime",
-            display: false,
-          },
-          {
-            label: "保安公司名称",
-            searchLabelWidth: "110",
-            // prop: "deptName",
-            prop: "deptId",
-            type: "tree",
-            dicUrl:
-              "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
-            props: {
-              label: "title",
-              value: "id",
-            },
-            slot: true,
-            searchSpan: 4,
-            display: false,
-            search: false,
-            width: 260,
-          },
+          
+          
           {
             label: "是否持证",
             prop: "hold",
@@ -350,6 +348,21 @@
                 trigger: "blur",
               },
             ],
+          },
+          {
+            label: "保安公司名称",
+            searchLabelWidth: "110",
+            prop: "deptName",
+            // prop: "deptId",
+            type: "tree",
+            // dicUrl:
+            //   "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+            // props: {
+            //   label: "title",
+            //   value: "id",
+            // },
+            search: false,
+            width: 260,
           },
           {
             label: "在职状态",
@@ -443,7 +456,7 @@
     ...mapGetters(["userInfo", "permission"]),
     permissionList() {
       return {
-        addBtn: this.vaildData(null, false),
+        addBtn: this.vaildData(this.permission.company_add, false),
         viewBtn: this.vaildData(null, false),
         delBtn: this.vaildData(null, false),
         editBtn: this.vaildData(null, false),

--
Gitblit v1.9.3