feat:需求下一下
This commit is contained in:
parent
a060c92bb9
commit
d8ec93536b
@ -13,7 +13,7 @@ import Dict from '@/views/system/dict/index.vue'; //用户字典
|
|||||||
import GlobalSys from '@/views/system/globalSys/index.vue'; //全局参数
|
import GlobalSys from '@/views/system/globalSys/index.vue'; //全局参数
|
||||||
import { getToken } from "@/utils/auth";
|
import { getToken } from "@/utils/auth";
|
||||||
|
|
||||||
const whiteList = ["/callback"];
|
const whiteList = ["/callback",'/layout/dict','/layout/globalSys'];
|
||||||
|
|
||||||
const routes: Array<RouteRecordRaw> = [
|
const routes: Array<RouteRecordRaw> = [
|
||||||
{
|
{
|
||||||
|
@ -1,19 +1,24 @@
|
|||||||
<!-- 用户字典 -->
|
<!-- 用户字典 -->
|
||||||
<template>
|
<template>
|
||||||
|
<!-- 左右布局,左侧为占25%的nav,右侧为占据75%的main -->
|
||||||
<div class="main__container white-bg table">
|
<div class="main__container white-bg table">
|
||||||
<header class="dict-header">
|
<!-- 侧边字典属性结构 -->
|
||||||
<!-- 写一写查询条件 -->
|
<nav class="dict-nav">
|
||||||
</header>
|
<!-- 要求可以搜索 -->
|
||||||
<main class="dict-main">
|
<n-input v-model:value="search"></n-input>
|
||||||
<!-- 写一写操作按钮,新增字典等 -->
|
<!-- 树结构 右侧要能够删除 -->
|
||||||
<div class="dict-main__buttonList"></div>
|
<n-tree></n-tree>
|
||||||
<!-- 字典表格 -->
|
</nav>
|
||||||
<n-table></n-table>
|
<main class="dict-nav">
|
||||||
|
<!-- 上面有一排操作按钮:input框查询 查询按钮,新增 -->
|
||||||
|
<!-- 字典表格,含有字段:字典id,字典名称,字典值,字典标签,操作列(编辑 删除) -->
|
||||||
|
<n-table></n-table>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang='ts'>
|
<script setup lang='ts'>
|
||||||
|
const search = ref('');
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang='scss'>
|
<style scoped lang='scss'></style>
|
||||||
</style>
|
|
Loading…
x
Reference in New Issue
Block a user