|
@@ -357,7 +357,13 @@ const setDeviationRange = () => {
|
|
|
window?.$message.warning('请先关闭重置函数')
|
|
|
return
|
|
|
}
|
|
|
- deviationRangeShow.value = !deviationRangeShow.value
|
|
|
+ const val = !deviationRangeShow.value
|
|
|
+ deviationRangeShow.value = val
|
|
|
+ if (val) {
|
|
|
+ curRangeFocusIndex.value = 1
|
|
|
+ } else {
|
|
|
+ curRangeFocusIndex.value = 0
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//获取顶部菜单数据
|
|
@@ -850,6 +856,10 @@ const drawerClose = () => {
|
|
|
//重置函数
|
|
|
isResetFun.value = false
|
|
|
isScrollBar.value = true
|
|
|
+ } else if (deviationRangeShow.value) {
|
|
|
+ //允许偏差值范围
|
|
|
+ //isResetFun.value = false
|
|
|
+ //isScrollBar.value = true
|
|
|
} else {
|
|
|
isShow.value = false
|
|
|
isResetFun.value = false
|