|
@@ -17,14 +17,14 @@
|
|
<div class="left-top-con">
|
|
<div class="left-top-con">
|
|
<!-- 左上 -->
|
|
<!-- 左上 -->
|
|
<common-title title="预制曲线"></common-title>
|
|
<common-title title="预制曲线"></common-title>
|
|
- <div class="visualization-common-border" @click="showModal('yuzhi')">
|
|
|
|
|
|
+ <div class="visualization-common-border" @click="showModal('yuzhi', '预制曲线')">
|
|
<yuzhi-curve :data="yuzhiData" :marks="yuzhiMarkData" ref="yuzhiCurve"></yuzhi-curve>
|
|
<yuzhi-curve :data="yuzhiData" :marks="yuzhiMarkData" ref="yuzhiCurve"></yuzhi-curve>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="left-center-con">
|
|
<div class="left-center-con">
|
|
<!-- 左中 -->
|
|
<!-- 左中 -->
|
|
<common-title title="实时曲线"></common-title>
|
|
<common-title title="实时曲线"></common-title>
|
|
- <div class="visualization-common-border" @click="showModal('realTime')">
|
|
|
|
|
|
+ <div class="visualization-common-border" @click="showModal('realTime', '实时曲线')">
|
|
<real-time-curve :data="curveData"></real-time-curve>
|
|
<real-time-curve :data="curveData"></real-time-curve>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -32,7 +32,7 @@
|
|
<!-- 左下 -->
|
|
<!-- 左下 -->
|
|
<!-- <test-information></test-information> -->
|
|
<!-- <test-information></test-information> -->
|
|
<common-title title="全程曲线"></common-title>
|
|
<common-title title="全程曲线"></common-title>
|
|
- <div class="visualization-common-border" @click="showModal('full')">
|
|
|
|
|
|
+ <div class="visualization-common-border" @click="showModal('full', '全程曲线')">
|
|
<full-curve :data="curveData"></full-curve>
|
|
<full-curve :data="curveData"></full-curve>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -72,7 +72,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<j-modal
|
|
<j-modal
|
|
- title="实时曲线"
|
|
|
|
|
|
+ :title="title"
|
|
:visible="visible"
|
|
:visible="visible"
|
|
@cancel="visible=false"
|
|
@cancel="visible=false"
|
|
cancelText="关闭"
|
|
cancelText="关闭"
|
|
@@ -133,6 +133,7 @@ export default {
|
|
curveData: [],
|
|
curveData: [],
|
|
websock: null,
|
|
websock: null,
|
|
newAlarmData: null,
|
|
newAlarmData: null,
|
|
|
|
+ title: '',
|
|
visible: false,
|
|
visible: false,
|
|
curveType: ''
|
|
curveType: ''
|
|
}
|
|
}
|
|
@@ -252,8 +253,9 @@ export default {
|
|
this.$refs.yuzhiCurve.chooseXunhuan.circname = choose
|
|
this.$refs.yuzhiCurve.chooseXunhuan.circname = choose
|
|
},
|
|
},
|
|
// 弹窗
|
|
// 弹窗
|
|
- showModal(type){
|
|
|
|
|
|
+ showModal(type, title){
|
|
this.curveType = type
|
|
this.curveType = type
|
|
|
|
+ this.title = title
|
|
this.visible = true
|
|
this.visible = true
|
|
},
|
|
},
|
|
}
|
|
}
|