@@ -63,3 +63,11 @@ export const delDept = (deptId: number | string) => {
method: 'delete'
});
};
+
+// 查询客户部门
+export const listCustomerDept = (customerId: string | number): AxiosPromise<DeptVO[]> => {
+ return request({
+ url: `/system/dept/customerDeptList/${customerId}`, // 拼接 customerId 到路径
+ method: 'get'
+ });
+};