修改测试bug

This commit is contained in:
GGJ
2024-12-09 16:30:40 +08:00
parent 2ed728ee71
commit 22d85dfca1
30 changed files with 499 additions and 221 deletions

View File

@@ -14,11 +14,16 @@
:value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="值类型">
<el-select style="min-width: 120px !important" v-model="searchForm.dataLevel">
<el-form-item >
<!-- <el-select style="min-width: 120px !important" v-model="searchForm.dataLevel">
<el-option value="Primary" label="一次值"></el-option>
<el-option value="Secondary" label="二次值"></el-option>
</el-select>
</el-select> -->
<el-radio-group v-model="searchForm.dataLevel" @change="init()">
<el-radio-button label="一次值" value="Primary" />
<el-radio-button label="二次值" value="Secondary" />
</el-radio-group>
</el-form-item>
<el-form-item label="统计类型">
<el-select style="min-width: 120px !important" placeholder="请选择" v-model="searchForm.valueType">
@@ -81,7 +86,7 @@ const num = ref(0)
//值类型
const pageHeight = ref(mainHeight(290))
const loading = ref(true)
const searchForm = ref({})
const searchForm:any = ref({})
const tableHeaderRef = ref()
const typeOptions = [
{
@@ -251,7 +256,7 @@ const init = async () => {
// orient: 'vertical', // 垂直排列
top: 5,
right: 70,
width: 550,
// width: 550,
// height: 50
},
grid: {