From 0c35e05ca9c90883e5073ea35232ea100f866a8f Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 19 Aug 2021 15:08:50 +0800
Subject: [PATCH] 保安公司管理

---
 src/views/securityGuard/data.js |   47 ++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 40 insertions(+), 7 deletions(-)

diff --git a/src/views/securityGuard/data.js b/src/views/securityGuard/data.js
index f1f2ecf..d50ba09 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,
@@ -59,6 +60,34 @@
     {
         label: "民族",
         prop: "nation",
+        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
     },
     {
@@ -369,6 +398,8 @@
     formslot: true,
 }]
 
+
+//表现
 export var trackRecordColumn = [{
     label: "id",
     prop: "id",
@@ -418,6 +449,7 @@
         prop: "realName",
         search: true,
         searchSpan: 4,
+        searchLabelWidth: 50,
         display: false
     },
     {
@@ -468,6 +500,7 @@
             value: "dictKey"
         },
         type: "select",
+        hide: true,
         rules: [{
             required: true,
             message: "请选择学历",
@@ -502,7 +535,7 @@
             value: "id",
         },
         slot: true,
-        searchSpan: 5,
+        searchSpan: 6,
         display: false,
         search: true,
         width: 260
@@ -554,7 +587,7 @@
         },
         dataType: "number",
         display: false,
-        searchSpan: 3,
+        searchSpan: 4,
         search: true,
         rules: [{
             required: true,

--
Gitblit v1.9.3