修改稼动率计算方法
This commit is contained in:
parent
8410121fc9
commit
a7b66baa44
BIN
src/assets/img/water_house_bg.jpg
Normal file
BIN
src/assets/img/water_house_bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
@ -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.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/"}
|
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路径
|
//拼接图片url路径
|
||||||
export function imgurlAddXhr(img){
|
export function imgurlAddXhr(img){
|
||||||
|
@ -127,7 +127,7 @@ let data={
|
|||||||
stoptime:val.stoptime,//急停时长
|
stoptime:val.stoptime,//急停时长
|
||||||
data:'2020-05-06',//采购日期
|
data:'2020-05-06',//采购日期
|
||||||
src:imgurlAddXhr(val.data),//设备图片
|
src:imgurlAddXhr(val.data),//设备图片
|
||||||
timeguagu:95,//时间稼动率
|
timeguagu:Math.abs((val.ontime)/(val.ontime+val.offtime)*100).toFixed(1),//时间稼动率
|
||||||
MTBF:2724,//MTBF
|
MTBF:2724,//MTBF
|
||||||
MTTR:169,//MTTR
|
MTTR:169,//MTTR
|
||||||
MTTF:2555,//MTTF
|
MTTF:2555,//MTTF
|
||||||
|
Loading…
Reference in New Issue
Block a user