|
@@ -69,7 +69,7 @@
|
|
width:
|
|
width:
|
|
(scope.row.totalGrade / allMaxData.totalNumMax) * 100 + '%',
|
|
(scope.row.totalGrade / allMaxData.totalNumMax) * 100 + '%',
|
|
}"
|
|
}"
|
|
- @click="goAlarmTotal(0)"
|
|
|
|
|
|
+ @click="goAlarmTotal(0,scope.row.siteName)"
|
|
>
|
|
>
|
|
{{ scope.row.totalGrade }}
|
|
{{ scope.row.totalGrade }}
|
|
</span>
|
|
</span>
|
|
@@ -84,7 +84,7 @@
|
|
width:
|
|
width:
|
|
(scope.row.oneGrade / allMaxData.oneAlarmingMax) * 100 + '%',
|
|
(scope.row.oneGrade / allMaxData.oneAlarmingMax) * 100 + '%',
|
|
}"
|
|
}"
|
|
- @click="goAlarmTotal(1)"
|
|
|
|
|
|
+ @click="goAlarmTotal(1,scope.row.siteName)"
|
|
>
|
|
>
|
|
{{ scope.row.oneGrade }}
|
|
{{ scope.row.oneGrade }}
|
|
</span>
|
|
</span>
|
|
@@ -99,7 +99,7 @@
|
|
width:
|
|
width:
|
|
(scope.row.twoGrade / allMaxData.twoAlarmingMax) * 100 + '%',
|
|
(scope.row.twoGrade / allMaxData.twoAlarmingMax) * 100 + '%',
|
|
}"
|
|
}"
|
|
- @click="goAlarmTotal(2)"
|
|
|
|
|
|
+ @click="goAlarmTotal(2,scope.row.siteName)"
|
|
>
|
|
>
|
|
{{ scope.row.twoGrade }}
|
|
{{ scope.row.twoGrade }}
|
|
</span>
|
|
</span>
|
|
@@ -114,7 +114,7 @@
|
|
:style="{
|
|
:style="{
|
|
width: (scope.row.otherGrade / allMaxData.otherMax) * 100 + '%',
|
|
width: (scope.row.otherGrade / allMaxData.otherMax) * 100 + '%',
|
|
}"
|
|
}"
|
|
- @click="goAlarmTotal(3)"
|
|
|
|
|
|
+ @click="goAlarmTotal(3,scope.row.siteName)"
|
|
>
|
|
>
|
|
{{ scope.row.otherGrade }}
|
|
{{ scope.row.otherGrade }}
|
|
</span>
|
|
</span>
|
|
@@ -207,7 +207,7 @@ export default defineComponent({
|
|
// this.$router.push({ name:'variableList'})
|
|
// this.$router.push({ name:'variableList'})
|
|
}
|
|
}
|
|
|
|
|
|
- const goAlarmTotal = (val) => {
|
|
|
|
|
|
+ const goAlarmTotal = (val,val1) => {
|
|
pageShow.value = !pageShow.value
|
|
pageShow.value = !pageShow.value
|
|
store.commit('TimeAll_function', dateValue.value)
|
|
store.commit('TimeAll_function', dateValue.value)
|
|
if (val != undefined) {
|
|
if (val != undefined) {
|
|
@@ -215,6 +215,7 @@ export default defineComponent({
|
|
startTime: store.state.Time_Data[0],
|
|
startTime: store.state.Time_Data[0],
|
|
endTime: store.state.Time_Data[1],
|
|
endTime: store.state.Time_Data[1],
|
|
type: val,
|
|
type: val,
|
|
|
|
+ siteName: val1,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|