|
@@ -195,8 +195,8 @@ export default {
|
|
|
const that = this;
|
|
|
that.API.requestData({
|
|
|
method: "POST",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
- subUrl: "powercurve/lasso",
|
|
|
+ baseURL: "http://192.168.10.5:9002/",
|
|
|
+ subUrl: "powercurve/warning",
|
|
|
data: {
|
|
|
station: that.station,
|
|
|
wtid: that.wtId,
|
|
@@ -213,7 +213,7 @@ export default {
|
|
|
pEle.label += "(0条)";
|
|
|
}
|
|
|
pEle.children.forEach((cEle) => {
|
|
|
- cEle.label = "---";
|
|
|
+ cEle.label = cEle.warntype;
|
|
|
});
|
|
|
});
|
|
|
lassoTable.sort((a, b) => {
|
|
@@ -235,7 +235,7 @@ export default {
|
|
|
const that = this;
|
|
|
that.API.requestData({
|
|
|
method: "GET",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
+ baseURL: "http://192.168.10.5:9002/",
|
|
|
subUrl: "powercurve/tree",
|
|
|
success(res) {
|
|
|
that.treeData = that.addLabelToTreeData(res.data);
|
|
@@ -261,7 +261,7 @@ export default {
|
|
|
const that = this;
|
|
|
that.API.requestData({
|
|
|
method: "GET",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
+ baseURL: "http://192.168.10.5:9002/",
|
|
|
subUrl: "know/fault/type/all",
|
|
|
success(res) {
|
|
|
res.data.forEach((ele, index) => {
|
|
@@ -311,7 +311,7 @@ export default {
|
|
|
const that = this;
|
|
|
that.API.requestData({
|
|
|
method: "POST",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
+ baseURL: "http://192.168.10.5:9002/",
|
|
|
subUrl: "scatter/list",
|
|
|
showLoading: true,
|
|
|
data: {
|
|
@@ -437,7 +437,7 @@ export default {
|
|
|
this.BASE.showLoading();
|
|
|
axios({
|
|
|
method: "post",
|
|
|
- url: "http://192.168.1.18:9002/case/fault/insert",
|
|
|
+ url: "http://192.168.10.5:9002/case/fault/insert",
|
|
|
data,
|
|
|
header: {
|
|
|
"Content-Type": "application/json",
|
|
@@ -454,7 +454,7 @@ export default {
|
|
|
|
|
|
axios({
|
|
|
method: "post",
|
|
|
- url: "http://192.168.1.18:9002/case/warning/insert",
|
|
|
+ url: "http://192.168.10.5:9002/case/warning/insert",
|
|
|
data: lassoData,
|
|
|
header: {
|
|
|
"Content-Type": "application/json",
|