import request from '@/utils/httpRequest'
// import { ASSESS_PATH as prefix } from "../AppPath";
import { FINANCE_PATH as prefix } from "../AppPath";

export default class WorkContractService {
  save (param) {
    return request({
      url: prefix + '/workContract/workContractFile/save',
      method: 'post',
      data: param
    })
  }
  updateStatusById (param) {
    return request({
      url: prefix + '/workContract/workContractFile/updateStatusById',
      method: 'post',
      data: param
    })
  }
  findById (id) {
    return request({
      url: prefix + '/workContract/workContractFile/findById',
      method: 'get',
      params: {id: id}
    })
  }
  findByContractInfoId (id) {
    return request({
      url: prefix + '/workContract/workContractFile/findByContractInfoId',
      method: 'get',
      params: {id: id}
    })
  }
}
