| 
					
				 | 
			
			
				@@ -433,16 +433,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  listManage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  getManage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  delManage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  addManage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  updateManage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  exportManage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  changeManageStatus, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} from "@/api/station/manage"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { listGun } from "@/api/station/gun"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { listPrice } from "@/api/station/price"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import SelectDay from "@/components/SelectDay"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -464,7 +454,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         couponDetails: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         couponThresholdAmt: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         couponType: "1", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        couponAmt: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        couponAmt: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oilNameList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         effectiveTimeType: "", //有效时间类型: 1,固定时间;2,领取后x天内有效 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         effectiveTime: [], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -626,10 +616,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getCoupon() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      listInfo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        pageNum: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        pageSize: 10, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      listInfo(this.queryForm) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             console.log(res); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -745,9 +732,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         couponDetails: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         couponThresholdAmt: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         couponType: "1", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        couponAmt: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        couponAmt: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oilNameList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        effectiveTimeType: "",  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        effectiveTimeType: "", //有效时间类型: 1,固定时间;2,领取后x天内有效 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         effectiveTime: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         effectiveDayNum: 30, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         couponHoldNum: 1, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -758,6 +745,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         isCardFlag: "1", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         isGradeFlag: "1", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         isMarketFlag: "1", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        availableControl:"0", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        appointedDaysList:[],  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        cycleDaysList:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.open = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -804,19 +794,19 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 删除按钮操作 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleDelete(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      const deviceIds = row.deviceId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.$confirm("是否确认删除油站设备管理", "警告", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        confirmButtonText: "确定", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        type: "warning", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .then(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          return delManage(deviceIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.msgSuccess("删除成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // const deviceIds = row.deviceId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // this.$confirm("是否确认删除油站设备管理", "警告", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   confirmButtonText: "确定", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   type: "warning", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   .then(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     return delManage(deviceIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     this.msgSuccess("删除成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 |