|
@@ -157,6 +157,7 @@ const showDetail=ref(false)
|
|
const readTimesUserId=ref(0)
|
|
const readTimesUserId=ref(0)
|
|
const activeUserName=ref('')
|
|
const activeUserName=ref('')
|
|
function handleGoReadTimes(e){
|
|
function handleGoReadTimes(e){
|
|
|
|
+ if(e.ReadTimes < 1) return
|
|
readTimesUserId.value=e.UserId
|
|
readTimesUserId.value=e.UserId
|
|
activeUserName.value=e.RealName
|
|
activeUserName.value=e.RealName
|
|
showDetail.value=true
|
|
showDetail.value=true
|
|
@@ -166,7 +167,9 @@ function handleGoReadTimes(e){
|
|
|
|
|
|
<template>
|
|
<template>
|
|
<div class="customer-user-list-page">
|
|
<div class="customer-user-list-page">
|
|
- <el-button type="primary" color="#0052D9" style="width: 120px; margin-top: 10px;" @click="handleAddContact({}, 'add')"
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.contact_add"
|
|
|
|
+ type="primary" color="#0052D9" style="width: 120px; margin-top: 10px;" @click="handleAddContact({}, 'add')"
|
|
>添加联系人</el-button
|
|
>添加联系人</el-button
|
|
>
|
|
>
|
|
<div class="userlist-wrap" style="margin-top: 30px">
|
|
<div class="userlist-wrap" style="margin-top: 30px">
|
|
@@ -217,21 +220,21 @@ function handleGoReadTimes(e){
|
|
<el-table-column label="操作" width="200" align="center">
|
|
<el-table-column label="操作" width="200" align="center">
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
<el-button
|
|
<el-button
|
|
- v-permission="permissionBtn.customerManageBtn.customer_edit"
|
|
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.contact_add"
|
|
type="primary"
|
|
type="primary"
|
|
link
|
|
link
|
|
@click.stop="handleAddContact(row, 'edit')"
|
|
@click.stop="handleAddContact(row, 'edit')"
|
|
>编辑</el-button
|
|
>编辑</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
- v-permission="permissionBtn.customerManageBtn.customer_permissionSettings"
|
|
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.contact_move"
|
|
type="primary"
|
|
type="primary"
|
|
link
|
|
link
|
|
@click.stop="handleMove(row)"
|
|
@click.stop="handleMove(row)"
|
|
>移动</el-button
|
|
>移动</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
- v-permission="permissionBtn.customerManageBtn.customer_delete"
|
|
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.contact_delete"
|
|
type="danger"
|
|
type="danger"
|
|
link
|
|
link
|
|
@click.stop="handleDelUser(row)"
|
|
@click.stop="handleDelUser(row)"
|