From 6b55d2e1b6d849f16689e169b1603736de527bab Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Sat, 17 Jul 2021 08:54:06 +0800
Subject: [PATCH] 保安员管理修改

---
 src/views/securityGuard/securityGuard.vue |    9 +++++++--
 src/views/securityGuard/data.js           |   39 ++++++++++++++++++++++++++++++++++-----
 2 files changed, 41 insertions(+), 7 deletions(-)

diff --git a/src/views/securityGuard/data.js b/src/views/securityGuard/data.js
index f1f2ecf..adf8726 100644
--- a/src/views/securityGuard/data.js
+++ b/src/views/securityGuard/data.js
@@ -10,13 +10,14 @@
         }
     },
     {
-        label: "所属保安单位",
-        prop: "tenantId",
+        label: "所属保安公司",
+        prop: "deptId",
         type: "tree",
-        dicUrl: "/api/blade-system/tenant/select",
+        dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+        // dicUrl: "/api/blade-system/dept/lazy-tree?parentId=0",
         props: {
-            label: "tenantName",
-            value: "tenantId"
+            label: "title",
+            value: "id",
         },
         disabled: true,
         span: 24,
@@ -62,6 +63,34 @@
         disabled: true
     },
     {
+        label: "是否持证",
+        prop: "hold",
+        dicUrl: "/api/blade-system/dict-biz/dictionary?code=equipage",
+        props: {
+            label: "dictValue",
+            value: "dictKey",
+        },
+        type: "select",
+        disabled: true
+    },
+    {
+        label: "保安员证编号",
+        prop: "securitynumber",
+        disabled: true
+    },
+    {
+        label: "所属辖区",
+        prop: "jurisdiction",
+        // multiple: true,
+        type: "tree",
+        dicUrl: "/api/jurisdiction/lazy-tree?parentId=0",
+        props: {
+            label: "title",
+            value: "id",
+        },
+        disabled: true
+    },
+    {
         label: "最高学历",
         prop: "education",
         type: "select",
diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 0eeaef8..2990cb6 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -414,7 +414,7 @@
                 prop: "name",
               },
               {
-                label: "所属行政区",
+                label: "所属辖区",
                 prop: "jurisdiction",
                 // multiple: true,
                 type: "tree",
@@ -428,7 +428,7 @@
                 rules: [
                   {
                     required: true,
-                    message: "请选择所属行政区",
+                    message: "请选择所属辖区",
                     trigger: "click",
                   },
                 ],
@@ -488,6 +488,11 @@
                 ],
               },
               {
+                label: "保安员证编号",
+                prop: "securitynumber",
+                hide: true,
+              },
+              {
                 label: "手机号码",
                 prop: "phone",
                 overHidden: true,

--
Gitblit v1.9.3