| 
					
				 | 
			
			
				@@ -26,7 +26,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button v-if="checkBtnRole('add')" size="mini" type="primary"  @click="addOrEdit('add')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             >新增账号</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-button style="margin-left: 20px" type="primary" size="mini" @click="handleExportListGongCheng" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button size="small" type="primary" @click="handleExport" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             >导出数据</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -190,6 +190,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { downloadFiles } from '@/utils/util' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { mapGetters } from 'vuex' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getDealerListV2 } from '@/api/basic_data/dealer' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -203,8 +204,7 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   editSubAccount, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   editEngineeringUser, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   getDetailGongCheng, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  delUserGongCheng, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  exportListGongCheng 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  delUserGongCheng 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from '@/api/setting' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -289,18 +289,17 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.subCustomerList = res.data.records 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    handleExportListGongCheng() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      exportListGongCheng({}, `${this.$route.meta.title}`) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log('chengg') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            message: '下载成功', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            type: 'success' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .catch(err => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$message.error('下载失败') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // 导出 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleExport() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let screenData = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        pageNum: this.currentPage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        pageSize: this.pageSize, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        parentId: this.parentId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        userName: this.screenForm.userName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        isMaster: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      downloadFiles('/admin/user/listGongCheng/export', screenData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.listLoading = true 
			 |