Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tuia-robot-manager-node
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
1
Merge Requests
1
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨贺晨吉
tuia-robot-manager-node
Commits
b645634d
Commit
b645634d
authored
Sep 21, 2023
by
杨贺晨吉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 1
parent
5c37cfa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
userManage.vue
src/views/sys/user-manage/userManage.vue
+5
-0
No files found.
src/views/sys/user-manage/userManage.vue
View file @
b645634d
...
@@ -126,6 +126,7 @@
...
@@ -126,6 +126,7 @@
>
>
<FormItem
label=
"账号:"
prop=
"username"
>
<FormItem
label=
"账号:"
prop=
"username"
>
<Input
<Input
:disabled=
"isEdit"
v-model=
"form.username"
v-model=
"form.username"
autocomplete=
"off"
autocomplete=
"off"
placeholder=
"请输入账号"
placeholder=
"请输入账号"
...
@@ -133,6 +134,7 @@
...
@@ -133,6 +134,7 @@
</FormItem>
</FormItem>
<FormItem
label=
"密码:"
prop=
"password"
:error=
"errorPass"
>
<FormItem
label=
"密码:"
prop=
"password"
:error=
"errorPass"
>
<Input
<Input
:disabled=
"isEdit"
type=
"password"
type=
"password"
password
password
v-model=
"form.password"
v-model=
"form.password"
...
@@ -464,6 +466,7 @@ export default {
...
@@ -464,6 +466,7 @@ export default {
],
],
data
:
[],
// 用户数据
data
:
[],
// 用户数据
total
:
0
,
// 总数
total
:
0
,
// 总数
isEdit
:
false
,
};
};
},
},
computed
:
{
computed
:
{
...
@@ -700,9 +703,11 @@ export default {
...
@@ -700,9 +703,11 @@ export default {
};
};
this
.
$refs
[
"dep"
].
clearSelect
();
this
.
$refs
[
"dep"
].
clearSelect
();
this
.
userModalVisible
=
true
;
this
.
userModalVisible
=
true
;
this
.
isEdit
=
false
;
},
},
// 编辑用户
// 编辑用户
async
edit
(
v
)
{
async
edit
(
v
)
{
this
.
isEdit
=
true
;
this
.
$refs
.
form
.
resetFields
();
this
.
$refs
.
form
.
resetFields
();
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
v
));
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
v
));
this
.
modalType
=
1
;
this
.
modalType
=
1
;
...
...
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