Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cb704f58
authored
Oct 12, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
0f184b37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
vue3-lw-pc/src/views/enterpriseManage/contacts/organization.vue
vue3-lw-pc/src/views/enterpriseManage/contacts/organization.vue
View file @
cb704f5
...
...
@@ -51,7 +51,7 @@
</el-select>
</el-form-item>
<el-form-item
label
>
<el-button
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"getList(1
, true
)"
>
查询
</el-button>
<el-button
@
click=
"resetFn()"
>
重置
</el-button>
</el-form-item>
</el-form>
...
...
@@ -180,7 +180,7 @@ export default {
query
:
{
pageNum
:
1
,
pageSize
:
10
,
deptId
:
1
,
deptId
:
''
,
roleId
:
''
,
userName
:
''
,
checkIsRoot
:
true
,
...
...
@@ -366,11 +366,13 @@ export default {
this
.
defaultShowNodes
.
push
(
this
.
query
.
deptId
)
})
},
getList
(
page
)
{
getList
(
page
,
isSarch
)
{
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
let
query
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
query
))
isSarch
&&
delete
query
.
deptId
api
.
getDeptUser
(
this
.
query
)
.
getDeptUser
(
query
)
.
then
(({
rows
,
total
})
=>
{
this
.
userList
=
rows
this
.
total
=
+
total
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment