From aedad51e0775acd4e46f18ca8aaf27fc9ae221cf Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 13 Jul 2021 22:32:35 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
---
src/views/dispatch/data.js | 33 +++++++++++++++++++++++++++------
1 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/src/views/dispatch/data.js b/src/views/dispatch/data.js
index cf5e06a..79a39fe 100644
--- a/src/views/dispatch/data.js
+++ b/src/views/dispatch/data.js
@@ -21,7 +21,7 @@
label: "保安公司",
prop: "tenantName",
type: "tree",
- dicUrl: "/api/blade-system/dept/lazy-tree?parentId=0",
+ dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=0",
props: {
label: "title",
value: "id"
@@ -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