import request from '@/utils/httpRequest'

export default class ReportReviewService {
  list (type) {
    return request({
      url: '/auditSheet/type/prooList',
      method: 'get',
      params: {type: type}
    })
  }
  save (param) {
    return request({
      url: '/projectReport/review/saveForm',
      method: 'post',
      data: param
    })
  }
  updateReviewStatysByReportId (data) {
    return request({
      url: '/projectReport/review/updateReviewStatysByReportId',
      method: 'post',
      data: data
    })
  }
  queryByReportId (id) {
    return request({
      url: '/projectReport/review/queryByReportId',
      method: 'get',
      params: {id: id}
    })
  }
  getProcessStatus (id) {
    return request({
      url: '/projectReport/review/getProcessStatus',
      method: 'get',
      params: {procInsId: id}
    })
  }
  getHaveReportNo (id) {
    return request({
      url: '/projectReport/review/getHaveReportNo',
      method: 'get',
      params: {reportId: id}
    })
  }
  saveReportNo (id) {
    return request({
      url: '/projectReport/review/saveReportNo',
      method: 'get',
      params: {reportId: id}
    })
  }
}
