| 
					
				 | 
			
			
				@@ -59,6 +59,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <a-button style="margin-bottom: 18px;" type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="productInfoList-refresh">查询</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <a-button style="margin: 0 0 18px 5px" @click="resetSearchForm" :disabled="disabled" id="productInfoList-reset">重置</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                v-if="$hasPermissions('B_productInfo_export')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 style="margin-left: 5px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 class="button-warning" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -76,10 +77,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <!-- 操作按钮 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="table-operator"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <a-button id="productInfoList-add" type="primary" class="button-error" @click="handleEdit()">新增</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <a-button id="productInfoList-add" type="primary" v-if="$hasPermissions('B_productInfo_add')" class="button-error" @click="handleEdit()">新增</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           id="productInfoList-batchAudit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          v-if="$hasPermissions('B_productInfo_batchAudit')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           class="button-warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           :loading="loadingAudit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           @click="handleBatchAudit" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -87,6 +89,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           id="productInfoList-batchLaunch" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          v-if="$hasPermissions('B_productInfo_batchLaunch')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           class="button-primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           :loading="loadingLaunch" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           @click="handleBatchLaunch" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -94,15 +97,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           id="productInfoList-batchDownline" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          v-if="$hasPermissions('B_productInfo_batchDownline')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           class="button-grey" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           :loading="loadingDownline" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           @click="handleBatchDownline" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           style="margin: 0 15px;">批量下线</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <span style="margin-left: 8px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <span style="margin-left: 8px" v-if="$hasPermissions('B_productInfo_batchAudit') || $hasPermissions('B_productInfo_batchLaunch') || $hasPermissions('B_productInfo_batchDownline')"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <template v-if="hasSelected">{{ `已选 ${selectedRowKeys.length} 项` }}</template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <!-- 列表 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <s-table 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         class="sTable" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ref="table" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -140,33 +143,46 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type="link" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            v-if="record.state=='WAIT'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-if="record.state=='WAIT' && $hasPermissions('B_productInfo_audit')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             class="button-warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @click="handleAudit(record)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             id="productInfoList-audit-btn">审核</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type="link" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            v-if="record.state=='WAIT_ONLINE'||record.state=='OFFLINE'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-if="(record.state=='WAIT_ONLINE'||record.state=='OFFLINE') && $hasPermissions('B_productInfo_launch')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             class="button-primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @click="handleLaunch(record)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             id="productInfoList-launch-btn">上线</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type="link" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            v-if="record.state=='ONLINE'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-if="record.state=='ONLINE' && $hasPermissions('B_productInfo_downline')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             class="button-grey" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @click="handleDownline(record)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             id="productInfoList-downline-btn">下线</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <a-button size="small" type="link" class="button-info" @click="handleEdit(record)" id="productInfoList-edit-btn">编辑</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <a-button size="small" type="link" class="button-success" @click="handleDetail(record)" id="productInfoList-detail-btn">详情</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type="link" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            v-if="record.state=='WAIT'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-if="$hasPermissions('B_productInfo_edit')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            class="button-info" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="handleEdit(record)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            id="productInfoList-edit-btn">编辑</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="link" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-if="$hasPermissions('B_productInfo_detail')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            class="button-success" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="handleDetail(record)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            id="productInfoList-detail-btn">详情</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="link" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-if="record.state=='WAIT' && $hasPermissions('B_productInfo_del')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             class="button-error" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @click="handleDel(record)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             id="productInfoList-del-btn">删除</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <span v-if="!(record.state=='WAIT' && $hasPermissions('B_productInfo_audit')) && !((record.state=='WAIT_ONLINE'||record.state=='OFFLINE') && $hasPermissions('B_productInfo_launch')) && !(record.state=='ONLINE' && $hasPermissions('B_productInfo_downline')) && !$hasPermissions('B_productInfo_edit') && !$hasPermissions('B_productInfo_detail') && !(record.state=='WAIT' && $hasPermissions('B_productInfo_del'))">--</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </s-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </a-spin> 
			 |