import request from '@/utils/request'

// ========== 标准化证书 ==========
export function listBisStanCert(query) {
  return request({ url: '/stan/stancert/list', method: 'get', params: query })
}
export function getBisStanCert(guid) {
  return request({ url: '/stan/stancert/' + guid, method: 'get' })
}
export function addBisStanCert(data) {
  return request({ url: '/stan/stancert', method: 'post', data: data })
}
export function updateBisStanCert(data) {
  return request({ url: '/stan/stancert', method: 'put', data: data })
}
export function delBisStanCert(guids) {
  return request({ url: '/stan/stancert/' + guids, method: 'delete' })
}

// ========== 证书变更申请 ==========
export function listBisStanCertChaAppl(query) {
  return request({ url: '/stan/stancertchaappl/list', method: 'get', params: query })
}
export function getBisStanCertChaAppl(guid) {
  return request({ url: '/stan/stancertchaappl/' + guid, method: 'get' })
}
export function addBisStanCertChaAppl(data) {
  return request({ url: '/stan/stancertchaappl', method: 'post', data: data })
}
export function updateBisStanCertChaAppl(data) {
  return request({ url: '/stan/stancertchaappl', method: 'put', data: data })
}
export function delBisStanCertChaAppl(guids) {
  return request({ url: '/stan/stancertchaappl/' + guids, method: 'delete' })
}

// ========== 证书延期申请 ==========
export function listBisStanCertExtAppl(query) {
  return request({ url: '/stan/stancertextappl/list', method: 'get', params: query })
}
export function getBisStanCertExtAppl(guid) {
  return request({ url: '/stan/stancertextappl/' + guid, method: 'get' })
}
export function addBisStanCertExtAppl(data) {
  return request({ url: '/stan/stancertextappl', method: 'post', data: data })
}
export function updateBisStanCertExtAppl(data) {
  return request({ url: '/stan/stancertextappl', method: 'put', data: data })
}
export function delBisStanCertExtAppl(guids) {
  return request({ url: '/stan/stancertextappl/' + guids, method: 'delete' })
}

// ========== 证书审核 ==========
export function listBisStanCertRev(query) {
  return request({ url: '/stan/stancertrev/list', method: 'get', params: query })
}
export function getBisStanCertRev(guid) {
  return request({ url: '/stan/stancertrev/' + guid, method: 'get' })
}
export function addBisStanCertRev(data) {
  return request({ url: '/stan/stancertrev', method: 'post', data: data })
}
export function updateBisStanCertRev(data) {
  return request({ url: '/stan/stancertrev', method: 'put', data: data })
}
export function delBisStanCertRev(guids) {
  return request({ url: '/stan/stancertrev/' + guids, method: 'delete' })
}

// ========== 标准化评审记录 ==========
export function listBisStanReviRec(query) {
  return request({ url: '/stan/stanrevirec/list', method: 'get', params: query })
}
export function getBisStanReviRec(guid) {
  return request({ url: '/stan/stanrevirec/' + guid, method: 'get' })
}
export function addBisStanReviRec(data) {
  return request({ url: '/stan/stanrevirec', method: 'post', data: data })
}
export function updateBisStanReviRec(data) {
  return request({ url: '/stan/stanrevirec', method: 'put', data: data })
}
export function delBisStanReviRec(guids) {
  return request({ url: '/stan/stanrevirec/' + guids, method: 'delete' })
}

// ========== 标准化评分 ==========
export function listBisStanScore(query) {
  return request({ url: '/stan/stanscore/list', method: 'get', params: query })
}
export function getBisStanScore(guid) {
  return request({ url: '/stan/stanscore/' + guid, method: 'get' })
}
export function addBisStanScore(data) {
  return request({ url: '/stan/stanscore', method: 'post', data: data })
}
export function updateBisStanScore(data) {
  return request({ url: '/stan/stanscore', method: 'put', data: data })
}
export function delBisStanScore(guids) {
  return request({ url: '/stan/stanscore/' + guids, method: 'delete' })
}

// ========== 标准化自评报告 ==========
export function listBisStanSelfEvaRep(query) {
  return request({ url: '/stan/stanselfevarep/list', method: 'get', params: query })
}
export function getBisStanSelfEvaRep(guid) {
  return request({ url: '/stan/stanselfevarep/' + guid, method: 'get' })
}
export function addBisStanSelfEvaRep(data) {
  return request({ url: '/stan/stanselfevarep', method: 'post', data: data })
}
export function updateBisStanSelfEvaRep(data) {
  return request({ url: '/stan/stanselfevarep', method: 'put', data: data })
}
export function delBisStanSelfEvaRep(guids) {
  return request({ url: '/stan/stanselfevarep/' + guids, method: 'delete' })
}

// ========== 现场评审 ==========
export function listBisScenRevi(query) {
  return request({ url: '/stan/scenrevi/list', method: 'get', params: query })
}
export function getBisScenRevi(guid) {
  return request({ url: '/stan/scenrevi/' + guid, method: 'get' })
}
export function addBisScenRevi(data) {
  return request({ url: '/stan/scenrevi', method: 'post', data: data })
}
export function updateBisScenRevi(data) {
  return request({ url: '/stan/scenrevi', method: 'put', data: data })
}
export function delBisScenRevi(guids) {
  return request({ url: '/stan/scenrevi/' + guids, method: 'delete' })
}

// ========== 初审 ==========
export function listBisFromFirsttria(query) {
  return request({ url: '/stan/fromfirsttria/list', method: 'get', params: query })
}
export function getBisFromFirsttria(guid) {
  return request({ url: '/stan/fromfirsttria/' + guid, method: 'get' })
}
export function addBisFromFirsttria(data) {
  return request({ url: '/stan/fromfirsttria', method: 'post', data: data })
}
export function updateBisFromFirsttria(data) {
  return request({ url: '/stan/fromfirsttria', method: 'put', data: data })
}
export function delBisFromFirsttria(guids) {
  return request({ url: '/stan/fromfirsttria/' + guids, method: 'delete' })
}

// ========== 标准化申请 ==========
export function listObjStanAppl(query) {
  return request({ url: '/stan/objstanappl/list', method: 'get', params: query })
}
export function getObjStanAppl(guid) {
  return request({ url: '/stan/objstanappl/' + guid, method: 'get' })
}
export function addObjStanAppl(data) {
  return request({ url: '/stan/objstanappl', method: 'post', data: data })
}
export function updateObjStanAppl(data) {
  return request({ url: '/stan/objstanappl', method: 'put', data: data })
}
export function delObjStanAppl(guids) {
  return request({ url: '/stan/objstanappl/' + guids, method: 'delete' })
}

// ========== 标准化评审对象 ==========
export function listObjStanRevi(query) {
  return request({ url: '/stan/objstanrevi/list', method: 'get', params: query })
}
export function getObjStanRevi(guid) {
  return request({ url: '/stan/objstanrevi/' + guid, method: 'get' })
}
export function addObjStanRevi(data) {
  return request({ url: '/stan/objstanrevi', method: 'post', data: data })
}
export function updateObjStanRevi(data) {
  return request({ url: '/stan/objstanrevi', method: 'put', data: data })
}
export function delObjStanRevi(guids) {
  return request({ url: '/stan/objstanrevi/' + guids, method: 'delete' })
}

// ========== 处罚对象 ==========
export function listObjPuno(query) {
  return request({ url: '/stan/objpuno/list', method: 'get', params: query })
}
export function getObjPuno(guid) {
  return request({ url: '/stan/objpuno/' + guid, method: 'get' })
}
export function addObjPuno(data) {
  return request({ url: '/stan/objpuno', method: 'post', data: data })
}
export function updateObjPuno(data) {
  return request({ url: '/stan/objpuno', method: 'put', data: data })
}
export function delObjPuno(guids) {
  return request({ url: '/stan/objpuno/' + guids, method: 'delete' })
}
