From fa72be7e5e5d2b58a079e2896e5a2208fa6b8e13 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 06 Aug 2021 11:38:56 +0800
Subject: [PATCH] 报名考试去重,同一场考试,审核通过的,已报考的人员不能再报名
---
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..c821fae 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