From ebfc739bdbbc0dd0fccd0bf47b7d2d5397c3c511 Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Fri, 22 Mar 2024 12:44:21 +0800
Subject: [PATCH] 轮播图片
---
src/views/system/user.vue | 22 ++++++++++++----------
1 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index c7b6f3c..7a4d9ac 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -465,7 +465,8 @@
leafOnly: false,
dicData: [],
props: {
- label: "title"
+ label: "title",
+ value:"id"
},
rules: [{
required: true,
@@ -477,14 +478,15 @@
label: "所属部门",
prop: "deptId",
type: "tree",
- // multiple: true,
+ multiple: true,
+ leafOnly: false,
dicData: [],
- dataType: "string",
+ // dataType: "string",
props: {
label: "title",
value: "id"
},
- // checkStrictly: true,
+ checkStrictly: true,
slot: true,
span: 12,
rules: [{
@@ -718,7 +720,7 @@
row['userType'] = 1
row.deptId = func.join(row.deptId)
row.roleId = func.join(row.roleId)
- row.postId = func.join(row.postId)
+ // row.postId = func.join(row.postId)
add(row).then(() => {
this.initFlag = false
this.onLoad(this.page)
@@ -737,7 +739,7 @@
row['userType'] = 1
row.deptId = func.join(row.deptId)
row.roleId = func.join(row.roleId)
- row.postId = func.join(row.postId)
+ // row.postId = func.join(row.postId)
update(row).then(() => {
this.initFlag = false
this.onLoad(this.page)
@@ -907,9 +909,9 @@
if (this.form.hasOwnProperty("roleId")) {
this.form.roleId = this.form.roleId.split(",")
}
- if (this.form.hasOwnProperty("postId")) {
- this.form.postId = this.form.postId.split(",")
- }
+ // if (this.form.hasOwnProperty("postId")) {
+ // this.form.postId = this.form.postId.split(",")
+ // }
})
}
this.initFlag = true
@@ -1007,4 +1009,4 @@
.box .el-scrollbar__wrap {
overflow: scroll;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3