/*
 * @description: FileName
 * @Modifier: zhengcy
 * @routerPath: path
 * @date: Do not edit
 */
import request from '@/assets/js/utils/request'

// 反馈人---获取可以提意见的采购项目列表
export function querySupplierProcurementProject(data) {
  return request({
    url: '/bidprocurement/procurement-protproject/procurementProject/querySupplierProcurementProject',
    method: 'post',
    data
  })
}

// 反馈人---获取可以提意见的订单
export function getPageOrderInfoAllByRole(data) {
  return request({
    url: '/bidprocurement/procurement-contract/procurementOrder/getPageOrderInfoAllByRole',
    method: 'post',
    data
  })
}

// 反馈人---查询投诉建议信息列表
export function queryList(data) {
  return request({
    url: '/bidprocurement/procurement-protproject/complaintsSuggestions/queryList',
    method: 'post',
    data
  })
}

// 反馈人---查询登录用户的企业信息
export function getComplaintsDepartInfoVo() {
  return request({
    url: '/bidprocurement/procurement-protproject/complaintsSuggestions/getComplaintsDepartInfoVo',
    method: 'get'
  })
}

// 反馈人---增加投诉建议
export function addComplaintsSuggestionsInfo(data) {
  return request({
    url: '/bidprocurement/procurement-protproject/complaintsSuggestions/addComplaintsSuggestionsInfo',
    method: 'post',
    data
  })
}

// 反馈人---删除投诉建议
export function delateComplaintsSuggestionsInfo(data) {
  return request({
    url: '/bidprocurement/procurement-protproject/complaintsSuggestions/delateComplaintsSuggestionsInfo',
    method: 'post',
    data
  })
}

// 反馈人/受理人---查看投诉建议
export function queryComplaintsSuggestionsInfo(data) {
  return request({
    url: '/bidprocurement/procurement-protproject/complaintsSuggestions/queryComplaintsSuggestionsInfo',
    method: 'post',
    data
  })
}

// 反馈人---修改投诉建议
export function updateComplaintsSuggestionsInfo(data) {
  return request({
    url: '/bidprocurement/procurement-protproject/complaintsSuggestions/updateComplaintsSuggestionsInfo',
    method: 'post',
    data
  })
}

// 受理人---查询投诉建议列表
export function queryListByReplyUser(data) {
  return request({
    url: '/bidprocurement/procurement-protproject/complaintsSuggestions/queryListByReplyUser',
    method: 'post',
    data
  })
}
