feat: 项目结构重构优化
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- 系统配置 -->
|
||||
<!-- 系统配置 -->
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!-- 搜索区域 -->
|
||||
@@ -53,8 +53,8 @@
|
||||
>
|
||||
<el-table-column type="index" label="序号" width="60" />
|
||||
<el-table-column key="configName" label="配置名称" prop="configName" min-width="100" />
|
||||
<el-table-column key="configKey" label="配置键" prop="configKey" min-width="100" />
|
||||
<el-table-column key="configValue" label="配置值" prop="configValue" min-width="100" />
|
||||
<el-table-column key="configKey" label="配置项" prop="configKey" min-width="100" />
|
||||
<el-table-column key="configValue" label="配置项" prop="configValue" min-width="100" />
|
||||
<el-table-column key="remark" label="描述" prop="remark" min-width="100" />
|
||||
<el-table-column fixed="right" label="操作" width="220">
|
||||
<template #default="scope">
|
||||
@@ -108,11 +108,11 @@
|
||||
<el-form-item label="配置名称" prop="configName">
|
||||
<el-input v-model="formData.configName" placeholder="请输入配置名称" :maxlength="50" />
|
||||
</el-form-item>
|
||||
<el-form-item label="配置键" prop="configKey">
|
||||
<el-form-item label="配置项" prop="configKey">
|
||||
<el-input v-model="formData.configKey" placeholder="请输入配置键" :maxlength="50" />
|
||||
</el-form-item>
|
||||
<el-form-item label="配置值" prop="configValue">
|
||||
<el-input v-model="formData.configValue" placeholder="请输入配置值" :maxlength="100" />
|
||||
<el-form-item label="配置项" prop="configValue">
|
||||
<el-input v-model="formData.configValue" placeholder="请输入配置项" :maxlength="100" />
|
||||
</el-form-item>
|
||||
<el-form-item label="描述" prop="remark">
|
||||
<el-input
|
||||
@@ -142,7 +142,7 @@ defineOptions({
|
||||
});
|
||||
|
||||
import ConfigAPI from "@/api/system/config";
|
||||
import type { ConfigPageVo, ConfigForm, ConfigPageQuery } from "@/api/types";
|
||||
import type { ConfigPageVo, ConfigForm, ConfigPageQuery } from "@/types/api";
|
||||
import { ElMessage, ElMessageBox } from "element-plus";
|
||||
import { useDebounceFn } from "@vueuse/core";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user