feat(website): 调整网站配置与菜单管理功能

- 移除小程序AppId输入框及相关逻辑- 更新网站Logo图片加载失败时的默认占位图- 注释掉二维码分享功能及相关组件引用
- 调整菜单搜索表单位置至表格操作区
- 移除菜单批量删除按钮
- 修改技术支持链接地址- 更新小程序描述字段展示逻辑
- 移除菜单新建按钮及PlusOutlined图标引用
- 调整菜单搜索组件引用位置
- 移除dayjs依赖引用
This commit is contained in:
2025-09-30 23:11:11 +08:00
parent addd4bbe01
commit 52bd53eb70
5 changed files with 26 additions and 40 deletions

View File

@@ -1,12 +1,6 @@
<!-- 菜单搜索表单 -->
<template>
<a-space>
<a-button type="primary" class="ele-btn-icon" @click="add">
<template #icon>
<PlusOutlined />
</template>
<span>新建</span>
</a-button>
<a-button type="dashed" @click="handleExport">备份</a-button>
<a-button type="dashed" @click="openImport">恢复</a-button>
<a-input-search
@@ -24,14 +18,12 @@
</template>
<script lang="ts" setup>
import { PlusOutlined } from '@ant-design/icons-vue';
import { ref } from 'vue';
import { message } from 'ant-design-vue';
import { utils, writeFile } from 'xlsx';
import { listMenus } from '@/api/system/menu';
import type { Menu, MenuParam } from '@/api/system/menu/model';
import useSearch from '@/utils/use-search';
import dayjs from 'dayjs';
import Import from "./Import.vue";
import {getTenantId} from "@/utils/domain";

View File

@@ -1,9 +1,6 @@
<template>
<div class="ele-body">
<a-card :bordered="false">
<!-- 搜索表单 -->
<menu-search @search="reload" />
<!-- 表格 -->
<!-- 表格 -->
<ele-pro-table
ref="tableRef"
@@ -34,12 +31,10 @@
<a-button type="dashed" class="ele-btn-icon" @click="foldAll">
折叠全部
</a-button>
<a-button type="dashed" class="ele-btn-icon" @click="removeBatch">
批量删除
</a-button>
<a-button type="dashed" class="ele-btn-icon" @click="cloneMenu()">
一键克隆
</a-button>
<menu-search @search="reload" />
</a-space>
</template>
<template #bodyCell="{ column, record }">