修改测试bug

This commit is contained in:
GGJ
2024-10-16 20:31:54 +08:00
parent 10b8710832
commit 67383d5888
9 changed files with 1599 additions and 1558 deletions

View File

@@ -3,45 +3,22 @@
<TableHeader>
<template #select>
<el-form-item label="数据分类">
<el-select
v-model="tableStore.table.params.dataType"
multiple
filterable
collapse-tags
clearable
placeholder="请选择数据分类"
>
<el-option
v-for="item in DataTypeSelect"
:key="item.id"
:label="item.name"
:value="item.id"
></el-option>
<el-select v-model="tableStore.table.params.dataType" multiple filterable collapse-tags clearable
placeholder="请选择数据分类">
<el-option v-for="item in DataTypeSelect" :key="item.id" :label="item.name"
:value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="数据存储">
<el-select
v-model="tableStore.table.params.classId"
multiple
filterable
collapse-tags
clearable
placeholder="请选择数据存储"
>
<el-option
v-for="item in DataSelect"
:key="item.id"
:label="item.name"
:value="item.id"
></el-option>
<el-select v-model="tableStore.table.params.classId" multiple filterable collapse-tags clearable
placeholder="请选择数据存储">
<el-option v-for="item in DataSelect" :key="item.id" :label="item.name"
:value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="过滤筛选">
<el-input
v-model="tableStore.table.params.searchValue"
placeholder="数据名称、别名、名称"
clearable
></el-input>
<el-input v-model="tableStore.table.params.searchValue" placeholder="数据名称、别名、名称"
clearable></el-input>
</el-form-item>
</template>
<template #operation>
@@ -75,18 +52,18 @@ const tableStore = new TableStore({
url: '/system-boot/csDictData/list',
method: 'POST',
column: [
{ title: '序号', type: 'seq',width:60 },
{ title: '数据分类', field: 'dataTypeName' , width: 170 },
{ title: '数据名称', field: 'name' , width: 220 },
{ title: '别名', field: 'otherName' , width: 220 },
{ title: '展示名称', field: 'showName' , width: 170 },
{ title: '相别', field: 'phaseName', width: 80 },
{ title: '单位', field: 'unit', width: 80 },
{ title: '基础数据类型', field: 'type', width: 170 },
{ title: '数据谐波次数', field: 'harmStartEnd', width: 170 },
{ title: '数据统计方法', field: 'statMethod', width: 170 },
{ title: '数据存储', field: 'classIdName' , width: 120 },
{ title: '数据来源', field: 'resourcesIdName' , width: 120 },
{ title: '序号', type: 'seq', width: 60 },
{ title: '数据分类', field: 'dataTypeName', minWidth: 170 },
{ title: '数据名称', field: 'name', minWidth: 220 },
{ title: '别名', field: 'otherName', minWidth: 220 },
{ title: '展示名称', field: 'showName', minWidth: 170 },
{ title: '相别', field: 'phaseName', minWidth: 80 },
{ title: '单位', field: 'unit', minWidth: 80 },
{ title: '基础数据类型', field: 'type', minWidth: 170 },
{ title: '数据谐波次数', field: 'harmStartEnd', minWidth: 170 },
{ title: '数据统计方法', field: 'statMethod', minWidth: 170 },
{ title: '数据存储', field: 'classIdName', minWidth: 120 },
{ title: '数据来源', field: 'resourcesIdName', minWidth: 120 },
{
title: '操作',
align: 'center',
@@ -142,8 +119,8 @@ const tableStore = new TableStore({
})
tableStore.table.params.searchValue = ''
tableStore.table.params.dataType = ''
tableStore.table.params.classId = ''
tableStore.table.params.dataType = []
tableStore.table.params.classId = []
provide('tableStore', tableStore)
onMounted(() => {
tableStore.index()