|
|
@@ -19,7 +19,7 @@
|
|
|
|
|
|
</div>
|
|
|
<div class="rt_box box_dial_watch">
|
|
|
- <div class="text" @click="draw_vector">
|
|
|
+ <div class="text" @click="draw_vector('rt')">
|
|
|
<p>{{ dial_watch_info.rt.key }}</p>
|
|
|
<span>{{ dial_watch_info.rt.value }}</span>{{ dial_watch_info.rt.unit }}
|
|
|
<i v-show="dial_watch_info.rt.viewer" style="pointer-events:all" :class="{ 'el-icon-view': true }"></i>
|
|
|
@@ -27,7 +27,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="rb_box box_dial_watch">
|
|
|
- <div class="text" @click="draw_vector">
|
|
|
+ <div class="text" @click="draw_vector('rb')">
|
|
|
<p>{{ dial_watch_info.rb.key }}</p>
|
|
|
<span>{{ dial_watch_info.rb.value }}</span>{{ dial_watch_info.rb.unit }}
|
|
|
<!-- <i style="pointer-events:all" :class="[`${dial_watch_info.rb.viewer}` ,viewer_switch]"></i> -->
|
|
|
@@ -86,7 +86,8 @@ export default {
|
|
|
},
|
|
|
//方法集合
|
|
|
methods: {
|
|
|
- draw_vector() {
|
|
|
+ draw_vector(rname) {
|
|
|
+ if(!this.$props.dial_watch_info[rname].viewer) return
|
|
|
this.icon_switch = !this.icon_switch
|
|
|
this.$emit('draw_vector', this.icon_switch)
|
|
|
|