feat:需求下一下

This commit is contained in:
fangyunong 2025-07-06 20:56:33 +08:00
parent a060c92bb9
commit d8ec93536b
2 changed files with 16 additions and 11 deletions

View File

@ -13,7 +13,7 @@ import Dict from '@/views/system/dict/index.vue'; //用户字典
import GlobalSys from '@/views/system/globalSys/index.vue'; //全局参数
import { getToken } from "@/utils/auth";
const whiteList = ["/callback"];
const whiteList = ["/callback",'/layout/dict','/layout/globalSys'];
const routes: Array<RouteRecordRaw> = [
{

View File

@ -1,19 +1,24 @@
<!-- 用户字典 -->
<template>
<!-- 左右布局左侧为占25%的nav右侧为占据75%的main -->
<div class="main__container white-bg table">
<header class="dict-header">
<!-- 写一写查询条件 -->
</header>
<main class="dict-main">
<!-- 写一写操作按钮新增字典等 -->
<div class="dict-main__buttonList"></div>
<!-- 字典表格 -->
<!-- 侧边字典属性结构 -->
<nav class="dict-nav">
<!-- 要求可以搜索 -->
<n-input v-model:value="search"></n-input>
<!-- 树结构 右侧要能够删除 -->
<n-tree></n-tree>
</nav>
<main class="dict-nav">
<!-- 上面有一排操作按钮input框查询 查询按钮新增 -->
<!-- 字典表格含有字段字典id字典名称字典值字典标签操作列编辑 删除 -->
<n-table></n-table>
</main>
</div>
</template>
<script setup lang='ts'>
const search = ref('');
</script>
<style scoped lang='scss'>
</style>
<style scoped lang='scss'></style>