| 
					
				 | 
			
			
				@@ -78,11 +78,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <el-table v-loading="loading" :data="thirdList" @selection-change="handleSelectionChange"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <el-table v-loading="loading" :data="thirdList" @selection-change="handleSelectionChange" border> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column type="selection" width="55" align="center" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column label="ID" width="55" align="center" prop="id" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column label="平台名称" width="80px" align="center" prop="thirdName" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column  label="平台类型" width="80px" align="center" prop="thirdType"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              <template v-for="(item, index) in thirdTypeOptions"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -93,12 +93,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column label="授权账号" width="120px" align="center" prop="account" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column label="广告主ids" width="200" align="center" prop="advertiserIds"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             {{  getSubStr(scope.row.advertiserIds)   }}    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             {{  getSubStr(scope.row.advertiserIds)   }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column label="广告主名称" width="300" align="center" prop="advertiserNames"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             {{  getSubStr(scope.row.advertiserNames)   }}    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             {{  getSubStr(scope.row.advertiserNames)   }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <!-- <el-table-column label="appid"  align="center" prop="appId" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -119,7 +119,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-tag prop="accessStatus" :key="'accessStatus'+index" v-for="(item, index) in accessStatusOptions"    :type="scope.row.accessStatus==1?'success':'danger'"   v-if="scope.row.accessStatus==item.dictValue">{{item.dictLabel}}</el-tag> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column  label="refreshToken状态"   align="center" prop="refreshStatus"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-tag prop="refreshStatus" :key="'refreshStatus'+index" v-for="(item, index) in refreshStatusOptions"  :type="scope.row.refreshStatus==1?'success':'danger'"   v-if="scope.row.refreshStatus==item.dictValue">{{item.dictLabel}}</el-tag> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -168,11 +168,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @click="handleDelete(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             v-hasPermi="['crm:third:remove']" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           >删除</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <pagination 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       v-show="total>0" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       :total="total" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -249,7 +249,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item label="授权广告名称" prop="advertiserNames" v-if="form.id!=null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-input type="textarea" size="medium" :rows="4" v-model="form.advertiserNames" placeholder="请输入授权广告名称" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div slot="footer" class="dialog-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button type="primary" @click="submitForm">确 定</el-button> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -269,7 +269,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { listThird, getThird, delThird, addThird, updateThird, exportThird,saveFeiyuAuth,getAdvertisers } from "@/api/crm/third"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import feiyuCrmLineList from '../components/feiyuCrmLineList.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: "Third", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { feiyuCrmLineList }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -335,7 +335,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.getDicts("crm_third_type").then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.thirdTypeOptions = response.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -380,7 +380,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     thirdTypeFormat(row, column) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return this.selectDictLabel(this.thirdTypeOptions, row.thirdType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // token状态  0未获取  1已生效  2已过期字典翻译 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     accessStatusFormat(row, column) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return this.selectDictLabel(this.accessStatusOptions, row.accessStatus); 
			 |