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

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

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