{"size": 1828, "ext": "js", "max_stars_repo_path": "VueUI/src/api/dataprocess/work_workdetail.js", "max_stars_repo_name": "JonasChan2020/DataProcess", "max_stars_repo_stars_event_min_datetime": "2021-02-07T10:16:59.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-22T17:19:15.000Z", "max_issues_repo_path": "VueUI/src/api/dataprocess/work_workdetail.js", "max_issues_repo_name": "JonasChan2020/DataProcess", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "VueUI/src/api/dataprocess/work_workdetail.js", "max_forks_repo_name": "JonasChan2020/DataProcess", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.5058823529, "max_line_length": 59, "alphanum_fraction": 0.6619256018}
import http from '@/utils/request'
import defaultSettings from '@/settings'

/**
   * 分页查询
   * @param {查询条件} data
   */
export function getWork_workdetailListWithPager (data) {
  return http.request({
    url: 'Work_workdetail/FindWithPagerAsync',
    method: 'post',
    data: data,
    baseURL: defaultSettings.apiDataProcessUrl // 直接通过覆盖的方式
  })
}/**
   * 获取所有可用的
   */
export function getAllWork_workdetailList () {
  return http.request({
    url: 'Work_workdetail/GetAllEnable',
    method: 'get',
    baseURL: defaultSettings.apiDataProcessUrl // 直接通过覆盖的方式
  })
}
/**
   * 新增或修改保存
   * @param data
   */
export function saveWork_workdetail (data, url) {
  return http.request({
    url: url,
    method: 'post',
    data: data,
    baseURL: defaultSettings.apiDataProcessUrl // 直接通过覆盖的方式
  })
}
/**
   * 获取详情
   * @param {Id} Id
   */
export function getWork_workdetailDetail (id) {
  return http({
    url: 'Work_workdetail/GetById?id=' + id,
    method: 'get',
    baseURL: defaultSettings.apiDataProcessUrl // 直接通过覆盖的方式
  })
}
/**
   * 批量设置启用状态
   * @param {id集合} ids
   */
export function setWork_workdetailEnable (data) {
  return http({
    url: 'Work_workdetail/SetEnabledMarktBatchAsync',
    method: 'post',
    data: data,
    baseURL: defaultSettings.apiDataProcessUrl // 直接通过覆盖的方式
  })
}
/**
   * 批量软删除
   * @param {id集合} ids
   */
export function deleteSoftWork_workdetail (data) {
  return http({
    url: 'Work_workdetail/DeleteSoftBatchAsync',
    method: 'post',
    data: data,
    baseURL: defaultSettings.apiDataProcessUrl // 直接通过覆盖的方式
  })
}

/**
   * 批量删除
   * @param {id集合} ids
   */
export function deleteWork_workdetail (data) {
  return http({
    url: 'Work_workdetail/DeleteBatchAsync',
    method: 'delete',
    data: data,
    baseURL: defaultSettings.apiDataProcessUrl // 直接通过覆盖的方式
  })
}
