import request from '@/utils/request' // /provinceScreen/getTotalEquipment // 装备总览 export const getTotalEquipmentApi = () => { return request({ url: '/material-mall/provinceScreen/getTotalEquipment', method: 'get', }) } // 线路 变电 电缆 export const getEquipmentClassificationApi = () => { return request({ url: '/material-mall/largeScreen/statByTypeAndAge', method: 'get', }) } // 单位装备配置 / 总价值数 export const getUnitEquipmentConfigurationApi = () => { return request({ url: '/material-mall/provinceScreen/getUnitEquipmentConfiguration', method: 'get', }) } // 装备状态 export const getEquipmentStatusApi = () => { return request({ url: '/material-mall/provinceScreen/getEquipmentStatus', method: 'get', }) } // 项目装备 export const getProjectEquipmentApi = () => { return request({ url: '/material-mall/provinceScreen/getProjectEquipment', method: 'get', }) } // 各单位装备在用率情况 export const getDeptEquipmentApi = () => { return request({ url: '/material-mall/provinceScreen/getDeptEquipment', method: 'get', }) } // 工程在用装备情况 export const getEquipmentUseApi = (data) => { return request({ url: '/material-mall/provinceScreen/getEquipmentUse', method: 'get', params: data, }) } // 装备在用率统计 export const getUsageStatisticsApi = (data) => { return request({ url: '/material-mall/provinceScreen/getUsageStatistics', method: 'get', params: data, }) } // 在库装备数 export const getEquipmentNumberApi = (data) => { return request({ url: '/material-mall/provinceScreen/getEquipmentNumber', method: 'get', params: data, }) } // 机械化率 export const getMechanizationRateApi = (data) => { return request({ url: '/material-mall/provinceScreen/getMechanizationRate', method: 'get', params: data, }) } // 装备范围-下拉 export const getAddressApi = () => { return request({ url: '/material-mall/largeScreen/getAddress', method: 'get', }) } // 地市公司-下拉 export const getDeptApi = (data) => { return request({ url: '/material-mall/largeScreen/getDept', method: 'get', params: data, }) } // 装备类目-树 export const getMaTypeApi = (data) => { return request({ url: '/material-mall/order/secondAndThirdLevel', method: 'get', params: data, }) } // 工程专业-下拉 export const getFirstLevelApi = () => { return request({ url: '/material-mall/order/firstLevel', method: 'get', }) } // 所在项目-下拉 export const getProListApi = (data = {}) => { return request({ url: '/material-mall/decChange/getProList', method: 'post', data, }) } // 变电装备统计分析-装备年限 export const getStatByTypeAndAgeDetailsApi = (data = {}) => { return request({ url: '/material-mall/largeScreen/statByTypeAndAgeDetails', method: 'get', params: data, }) } // 变电装备统计分析-装备价值 export const getStatByTypeAndAgeByEquipmentApi = (data = {}) => { return request({ url: '/material-mall/largeScreen/statByTypeAndAgeByEquipment', method: 'get', params: data, }) } // 变电装备统计分析-地市装备 export const getStatByTypeAndAgeByCityApi = (data = {}) => { return request({ url: '/material-mall/largeScreen/statByTypeAndAgeByCity', method: 'get', params: data, }) } // 单位装备配置-列表 export const getStatByTypeAndAgeByConfigurationApi = (data = {}) => { return request({ url: '/material-mall/largeScreen/statByTypeAndAgeByConfiguration', method: 'get', params: data, }) } // 装备在用率 export const getStatByTypeAndAgeByUsageRateApi = (data = {}) => { return request({ url: '/material-mall/largeScreen/statByTypeAndAgeByUsageRate', method: 'get', params: data, }) } // 装备周转率 export const getStatByTypeAndAgeByTurnoverRateApi = (data = {}) => { return request({ url: '/material-mall/largeScreen/statByTypeAndAgeByTurnoverRate', method: 'get', params: data, }) } // 装备在用率统计-弹框列表 export const getUsageStatisticsDetailsApi = (data = {}) => { return request({ url: '/material-mall/provinceScreen/getUsageStatisticsDetails', method: 'get', params: data, }) } // 工程在用装备情况-弹框列表 export const getEquipmentDetailsApi = (data = {}) => { return request({ url: '/material-mall/provinceScreen/getEquipmentDetails', method: 'get', params: data, }) } // 电压等级 export const getVoltageLevelApi = (data = {}) => { return request({ url: '/material-mall/decChange/getVoltageLevel', method: 'post', data: data, }) }