import request from '@/utils/request' import config from '@/utils/baseConfig' // 获取各类学校数量 export function fetchSchoolCount () { return request({ // baseURL: config.baseUrl, url: '/education/school', method: 'get' }) } // 获取全区学生、教师人数 export function fetchPeopleCount (type) { return request({ // baseURL: config.baseUrl, url: '/education/' + type, method: 'get' }) } // 获取各学校学生教师数量 export function fetchPeopleCountBySchool () { return request({ // baseURL: config.baseUrl, url: '/education/peopleCountBySchool', method: 'get' }) }