|
|
@@ -422,41 +422,7 @@
|
|
|
treeList: [],
|
|
|
saleManageList: [],
|
|
|
// 售后服务
|
|
|
- serviceList: [{
|
|
|
- name: '售后需求',
|
|
|
- url: `/pages/salesServiceManagement/demandList/index`,
|
|
|
- path: '/pages/salesServiceManagement/demandList/index',
|
|
|
- icon: 'icon-gongdanguanli',
|
|
|
- badge: 0
|
|
|
- },
|
|
|
- {
|
|
|
- name: '售后工单',
|
|
|
- url: `/pages/salesServiceManagement/workOrder/index`,
|
|
|
- path: '/pages/salesServiceManagement/workOrder/index',
|
|
|
- icon: 'icon-gongdanguanli',
|
|
|
- badge: 0
|
|
|
- },
|
|
|
- {
|
|
|
- name: '配件申请记录',
|
|
|
- url: `/pages/salesServiceManagement/accessory/index`,
|
|
|
- path: '/pages/salesServiceManagement/accessory/index',
|
|
|
- icon: 'icon-gongdanguanli',
|
|
|
- badge: 0
|
|
|
- },
|
|
|
- {
|
|
|
- name: '配件回收记录',
|
|
|
- url: `/pages/salesServiceManagement/recycle/index`,
|
|
|
- path: '/pages/salesServiceManagement/recycle/index',
|
|
|
- icon: 'icon-gongdanguanli',
|
|
|
- badge: 0
|
|
|
- },
|
|
|
- // {
|
|
|
- // name: '发货确认单',
|
|
|
- // url: `/pages/invoiceConfirm/index`,
|
|
|
- // icon: 'icon-gongdanguanli',
|
|
|
- // badge: 0
|
|
|
- // }
|
|
|
- ]
|
|
|
+ serviceList: []
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
@@ -488,6 +454,7 @@
|
|
|
console.log('-----------list--------------')
|
|
|
console.log(list)
|
|
|
if (list[0] && list[0].children.length > 0) {
|
|
|
+ console.log(list[0].children, 'list[0].children ----')
|
|
|
list[0].children.forEach(f => {
|
|
|
if (f.path == 'productionManage') {
|
|
|
this.productionList = f.children
|
|
|
@@ -515,8 +482,9 @@
|
|
|
console.log(f, 'f')
|
|
|
this.internalManagementList = f.children
|
|
|
|
|
|
+ } else if (f.path == 'serviceList') {
|
|
|
+ this.serviceList = f.children;
|
|
|
}
|
|
|
-
|
|
|
})
|
|
|
}
|
|
|
},
|