Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
5890f68b
Commit
5890f68b
authored
Mar 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释掉部门
parent
2209307c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
49 deletions
+16
-49
index.vue
src/views/system/user/index.vue
+16
-49
No files found.
src/views/system/user/index.vue
View file @
5890f68b
...
...
@@ -81,39 +81,7 @@
</el-form-item>
</el-form>
</div>
<el-row
:gutter=
"20"
>
<!--部门数据-->
<el-col
:span=
"4"
:xs=
"24"
style=
"background: #f4f4f4;height: 100%"
@
click
.
native=
"clickBlank"
>
<div
class=
"head-container"
style=
"padding: 10px 6px;background: #FFFFFF"
>
<el-input
v-model=
"deptName"
placeholder=
"请输入部门名称"
clearable
:maxlength=
"30"
size=
"mini"
/>
</div>
<div
class=
"head-container"
style=
"overflow-y:auto;min-height: 70.6vh;height: calc(100% - 48px);background: #ffffff;padding-right: 5px"
>
<el-tree
ref=
"tree"
:key=
"currentNodeKey"
:data=
"deptOptionsTree"
:props=
"defaultProps"
:expand-on-click-node=
"false"
:filter-node-method=
"filterNode"
default-expand-all
highlight-current
:current-node-key=
"currentNode"
@
node-click=
"handleNodeClick"
>
<div
slot-scope=
"
{ node }" style="white-space: nowrap;text-overflow: ellipsis;overflow: hidden" class="custom-tree-node">
<span
:title=
"node.label"
>
{{
node
.
label
}}
</span>
</div>
</el-tree>
</div>
</el-col>
<!--用户数据-->
<el-col
:span=
"20"
:xs=
"24"
>
<div
style=
"padding:5px 10px"
>
<div
class=
"tableTitle"
>
用户管理列表
</div>
<el-table
v-loading=
"loading"
...
...
@@ -193,8 +161,7 @@
:limit
.
sync=
"queryParams.rows"
@
pagination=
"getList"
/>
</el-col>
</el-row>
</div>
<!-- 添加或修改参数配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"600px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
...
...
@@ -268,20 +235,20 @@
</el-form-item>
</el-col>
</el-row>
<el-row
>
<el-col
:span=
"24"
>
<el-form-item
label=
"部门"
prop=
"postId"
>
<treeSelect
v-model=
"form.deptId"
:disable-branch-nodes=
"true"
:options=
"deptChildren"
:show-count=
"true"
placeholder=
"请选择归属部门"
@
input=
"changeValue"
/
>
</el-form-item
>
</el-col
>
</el-row
>
<!-- <el-row>--
>
<!-- <el-col :span="24">--
>
<!-- <el-form-item label="部门" prop="postId">--
>
<!-- <treeSelect-->
<!-- v-model="form.deptId"-->
<!-- :disable-branch-nodes="true"-->
<!-- :options="deptChildren"-->
<!-- :show-count="true"-->
<!-- placeholder="请选择归属部门"-->
<!-- @input="changeValue"-->
<!-- />--
>
<!-- </el-form-item>--
>
<!-- </el-col>--
>
<!-- </el-row>--
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"角色"
prop=
"postId"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment