优化检测脚本页面

This commit is contained in:
GGJ
2025-02-24 16:45:39 +08:00
parent 1a23bcb510
commit bd1eecc106
8 changed files with 544 additions and 411 deletions

View File

@@ -1,11 +1,16 @@
<template>
<div class="tabs-container">
<el-tabs type="border-card" class="fixed-width-tabs" style="height: 100%">
<el-tab-pane label="波动">
<el-tab-pane label="短闪">
<!-- 全局设置菜单内容 Modulation-->
<div>
<el-form-item label="标准值" label-width="180px">
<el-select v-model="standardValue" style="width: 180px" placeholder="请选择标准值">
<div style="display: flex">
<el-form-item label="标准值">
<el-select
v-model="form[0].flickerData.flickerValue"
style="width: 180px"
placeholder="请选择标准值"
>
<el-option
v-for="item in standard"
:key="item.label"
@@ -14,7 +19,6 @@
/>
</el-select>
</el-form-item>
<el-form-item abel-width="180px">
<template #label>
<el-select
@@ -48,8 +52,11 @@
/>
</el-select>
</el-form-item>
</div>
<div style="display: flex; justify-content: end">
<el-form-item label="变动量(%)" label-width="180px">
<el-input
placeholder="请输入变动量"
style="width: 180px"
v-model="form[0].flickerData.fchagValue"
:disabled="!form[0].flickerFlag"
@@ -97,7 +104,7 @@ const props = defineProps({
required: true
}
})
const standardValue = ref('1')
const standard = [
{
label: '1',
@@ -200,7 +207,7 @@ const waveList = [
]
const waveChildrenList = computed(() => {
return waveList.filter((item: any) => item.value === form.value[0].flickerData.waveType)[0][
standardValue.value == '1' ? 'children1' : 'children3'
props.childForm[0].flickerData.flickerValue == '1' ? 'children1' : 'children3'
]
})
const changeLable = e => {