Selaa lähdekoodia

15.9.1 修改判断字段

bding 2 kuukautta sitten
vanhempi
commit
057f9bc463

+ 1 - 1
src/views/custom_manage/contacts/contactsList.vue

@@ -61,7 +61,7 @@
         </el-table-column>
         <el-table-column align="center" prop="CompanyName" label="公司名称">
           <template slot-scope="{row}">
-            <el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="row.IsUserMaker==0">
+            <el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="row.IsUserMaker == -1">
               <span class="deletesty" @click="goDetail(row)">{{ row.CompanyName }}</span>
             </el-tooltip>
             <span v-else class="editsty" @click="goDetail(row)">{{ row.CompanyName }}</span>

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

@@ -152,17 +152,17 @@
 						<template slot-scope="scope"
 						:class="{'isShared':scope.row.IsShared}"
 						> 
-						  <el-tooltip effect="dark" placement="top-start" :disabled="!((RoleType == 'admin' || RoleType === '权益' && scope.row.CompanyType == '权益') && scope.row.IsUserMaker==0)" content="过去4周,kp均未覆盖服务">
+						  <el-tooltip effect="dark" placement="top-start" :disabled="!((RoleType == 'admin' || RoleType === '权益') && scope.row.IsUserMaker == -1  && scope.row.CompanyType == '权益')" content="过去4周,kp均未覆盖服务">
 							<span 
 							v-if="scope.row.IsSuspend ===1 || scope.row.Status=='潜在'"
 							@click="goDetail(scope.row)"
 							class="mouse-enter"
-							:class="{'color-red':(act_status==='正式'&&scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0)||scope.row.IsUserMaker==0}"
+							:class="{'color-red':(act_status==='正式'&&scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0)||scope.row.IsUserMaker == -1}"
 							:style="scope.row.Status=='潜在'?'':'color:#bbb;cursor:pointer'">
 								{{scope.row.CompanyName}}
 							</span>
 							<span v-else style="color:#409EFF;cursor:pointer;" @click="goDetail(scope.row)" class="customName"
-							:class="{'isShared':scope.row.IsShared,'color-red':(act_status==='正式'&&scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0)||scope.row.IsUserMaker==0}"
+							:class="{'isShared':scope.row.IsShared,'color-red':(act_status==='正式'&&scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0)||scope.row.IsUserMaker == -1}"
 							>{{scope.row.CompanyName}}</span>
 						  </el-tooltip>
 							<img width="15" src="../../../assets/img/icons/remark.png" alt="" v-if="scope.row.RenewalReason||(scope.row.Status==='冻结'&&scope.row.FreezeReason)">

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

@@ -78,17 +78,17 @@
 					min-width="7.14%"
 					>
 						<template slot-scope="scope"> 
-							<el-tooltip effect="dark" placement="top-start" :disabled="!((isRoleType =='admin' || isRoleType === '权益') && scope.row.IsUserMaker==0 && scope.row.CompanyType == '权益')" content="过去4周,kp均未覆盖服务">
+							<el-tooltip effect="dark" placement="top-start" :disabled="!((isRoleType =='admin' || isRoleType === '权益') && scope.row.IsUserMaker == -1 && scope.row.CompanyType == '权益')" content="过去4周,kp均未覆盖服务">
 								<span 
 								v-if="scope.row.IsSuspend ===1 || scope.row.Status=='潜在'"
 								@click="goDetail(scope.row)"
 								class="mouse-enter"
-								:class="{'color-red':(scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0) || scope.row.IsUserMaker== 0}"
+								:class="{'color-red':(scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0) || scope.row.IsUserMaker == -1}"
 								:style="scope.row.Status=='潜在'?'':'color:#bbb;cursor:pointer'">
 									{{scope.row.CompanyName}}
 								</span>
 								<span v-else style="color:#409EFF;cursor:pointer;" @click="goDetail(scope.row)" class="customName"
-								:class="{'isShared':scope.row.IsShared,'color-red':(scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0) || scope.row.IsUserMaker== 0}">{{scope.row.CompanyName}}
+								:class="{'isShared':scope.row.IsShared,'color-red':(scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0) || scope.row.IsUserMaker == -1}">{{scope.row.CompanyName}}
 								</span>
 							</el-tooltip>
 							 <img width="15" src="../../../assets/img/icons/remark.png" alt="" v-if="scope.row.RenewalReason||(scope.row.Status==='冻结'&&scope.rowFreezeReason)">

+ 1 - 1
src/views/dataReport_manage/equityCustomStatistics.vue

@@ -133,7 +133,7 @@
                 <span v-if="scope.row[item.key] || scope.row.RenewalTodo" style="color: #409eff; cursor: pointer" @click="renewalReasonMore(scope.row)">&emsp;更多>></span>
               </span>
               <div v-else-if="item.key == 'CompanyName'" style="padding: 4px 0">
-                <el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="scope.row.IsUserMaker==0">
+                <el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="scope.row.IsUserMaker == -1">
                   <span class="deletesty" @click="jumpHandle(scope.row, item)">{{ scope.row[item.key] }}</span>
                 </el-tooltip>
                 <span v-else class="editsty" @click="jumpHandle(scope.row, item)">{{ scope.row[item.key] }}</span>

+ 1 - 1
src/views/dataReport_manage/equityServiceStatistics.vue

@@ -60,7 +60,7 @@
       <el-table :data="tableData" border style="width: 100%" @sort-change="sortChangeHandle">
         <el-table-column align="center" prop="CompanyName" label="客户名称" width="180">
           <template slot-scope="{ row }">
-            <el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="row.IsUserMaker==0">
+            <el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="row.IsUserMaker == -1">
               <span class="deletesty" @click="goDetail(row)">{{ row.CompanyName }}</span>
             </el-tooltip>
             <span v-else class="editsty" @click="goDetail(row)">{{ row.CompanyName }}</span>