暂态事件-波形解析返回按钮icon修改
This commit is contained in:
@@ -4,24 +4,34 @@
|
|||||||
<div class="home_header">
|
<div class="home_header">
|
||||||
<el-form-item label="值类型选择">
|
<el-form-item label="值类型选择">
|
||||||
<el-select @change="changeView" v-model="value" placeholder="请选择值类型">
|
<el-select @change="changeView" v-model="value" placeholder="请选择值类型">
|
||||||
<el-option v-for="(item, index) in options" :key="index" :label="item.label"
|
<el-option
|
||||||
:value="item.value"></el-option>
|
v-for="(item, index) in options"
|
||||||
|
:key="index"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="">
|
<el-form-item label="">
|
||||||
<el-button type="primary" @click="handleBack" :icon="ArrowLeft">返回</el-button>
|
<el-button @click="handleBack" :icon="Back">返回</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<el-tabs class="home_body" type="border-card" v-model="activeName" @tab-click="handleClick">
|
<el-tabs class="home_body" type="border-card" v-model="activeName" @tab-click="handleClick">
|
||||||
<el-tab-pane label="瞬时波形" name="ssbx"
|
<el-tab-pane label="瞬时波形" name="ssbx" :style="'height:' + bxecharts + ';overflow-y: scroll;'">
|
||||||
:style="'height:' + bxecharts + ';overflow-y: scroll;'">
|
<shushiboxi
|
||||||
<shushiboxi v-if="isWp && wp && activeName == 'ssbx'" :value="value" :boxoList="boxoList" :wp="wp">
|
v-if="isWp && wp && activeName == 'ssbx'"
|
||||||
</shushiboxi>
|
:value="value"
|
||||||
|
:boxoList="boxoList"
|
||||||
|
:wp="wp"
|
||||||
|
></shushiboxi>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="RMS波形" name="rmsbx"
|
<el-tab-pane label="RMS波形" name="rmsbx" :style="'height:' + bxecharts + ';overflow-y: scroll;'">
|
||||||
:style="'height:' + bxecharts + ';overflow-y: scroll;'">
|
<rmsboxi
|
||||||
<rmsboxi v-if="isWp && wp && activeName == 'rmsbx'" :value="value" :boxoList="boxoList" :wp="wp">
|
v-if="isWp && wp && activeName == 'rmsbx'"
|
||||||
</rmsboxi>
|
:value="value"
|
||||||
|
:boxoList="boxoList"
|
||||||
|
:wp="wp"
|
||||||
|
></rmsboxi>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
@@ -33,7 +43,7 @@ import { defaultAttribute } from '@/components/table/defaultAttribute'
|
|||||||
import shushiboxi from '@/components/echarts/shushiboxi.vue'
|
import shushiboxi from '@/components/echarts/shushiboxi.vue'
|
||||||
import rmsboxi from '@/components/echarts/rmsboxi.vue'
|
import rmsboxi from '@/components/echarts/rmsboxi.vue'
|
||||||
import MyEchart from '@/components/echarts/MyEchart.vue'
|
import MyEchart from '@/components/echarts/MyEchart.vue'
|
||||||
import { Platform, TrendCharts, DataLine, ArrowLeft } from '@element-plus/icons-vue'
|
import { Platform, TrendCharts, DataLine, Back } from '@element-plus/icons-vue'
|
||||||
import { mainHeight } from '@/utils/layout'
|
import { mainHeight } from '@/utils/layout'
|
||||||
const props = defineProps(['wp'])
|
const props = defineProps(['wp'])
|
||||||
const searchForm = ref({
|
const searchForm = ref({
|
||||||
@@ -117,7 +127,7 @@ const handleClick = (tab: any, event: any) => {
|
|||||||
const handleBack = () => {
|
const handleBack = () => {
|
||||||
emit('handleHideCharts')
|
emit('handleHideCharts')
|
||||||
}
|
}
|
||||||
onMounted(() => { })
|
onMounted(() => {})
|
||||||
defineExpose({ getWpData })
|
defineExpose({ getWpData })
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
@handleHideCharts="isWaveCharts = false"
|
@handleHideCharts="isWaveCharts = false"
|
||||||
:wp="wp"
|
:wp="wp"
|
||||||
/>
|
/>
|
||||||
<!-- <el-button v-if="isWaveCharts" type="primary" @click="handleBack" :icon="ArrowLeft">返回</el-button> -->
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|||||||
Reference in New Issue
Block a user