import axios from './network'
// 1.1 学校基础信息采集量表
export const adminSchoolJCCJLB = (obj) => axios.post('/admin/school', obj)
// 1.2 学校设备采集信息采集量表
export const adminSchoolequipment = (obj) => axios.post('/admin/school-equipment', obj)
// 1.3 学校人员基础信息采集量表数据保存
export const adminschoolpersonnelinfo = (obj) => axios.post('/admin/school-personnel-info', obj)
// 1.4 学生欺凌委员会信息采集量表
export const adminqlcommitteecollection = (obj) => axios.post('/admin/ql-committee-collection', obj)
// 1.5 学校规章制度采集量表
export const adminregulationssystemcollection = (obj) => axios.post('/admin/regulations-system-collection', obj)
// 1.6 常态工作-事前预防工作统计表数据对象
export const adminpreventiveworkadvance = (obj) => axios.post('/admin/preventive-work-advance', obj)
// 1.7 常态工作-事中发现工作统计表
export const admindiscoverworkstatistics = (obj) => axios.post('/admin/discover-work-statistics', obj)
// 1.8 常态工作-事后处理工作统计表
export const adminhandleworkstatistics = (obj) => axios.post('/admin/handle-work-statistics', obj)
// 2.1 常态工作-日常预防行为记录表
export const adminRecordpreventivebehaviors = (obj) => axios.post('/admin/record-preventive-behaviors', obj)
// 2.2 常态工作-欺凌发现工作记录表
export const adminbullyingdiscoveryrecord = (obj) => axios.post('/admin/bullying-discovery-record', obj)
// 2.3 常态工作-事后处理工作记录表
export const adminhandleworkrecords = (obj) => axios.post('/admin/handle-work-records', obj)
// 量表详情
export const adminfoundationscale = (obj) => axios.get('/admin/foundation-scale/' + obj.id + '/time/' + obj.timer)
// 常态量表详情
export const adminfoundationscaleCt = (obj) => axios.get('/admin/foundation-scale/' + obj.id + '/time/' + obj.timer)
// 上报
export const adminreport = (obj) => axios.post('/admin/report', obj)
// 上报获取倒计时
export const adminreportcycle = () => axios.get('/admin/report/cycle')

// 1.1 学校基础信息采集量表修改
export const adminSchoolJCCJLBPut = (obj) => axios.put('/admin/school/' + obj.id, obj)
// 1.2 学校设备采集信息采集量表
export const adminSchoolequipmentPut = (obj) => axios.put('/admin/school-equipment/' + obj.id, obj)
// 1.3 学校人员基础信息采集量表数据保存
export const adminschoolpersonnelinfoPut = (obj) => axios.put('/admin/school-personnel-info/' + obj.id, obj)
// 1.4 学生欺凌委员会信息采集量表
export const adminqlcommitteecollectionPut = (obj) => axios.put('/admin/ql-committee-collection/' + obj.id, obj)
// 1.5 学校规章制度采集量表
export const adminregulationssystemcollectionPut = (obj) => axios.put('/admin/regulations-system-collection/' + obj.id, obj)
// 1.6 常态工作-事前预防工作统计表数据对象
export const adminpreventiveworkadvancePut = (obj) => axios.put('/admin/preventive-work-advance/' + obj.id, obj)
// 1.7 常态工作-事中发现工作统计表
export const admindiscoverworkstatisticsPut = (obj) => axios.put('/admin/discover-work-statistics/' + obj.id, obj)
// 1.8 常态工作-事后处理工作统计表
export const adminhandleworkstatisticsPut = (obj) => axios.put('/admin/handle-work-statistics/' + obj.id, obj)
// 2.1 常态工作-日常预防行为记录表
export const adminRecordpreventivebehaviorsPut = (obj) => axios.put('/admin/record-preventive-behaviors/' + obj.id, obj)
// 2.2 常态工作-欺凌发现工作记录表
export const adminbullyingdiscoveryrecordPut = (obj) => axios.put('/admin/bullying-discovery-record/' + obj.id, obj)
// 2.3 常态工作-事后处理工作记录表
export const adminhandleworkrecordsPut = (obj) => axios.put('/admin/handle-work-records/' + obj.id, obj)

// 常态工作量表提交历史记录列表
export const adminscalesubmitinfo = (obj) => axios.get('/admin/scale-submit-info?scale_lv1=' + obj.id + '&time=' + obj.timer)
// 常态工作量表提交历史记录
export const adminscalesubmitinfoGet = (id) => axios.get('/admin/scale-submit-info/' + id)
// 获取上报进度列表
export const adminreportprogress = () => axios.get('/admin/report/progress')
// 获取上报进度
export const adminisprogress = () => axios.get('/admin/is/progress')
export const adminreportqx = (code) => axios.get('/admin/report/qx?code=' + code)
export const adminoweport = () => axios.get('/admin/now/report')

