import request from '@/utils/request'

// 查询定位信息
export function listData(query) {
  return request({
    url: '/system/opinion/list',
    method: 'get',
    params: query
  })
}

// 查询成绩详细
export function getData(data) {
  return request({
    url: '/score/data/query',
    method: 'post',
	data: data
  })
}

// 新增成绩
export function addData(data) {
  return request({
    url: '/system/opinion',
    method: 'post',
    data: data
  })
}

// 修改成绩
export function updateData(data) {
  return request({
    url: '/system/opinion/put',
    method: 'post',
    data: data
  })
}

// 删除成绩
export function delData(scoreId) {
  return request({
    url: '/system/opinion/delete/' + scoreId,
    method: 'get'
  })
}