|
|
@@ -112,7 +112,13 @@ export default { |
|
|
|
message: '数据加载完成', |
|
|
|
duration: 2000 |
|
|
|
}); |
|
|
|
}; |
|
|
|
} else { |
|
|
|
this.$toast.clear(); |
|
|
|
this.$dialog.comfirm({ |
|
|
|
title: '提示', |
|
|
|
message: '请重新进入或者刷新页面' |
|
|
|
}) |
|
|
|
} |
|
|
|
} catch(error){ |
|
|
|
console.log('error', error); |
|
|
|
this.$toast.clear(); |
|
|
@@ -223,8 +229,9 @@ export default { |
|
|
|
} else { |
|
|
|
this.settingItems[findIndex].text = this.concatTitle('加强省电模式','关闭', '耗电低'); |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true) |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
// 获取设备定位参数 |
|
|
@@ -257,8 +264,8 @@ export default { |
|
|
|
} else { |
|
|
|
this.settingItems[findIndex].text = this.concatTitle('定位监测','关闭', '耗电低'); |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true) |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 获取免告警水域 |
|
|
@@ -320,8 +327,8 @@ export default { |
|
|
|
this.settingItems[findIndex].text = this.concatTitle('危险区域监测','关闭', '耗电低'); |
|
|
|
this.settingItems[findIndex].data = []; |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true); |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
@@ -409,8 +416,8 @@ export default { |
|
|
|
this.settingItems[findIndex].text = this.concatTitle('健康监测','关闭', '耗电低'); |
|
|
|
this.settingItems[findIndex].data = []; |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 获取血压监测参数设置 |
|
|
@@ -449,8 +456,8 @@ export default { |
|
|
|
this.settingItems[findIndex].text = this.concatTitle('血压监测','关闭', '耗电低'); |
|
|
|
this.settingItems[findIndex].data = []; |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 格式化等级 |
|
|
@@ -516,8 +523,8 @@ export default { |
|
|
|
this.settingItems[findIndex].text = this.concatTitle('心理监测', '关闭', '耗电低'); |
|
|
|
this.settingItems[findIndex].data = []; |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 转换时间格式 |
|
|
@@ -605,8 +612,8 @@ export default { |
|
|
|
this.settingItems[findIndex].text = this.concatTitle('佩戴监测', '关闭', '耗电低'); |
|
|
|
this.settingItems[findIndex].data = []; |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true); |
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
@@ -632,8 +639,8 @@ export default { |
|
|
|
} else { |
|
|
|
this.settingItems[findIndex].text = '上报周期(关闭)'; |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 获取设备状态 |
|
|
@@ -659,8 +666,8 @@ export default { |
|
|
|
} else { |
|
|
|
this.settingItems[findIndex].text = `设备状态(无数据)`; |
|
|
|
} |
|
|
|
resolve(true) |
|
|
|
}); |
|
|
|
resolve(true); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 计算设备状态 |
|
|
|