123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542 |
- import request from "../../tools/request";
- //风机绩效榜
- const benchmarking = (data) => {
- return request({
- url: `/consumer/benchmarking/fjjxb?wpids=${data.wpids}&projectids=${data.projectids}&lineids=${data.lineids}&beginDate=${data.beginDate}&endDate=${data.endDate}&type=${data.type}&target=${data.target}&sort=${data.sort}`,
- method: "get",
- });
- };
- const benchmarkingLineList = (data) => {
- return request({
- url: `/consumer/benchmarking/lineList?projects=${data.projects}`,
- method: "get",
- });
- };
- const benchmarkingWplist = (data) => {
- return request({
- url: `/consumer/benchmarking/wplist`,
- method: "get",
- });
- };
- const benchmarkingProjectList = (data) => {
- return request({
- url: `/consumer/benchmarking/projectList?wpids=${data.wpids}`,
- method: "get",
- });
- };
- // ************************* NewPages power-benchmarking.vue
- const benchmarkingDbmainbottom = (data) => {
- return request({
- url: `/consumer/benchmarking/dbmainbottom?timetype=${data.timetype}&foreigntype=${data.foreigntype}`,
- method: "get",
- });
- };
- const benchmarkingDbmaintop = (data) => {
- return request({
- url: `/consumer/benchmarking/dbmaintop?timetype=${data.timetype}&foreigntype=${data.foreigntype}`,
- method: "get",
- });
- };
- // 节能减排KPI
- const targetdataJnjpkpi = (data) => {
- return request({
- url: `/consumer/targetdata/jnjpkpi?month=${data.month}`,
- method: "get",
- });
- };
- //风机绩效榜明细
- const benchmarkingWplist1 = (data) => {
- return request({
- url: `/consumer/benchmarking/wplist`,
- method: "get",
- });
- };
- // const benchmarkingLineList1 = (data) => {
- // return request({
- // url: `/consumer/benchmarking/lineList?month=${data.projects}`,
- // method: "get",
- // });
- // };
- //五项损失率
- const benchmarkingDetails = (data) => {
- return request({
- url: `/consumer/benchmarking/details?id=${data.id}&beginDate=${data.beginDate}&endDate=${data.endDate}&target=${data.target}&sort=${data.sort}`,
- method: "get",
- });
- };
- const benchmarkingWplist2 = () => {
- return request({
- url: `/consumer/benchmarking/wplist`,
- method: "get",
- });
- }
- const benchmarkingWxssl = (data) => {
- return request({
- url: `/consumer/benchmarking/wxssl?wpids=${data.wpids}&projectids=${data.projectids}&lineids=${data.lineids}&beginDate=${data.beginDate}&endDate=${data.endDate}&target=${data.target}&sort=${data.sort}`,
- method: "get",
- });
- };
- //场内对标
- const benchmarkingCndb = (data) => {
- return request({
- url: `/consumer/benchmarking/cndb?wpid=${data.wpid}&beginDate=${data.beginDate}&endDate=${data.endDate}&target=${data.target}&sort=${data.sort}`,
- method: "get",
- });
- };
- //场际对标
- const benchmarkingCjdb = (data) => {
- return request({
- url: `/consumer/benchmarking/cjdb?wpids=${data.wpids}&projectids=${data.projectids}&lineids=${data.lineids}&beginDate=${data.beginDate}&endDate=${data.endDate}&target=${data.target}&sort=${data.sort}`,
- method: "get",
- });
- };
- //项目对标
- const benchmarkingXmdb = (data) => {
- return request({
- url: `/consumer/benchmarking/xmdb?wpids=${data.wpids}&projectids=${data.projectids}&beginDate=${data.beginDate}&endDate=${data.endDate}&target=${data.target}&sort=${data.sort}`,
- method: "get",
- });
- };
- //线路对标
- const benchmarkingXldb = (data) => {
- return request({
- url: `/consumer/benchmarking/xldb?wpids=${data.wpids}&projectids=${data.projectids}&lineids=${data.lineids}&beginDate=${data.beginDate}&endDate=${data.endDate}&target=${data.target}&sort=${data.sort}`,
- method: "get",
- });
- };
- //值际对标
- const benchmarkingZjwxssl = (data) => {
- return request({
- url: `/consumer/benchmarking/zjwxssl?beginDate=${data.beginDate}&endDate=${data.endDate}`,
- method: "get",
- });
- };
- //操作指令统计
- const benchmarkingZjlist = (data) => {
- return request({
- url: `/consumer/benchmarking/zjlist?beginDate=${data.beginDate}&endDate=${data.endDate}`,
- method: "get",
- });
- };
- const benchmarkingZjdrill = (data) => {
- return request({
- url: `/consumer/benchmarking/zjdrill?beginDate=${data.beginDate}&endDate=${data.endDate}&dutyname=${data.dutyname}&direct=${data.direct}`,
- method: "get",
- });
- };
- //单机横向对比
- const benchmarkingWtList = (data) => {
- return request({
- url: `/consumer/benchmarking/wtList?wpid=${data.wpid}`,
- method: "get",
- });
- };
- const ajaxName = (data) => {
- return request({
- url: `/consumer/benchmarking/${data.ajaxName}?wpid=${data.wpid}&wtids=${data.wtids}&date=${data.date}&target=${data.target}&sort=${data.sort}`,
- method: "get",
- });
- };
- const benchmarkingDjhxdbbottom = (data) => {
- return request({
- url: `/consumer/benchmarking/djhxdbbottom?wpid=${data.wpid}&wtids=${data.wtids}&date=${data.date}`,
- method: "get",
- });
- };
- // 三率管理/复位及时率
- const threerateFwjsl = (data) => {
- return request({
- url: `/consumer//threerate/fwjsl?beginDate=${data.beginDate}&endDate=${data.endDate}`,
- method: "get",
- });
- };
- // 三率管理/状态转换率
- const threerateZtzhl = (data) => {
- return request({
- url: `/consumer/threerate/ztzhl?beginDate=${data.beginDate}&endDate=${data.endDate}`,
- method: "get",
- });
- };
- // 三率管理/消缺及时率
- const threerateXqjsl = (data) => {
- return request({
- url: `/consumer/threerate/xqjsl?beginDate=${data.beginDate}&endDate=${data.endDate}`,
- method: "get",
- });
- };
- // 发电效率排行
- const powercompareWindfarmAllAjax = (data) => {
- return request({
- url: `/consumer/powercompare/windfarmAllAjax?type=${data.type}`,
- method: "get",
- });
- };
- const leaderboardLoadfactortoplist = (data) => {
- return request({
- url: `/consumer/leaderboard/loadfactortoplist`,
- method: "post",
- data:data
- });
- };
- // 总发电效率排行
- const leaderboardTotalPowerCapacityTopList = (data) => {
- return request({
- url: `/consumer/leaderboard/totalPowerCapacityTopList?wpIps=${data.wpIps}&isAsc=${data.isAsc}&beginDate=${data.beginDate}&endDate=${data.endDate}&orderByColumn=${data.orderByColumn}`,
- method: "get",
- });
- };
- // 报警排行
- const leaderboardQuerywarningStatistical = (data) => {
- return request({
- url: `/consumer/leaderboard/querywarningStatistical`,
- method: "post",
- data:data
- });
- };
- // 专题分析
- const specificMaincenterlist = (data) => {
- return request({
- url: `/consumer/specific/maincenterlist?month=${data.month}`,
- method: "get",
- });
- };
- const specificMaintoplist = (data) => {
- return request({
- url: `/consumer/specific/maintoplist?month=${data.month}`,
- method: "get",
- });
- };
- // 风能利用率
- const specificFnlylList = (data) => {
- return request({
- url: `/consumer/specific/fnlylList?year=${data.year}`,
- method: "get",
- });
- };
- // 故障损失率
- const specificGzsslList = (data) => {
- return request({
- url: `/consumer/specific/gzsslList?year=${data.year}`,
- method: "get",
- });
- };
- // 限电损失率
- const specificXdsslList = (data) => {
- return request({
- url: `/consumer/specific/xdsslList?year=${data.year}`,
- method: "get",
- });
- };
- // 性能损失率
- const specificXnsslList = (data) => {
- return request({
- url: `/consumer/specific/xnsslList?year=${data.year}`,
- method: "get",
- });
- };
- // 受累损失率
- const specificSlsslList = (data) => {
- return request({
- url: `/consumer/specific/slsslList?year=${data.year}`,
- method: "get",
- });
- };
- // mtbf
- const specificMtbfList = (data) => {
- return request({
- url: `/consumer/specific/mtbfList?year=${data.year}`,
- method: "get",
- });
- };
- // mttr
- const specificMttrList = (data) => {
- return request({
- url: `/consumer/specific/mttrList?year=${data.year}`,
- method: "get",
- });
- };
- // 复位及时率
- const specificFwjslList = (data) => {
- return request({
- url: `/consumer/specific/fwjslList?year=${data.year}`,
- method: "get",
- });
- };
- // 状态转换率
- const specificZtzhlList = (data) => {
- return request({
- url: `/consumer/specific/ztzhlList?year=${data.year}`,
- method: "get",
- });
- };
- // 消缺及时率
- const specificXqjslList = (data) => {
- return request({
- url: `/consumer/specific/xqjslList?year=${data.year}`,
- method: "get",
- });
- };
- // 发电量分析
- const specificFdlList = (data) => {
- return request({
- url: `/consumer/specific/fdlList?year=${data.year}`,
- method: "get",
- });
- };
- // 综合场用电量
- const specificZhcydlList = (data) => {
- return request({
- url: `/consumer/specific/zhcydlList?year=${data.year}`,
- method: "get",
- });
- };
- // 单机信息总览
- const powercompareWindfarmAjax = (data) => {
- return request({
- url: `/consumer/powercompare/windfarmAjax`,
- method: "get",
- });
- };
- const goodnessWindturbinegoodness = (data) => {
- return request({
- url: `/consumer/goodness/windturbinegoodness`,
- method: "post",
- data:data
- });
- };
- const powercompareWindturbineAjax = (data) => {
- return request({
- url: `/consumer/powercompare/windturbineAjax?wpId=${data.wpId}`,
- method: "get",
- });
- };
- const goodnessGoodhistorylist = (data) => {
- return request({
- url: `/consumer/goodness/goodhistorylist`,
- method: "post",
- data:data
- });
- };
- // 单机信息总览详情
- const goodnessFindWtRealPowerChar = (data) => {
- return request({
- url: `/consumer/goodness/findWtRealPowerChar`,
- method: "post",
- data:data
- });
- };
- const goodnessGetplotBands = (data) => {
- return request({
- url: `/consumer/goodness/getplotBands`,
- method: "post",
- data:data
- });
- };
- const goodnessPlotBandAjax = (data) => {
- return request({
- url: `/consumer/goodness/plotBandAjax`,
- method: "post",
- data:data
- });
- };
- const goodnessFindRealPowerCharBy24 = (data) => {
- return request({
- url: `/consumer/goodness/findRealPowerCharBy24`,
- method: "post",
- data:data
- });
- };
- const goodnessBjjllist = (data) => {
- return request({
- url: `/consumer/goodness/bjjllist`,
- method: "post",
- data:data
- });
- };
- const goodnessGzjllist = (data) => {
- return request({
- url: `/consumer/goodness/gzjllist`,
- method: "post",
- data:data
- });
- };
- const goodnessXdjllist = (data) => {
- return request({
- url: `/consumer/goodness/xdjllist`,
- method: "post",
- data:data
- });
- };
- const goodnessWadAjax = (data) => {
- return request({
- url: `/consumer/goodness/wadAjax`,
- method: "post",
- data:data
- });
- };
- const goodnessBphlist = (data) => {
- return request({
- url: `/consumer/goodness/bjphlist`,
- method: "post",
- data:data
- });
- };
- const goodnessGlchat = (data) => {
- return request({
- url: `/consumer/goodness/glchat`,
- method: "post",
- data:data
- });
- };
- const goodnessFjfzy = (data) => {
- return request({
- url: `/consumer/goodness/fjfzy`,
- method: "post",
- data:data
- });
- };
- const requestData1 = (data) => {
- return request({
- url: `/consumer/${data.subUrl}`,
- method: "post",
- data:data
- });
- };
- //znzhfx.vue
- const singleanalysisSingleanalysisSub = (data) => {
- return request({
- url: `/consumer/singleanalysis/singleanalysisSub`,
- method: "post",
- data:data
- });
- };
- const singleanalysisSingleanalysisChart = (data) => {
- return request({
- url: `/consumer/singleanalysis/singleanalysisChart`,
- method: "post",
- data:data
- });
- };
- // 单机月度分析
- const singleanalysisSingleanalysisMain = (data) => {
- return request({
- url: `/consumer/singleanalysis/singleanalysisMain`,
- method: "post",
- data:data
- });
- };
- //电量分析 未绑定界面
- //forecast-system.vue
- const powercompareWindfarmAllAjax2 = (data) => {
- return request({
- url: `/consumer/powercompare/windfarmAllAjax`,
- method: "get",
- });
- };
- const weatherWeatherInfo = (data) => {
- return request({
- url: `/consumer/weather/weatherInfo?wpId=${data.wpId}`,
- method: "get",
- });
- };
- const weatherWatherChart = (data) => {
- return request({
- url: `/consumer/weather/weatherChart`,
- method: "post",
- data:data
- });
- };
- export default {
- benchmarking,
- benchmarkingLineList,
- benchmarkingWplist,
- benchmarkingProjectList,
- benchmarkingDbmainbottom,
- benchmarkingDbmaintop,
- targetdataJnjpkpi,
- benchmarkingWplist1,
- // benchmarkingLineList1,
- benchmarkingDetails,
- benchmarkingWplist2,
- benchmarkingWxssl,
- benchmarkingCndb,
- benchmarkingCjdb,
- benchmarkingXmdb,
- benchmarkingXldb,
- benchmarkingZjwxssl,
- benchmarkingZjlist,
- benchmarkingZjdrill,
- benchmarkingWtList,
- benchmarkingDjhxdbbottom,
- threerateFwjsl,
- threerateZtzhl,
- threerateXqjsl,
- powercompareWindfarmAllAjax,
- leaderboardLoadfactortoplist,
- leaderboardTotalPowerCapacityTopList,
- leaderboardQuerywarningStatistical,
- specificMaincenterlist,
- specificMaintoplist,
- specificFnlylList,
- specificGzsslList,
- specificXdsslList,
- specificXnsslList,
- specificSlsslList,
- specificMtbfList,
- specificMttrList,
- specificFwjslList,
- specificZtzhlList,
- specificXqjslList,
- specificFdlList,
- specificZhcydlList,
- powercompareWindfarmAjax,
- goodnessWindturbinegoodness,
- powercompareWindturbineAjax,
- goodnessGoodhistorylist,
- goodnessFindWtRealPowerChar,
- goodnessGetplotBands,
- goodnessPlotBandAjax,
- ajaxName,
- goodnessFindRealPowerCharBy24,
- goodnessBjjllist,
- goodnessGzjllist,
- goodnessXdjllist,
- goodnessWadAjax,
- goodnessBphlist,
- goodnessGlchat,
- goodnessFjfzy,
- requestData1,
- singleanalysisSingleanalysisSub,
- singleanalysisSingleanalysisChart,
- singleanalysisSingleanalysisMain,
- powercompareWindfarmAllAjax2,
- weatherWeatherInfo,
- weatherWatherChart
- }
|