邓洁 : 修复操作日志bug

This commit is contained in:
邓洁
2024-01-04 19:01:23 +08:00
parent 0227a6bf36
commit 6033534929
3 changed files with 22 additions and 8 deletions

View File

@@ -9,8 +9,14 @@
</el-form-item>
<el-form-item label="配置类型" prop="configType">
<el-select v-model="queryParams.configType" placeholder="请选择配置类型" clearable filterable>
<el-option label="主机" value="1"/>
<el-option label="JDBC" value="2"/>
<!-- <el-option label="主机" value="1"/>-->
<!-- <el-option label="JDBC" value="2"/>-->
<el-option
v-for="item in cacheStore.getDict('data_source_config')"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item>
@@ -158,7 +164,9 @@ import {Search, Refresh, Delete, Plus, Edit, Download} from '@element-plus/icons
import {ElMessage, ElMessageBox} from "element-plus";
import {downLoadExcel} from "@/utils/downloadZip";
import Paging from "@/components/pagination/index.vue";
import {useCacheStore} from '@/stores/cache.js'
const cacheStore = useCacheStore()
cacheStore.setCacheKey(['data_source_config'])
//查询参数
const queryParams = reactive({
dsName: '',