feat: 隐藏菜单

fix/0524_ch
向文可 3 years ago
parent 3df6efa84c
commit 9e05add143

@ -18,15 +18,15 @@ export default [
icon: 'organization-chart', icon: 'organization-chart',
}, },
}, },
{ // {
path: 'menu', // path: 'menu',
name: 'MenuManagement', // name: 'MenuManagement',
component: () => import('@/views/permission/menu/index.vue'), // component: () => import('@/views/permission/menu/index.vue'),
meta: { // meta: {
title: '菜单管理', // title: '菜单管理',
icon: 'menu-2', // icon: 'menu-2',
}, // },
}, // },
{ {
path: 'employee', path: 'employee',
name: 'EmployeeManagement', name: 'EmployeeManagement',

@ -57,7 +57,7 @@
</div> </div>
</div> </div>
<div class="content-header-right"> <div class="content-header-right">
<el-button> <el-button @click="handleOrder">
<el-icon name="clipboard" /> <el-icon name="clipboard" />
个人订单 个人订单
</el-button> </el-button>
@ -136,6 +136,7 @@
import 'element-plus/es/components/button/style/css'; import 'element-plus/es/components/button/style/css';
import MessageItem from './message.vue'; import MessageItem from './message.vue';
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
const router = useRouter();
const store = useStore(); const store = useStore();
store.dispatch('chat/connect'); store.dispatch('chat/connect');
store.dispatch('chat/querySession'); store.dispatch('chat/querySession');
@ -194,6 +195,12 @@
} }
}; };
//
const handleOrder = () => {
console.info(unref(currentSession));
router.push({ name: 'OrderManagement', query: { id: currentSession.value.fromId } });
};
// //
const transferVisible = ref(false); const transferVisible = ref(false);
const transferConfig = ref({ const transferConfig = ref({

@ -107,32 +107,7 @@
</template> </template>
</table-list> </table-list>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="角色" name="role"> <el-tab-pane label="角色" name="role">待开发</el-tab-pane>
<table-list
ref="refsTable2"
v-loading="loading2"
:code="employeeCode"
:config="employeeConfig"
:data="employeeList"
:operation="['search']"
:total="employeeTotal"
@search="handleSearchEmployee"
>
<template #search>
<el-form inline :model="state.condition2">
<el-form-item label="姓名" prop="employeeName">
<el-input v-model="state.condition2.employeeName" />
</el-form-item>
<el-form-item label="花名" prop="userName">
<el-input v-model="state.condition2.userName" />
</el-form-item>
<el-form-item label="手机号" prop="phone">
<el-input v-model="state.condition2.phone" />
</el-form-item>
</el-form>
</template>
</table-list>
</el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</div> </div>

Loading…
Cancel
Save