import { apiResquest } from '@/api/request/request.js'
import { apiResquestForm } from '@/api/request/request.js'
import { apiResquestJsonList } from '@/api/request/request.js'
import { apiResquestFormVideo } from '@/api/request/request.js'
import { apiResquestTimer } from '@/api/request/request.js'

//安全准入详情接口
export const getDetails = (data) => {
    return apiResquestForm({
        url: '/laboratory/apply/getDetails',
        method: 'GET',
        data: data
    })
};
//查询人脸信息与认证状态
export const studentinfoFacemy  = (data) => {
    return apiResquest({
        url: `/base/app/lab/api/studentinfo/my`,
        method: 'GET',
    })
};
//查询实验室下的安全准入资格材料表
export const subjectMaterialList  = (data) => {
    return apiResquest({
        url: `/base/app/lab/api/subjectMaterialList`,
        method: 'GET',
        data: data,
    })
};
//提交准入申请
export const accessReview  = (data) => {
    return apiResquest({
        url: `/base/app/lab/api/accessReview`,
        method: 'POST',
        data: {...data}
    })
};
//查询院系列表
export const departmentsList  = (data) => {
    return apiResquest({
        url: `/base/app/sysuser/api/departments/list`,
        method: 'GET',
        data: data,
    })
};
//根据院系查询楼栋列表
export const buildingList  = (data) => {
    return apiResquest({
        url: `/base/app/sysuser/api/building/list`,
        method: 'GET',
        data: data,
    })
};
//根据楼栋查询列表
export const mySecuritySubjectList  = (data) => {
    return apiResquest({
        url: `/base/app/lab/api/mySecuritySubjectList`,
        method: 'GET',
        data: data,
    })
};