This commit is contained in:
guanj
2026-05-26 16:23:18 +08:00
parent 8b80e0678f
commit faac12615d
20 changed files with 941 additions and 140 deletions

View File

@@ -3,47 +3,22 @@
<TableHeader>
<template #select>
<el-form-item label="数据分类">
<el-select
v-model.trim="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.trim="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.trim="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.trim="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
maxlength="32"
show-word-limit
v-model.trim="tableStore.table.params.searchValue"
placeholder="数据名称、别名、展示名称"
clearable
></el-input>
<el-input maxlength="32" show-word-limit v-model.trim="tableStore.table.params.searchValue"
placeholder="数据名称、别名、展示名称" clearable></el-input>
</el-form-item>
</template>
<template #operation>
@@ -99,8 +74,9 @@ const tableStore = new TableStore({
? row.cellValue == '/'
? '/'
: row.cellValue == 'M'
? '无相别'
: row.cellValue + ''
? '/' : row.cellValue == 'T'
? '/'
: row.cellValue + '相'
: '/'
}
},
@@ -114,7 +90,7 @@ const tableStore = new TableStore({
title: '操作', fixed: 'right',
align: 'center',
width: '180',
render: 'buttons',
buttons: [
{