import request from "./request"; import Qs from "qs"; const getQs = obj => { return Qs.stringify(obj); }; const api = "/api"; // 用户登录 export const userLogin = params => { return request(`${api}/sys/login`, { method: "POST", data: getQs(params) }); }; // 注销登陆 export const userLogout = () => { return request(`${api}/logout`); }; // 获取登录的用户信息 export const getUserInfo = () => { return request(`${api}/sys/user/info`); }; // 获取导航菜单 export const getMenuNav = () => { return request(`${api}/sys/menu/nav`); }; // 一张图 获取监测报警 数量 export const getstatisticsData = () => { let _data = { current: 0, size: 0, data: {} }; return request(`${api}/prowarnlog/statistics`, { method: "POST", data: _data }); }; // 获取近三年年径流总量数据 export const runoffData = params => { let data = { data: { sidx: "year", order: "asc", num: 5 } }; return request(`${api}/proAmountRunoff/dataRecentYear/5`, { method: "get", data: params || data }); }; // 获取近三年面源污染数据 export const pollutionData = params => { let data = { data: { sidx: "year", order: "asc", num: 5 } }; return request(`${api}/proSurfacedyeingPollution/dataRecentYear/5`, { method: "get", data: params || data }); }; // 获取近三年生态岸线数据 export const ecologicalData = params => { let data = { data: { num: 5 } }; return request(`${api}/proEcologicalRate/dataRecentYear/5`, { method: "get", data: params || data }); }; // 获取近三年水环境数据 export const environmentData = params => { let data = { data: { sidx: "year", order: "asc", num: 5 } }; return request(`${api}/proSurfacewaterEnvironment/dataRecentYear/5`, { method: "get", data: params || data }); }; // 获取近三年雨水利用率数据 export const runoffrateData = params => { let data = { data: { sidx: "CreateTime", order: "asc", num: 5 } }; return request(`${api}/proRunoffRate/dataRecentYear/5`, { method: "get", data: params || data }); }; // 获取近三年污水利用率 export const utilizationrateData = params => { let data = { data: { sidx: "year", order: "asc", num: 3 } }; return request(`${api}/proUtilizationRate/dataRecentYear/3`, { method: "get", data: params || data }); }; // 获取污水去向占比数据 export const proReuseData = params => { return request(`${api}/proUtilizationRateReuse/list`, { method: "get", params: {...params } }); }; // 获取不同类型制度建设文件 export const proeaefileData = params => { return request(`${api}/proEaeFile/page`, { method: "GET", params }); }; // 获取不同类型制度建设文件新增 export const addfileData = data => { return request(`${api}/proEaeFile/add`, { method: "post", data }); }; // 获取不同类型制度建设文件修改 export const editfileData = data => { return request(`${api}/proEaeFile/edit`, { method: "put", data }); }; // 获取不同类型制度建设文件删除 export const deletefileData = ids => { return request(`${api}/proEaeFile/${ids}`, { method: "delete", // params }); }; // 获取区划编号 export const strictinfoData = params => { let data = { data: {}, current: 1, size: 100 }; return request(`${api}/basedistrictinfo/queryPage`, { method: "POST", data }); }; // 上传文件 export const uploadFile = params => { return request(`${api}/cloud/uploadBatch`, { method: "POST", data: params }); }; // 水环境 // 获取水质分析图数据 export const watersecurityData = params => { return request(`${api}/proDrinkwaterSecurity/queryByYear`, { method: "POST", data: params }); }; // 水环境 // 水质综合分析图数据 export const prodrinkwatersecurityWaterAnalyze = params => { return request(`${api}/prodrinkwatersecurity/waterAnalyze`, { method: "POST", data: params }); }; // 获取所有站点类别 export const basetypeinfoData = id => { let data = { current: 0, data: { parentid: id || 1 }, size: 0 }; return request(`${api}/basetypeinfo/queryPage`, { method: "POST", data }); }; // 根据站点类别获取站点 export const prositeinfoData = id => { let data = { current: 0, data: { typeId: id }, size: 0 }; return request(`${api}/prositeinfo/queryPage`, { method: "POST", data }); }; // 获取监测点历史报表表头 export const listHistoryDataTitle = siteNo => { let _data = { size: 0, current: 0, data: { siteNo } }; return request(`${api}/prositeinfo/getHistoryDataTitle`, { method: "POST", data: _data }); }; // 获取监测点历史报表 export const listHistoryData = params => { return request(`${api}/prositeinfo/listHistoryData`, { method: "POST", data: params }); }; // 根据时间查询监测点报表 export const getHistoryDataCharts = params => { // return request(`${api}/prositeinfo/getHistoryDataEchartsByTime`, { // method: "POST", // data: params // }); return request(`${api}/prositeinfo/getHistoryDataEcharts`, { method: "POST", data: params }); }; export const getHistoryDataChartsByTime = params => { return request(`${api}/prositeinfo/getHistoryDataEchartsByTime`, { method: "POST", data: params }); } // 告警信息查询 获取报警信息 export const prowarnlogData = params => { return request(`${api}/prowarnlog/queryPage`, { method: "POST", data: params }); }; // 告警信息查询 查看图片 export const picDataGetPic = params => { return request(`${api}/picData/getPic`, { method: "POST", data: params }); }; // 报警预警信息批量审核 export const prowarnlogUpdateBatch = params => { return request(`${api}/prowarnlog/updateBatch`, { method: "POST", data: params }); }; // 在线监测 实时数据 获取表头数据 export const monitoringServicesTitle = id => { const params = { size: 0, current: 0, data: { typeId: id } }; return request(`${api}/prositeinfo/getTempDataTrendTitle`, { method: "POST", data: params }); }; // 在线监测 监测点历史报表 获取分类 export const echartsPropertyData = params => { return request(`${api}/prositeinfo/getEchartsProperty`, { method: "POST", data: params }); }; // 在线监测 实时数据 获取表格数据 export const monitoringServicesTable = params => { return request(`${api}/prositeinfo/getTempDataTrend`, { method: "POST", data: params }); }; // 在线监测 监测点概览图 获取总数 export const monitoringGetCount = () => { return request(`${api}/prositeinfo/getCount`, { method: "POST" }); }; // 在线监测 地图 获取所有站点点位坐标 export const getSiteStatusList = params => { return request(`${api}/prositeinfo/getSiteStatusList`, { method: "POST", data: params }); }; // 在线监测 设备状态监控 获取图表数据 export const getSiteAlarmTimes = data => { const params = { size: 0, current: 0, data }; return request(`${api}/prositeinfo/getSiteAlarmTimes`, { method: "POST", data: params }); }; // 项目管理 项目概览 获取 export const proprojectinfoData = params => { return request(`${api}/proprojectinfo/queryByDrainage`, { method: "POST", data: params }); }; // 项目管理 项目信息 获取所有排水分区 export const projectbasedistrictinfoData = params => { return request(`${api}/basedistrictinfo/queryPage`, { method: "POST", data: params }); }; // 项目管理 项目信息 获取所有建设类型 export const projectbasetypeinfoData = params => { return request(`${api}/basetypeinfo/getTree`, { method: "POST", data: params }); }; // 项目管理 项目信息 获取所有建设类型 export const proprojectinfoData1 = params => { return request(`${api}/proprojectinfo/queryPage`, { method: "POST", data: params }); }; // 项目管理 项目月报 export const projectreportData = params => { return request(`${api}/proprojectreport/queryPage`, { method: "POST", data: params }); }; // 项目管理 数据共享 获取列表数据 export const projectdataSharingData = params => { return request(`${api}/proprojectinfo/queryProCompletionDegree`, { method: "POST", data: params }); }; // 配置中心 项目月报 新增月报 export const proprojectreportSave = params => { return request(`${api}/proprojectreport/save`, { method: "POST", data: params }); }; // 配置中心 项目月报 修改月报 export const proprojectreportUpdate = params => { return request(`${api}/proprojectreport/update`, { method: "POST", data: params }); }; // 配置中心 项目月报 删除月报 export const proprojectreportDelete = params => { return request(`${api}/proprojectreport/delete`, { method: "POST", data: params }); }; // 配置中心 项目管理 新增项目 export const proprojectinfoSave = params => { return request(`${api}/proprojectinfo/save`, { method: "POST", data: params }); }; // 配置中心 项目管理 修改项目 export const proprojectinfoUpdate = params => { return request(`${api}/proprojectinfo/update`, { method: "POST", data: params }); }; // 配置中心 项目管理 删除项目 export const proprojectinfoDelete = params => { return request(`${api}/proprojectinfo/delete`, { method: "POST", data: params }); }; // 配置中心 项目管理 根据项目编号查询指标配置 export const protargetprojectData = params => { return request(`${api}/protargetproject/queryPage`, { method: "POST", data: params }); }; // 配置中心 项目设施 获取表格数据 export const profacilitiesinfoData = params => { return request(`${api}/profacilitiesinfo/queryPage`, { method: "POST", data: params }); }; // 配置中心 项目设施 删除表格数据 export const profacilitiesinfoDelete = params => { return request(`${api}/profacilitiesinfo/deleteBatch`, { method: "POST", data: params }); }; // 配置中心 项目设施 新增项目设施 export const profacilitiesinfoSave = params => { return request(`${api}/profacilitiesinfo/save`, { method: "POST", data: params }); }; // 配置中心 项目设施 修改项目设施 export const profacilitiesinfoUpdate = params => { return request(`${api}/profacilitiesinfo/update`, { method: "POST", data: params }); }; // 配置中心 项目节点 获取所有节点 export const pronodeinfoData = projectNo => { const params = { size: 0, current: 0, data: { projectNo: projectNo || "" } }; return request(`${api}/pronodeinfo/queryList`, { method: "POST", data: params }); }; // 配置中心 项目节点 新增节点 export const pronodeinfoSave = params => { return request(`${api}/pronodeinfo/save`, { method: "POST", data: params }); }; // 配置中心 项目节点 删除节点 export const pronodeinfoDelete = params => { return request(`${api}/pronodeinfo/delete`, { method: "POST", data: params }); }; // 配置中心 项目节点 修改节点 export const pronodeinfoUpdate = params => { return request(`${api}/pronodeinfo/update`, { method: "POST", data: params }); }; // 配置中心 项目节点 分配节点 export const pronodeprojectSave = params => { return request(`${api}/pronodeproject/save`, { method: "POST", data: params }); }; // 配置中心 预警报警配置 获取站点树形列表 export const prositeinfoGetTree = params => { return request(`${api}/prositeinfo/getTree`, { method: "POST", data: params }); }; // 配置中心 站点配置 获取所有站点类型 export const basetypeinfoData1 = params => { return request(`${api}/basetypeinfo/queryPage`, { method: "POST", data: params }); }; // 配置中心 站点配置 获取表格数据 export const prositeinfoData1 = params => { return request(`${api}/prositeinfo/queryPage`, { method: "POST", data: params }); }; // 配置中心 站点配置 新增站点 export const prositeinfoSave = params => { return request(`${api}/prositeinfo/save`, { method: "POST", data: params }); }; // 配置中心 站点配置 修改站点 export const prositeinfoUpdate = params => { return request(`${api}/prositeinfo/update`, { method: "POST", data: params }); }; // 配置中心 站点配置 删除站点 export const prositeinfoDelete = params => { return request(`${api}/prositeinfo/deleteBatch`, { method: "POST", data: params }); }; // 配置中心 站点配置 根据站点编号获取已分配的设备 export const prositeinfohavaAllocated = params => { return request(`${api}/prositeinfo/havaAllocated`, { method: "POST", data: params }); }; // 配置中心 站点配置 删除站点已分配的设备 export const prositeequipDelete = params => { return request(`${api}/prositeequip/delete`, { method: "POST", data: params }); }; // 配置中心 站点配置 设置站点的设备 export const prositeequipSave = params => { return request(`${api}/prositeequip/save`, { method: "POST", data: params }); }; // 配置中心 设备配置 获取设备列表 export const proequipinfoData = params => { return request(`${api}/proequipinfo/queryPage`, { method: "POST", data: params }); }; // 配置中心 设备配置 新增设备 export const proequipinfoSave = params => { return request(`${api}/proequipinfo/save`, { method: "POST", data: params }); }; // 配置中心 设备配置 新增设备 export const proequipinfoUpdate = params => { return request(`${api}/proequipinfo/update`, { method: "POST", data: params }); }; // 配置中心 设备配置 删除设备 export const proequipinfoDelete = params => { return request(`${api}/proequipinfo/deleteBatch`, { method: "POST", data: params }); }; // 配置中心 设备配置 获取已分配/未分配的因子 export const proequipinfoHavaAllocated1 = params => { return request(`${api}/proequipinfo/havaAllocated`, { method: "POST", data: params }); }; // 配置中心 设备配置 分配因子 export const proequipfactorsSave = params => { return request(`${api}/proequipfactors/save`, { method: "POST", data: params }); }; // 配置中心 因子配置 查询因子 export const profactorsinfoData = params => { return request(`${api}/profactorsinfo/queryPage`, { method: "POST", data: params }); }; // 配置中心 因子配置 新增因子 export const profactorsinfoSave = params => { return request(`${api}/profactorsinfo/save`, { method: "POST", data: params }); }; // 配置中心 因子配置 修改因子 export const profactorsinfoUpdate = params => { return request(`${api}/profactorsinfo/update`, { method: "POST", data: params }); }; // 配置中心 因子配置 删除因子 export const profactorsinfoDelete = params => { return request(`${api}/profactorsinfo/deleteBatch`, { method: "POST", data: params }); }; // 配置中心 污水点位信息 获取列表数据 export const prosewagepointData = params => { return request(`${api}/prosewagepoint/queryPage`, { method: "POST", data: params }); }; // 配置中心 污水点位信息 获取列表数据 export const prosewagepointSave = params => { return request(`${api}/prosewagepoint/save`, { method: "POST", data: params }); }; // 配置中心 预警报警 获取表格数据 export const prositewarnData = params => { return request(`${api}/prositewarn/queryPage`, { method: "POST", data: params }); }; // 配置中心 预警报警 获取站点未配置的因子 export const prositewarnHavaAllocated = params => { return request(`${api}/prositewarn/havaAllocated`, { method: "POST", data: params }); }; // 配置中心 预警报警 新增 export const prositewarnSave = params => { return request(`${api}/prositewarn/save`, { method: "POST", data: params }); }; // 配置中心 预警报警 修改 export const prositewarnUpdate = params => { return request(`${api}/prositewarn/update`, { method: "POST", data: params }); }; // 配置中心 预警报警 删除 export const prositewarnDelete = params => { return request(`${api}/prositewarn/deleteBatch`, { method: "POST", data: params }); }; // 配置中心 水质采样点 获取表格数据 export const prosamplepointconfigData = params => { return request(`${api}/proSamplepointConfig/page`, { method: "get", params }); }; // 配置中心 水质采样点 获取表格数据删除 export const deleteConfigData = ids => { return request(`${api}/proSamplepointConfig/${ids}`, { method: "delete", // data: params }); }; // 配置中心 水质采样点 获取表格数据修改 export const editConfigData = data => { return request(`${api}/proSamplepointConfig/edit`, { method: "put", data, }); }; // 配置中心 水质采样点 新增 export const prosamplepointconfigSave = params => { return request(`${api}/proSamplepointConfig/add`, { method: "POST", data: params }); }; // 根据type 类型查询取样点下拉列表 export const prosamplepointconfigSiteList = params => { return request(`${api}/proSamplepointConfig/list/by/${params}`, { method: "GET", params }); }; // 配置中心 水质分析 获取表格数据 export const prosamplepointconfigTableData = params => { return request(`${api}/proDrinkwaterSecurity/page`, { method: "get", params }); }; // 配置中心 水质分析 新增 export const prosamplepointconfigSave2 = params => { return request(`${api}/proDrinkwaterSecurity/add`, { method: "POST", data: params }); }; // 根据站点类别获取站点(一张图的水安全、径流监测站、雨量监测站用) export const prositeinfoData2 = id => { let data = { current: 0, data: { typeId: id }, size: 0 }; return request(`${api}/prositeinfo/queryPage`, { method: "POST", data }); }; // 根据站点类别获取站点(一张图的水环境用) export const environmentinfoData = params => { return request(`${api}/prosamplepointconfig/queryByParam`, { method: "POST", data: params }); }; // 根据站点类别获取站点(一张图的水生态用) export const ecologicalinfoData = params => { return request(`${api}/proecologicalcoast/queryPage`, { method: "POST", data: params }); }; // 根据站点类别获取站点(一张图的项目信息用) export const projectinfoData2 = gisNumber => { const params = { size: 0, current: 0, data: { gisNumber: gisNumber } }; return request(`${api}/proprojectinfo/queryPage`, { method: "POST", data: params }); }; // 一张图 水环境详细属性查询 export const getListOfwaterEnvironMent = id => { const params = { size: 0, current: 0, data: { pointNo: id } }; return request(`${api}/prodrinkwatersecurity/queryCurrentData`, { method: "POST", data: params }); }; // 一张图 图层菜单树 export const getLayerList = () => { return request(`${api}/basemapmenu/menuTree`, { method: "POST" }); }; // 一张图 根据站点siteNo获取站点属性 export const getlistTempData = siteNo => { let data = { current: 0, data: { siteNo: siteNo }, size: 0 }; return request(`${api}/prositeinfo/listTempData`, { method: "POST", data }); }; // 一张图 根据站点siteNo获取水安全最后一张照片 export const lastPic = params => { return request(`${api}/picData/lastPic`, { method: "POST", data: params }); }; // 一张图 内涝点的历史照片序列 export const picDataPicList = params => { return request(`${api}//picData/picList`, { method: "POST", data: params }); }; //一张图 查看项目详情信息 export const proprojectinfoQueryList = projectNo => { const params = { size: 0, current: 0, data: { projectNo: projectNo || "" } }; return request(`${api}/proprojectinfo/queryList`, { method: "POST", data: params }); }; //一张图 查看项目设施详情 export const profacilitiesinfoQueryList = projectNo => { const params = { size: 0, current: 0, data: { projectNo: projectNo || "" } }; return request(`${api}/profacilitiesinfo/queryList`, { method: "POST", data: params }); }; //一张图 查看项目设施详情 export const pronodeprojectQueryList = projectNo => { const params = { size: 0, current: 0, data: { projectNo: projectNo || "" } }; return request(`${api}/pronodeproject/queryList`, { method: "POST", data: params }); }; // 配置中心 污水利用率信息 获取表格数据 export const proutilizationrateData = params => { return request(`${api}/proUtilizationRate/page`, { method: "get", params }); }; // 配置中心 污水利用率信息 据删除 export const deleteProUtili = ids => { return request(`${api}/proUtilizationRate/${ids}`, { method: "delete", // data: params }); }; // 配置中心 污水利用率信息 据性钙 export const putProUtili = data => { return request(`${api}/proUtilizationRate/edit`, { method: "put", data }); }; // 配置中心 污水利用率信息 新增 export const proutilizationrateSave = params => { return request(`${api}/proUtilizationRate/add`, { method: "POST", data: params }); }; // 配置中心 生态岸线拍摄点 获取表格数据 export const proecologicalcoastData = params => { return request(`${api}/proEcologicalCoast/page`, { method: "get", params, }); }; // 配置中心 生态岸线拍摄点 新增 export const proecologicalcoastSave = params => { return request(`${api}/proEcologicalCoast/add`, { method: "POST", data: params }); }; // 配置中心 生态岸线拍摄点 删除 export const proecologicalcoastDelete = ids => { return request(`${api}/proEcologicalCoast/${ids}`, { method: "delete", // data: params }); }; // 配置中心 生态岸线拍摄点 修改 export const editCalcoast = params => { return request(`${api}/proEcologicalCoast/edit`, { method: "PUT", data: params }); }; // 上传图片 export const uploadImages = data => { return request({ url: `/dev-api/system/upload`, method: "post", data, headers: { "Content-Type": "multipart/form-data" } }); }; // 系统管理 用户管理 获取列表 export const sysUserList = params => { return request(`${api}/sys/user/list`, { method: "POST", data: params }); }; // 系统管理 用户管理 获取角色列表 export const sysRoleList = params => { return request(`${api}/sys/role/list`, { method: "POST", data: params }); }; // 系统管理 用户管理 获取部门树列表 export const sysDeptTreeData = params => { return request(`${api}/sys/dept/getTree`, { method: "POST", data: params }); }; // 系统管理 用户管理 新增 export const sysUserSave = params => { return request(`${api}/sys/user/save`, { method: "POST", data: params }); }; // 系统管理 用户管理 更新 export const sysUserUpdate = params => { return request(`${api}/sys/user/update`, { method: "POST", data: params }); }; // 系统管理 用户管理 删除 export const sysUserDelete = params => { return request(`${api}/sys/user/delete`, { method: "POST", data: params }); }; // 配置中心 项目管理 查看配置的设施 export const proprojectfacilitiesHave = params => { return request(`${api}/proprojectfacilities/queryPage`, { method: "POST", data: params }); }; // 系统管理 用户管理 获取用户详细信息 export const sysUserInfoById = id => { return request(`${api}/sys/user/info/${id}`); }; // 系统管理 角色管理 新增角色 export const sysRoleSave = params => { return request(`${api}/sys/role/save`, { method: "POST", data: params }); }; // 系统管理 角色管理 修改角色 export const sysRoleUpdate = params => { return request(`${api}/sys/role/update`, { method: "POST", data: params }); }; // 系统管理 角色管理 获取角色详细信息 export const sysRoleInfoById = id => { return request(`${api}/sys/role/info/${id}`); }; // 系统管理 角色管理 删除角色 export const sysRoleDelete = params => { return request(`${api}/sys/role/delete`, { method: "POST", data: params }); }; // 系统管理 系统日志 获取日志列表 export const sysLogList = params => { return request(`${api}/sys/log/list`, { method: "POST", data: params }); }; // 系统管理 菜单管理 新增 export const sysMenuSave = params => { return request(`${api}/sys/menu/save`, { method: "POST", data: params }); }; // 系统管理 菜单管理 修改 export const sysMenuUpdate = params => { return request(`${api}/sys/menu/update`, { method: "POST", data: params }); }; // 系统管理 菜单管理 删除 export const sysMenuDelete = id => { return request(`${api}/sys/menu/delete?menuId=${id}`, { method: "DELETE" }); }; // 配置中心 新闻动态 获取列表 export const newstrendsData = params => { return request(`${api}/newstrends/queryPage`, { method: "POST", data: params }); }; // 配置中心 新闻动态 发布新闻 export const newstrendsSave = params => { return request(`${api}/newstrends/save`, { method: "POST", data: params }); }; // 配置中心 新闻动态 更新新闻 export const newstrendsUpdate = params => { return request(`${api}/newstrends/update`, { method: "POST", data: params }); }; // 配置中心 新闻动态 删除新闻 export const newstrendsDelete = params => { return request(`${api}/newstrends/deleteBatch`, { method: "POST", data: params }); }; // 配置中心 项目管理 添加项目设施 export const proprojectfacilitiesSave = params => { return request(`${api}/proprojectfacilities/save`, { method: "POST", data: params }); }; // 配置中心 项目管理 删除项目设施 export const proprojectfacilitiesDelete = params => { return request(`${api}/proprojectfacilities/deleteBatch`, { method: "POST", data: params }); }; // 配置中心 项目管理 更新项目指标配置 export const protargetprojectUpdateAndSave = params => { return request(`${api}/protargetproject/updateAndSave`, { method: "POST", data: params }); }; // 配置中心 项目管理 获取项目图片配置 export const proprojectinfoImageData = params => { return request(`${api}/proprojectinfo/queryList`, { method: "POST", data: params }); }; // 配置中心 项目管理 删除项目图片 export const proprojectinfoImageDelete = params => { return request(`${api}/profileproject/deleteBatch`, { method: "POST", data: params }); }; // 配置中心 项目管理 上传项目图片 export const proprojectinfoImageUpload = params => { return request(`${api}/proprojectinfo/uploadFiles`, { method: "POST", data: params }); }; // 配置中心 设备配置 删除已绑定的设备 export const proequipfactorsDelete = params => { return request(`${api}/proequipfactors/delete`, { method: "POST", data: params }); }; // 导出历史报表 export const exportHistoryData = `${api}/prositeinfo/exportHistoryData` // 获取公众参与列表 export const getPublicListData = params => { return request(`${api}/publicparticipation/queryPage`, { method: 'POST', data: params }) } // 提交新增公众参与数据 export const savePublicData = params => { return request(`${api}/publicparticipation/save`, { method: "POST", data: params }) } // 批量删除公众参与数据 export const delBatchPublicData = params => { return request(`${api}/publicparticipation/deleteBatch`, { method: "POST", data: params, }) } // 湿地水环境模型计算 export const proWetlandCalc = params => { return request(`${api}/proWetland/calc`, { method: "POST", data: params, }) } // 文件上传接口 export const systemUpload = data => { return request({ url: `/dev-api/system/upload`, method: "post", data, headers: { "Content-Type": "multipart/form-data" } }); }; // 根据type 类型查询取样点下拉列表 export const proUtilizationRateList = params => { return request(`${api}//proUtilizationRate/list`, { method: "GET", params }); };