Commit c0ca626e authored by yaya's avatar yaya

feat: 会话展示添加权限

parent 7a1febe4
......@@ -383,6 +383,7 @@ export const asyncRouterMap = [
component: () => import('@/views/customerService/chatDetail'),
name: 'chatDetail',
meta: {
perms: ['POST /admin/sysIM/sendChatMsg'],
title: '当前会话',
icon: 'user',
noCache: true
......@@ -393,6 +394,7 @@ export const asyncRouterMap = [
component: () => import('@/views/customerService/chatList'),
name: 'chatList',
meta: {
perms: ['POST /admin/sysIM/sendChatMsg'],
title: '会话记录',
icon: 'form',
noCache: true
......
......@@ -32,7 +32,6 @@
<el-table-column align="center" label="操作" width="250" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
v-permission="['GET /admin/user/detailApprove']"
type="text"
size="mini"
@click="handleToDetail(scope.row)">详情
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment