Commit e04c0ea5 by 张杰

v1.7.1版本需求

1 parent c3512209
......@@ -154,7 +154,7 @@
<!-- 防拆报警 end -->
<!-- 离线预警 开始 -->
<div class="cell" @click="linkToPage('/trialRun#/alarmCenter/offline')">
<div class="cell" @click="linkToPage('/trialRun#/alarmCenter/offline',alarmInfo.offLineAlarmStartTime,alarmInfo.offLineAlarmEndTime)">
<div class="title">
<img src="@/assets/images/off-lineicon.png" />
<span>离线预警</span>
......@@ -306,7 +306,7 @@ export default {
},
yAxis: {
type: "value",
minInterval:1
minInterval: 1,
},
series: [
{
......@@ -326,10 +326,20 @@ export default {
aChart.setOption({
tooltip: {
show: true,
formatter:'{c0}%'
formatter: "{c0}%",
},
legendHoverLink: false,
color:['#c0c0c0', '#0096fa', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc'],
color: [
"#c0c0c0",
"#0096fa",
"#fac858",
"#ee6666",
"#73c0de",
"#3ba272",
"#fc8452",
"#9a60b4",
"#ea7ccc",
],
series: [
{
type: "pie",
......@@ -344,10 +354,14 @@ export default {
},
// 页面跳转
linkToPage(path) {
linkToPage(path, start, end) {
let row = { alarmStatus: 1 };
this.$root.parentCommon.setBreadCrumbs(path);
history.pushState(row, "", path);
let url = path;
if (start) {
url = `${path}?startTime=${start}&endTime=${end}`;
}
history.pushState(row, "", url);
},
// 获取总绑定数报表
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!