修改稼动率计算方法

This commit is contained in:
hzz 2023-06-07 14:18:06 +08:00
parent 8410121fc9
commit a7b66baa44
3 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -9,7 +9,7 @@
*/
// export const development={xhr:process.env.VUE_APP_BASE_API,ws:"ws://192.168.3.97:9018/",imgxhr:process.env.VUE_APP_BASE_API+"/image/"}
export const development={xhr:process.env.VUE_APP_BASE_API,ws:"ws://192.168.110.238:9018/",imgxhr:process.env.VUE_APP_BASE_API+"/image/"}
export const development={xhr:process.env.VUE_APP_BASE_API,ws:"ws://8.130.165.100:9018/",imgxhr:process.env.VUE_APP_BASE_API+"/image/"}
export const production={xhr:process.env.VUE_APP_BASE_API,ws:"ws://8.130.165.100:9018/",imgxhr:process.env.VUE_APP_BASE_API+"/image/"}
//拼接图片url路径
export function imgurlAddXhr(img){

View File

@ -127,7 +127,7 @@ let data={
stoptime:val.stoptime,//
data:'2020-05-06',//
src:imgurlAddXhr(val.data),//
timeguagu:95,//
timeguagu:Math.abs((val.ontime)/(val.ontime+val.offtime)*100).toFixed(1),//
MTBF:2724,//MTBF
MTTR:169,//MTTR
MTTF:2555,//MTTF