Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
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
daywrite
bms-vue-obear
Commits
5e25a160
Commit
5e25a160
authored
May 12, 2019
by
daywrite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人信息联调
parent
e72febe0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
profileEdit.vue
src/components/profile/profileEdit.vue
+4
-1
profileList.vue
src/components/profile/profileList.vue
+1
-1
No files found.
src/components/profile/profileEdit.vue
View file @
5e25a160
...
@@ -51,16 +51,19 @@
...
@@ -51,16 +51,19 @@
<el-input
<el-input
class=
"ec-input-normal"
class=
"ec-input-normal"
size=
"small"
size=
"small"
style=
"width: 60px;"
v-model=
"model.telephone_area_code"
>
v-model=
"model.telephone_area_code"
>
</el-input>
</el-input>
<el-input
<el-input
class=
"ec-input-normal"
class=
"ec-input-normal"
size=
"small"
size=
"small"
style=
"width: 200px;"
v-model=
"model.telephone"
>
v-model=
"model.telephone"
>
</el-input>
</el-input>
<el-input
<el-input
class=
"ec-input-normal"
class=
"ec-input-normal"
size=
"small"
size=
"small"
style=
"width: 60px;"
v-model=
"model.telephone_extension_number"
>
v-model=
"model.telephone_extension_number"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -125,7 +128,7 @@ export default {
...
@@ -125,7 +128,7 @@ export default {
handleSave
()
{
handleSave
()
{
let
_params
=
Object
.
assign
({},
setModule
(
this
.
model
,
'Users'
))
let
_params
=
Object
.
assign
({},
setModule
(
this
.
model
,
'Users'
))
requestAPI
(
api
.
saveuserEdit
,
_params
)
requestAPI
(
Object
.
assign
(
api
.
saveuserEdit
,
{
method
:
'POST'
})
,
_params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
})
})
...
...
src/components/profile/profileList.vue
View file @
5e25a160
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<tbody>
<tbody>
<tr><td>
姓名
</td><td>
{{
model
.
name
}}
</td></tr>
<tr><td>
姓名
</td><td>
{{
model
.
name
}}
</td></tr>
<tr><td>
电子邮箱
</td><td>
{{
model
.
email
}}
</td></tr>
<tr><td>
电子邮箱
</td><td>
{{
model
.
email
}}
</td></tr>
<tr><td>
头像
</td><td><img
:src=
"model.avatar.avatar"
/></td></tr>
<tr><td>
头像
</td><td><img
:src=
"model.avatar
&& model.avatar
.avatar"
/></td></tr>
<tr><td>
性别
</td><td>
{{
model
.
sex_display
}}
</td></tr>
<tr><td>
性别
</td><td>
{{
model
.
sex_display
}}
</td></tr>
<tr><td>
生日
</td><td>
{{
model
.
birth_date
}}
</td></tr>
<tr><td>
生日
</td><td>
{{
model
.
birth_date
}}
</td></tr>
<tr><td>
入职日期
</td><td>
{{
model
.
entry_date
}}
</td></tr>
<tr><td>
入职日期
</td><td>
{{
model
.
entry_date
}}
</td></tr>
...
...
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