| 
														
															@@ -31,6 +31,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-form-item prop="search"> 
														 | 
														
														 | 
														
															         <el-form-item prop="search"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-input 
														 | 
														
														 | 
														
															           <el-input 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             v-model.trim="searchForm.search" 
														 | 
														
														 | 
														
															             v-model.trim="searchForm.search" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            clearable 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             placeholder="请输入活动编号、名称" 
														 | 
														
														 | 
														
															             placeholder="请输入活动编号、名称" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           ></el-input> 
														 | 
														
														 | 
														
															           ></el-input> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </el-form-item> 
														 | 
														
														 | 
														
															         </el-form-item> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -419,6 +420,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-input 
														 | 
														
														 | 
														
															               <el-input 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 v-if="activeType == 'DISCOUNT'" 
														 | 
														
														 | 
														
															                 v-if="activeType == 'DISCOUNT'" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 v-model.trim="attribute1" 
														 | 
														
														 | 
														
															                 v-model.trim="attribute1" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                type="number" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 placeholder="请输入折扣数值" 
														 | 
														
														 | 
														
															                 placeholder="请输入折扣数值" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               > 
														 | 
														
														 | 
														
															               > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 <template slot="append">%</template> 
														 | 
														
														 | 
														
															                 <template slot="append">%</template> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -436,6 +438,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 placeholder="多少节开始赠" 
														 | 
														
														 | 
														
															                 placeholder="多少节开始赠" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 v-if="activeType == 'GIVE_CLASS'" 
														 | 
														
														 | 
														
															                 v-if="activeType == 'GIVE_CLASS'" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 v-model.trim="attribute1" 
														 | 
														
														 | 
														
															                 v-model.trim="attribute1" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                type="number" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 style="margin-right: 10px" 
														 | 
														
														 | 
														
															                 style="margin-right: 10px" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               ></el-input> 
														 | 
														
														 | 
														
															               ></el-input> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <span v-if="activeType == 'GIVE_CLASS'">赠</span> 
														 | 
														
														 | 
														
															               <span v-if="activeType == 'GIVE_CLASS'">赠</span> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -443,6 +446,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 v-if="activeType == 'GIVE_CLASS'" 
														 | 
														
														 | 
														
															                 v-if="activeType == 'GIVE_CLASS'" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 placeholder="请输入赠送课时数" 
														 | 
														
														 | 
														
															                 placeholder="请输入赠送课时数" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 v-model.trim="attribute2" 
														 | 
														
														 | 
														
															                 v-model.trim="attribute2" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                type="number" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 style="margin: 0 10px" 
														 | 
														
														 | 
														
															                 style="margin: 0 10px" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               ></el-input> 
														 | 
														
														 | 
														
															               ></el-input> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <!-- <el-checkbox v-if="activeType=='GIVE_CLASS'" 
														 | 
														
														 | 
														
															               <!-- <el-checkbox v-if="activeType=='GIVE_CLASS'" 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -891,9 +895,22 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           endTime = this.resetForm.activeTime[1] || null; 
														 | 
														
														 | 
														
															           endTime = this.resetForm.activeTime[1] || null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           let organId = this.resetForm.organ.join(","); 
														 | 
														
														 | 
														
															           let organId = this.resetForm.organ.join(","); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           let type = this.activeType; 
														 | 
														
														 | 
														
															           let type = this.activeType; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if(!type) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.$message.error('请选择活动类型') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           if (type == "DISCOUNT") { 
														 | 
														
														 | 
														
															           if (type == "DISCOUNT") { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (this.attribute1 < 0 ) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              this.$message.error("折扣必须大于0"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!this.attribute1 || this.attribute1 < 0 ) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.$message.error("折扣必须大于等于0"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              return; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } else if(type == 'GIVE_CLASS') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if(!this.attribute1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.$message.error("请输入多少节开始赠"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              return; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if(!this.attribute2) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.$message.error("请输入赠送课时数"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               return; 
														 | 
														
														 | 
														
															               return; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -991,11 +1008,11 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     gotoNewActive() { 
														 | 
														
														 | 
														
															     gotoNewActive() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // 带参数 searchForm: { organId: null } 搜索条件 
														 | 
														
														 | 
														
															       // 带参数 searchForm: { organId: null } 搜索条件 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      let rules = JSON.stringify(this.rules); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      let searchForm = JSON.stringify(this.searchForm); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // let rules = JSON.stringify(this.rules); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // let searchForm = JSON.stringify(this.searchForm); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.$router.push({ 
														 | 
														
														 | 
														
															       this.$router.push({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         path: "/vipClassSet/vipNewActive?type=create", 
														 | 
														
														 | 
														
															         path: "/vipClassSet/vipNewActive?type=create", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        query: { rules, searchForm }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // query: { rules, searchForm }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     closeVipform() { 
														 | 
														
														 | 
														
															     closeVipform() { 
														 |