Commit 5e25a160 authored by daywrite's avatar daywrite

个人信息联调

parent e72febe0
...@@ -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('操作成功')
}) })
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment