Commit c0ca626e authored by yaya's avatar yaya

feat: 会话展示添加权限

parent 7a1febe4
...@@ -383,6 +383,7 @@ export const asyncRouterMap = [ ...@@ -383,6 +383,7 @@ export const asyncRouterMap = [
component: () => import('@/views/customerService/chatDetail'), component: () => import('@/views/customerService/chatDetail'),
name: 'chatDetail', name: 'chatDetail',
meta: { meta: {
perms: ['POST /admin/sysIM/sendChatMsg'],
title: '当前会话', title: '当前会话',
icon: 'user', icon: 'user',
noCache: true noCache: true
...@@ -393,6 +394,7 @@ export const asyncRouterMap = [ ...@@ -393,6 +394,7 @@ export const asyncRouterMap = [
component: () => import('@/views/customerService/chatList'), component: () => import('@/views/customerService/chatList'),
name: 'chatList', name: 'chatList',
meta: { meta: {
perms: ['POST /admin/sysIM/sendChatMsg'],
title: '会话记录', title: '会话记录',
icon: 'form', icon: 'form',
noCache: true noCache: true
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
<el-table-column align="center" label="操作" width="250" class-name="small-padding fixed-width"> <el-table-column align="center" label="操作" width="250" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
v-permission="['GET /admin/user/detailApprove']"
type="text" type="text"
size="mini" size="mini"
@click="handleToDetail(scope.row)">详情 @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