123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- import request from "../../../tools/request";
- //获取驾驶舱基础信息
- const findBasicDataInfo = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `genreset/findBasicDataInfo?id=${data.id}`,
- method: "get",
- });
- };
- //获取驾驶舱功率曲线图和电量柱状图信息
- const findPowerInfo = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `genreset/findPowerInfo?id=${data.id}`,
- method: "get",
- });
- };
- const findInfo = (subUrl, data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `${subUrl}?id=${data.id}`,
- method: "get",
- });
- };
- const findInfos = (subUrl, data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `${subUrl}?id=${data.id}&targetName=${data.targetName}`,
- method: "get",
- });
- };
- //预测风速电量
- const forecastwindspeedInfo = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `genreset/getForecastwindspeedInfo?wpId=${data.wpId}`,
- method: "get",
- });
- };
- //未来5天天气预报功能
- const weatherRealDay5Info = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `genreset/getWeatherRealDay5Info?wpId=${data.wpId}`,
- method: "get",
- });
- };
- //基础矩阵
- const matrixPush = (showLoading) => {
- return request({
- showLoading,
- baseURL: process.env.VUE_APP_Matrix,
- url: `matrix/matrixPush`,
- method: "get",
- });
- };
- //全风场简单矩阵
- const findSimpleMatrixAll = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `matrix/findSimpleMatrixAll?wpId=${data.wpId}`,
- method: "get",
- });
- };
- //风机信息
- const findWtInfo = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `monitorwt/findWtInfo?wtId=${data.wtId}`,
- method: "get",
- });
- };
- //明细矩阵
- const matrixDetialPush = (showLoading) => {
- return request({
- showLoading,
- baseURL: process.env.VUE_APP_Matrix,
- url: `matrix/matrixDetialPush`,
- method: "get",
- });
- };
- //
- const findWtWarnInfo = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `monitorwt/findWtWarnInfo?wtId=${data.wtId}`,
- method: "get",
- });
- };
- //欠发矩阵
- const matrixQfPush = (showLoading) => {
- return request({
- showLoading,
- baseURL: process.env.VUE_APP_Matrix,
- url: `matrix/matrixQfPush`,
- method: "get",
- });
- };
- //
- const monitor = (showLoading) => {
- return request({
- showLoading,
- baseURL: process.env.VUE_APP_Matrix,
- url: `monitor/monitor`,
- method: "get",
- });
- };
- //获取AGC信息
- const getAgcValues = (showLoading) => {
- return request({
- showLoading,
- baseURL: process.env.VUE_APP_Matrix,
- url: `genreset/getAgcValues`,
- method: "get",
- });
- };
- const windfarmAllAjax = () => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `powercompare/windfarmAllAjax`,
- method: "get",
- });
- };
- //风机信息列表
- const findWtInfoList = (showLoading,data) => {
- return request({
- showLoading,
- baseURL: process.env.VUE_APP_Matrix,
- url: `monitorwt/findWtInfoList?wpId=${data.wpId}`,
- method: "get",
- });
- };
- //测风塔
- const monitorFindCftInfo = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `monitor/findCftInfo?wpId=${data.wpId}`,
- method: "get",
- });
- };
- const powercompareWindfarmAllAjax = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `powercompare/windfarmAllAjax`,
- method: "get",
- });
- };
- const genresetFindPowerInfo = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `genreset/findPowerInfo?id=${data.id}`,
- method: "get",
- });
- };
- //风场矩阵
- const matrixMatrixByWpIdPush = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `matrix/matrixByWpIdPush?wpId=${data.wpId}`,
- method: "get",
- });
- };
- //总样貌
- const monitorFindGeneralAppearance = (data) => {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `monitor/findGeneralAppearance?wpId=${data.wpId}`,
- method: "get",
- });
- };
- export default {
- findBasicDataInfo,
- findPowerInfo,
- findInfo,
- findInfos,
- forecastwindspeedInfo,
- weatherRealDay5Info,
- matrixPush,
- findSimpleMatrixAll,
- findWtInfo,
- matrixDetialPush,
- findWtWarnInfo,
- matrixQfPush,
- monitor,
- getAgcValues,
- windfarmAllAjax,
- findWtInfoList,
- monitorFindCftInfo,
- powercompareWindfarmAllAjax,
- genresetFindPowerInfo,
- matrixMatrixByWpIdPush,
- monitorFindGeneralAppearance,
- }
|