import fetch from '@/api/fetch';

// (1报修区域 2报修项目 3用车类型名称 4车牌号)
// 添加
export const settingAdd = entity =>
  fetch({
    url: '/setting/setting4Add',
    method: 'post',
    data: entity,
  });

export const settingDel = entity =>
  fetch({
    url: '/setting/setting4Delete',
    method: 'post',
    data: entity,
  });

export const fetchSettingList = entity =>
  fetch({
    url: '/setting/setting4Page',
    method: 'post',
    data: entity,
  });

export const updateSetting = entity =>
  fetch({
    url: '/setting/setting4Update',
    method: 'post',
    data: entity,
  });
