Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qr-consistency-vue3
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
刘怀志
qr-consistency-vue3
Commits
50afbf5f
Commit
50afbf5f
authored
Apr 20, 2025
by
lwy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户管理-优化表格数据
parent
d0fca11e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
index.vue
src/views/system/user/index.vue
+10
-9
No files found.
src/views/system/user/index.vue
View file @
50afbf5f
...
@@ -42,9 +42,9 @@
...
@@ -42,9 +42,9 @@
/>
/>
</el-form-item>
</el-form-item>
<!-- 事业部出来再改 -->
<!-- 事业部出来再改 -->
<el-form-item
label=
""
prop=
"
divsion
"
>
<el-form-item
label=
""
prop=
"
unitNames
"
>
<el-input
<el-input
v-model=
"queryParams.
divsion
"
v-model=
"queryParams.
unitNames
"
placeholder=
"事业部"
placeholder=
"事业部"
clearable
clearable
style=
"width: 240px"
style=
"width: 240px"
...
@@ -120,7 +120,6 @@
...
@@ -120,7 +120,6 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
border
border
>
>
<!--
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
/>
-->
<el-table-column
label=
"序号"
align=
"center"
>
<el-table-column
label=
"序号"
align=
"center"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
{{
scope
.
$index
+
1
}}
{{
scope
.
$index
+
1
}}
...
@@ -168,15 +167,15 @@
...
@@ -168,15 +167,15 @@
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
v-if=
"columns[2].visible"
v-if=
"columns[2].visible"
key=
"
divsion
"
key=
"
unitNames
"
label=
"事业部权限"
label=
"事业部权限"
sortable
sortable
align=
"center"
align=
"center"
prop=
"
divsion
"
prop=
"
unitNames
"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
>
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
{{
scope
.
row
.
divsion
||
'--'
}}
{{
scope
.
row
.
unitNames
||
'--'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -184,11 +183,11 @@
...
@@ -184,11 +183,11 @@
key=
"factoryName"
key=
"factoryName"
label=
"制造工厂权限"
label=
"制造工厂权限"
align=
"center"
align=
"center"
prop=
"factoryName"
prop=
"factoryName
s
"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
>
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
{{
scope
.
row
.
factoryName
||
'--'
}}
{{
scope
.
row
.
factoryName
s
||
'--'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -257,8 +256,9 @@
...
@@ -257,8 +256,9 @@
link
link
v-if=
"scope.row.userType !== '00'"
v-if=
"scope.row.userType !== '00'"
type=
"primary"
type=
"primary"
v-hasPermi=
"['system:user:edit']"
@
click=
"divsionDialog = true"
@
click=
"divsionDialog = true"
>
配置事业部
</el-button>
<!--v-hasPermi="['system:user:edit']"-->
>
配置事业部
</el-button>
<el-button
<el-button
v-hasPermi=
"['system:user:edit']"
v-hasPermi=
"['system:user:edit']"
link
link
...
@@ -859,6 +859,7 @@ function reset() {
...
@@ -859,6 +859,7 @@ function reset() {
userId
:
null
,
userId
:
null
,
deptId
:
null
,
deptId
:
null
,
userName
:
null
,
userName
:
null
,
unitNames
:
null
,
nickName
:
null
,
nickName
:
null
,
password
:
null
,
password
:
null
,
phonenumber
:
null
,
phonenumber
:
null
,
...
...
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