调整
This commit is contained in:
@@ -274,6 +274,7 @@ import { Message } from 'element-ui'
|
||||
setTimeout(sendChromeAPIMessage({
|
||||
url: 'bg-visage-mms/product/query',
|
||||
needMallId: true,
|
||||
mallId: this.productPage.mallId,
|
||||
data: {
|
||||
productEditTaskUid: '',
|
||||
productId: productSpu
|
||||
|
||||
@@ -14,20 +14,6 @@
|
||||
<div :style="{marginLeft: '10px', color: $store.state.userInfo.flag == 1? 'green': 'red'}">{{ getStateInfo }}</div>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-dropdown @command="onMallChange" v-if="mallName">
|
||||
<div class="userinfo">
|
||||
<span>{{ mallName }}</span>
|
||||
<img src="../assets/images/bottom.png" />
|
||||
</div>
|
||||
<el-dropdown-menu slot="dropdown" style="width: 171px">
|
||||
<el-dropdown-item
|
||||
v-for="(item, index) in mallList"
|
||||
:command="item"
|
||||
:key="index">
|
||||
{{ item.mallName }}
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<el-dropdown @command="handleClick">
|
||||
<div class="userinfo">
|
||||
<span>{{ $store.state.userInfo.name + "(" + $store.state.userInfo.phone + ")" }}</span>
|
||||
@@ -160,11 +146,6 @@
|
||||
},
|
||||
|
||||
methods: {
|
||||
onMallChange (e) {
|
||||
this.$store.commit('setMallName', e.mallName)
|
||||
this.$store.commit('setMallId', e.mallId)
|
||||
location.reload()
|
||||
},
|
||||
handleClick (e) {
|
||||
if (e === 'phone') {
|
||||
this.$router.push('changePhone')
|
||||
|
||||
Reference in New Issue
Block a user