Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Starter Web Vue
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
product
kim3-web-vue
Starter Web Vue
Commits
11014c33
Commit
11014c33
authored
Jun 30, 2021
by
水落(YangLei)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 用户中心bug修复,表格分页增加跳转
parent
0053138f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
54 deletions
+13
-54
src/components/table/index.vue
src/components/table/index.vue
+1
-0
src/pages/system/view/log/operation/index.vue
src/pages/system/view/log/operation/index.vue
+2
-5
src/pages/system/view/user/UserManagement.vue
src/pages/system/view/user/UserManagement.vue
+0
-46
src/pages/system/view/user/index.js
src/pages/system/view/user/index.js
+0
-3
src/pages/user/components/info.vue
src/pages/user/components/info.vue
+10
-0
No files found.
src/components/table/index.vue
View file @
11014c33
...
@@ -140,6 +140,7 @@ export default {
...
@@ -140,6 +140,7 @@ export default {
current
:
this
.
initQuery
.
pageNum
,
current
:
this
.
initQuery
.
pageNum
,
pageSize
:
this
.
initQuery
.
pageSize
,
pageSize
:
this
.
initQuery
.
pageSize
,
total
:
this
.
total
,
total
:
this
.
total
,
showQuickJumper
:
true
,
};
};
},
},
isRowSelection
()
{
isRowSelection
()
{
...
...
src/pages/system/view/log/operation/index.vue
View file @
11014c33
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
valueFormat=
"YYYY-MM-DD HH:mm:ss"
valueFormat=
"YYYY-MM-DD HH:mm:ss"
/>
/>
</my-form-item>
</my-form-item>
<my-form-item
label=
"
登录用户
"
>
<my-form-item
label=
"
操作用户Id
"
>
<a-input
v-model=
"query.
use
rId"
/>
<a-input
v-model=
"query.
operato
rId"
/>
</my-form-item>
</my-form-item>
<my-form-item
label=
"业务模块"
>
<my-form-item
label=
"业务模块"
>
<a-select
v-model=
"query.loginType"
allowClear
>
<a-select
v-model=
"query.loginType"
allowClear
>
...
@@ -61,9 +61,6 @@ export default {
...
@@ -61,9 +61,6 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
refreshTable
()
{
this
.
$refs
.
table
.
getData
();
},
showDrawer
(
type
,
noFooter
)
{
showDrawer
(
type
,
noFooter
)
{
this
.
$refs
[
'
table
'
].
show
({
type
,
noFooter
});
this
.
$refs
[
'
table
'
].
show
({
type
,
noFooter
});
},
},
...
...
src/pages/system/view/user/UserManagement.vue
deleted
100644 → 0
View file @
0053138f
<
template
>
<my-table
url=
"table"
addBtn=
"addBtn"
>
<template
#search
="
{query}">
<a-form-model-item
label=
"所属组织"
>
<a-input
v-model=
"query.name"
/>
</a-form-model-item>
<a-form-model-item
label=
"所属组织"
>
<a-input
v-model=
"query.name"
/>
</a-form-model-item>
<a-form-model-item
label=
"所属组织"
>
<a-input
v-model=
"query.name"
/>
</a-form-model-item>
<a-form-model-item
label=
"所属组织"
>
<a-input
v-model=
"query.name"
/>
</a-form-model-item>
<a-form-model-item
label=
"所属组织"
>
<a-input
v-model=
"query.name"
/>
</a-form-model-item>
<a-form-model-item
label=
"所属组织"
>
<a-input
v-model=
"query.name"
/>
</a-form-model-item>
</
template
>
<
template
#add
>
<a-input
v-model=
"add.name"
/>
</
template
>
<a-table-column
title=
"姓名"
data-index=
"name"
/>
<a-table-column
title=
"操作"
>
<
template
#default=
"row"
>
<span>
<a>
{{
row
}}
</a>
<a-divider
type=
"vertical"
/>
<a>
Delete
</a>
</span>
</
template
>
</a-table-column>
</my-table>
</template>
<
script
>
export
default
{
data
:
()
=>
({
add
:
{},
addBtn
:
{},
}),
};
</
script
>
src/pages/system/view/user/index.js
deleted
100644 → 0
View file @
0053138f
import
UserManagement
from
'
./UserManagement
'
;
export
default
UserManagement
;
\ No newline at end of file
src/pages/user/components/info.vue
View file @
11014c33
...
@@ -54,6 +54,16 @@ export default {
...
@@ -54,6 +54,16 @@ export default {
return
this
.
form
.
userAvatar
?
`
${
this
.
$fileUrl
}${
this
.
form
.
userAvatar
}
`
:
null
;
return
this
.
form
.
userAvatar
?
`
${
this
.
$fileUrl
}${
this
.
form
.
userAvatar
}
`
:
null
;
},
},
},
},
mounted
()
{
if
(
this
.
loginId
)
{
const
userInfo
=
this
.
$store
.
state
.
userInfo
;
this
.
form
.
userName
=
userInfo
.
userName
;
this
.
form
.
fixedPhone
=
userInfo
.
fixedPhone
;
this
.
form
.
mobilePhone
=
userInfo
.
mobilePhone
;
this
.
form
.
userEmail
=
userInfo
.
userEmail
;
this
.
form
.
userAvatar
=
userInfo
.
userAvatar
;
}
},
watch
:
{
watch
:
{
'
$store.state.userInfo
'
(
userInfo
)
{
'
$store.state.userInfo
'
(
userInfo
)
{
this
.
form
.
userName
=
userInfo
.
userName
;
this
.
form
.
userName
=
userInfo
.
userName
;
...
...
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