Commit 6192f9b5 authored by 康振飞's avatar 康振飞

Merge branch 'master' of git.mes123.com:zhouyx/mes-ui

parents b8399d1c 05919241
......@@ -5,11 +5,8 @@
<Button @click="open" type="text"><Icon type="md-search" />高级</Button>
<!-- <Input v-model="value" placeholder="关键字" style="width:300px;" :clearable='true'>
<Button @click="easySearch" icon="ios-search-outline" slot="append" style="width:40px;background-color:#249E91;color:#FFF;"></Button>
</Input> -->
</Input> -->
</div>
<!-- 右侧按钮 -->
<slot name="button"></slot>
<!-- 弹出高级搜索框 -->
......
......@@ -133,8 +133,8 @@ export default {
columnsCur: [],
configLoad: false,
userConfig: null, //用户页面配置信息。,
userId: 1
// userId: this.$store.state.userInfo.userId
// userId: 1
userId: this.$store.state.userInfo.userId
}
},
props: {
......
......@@ -7,7 +7,7 @@
<Avatar :src="avatorPath" size="150" />
</p>
<p style="text-align:center;padding:10px;">
<Button ghost @click="openModalAvatar">修改头像</Button>
<Button @click="openModalAvatar">修改头像</Button>
</p>
</div>
</Card>
......@@ -231,7 +231,7 @@ export default {
upAvatar() {
if (this.imageModel.avatar_Url != '') {
this.$http.sysUser.changeavatar(this.imageModel).then((res) => {
if (res.data.result) {
if (res.success) {
this.$Message.success('修改成功!')
this.modalAvatar = false
this.$store.commit(
......
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