|
|
@ -89,10 +89,12 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import Header from "../components/Header/HeaderView"; |
|
|
|
import Header from "../components/Header/HeaderView"; |
|
|
|
import Footer from "../components/Footer/FooterView" |
|
|
|
import Footer from "../components/Footer/FooterView" |
|
|
|
|
|
|
|
import {mapGetters} from 'vuex' |
|
|
|
|
|
|
|
import { getFileAccessHttpUrl,getAction } from "@/api/manage" |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: "gerenzhongxin", |
|
|
|
name: "gerenzhongxin", |
|
|
|
components: { Header,Footer }, |
|
|
|
components: { Header,Footer }, |
|
|
|
data() { |
|
|
|
data() {0 |
|
|
|
return { |
|
|
|
return { |
|
|
|
current: ['allorders'],//目前打开的菜单 |
|
|
|
current: ['allorders'],//目前打开的菜单 |
|
|
|
key:'',//当前选择的订单状态(待支付、待收货等) |
|
|
|
key:'',//当前选择的订单状态(待支付、待收货等) |
|
|
@ -149,6 +151,14 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
...mapGetters(["nickname", "avatar","userInfo"]), |
|
|
|
|
|
|
|
//获取用户头像 |
|
|
|
|
|
|
|
getAvatar(){ |
|
|
|
|
|
|
|
return getFileAccessHttpUrl(this.avatar()) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
callback(key) { |
|
|
|
callback(key) { |
|
|
|
console.log(key); |
|
|
|
console.log(key); |
|
|
|
}, |
|
|
|
}, |
|
|
|