parent
886bb98733
commit
de731f3408
|
|
@ -70,7 +70,10 @@ export const updateUserStatus = (id: number, status: number) => {
|
|||
return request.put({ url: '/system/user/update-status', data: data })
|
||||
}
|
||||
|
||||
// 获取用户精简信息列表
|
||||
export const getSimpleUserList = (): Promise<UserVO[]> => {
|
||||
return request.get({ url: '/system/user/simple-list' })
|
||||
/**
|
||||
* 获取用户精简信息列表
|
||||
* @param deptId 部门ID(可选)
|
||||
*/
|
||||
export const getSimpleUserList = (deptId: number) => {
|
||||
return request.get({ url: '/system/user/simple-list'+(deptId === undefined ? '':'?deptId='+deptId)})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -588,6 +588,30 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|||
activeMenu: '/crm/product'
|
||||
},
|
||||
component: () => import('@/views/crm/product/detail/index.vue')
|
||||
},
|
||||
{
|
||||
path: 'customer-suggestion/detail',
|
||||
component: () => import('@/views/crm/customer-suggestion/detail.vue'),
|
||||
name: 'CustomerSuggestionDetail',
|
||||
meta: {
|
||||
noCache: true,
|
||||
hidden: true,
|
||||
canTo: true,
|
||||
title: '客户建议详情',
|
||||
activeMenu: '/crm/customer-suggestion'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'customer-suggestion/create',
|
||||
component: () => import('@/views/crm/customer-suggestion/create.vue'),
|
||||
name: 'CustomerSuggestionCreate',
|
||||
meta: {
|
||||
noCache: true,
|
||||
hidden: true,
|
||||
canTo: true,
|
||||
title: '新增客户建议',
|
||||
activeMenu: '/crm/customer-suggestion'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue