1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import request from "@/tools/request.js";
- export function FindBasicDataInfo(data) {
- return request({
- url: `cockpit/monitor?wpId=${data.wpId}`,
- method: "get",
- });
- }
- export function FindRealtimeInfo(data) {
- return request({
- url: `cockpit/Realtime?wpId=${data.wpId}&uniformCode=${data.uniformCode}`,
- method: "get",
- });
- }
- export function FindPowerInfo(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `cockpit/Powercurve24?wpId=${data.id}`,
- method: "get",
- });
- }
- export function FindUtilizationhours(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `cockpit/Utilizationhours?wpId=${data.wpId}&timetype=${data.timetype}`,
- method: "get",
- });
- }
- export function FindPlanproject(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `cockpit/Planproject?wpId=${data.wpId}&timetype=${data.timetype}`,
- method: "get",
- });
- }
- export function FindProjectplan(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `cockpit/projectplan?wpId=${data.wpId}`,
- method: "get",
- });
- }
|