更新首页菜单

This commit is contained in:
weipengfei 2023-12-02 18:06:32 +08:00
parent 5801f69380
commit 33874d9f77
1 changed files with 48 additions and 29 deletions

View File

@ -379,6 +379,7 @@
import { import {
ENV ENV
} from "@/config/app.js" } from "@/config/app.js"
import { Toast } from '../../libs/uniApi';
export default { export default {
components: { components: {
@ -433,44 +434,47 @@
type: 13, type: 13,
image: require('@/static/images/index9.png') image: require('@/static/images/index9.png')
}, },
{
name: '供货采购',
type: 3,
image: require('@/static/images/index4.png')
},
{
name: '进货管理',
type: 4,
image: require('@/static/images/index5.png')
},
{ {
name: '订单管理', name: '订单管理',
type: 2, type: 2,
image: require('@/static/images/index1.png') image: require('@/static/images/index1.png')
}, },
// { {
// name: '', name: '订单核销',
// type: 3, type: 7,
// image: require('@/static/images/index4.png') image: require('@/static/images/index2.png')
// }, },
// {
// name: '',
// type: 4,
// image: require('@/static/images/index5.png')
// },
// { // {
// name: '', // name: '',
// type: 11, // type: 11,
// image: require('@/static/images/index10.png') // image: require('@/static/images/index10.png')
// }, // },
{ // {
name: '商户设置', // name: '',
type: 12, // type: 12,
image: require('@/static/images/index11.png') // image: require('@/static/images/index11.png')
}, // },
{ {
name: '提现管理', name: '提现管理',
type: 5, type: 5,
image: require('@/static/images/index8.png') image: require('@/static/images/index8.png')
}, { },
name: '客服记录', // {
type: 6, // name: '',
image: require('@/static/images/index6.png') // type: 6,
}, { // image: require('@/static/images/index6.png')
name: '订单核销', // },
type: 7, {
image: require('@/static/images/index2.png')
}, {
name: '全部', name: '全部',
type: 8, type: 8,
image: require('@/static/images/index3.png') image: require('@/static/images/index3.png')
@ -493,11 +497,18 @@
name: '提现管理', name: '提现管理',
type: 5, type: 5,
image: require('@/static/images/index8.png') image: require('@/static/images/index8.png')
}, { },
name: '客服记录', {
type: 6, name: '押金缴纳',
image: require('@/static/images/index6.png') type: 14,
}, { image: require('@/static/images/index20.png')
},
// {
// name: '',
// type: 6,
// image: require('@/static/images/index6.png')
// },
{
name: '订单核销', name: '订单核销',
type: 7, type: 7,
image: require('@/static/images/index2.png') image: require('@/static/images/index2.png')
@ -1139,6 +1150,14 @@
.mer_id}&stype=2` .mer_id}&stype=2`
}) })
break; break;
case 14:
if(this.userInfoData.mer_info.mer_settlement_agree_status == 0) Toast('暂无权限');
else uni.navigateTo({
url: '/pages/margin/margin' + `?mer_id=` + this.userInfoData
.service
.mer_id
})
break;
default: default:
uni.navigateTo({ uni.navigateTo({
url: '/pages/moreProject/moreProject' url: '/pages/moreProject/moreProject'