Browse Source

联系人列表 增加标红

bding 2 months ago
parent
commit
698b83a5eb

+ 7 - 3
src/views/custom_manage/contacts/contactsList.vue

@@ -60,9 +60,13 @@
           <template slot-scope="{ row }"> {{ row.Mobile || row.Email }} </template>
           <template slot-scope="{ row }"> {{ row.Mobile || row.Email }} </template>
         </el-table-column>
         </el-table-column>
         <el-table-column align="center" prop="CompanyName" label="公司名称">
         <el-table-column align="center" prop="CompanyName" label="公司名称">
-          <template slot-scope="scope">
-            <span class="editsty" @click="goDetail(scope.row)">{{ scope.row.CompanyName }}</span></template
-          >
+          <template slot-scope="{row}">
+            <el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="row.IsUserMaker==0">
+              <span class="deletesty" @click="goDetail(row)">{{ row.CompanyName }}</span>
+            </el-tooltip>
+            <span v-else class="editsty" @click="goDetail(row)">{{ row.CompanyName }}</span>
+            <!-- <span class="editsty" @click="goDetail(scope.row)">{{ scope.row.CompanyName }}</span> -->
+            </template>
         </el-table-column>
         </el-table-column>
         <el-table-column align="center" prop="Status" width="110" label="状态"> </el-table-column>
         <el-table-column align="center" prop="Status" width="110" label="状态"> </el-table-column>
         <el-table-column align="center" prop="SellerName" width="110" label="所属销售"> </el-table-column>
         <el-table-column align="center" prop="SellerName" width="110" label="所属销售"> </el-table-column>

+ 1 - 1
src/views/custom_manage/customList/customList.vue

@@ -152,7 +152,7 @@
 						<template slot-scope="scope"
 						<template slot-scope="scope"
 						:class="{'isShared':scope.row.IsShared}"
 						:class="{'isShared':scope.row.IsShared}"
 						> 
 						> 
-						  <el-tooltip effect="dark" placement="top-start" :disabled="!(RoleType === '权益' && scope.row.IsUserMaker==0)" content="过去4周,kp均未覆盖服务">
+						  <el-tooltip effect="dark" placement="top-start" :disabled="!((RoleType == 'admin' || RoleType === '权益') && scope.row.IsUserMaker==0)" content="过去4周,kp均未覆盖服务">
 							<span 
 							<span 
 							v-if="scope.row.IsSuspend ===1 || scope.row.Status=='潜在'"
 							v-if="scope.row.IsSuspend ===1 || scope.row.Status=='潜在'"
 							@click="goDetail(scope.row)"
 							@click="goDetail(scope.row)"

+ 1 - 1
src/views/custom_manage/customList/customShareList.vue

@@ -78,7 +78,7 @@
 					min-width="7.14%"
 					min-width="7.14%"
 					>
 					>
 						<template slot-scope="scope"> 
 						<template slot-scope="scope"> 
-							<el-tooltip effect="dark" placement="top-start" :disabled="!(isRoleType === '权益' && scope.row.IsUserMaker==0)" content="过去4周,kp均未覆盖服务">
+							<el-tooltip effect="dark" placement="top-start" :disabled="!((isRoleType =='admin' || isRoleType === '权益') && scope.row.IsUserMaker==0)" content="过去4周,kp均未覆盖服务">
 								<span 
 								<span 
 								v-if="scope.row.IsSuspend ===1 || scope.row.Status=='潜在'"
 								v-if="scope.row.IsSuspend ===1 || scope.row.Status=='潜在'"
 								@click="goDetail(scope.row)"
 								@click="goDetail(scope.row)"