From 2c54297d9bfb7bc87464c52d5a46a5058ee96bf1 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 12 Jul 2021 20:19:07 +0800
Subject: [PATCH] 装备,枪支,车辆管理,其他细节

---
 src/views/dispatch/data.js |   31 ++++++++++++++++++++++++++-----
 1 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/src/views/dispatch/data.js b/src/views/dispatch/data.js
index 7e15ff4..79a39fe 100644
--- a/src/views/dispatch/data.js
+++ b/src/views/dispatch/data.js
@@ -68,13 +68,34 @@
         // //     trigger: "blur"
         // // }],
     },
+    // {
+    //     label: "行政区",
+    //     prop: "addresss",
+    //     labelWidth: 110,
+    //     search: true,
+    //     // width: 110,
+    //     // overHidden: true
+    // },
     {
-        label: "行政区",
-        prop: "addresss",
+        label: "所属行政区",
+        prop: "jurisdiction",
+        // multiple: true,
         labelWidth: 110,
-        search: true,
-        // width: 110,
-        // overHidden: true
+        type: "tree",
+        dicUrl: "/api/jurisdiction/lazy-tree?parentId=0",
+        props: {
+            label: "title",
+            value: "id",
+        },
+        checkStrictly: true,
+        slot: true,
+        rules: [
+            {
+                required: true,
+                message: "请选择所属行政区",
+                trigger: "click",
+            },
+        ],
     },
     {
         label: "详细地址",

--
Gitblit v1.9.3