方案数据添加暂态事件页面
This commit is contained in:
@@ -36,6 +36,10 @@ export default {
|
||||
type: [String, Number, Boolean],
|
||||
default: 3,
|
||||
},
|
||||
parentHeight: {
|
||||
type: [String, Number, Boolean],
|
||||
default: 0
|
||||
},
|
||||
DColor: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -103,6 +107,10 @@ export default {
|
||||
} else {
|
||||
this.vh = mainHeight(200, 2).height
|
||||
}
|
||||
if (this.parentHeight != 0) {
|
||||
this.vh = mainHeight(this.parentHeight, 2).height
|
||||
|
||||
}
|
||||
this.vw = '100%'
|
||||
},
|
||||
mounted() {
|
||||
@@ -210,7 +218,10 @@ export default {
|
||||
"s";
|
||||
} else if (this.boxoList.systemType == 'WX') {
|
||||
|
||||
|
||||
let featureAmplitude = this.boxoList.featureAmplitude + '' ? this.boxoList.featureAmplitude.toFixed(2) : '/'
|
||||
if (String(this.boxoList.featureAmplitude).split('.')[1] == '00') {
|
||||
this.boxoList.featureAmplitude = String(this.boxoList.featureAmplitude).split('.')[0]
|
||||
}
|
||||
this.titles =
|
||||
|
||||
' 监测点名称:' +
|
||||
@@ -218,7 +229,7 @@ export default {
|
||||
' 发生时刻:' +
|
||||
this.boxoList.startTime +
|
||||
' 暂降(骤升)幅值:' +
|
||||
(this.boxoList.featureAmplitude) +
|
||||
(featureAmplitude) +
|
||||
'% 持续时间:' +
|
||||
(this.boxoList.persistTime ? this.boxoList.persistTime.toFixed(2) : '-') +
|
||||
's'
|
||||
|
||||
Reference in New Issue
Block a user