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/securityGuardRegistration.vue | 55 ++++++++++++++++++++++++++++---------------------------
1 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/src/views/securityGuard/securityGuardRegistration.vue b/src/views/securityGuard/securityGuardRegistration.vue
index 2376840..874f85f 100644
--- a/src/views/securityGuard/securityGuardRegistration.vue
+++ b/src/views/securityGuard/securityGuardRegistration.vue
@@ -1,18 +1,18 @@
<template>
- <el-dialog
- :title="!form1.id?'新增':'修改'"
- width="60%"
- modal-append-to-body='false'
- append-to-body='true'
- :close-on-click-model="true"
- :visible.sync="visible"
- >
- <avue-form :option="option" v-model="form1" @submit="update">
- <template slot-scope="{ row }" slot="input">
- <el-tag>{{ row }}</el-tag>
- </template>
- </avue-form>
- </el-dialog>
+ <el-dialog
+ :title="!form1.id ? '新增' : '修改'"
+ width="60%"
+ modal-append-to-body="false"
+ append-to-body="true"
+ :close-on-click-model="true"
+ :visible.sync="visible"
+ >
+ <avue-form :option="option" v-model="form1" @submit="update">
+ <template slot-scope="{ row }" slot="input">
+ <el-tag>{{ row }}</el-tag>
+ </template>
+ </avue-form>
+ </el-dialog>
</template>
<script>
@@ -78,7 +78,7 @@
tip: false,
searchShow: true,
searchMenuSpan: 6,
- border: false,
+ border: true, //liu
stripe: true,
index: true,
selection: true,
@@ -104,7 +104,8 @@
label: "所属组织机构",
prop: "deptId",
type: "tree",
- dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+ dicUrl:
+ "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
props: {
label: "title",
value: "id",
@@ -116,7 +117,7 @@
required: true,
message: "请选择组织机构",
trigger: "blur",
- }
+ },
],
},
{
@@ -127,7 +128,7 @@
required: true,
message: "请输入登录账号",
trigger: "blur",
- }
+ },
],
// disabled: true,
},
@@ -154,7 +155,8 @@
{
label: "用户昵称",
prop: "name",
- }, {
+ },
+ {
label: "所属行政区",
prop: "jurisdiction",
// multiple: true,
@@ -173,7 +175,8 @@
trigger: "click",
},
],
- },{
+ },
+ {
label: "所属角色",
prop: "roleId",
multiple: true,
@@ -191,7 +194,8 @@
trigger: "click",
},
],
- },{
+ },
+ {
label: "所属岗位",
prop: "postId",
type: "tree",
@@ -257,7 +261,7 @@
value: "dictKey",
},
dataType: "number",
- slot: true
+ slot: true,
},
{
label: "政治面貌",
@@ -318,7 +322,7 @@
{
prop: "UserPractitionersInfo",
type: "dynamic",
- border: false,
+ border: true, //liu
span: 24,
children: {
align: "left",
@@ -392,7 +396,6 @@
},
datachild: [],
};
-
},
watch: {
"form.tenantId"() {
@@ -511,8 +514,7 @@
margin-left: 0px !important;
} */
-
-.addorupdatetitle{
+.addorupdatetitle {
position: absolute;
left: 10px;
top: 70px;
@@ -520,7 +522,6 @@
height: 10px;
font-size: 10px;
cursor: pointer;
-
}
.xx {
position: absolute;
--
Gitblit v1.9.3