Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
mes
mes-ui
Commits
22f7af6e
Commit
22f7af6e
authored
Jul 18, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加分页
parent
87c04aed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
worker.vue
src/views/system/user/profile/worker.vue
+8
-7
No files found.
src/views/system/user/profile/worker.vue
View file @
22f7af6e
...
@@ -23,7 +23,13 @@
...
@@ -23,7 +23,13 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
...
@@ -120,12 +126,7 @@ export default {
...
@@ -120,12 +126,7 @@ export default {
/** 查询工作单元列表 */
/** 查询工作单元列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
console
.
log
(
'this.userId'
,
this
.
userId
)
this
.
queryParams
.
userId
=
this
.
userId
this
.
queryParams
=
{
pageNum
:
1
,
pageSize
:
10
,
userId
:
this
.
userId
}
listWorkunituser
(
this
.
queryParams
).
then
(
response
=>
{
listWorkunituser
(
this
.
queryParams
).
then
(
response
=>
{
this
.
workstationworkerList
=
response
.
rows
;
this
.
workstationworkerList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
...
...
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