|
|
|
@ -1,7 +1,8 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="p-2">
|
|
|
|
<div class="p-2">
|
|
|
|
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
|
|
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
|
|
<div class="search" v-show="showSearch">
|
|
|
|
<div class="mb-[10px]" v-show="showSearch">
|
|
|
|
|
|
|
|
<el-card shadow="hover">
|
|
|
|
<el-form ref="queryFormRef" :model="queryParams" :inline="true" label-width="68px">
|
|
|
|
<el-form ref="queryFormRef" :model="queryParams" :inline="true" label-width="68px">
|
|
|
|
<el-form-item label="菜单名称" prop="menuName">
|
|
|
|
<el-form-item label="菜单名称" prop="menuName">
|
|
|
|
<el-input v-model="queryParams.deptName" placeholder="请输入部门名称" clearable @keyup.enter="handleQuery" />
|
|
|
|
<el-input v-model="queryParams.deptName" placeholder="请输入部门名称" clearable @keyup.enter="handleQuery" />
|
|
|
|
@ -16,10 +17,11 @@
|
|
|
|
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
|
|
|
|
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
</el-card>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</transition>
|
|
|
|
</transition>
|
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="never">
|
|
|
|
<el-card shadow="hover">
|
|
|
|
<template #header>
|
|
|
|
<template #header>
|
|
|
|
<el-row :gutter="10">
|
|
|
|
<el-row :gutter="10">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
@ -132,6 +134,7 @@
|
|
|
|
import { listDept, getDept, delDept, addDept, updateDept, listDeptExcludeChild } from "@/api/system/dept"
|
|
|
|
import { listDept, getDept, delDept, addDept, updateDept, listDeptExcludeChild } from "@/api/system/dept"
|
|
|
|
import { ComponentInternalInstance } from 'vue';
|
|
|
|
import { ComponentInternalInstance } from 'vue';
|
|
|
|
import { DeptForm, DeptQuery, DeptVO } from "@/api/system/dept/types";
|
|
|
|
import { DeptForm, DeptQuery, DeptVO } from "@/api/system/dept/types";
|
|
|
|
|
|
|
|
import { ElTable, ElForm } from "element-plus";
|
|
|
|
|
|
|
|
|
|
|
|
interface DeptOptionsType {
|
|
|
|
interface DeptOptionsType {
|
|
|
|
deptId: number | string;
|
|
|
|
deptId: number | string;
|
|
|
|
|