|
@@ -196,6 +196,10 @@ export default {
|
|
|
methods: {
|
|
|
// 请求服务
|
|
|
requestData(showLoading) {
|
|
|
+ if(this.wpId.indexOf("GDC") != -1 ){
|
|
|
+ this.requestDataGDC(showLoading);
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
let that = this;
|
|
|
that.API.requestData({
|
|
|
showLoading,
|
|
@@ -212,10 +216,153 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- that.data.data = res.data;
|
|
|
+ that.data = {
|
|
|
+ data:res.data,
|
|
|
+ column: [
|
|
|
+ {
|
|
|
+ name: "风机名称",
|
|
|
+ field: "code",
|
|
|
+ is_num: false,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "冷却风温度",
|
|
|
+ field: "FDJLQFWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "有功功率",
|
|
|
+ field: "FJGL",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "液压油温度",
|
|
|
+ field: "YYYW",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "Pcspp温度",
|
|
|
+ field: "PCS_WD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "U1绕组温度",
|
|
|
+ field: "U1YZWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "U2绕组温度",
|
|
|
+ field: "U2YZWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "V1绕组温度",
|
|
|
+ field: "V1YZWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "V2绕组温度",
|
|
|
+ field: "V2YZWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "W1绕组温度",
|
|
|
+ field: "W1YZWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "W2绕组温度",
|
|
|
+ field: "W2YZWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "轴承A温度",
|
|
|
+ field: "FDJZCAWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "轴承B温度",
|
|
|
+ field: "FDJZCBWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "齿轮箱温度",
|
|
|
+ field: "CLXWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "齿轮箱轴1温度",
|
|
|
+ field: "CLXSRZ1WD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "齿轮箱轴2温度",
|
|
|
+ field: "CLXSRZ2WD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "机舱温度",
|
|
|
+ field: "JCWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "滑环温度",
|
|
|
+ field: "FDJHHWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "环境温度",
|
|
|
+ field: "JCWWD",
|
|
|
+ is_num: true,
|
|
|
+ is_light: false,
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ };
|
|
|
},
|
|
|
});
|
|
|
},
|
|
|
+ // 光伏电站列表
|
|
|
+ async requestDataGDC(showLoading){
|
|
|
+ let res = await this.API.requestData({
|
|
|
+ showLoading,
|
|
|
+ baseURL: "http://127.0.0.1:8082/",
|
|
|
+ method: "POST",
|
|
|
+ subUrl: "monitorinverter/findInverterInfoList",
|
|
|
+ data: {
|
|
|
+ wpId: this.wpId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ let column = [
|
|
|
+ {name: "逆变器",field: "code"},
|
|
|
+ {name: "光照强度",field: "JSSSFS"},
|
|
|
+ {name: "有功功率",field: "AI130"},
|
|
|
+ {name: "功率因数",field: "AI067"},
|
|
|
+ {name: "机内温度",field: "AIG071"},
|
|
|
+ {name: "逆变效率",field: "AIG072"},
|
|
|
+ {name: "日发电量",field: "RFDL"},
|
|
|
+ {name: "月发电量",field: "YFDL"},
|
|
|
+ {name: "年发电量",field: "NFDL"},
|
|
|
+ {name: "累计发电量",field: "AIG064"},
|
|
|
+ ];
|
|
|
+ this.data = {data:res.data.data,column:column};
|
|
|
+ },
|
|
|
getWp () {
|
|
|
let that = this;
|
|
|
that.API.requestData({
|
|
@@ -265,7 +412,6 @@ export default {
|
|
|
},
|
|
|
|
|
|
select (res) {
|
|
|
- debugger;
|
|
|
this.$router.replace({
|
|
|
path: `/monitor/windsite/draughtfanlist/${res.code}`,
|
|
|
});
|