diff --git a/src/api/Common/dictcommons.js b/src/api/Common/dictcommons.js index 8b46441..55e4512 100644 --- a/src/api/Common/dictcommons.js +++ b/src/api/Common/dictcommons.js @@ -17,6 +17,16 @@ export function getTypeValueList(data) { }) } +// 根据当前登录用户的全路径查询相应部门下的所有人 +export function selAllByOrgSidPath(data) { + return request({ + url: '/oms/apiadmin/sysstafforg/selAllByOrgSidPath', + method: 'post', + params: data + }) +} + + // 根据部门sid获取客户信息 export function chooseCustomerList(data) { return request({ diff --git a/src/router/index.js b/src/router/index.js index aef7a4a..beee66e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -51,17 +51,15 @@ export const constantRoutes = [ meta: { title: '客户管理' }, - children: [ - { - path: '/customerInformation/customerInformation', - component: () => import('@/views/customerManagement/customerInformation/customerInformation'), - name: 'CustomerInformation', - meta: { - title: '客户信息管理', - noCache: true - } + children: [{ + path: '/customerInformation/customerInformation', + component: () => import('@/views/customerManagement/customerInformation/customerInformation'), + name: 'CustomerInformation', + meta: { + title: '客户信息管理', + noCache: true } - ] + }] }, { path: '/salesOrder', @@ -112,6 +110,15 @@ export const constantRoutes = [ title: '采购订单', noCache: true } + }, + { + path: '/purchaseReview/index', + component: () => import('@/views/purchase/purchaseReview/index'), + name: 'PurchaseReview', + meta: { + title: '订单审核', + noCache: true + } } ] }, diff --git a/src/views/purchase/purchaseOrder/index.vue b/src/views/purchase/purchaseOrder/index.vue index ce31736..18e6862 100644 --- a/src/views/purchase/purchaseOrder/index.vue +++ b/src/views/purchase/purchaseOrder/index.vue @@ -9,10 +9,7 @@