xiangpei
2024-09-17 b32150d1fd576fa3b89e85e2f99be2edc67b9293
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'
  })
}