| 
					
				 | 
			
			
				@@ -65,6 +65,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table-column label="时间" align="center" prop="createTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table-column label="油站ID" align="center" prop="stationId"  v-if ="false" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table-column label="油站名称" align="center" prop="stationName" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column label="订单号" align="center" prop="orderNo" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <pagination 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           v-show="totalInfo>0" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -79,7 +80,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { listPoints, exportPoints } from "@/api/integral/points"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { listPoints } from "@/api/integral/points"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { listRecord } from "@/api/integral/record"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: "Points", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -123,11 +124,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         stationId: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         stationName: null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // 表单参数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      form: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // 表单校验 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      rules: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -146,10 +142,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 查询用户积分列表 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.queryParams.stationId= this.$store.selectDeptId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if(this.queryParams.stationId==null || this.queryParams.stationId==""){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.queryParams.stationId =this.$store.state.user.deptId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       listPoints(this.queryParams).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.pointsList = response.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.total = response.total; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -157,36 +149,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      /** 查询用户积分明细列表 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getInfoList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.queryParams.stationId= this.$store.selectDeptId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       listRecord(this.query).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.recordList = response.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.totalInfo = response.total; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // 取消按钮 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    cancel() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.open = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // 表单重置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    reset() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.form = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        id: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        unionId: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        blogOpenid: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        minaOpenid: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mobilePhone: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        points: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        consumptionPoints: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        accumulatePoints: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        invalidPoints: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        recentConsumptionDate: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        stationId: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        stationName: null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.resetForm("form"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 搜索按钮操作 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleQuery() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.queryParams.pageNum = 1; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -204,20 +172,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.open = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.title = "查看客户积分记录"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    /** 导出按钮操作 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // handleExport() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   const queryParams = this.queryParams; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   this.$confirm('是否确认导出所有用户积分数据项?', "警告", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       confirmButtonText: "确定", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       type: "warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     }).then(function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       return exportPoints(queryParams); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     }).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       this.download(response.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 |