|
@@ -161,7 +161,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import CurrentScatterChart from "../../components/chart/scatter/current-scatter-chart.vue";
|
|
|
+import CurrentScatterChart from "../../../components/chart/scatter/current-scatter-chart.vue";
|
|
|
import axios from "axios";
|
|
|
export default {
|
|
|
components: {
|
|
@@ -195,15 +195,15 @@ export default {
|
|
|
const that = this;
|
|
|
that.API.requestData({
|
|
|
method: "POST",
|
|
|
- baseURL: "http://192.168.10.5:9002/",
|
|
|
+ baseURL: "http://192.168.1.18:9002/",
|
|
|
subUrl: "powercurve/lasso",
|
|
|
data: {
|
|
|
- station: "NSS_FDC",
|
|
|
- wtid: "NG01_70",
|
|
|
+ station: that.station,
|
|
|
+ wtid: that.wtId,
|
|
|
time: that.lassoTimeArray.toString(),
|
|
|
},
|
|
|
success(res) {
|
|
|
- let lassoTable = res.data.data;
|
|
|
+ let lassoTable = res.data;
|
|
|
lassoTable.forEach((pEle) => {
|
|
|
if (pEle.children?.length) {
|
|
|
pEle.sortNum = pEle.children.length;
|
|
@@ -339,11 +339,9 @@ export default {
|
|
|
sjgl.push(ele[1]);
|
|
|
xAxisData.push(index);
|
|
|
});
|
|
|
-
|
|
|
res.data.lineoptimal.forEach((ele) => {
|
|
|
zygl.push(ele[1]);
|
|
|
});
|
|
|
-
|
|
|
res.data.scatter.forEach((ele) => {
|
|
|
if (ele[1] >= 0) fsgl.push(ele);
|
|
|
});
|
|
@@ -456,7 +454,7 @@ export default {
|
|
|
|
|
|
axios({
|
|
|
method: "post",
|
|
|
- url: "http://192.168.10.5:9002/case/warning/insert",
|
|
|
+ url: "http://192.168.1.18:9002/case/warning/insert",
|
|
|
data: lassoData,
|
|
|
header: {
|
|
|
"Content-Type": "application/json",
|