12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- import request from "@/tools/request.js";
- //获取测点曲线数据
- export function GetPointFitting(data) {
- if (data.startTime === undefined) {
- data.startTime = "";
- }
- if (data.endTime === undefined) {
- data.endTime = "";
- }
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `findPointFitting?pointIds=${data.pointIds}&interval=${data.interval}&begin=${data.begin}&end=${data.end}`,
- method: "get",
- });
- }
- //获取测点曲线数据
- export function GetWtPoints(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `findWtPoints?wtid=${data.wtid}&uniformcodes=${data.uniformcodes}`,
- method: "get",
- });
- }
- //获取场站测点曲线数据
- export function GetWpPoints(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `findWpPoints?wpid=${data.wpid}&uniformcodes=${data.uniformcodes}`,
- method: "get",
- });
- }
- //获取调度场站测点曲线数据
- export function GetSubPoints(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `findSubPoints?wpid=${data.wpid}&uniformcodes=${data.uniformcodes}`,
- method: "get",
- });
- }
- //获取场站期次测点曲线数据
- export function GetProPoints(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `findProPoints?wpid=${data.wpid}&uniformcodes=${data.uniformcodes}`,
- method: "get",
- });
- }
- //获取统一编码数据
- export function GetPointsData(data) {
- return request({
- baseURL: process.env.VUE_APP_Matrix,
- url: `findPointDatas?pointIds=${data.pointIds}`,
- method: "get",
- });
- }
|