src/api/platform/point.js
@@ -82,13 +82,22 @@
}
// 导入
export function importData(data, unitId) {
export function importData(data) {
  return request({
    url: '/yw-point/import/' + unitId,
    url: '/yw-point/import',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
    },
    timeout: 150000
  })
}
// 根据单位id查找合同
export function timeRange(unitId) {
  return request({
    url: '/system/contract/time/' + unitId,
    method: 'get'
  })
}