/*
 * @Author: wufan
 * @Date: 2020-11-25 18:25:02
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-07-30 17:00:06
 * @Description: Description
 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
 */
import Service from "@/common/js/service";
import User from "@/common/js/user"

export function getEmployeeList(params: object) {
  return Service.Hades("public/hades/getStoreUserPage", params);
}

export function getStoreRole(params: object) {
  return Service.Hades("public/hades/getStoreRole", params);
}

export function getUserList(params: object) {
  return Service.Hades("public/hades/getStoreCustomerPage", params);
}

export function getStoreDecorationList(params: object) {
  return Service.Hades("public/hades/getStoreBannerList", params);
}
export function deleteStoreDecorationList(params: object) {
  return Service.Hades("public/hades/delStoreBanner", params);
}
export function addStoreBanner(params: object) {
  return Service.Hades("public/hades/addStoreBanner", params);
}
export function editStoreBanner(params: object) {
  return Service.Hades("public/hades/editStoreBanner", params);
}
export function moveBannerSequence(params: object) {
  return Service.Hades("public/hades/moveBannerSequence", params);
}

export function addEmployee(params: object) {
  return Service.Hades("public/hades/addStoreUser", params);
}

export function editEmployee(params: object) {
  return Service.Hades("public/hades/editOneselfMsg", params);
}

export function deleteEmployee(params: object) {
  return Service.Hades("public/hades/delStoreUser", params);
}

export function getCourseCatalogList(params: object) {
  return Service.Hades("public/hades/getCategoryPage", params);
}

export function getAllSonCategory(params: object) {
  return Service.Hades("public/hades/getAllSonCategory", params);
}

export function addCourseCategory(params: object) {
  return Service.Hades("public/hades/addCourseCategory", params);
}
export function editCourseCategory(params: object) {
  return Service.Hades("public/hades/editCourseCategory", params);
}
export function delCourseCategory(params: object) {
  return Service.Hades("public/hades/delCourseCategory", params);
}
export function getStoreUserBasicPage(params: object) {
  return Service.Hades("public/hades/getStoreUserBasicPage", params);
}
export function updateStoreMessage(params: object) {
  return Service.Hades("public/hades/updateStoreMessage", params);
}
export function getStoreDetail(params: object) {
  return Service.Hades("public/hades/getStoreDetail", params);
}

export function getCustomerAuditList(params: object){
  return Service.Hades('public/hades/getCustomerAuditList',params);
}

export function getCustomerAuditListCount(params: object){
  return Service.Hades('public/hades/getCustomerAuditCount',params);
}

export function auditOperation(params: object){
  return Service.Hades('public/hades/auditOperation',params);
}

export function getByDepartmentId(params: object) {
  return Service.Hades("public/hades/getByDepartmentId", params);
}
export function getDepartmentUser(params: object) {
  return Service.Hades("/public/hades/getDepartmentAndDepartmentUserByName", params);
}
export function getDepartmentUserNotPage(params: object) {
  return Service.Hades("public/hades/getDepartmentAndDepartmentUserNotPageByName", params);
}
export function addDepartment(params: object) {
  return Service.Hades("public/hades/addDepartment", params);
}
export function editDepartment(params: object) {
  return Service.Hades("public/hades/editDepartment", params);
}
export function delDepartment(params: object) {
  return Service.Hades("public/hades/delDepartment", params);
}
export function queryDepartmentTree(params: object) {
  return Service.Hades("public/hades/queryDepartmentTree", params);
}
export function getStoreCustomerAndDepNamePage(params: object) {
  return Service.Hades("public/hades/getStoreCustomerAndDepNamePage", params);
}
export function delDepartmentUser(params: object) {
  return Service.Hades("public/hades/delDepartmentUser", params);
}
export function syncWorkWeChatDepartment(params: object) {
  return Service.Hades("public/hades/syncWorkWeChatDepartment", params);
}
export function getSyncCount(params: object) {
  return Service.Hades("public/hades/getSyncCount", params);
}
