| 
					
				 | 
			
			
				@@ -380,7 +380,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           :rules="[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { required: true, message: '请输入预计缴费金额', trigger: 'blur' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              pattern: /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              pattern: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               message: '请输入正确的金额', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               trigger: 'blur', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -396,13 +397,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <el-dialog :visible.sync="studentVisible" title="学生列表" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               width="600"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-table :data="studentList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                class="studenTable" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ref="singleTable" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                highlight-current-row 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @current-change="handleCurrentChange"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <el-dialog :visible.sync="studentVisible" title="学生列表" width="600"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-table 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :data="studentList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        class="studenTable" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ref="singleTable" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        highlight-current-row 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @current-change="handleCurrentChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- <el-table-column type="selection" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                          width="55"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table-column> --> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -452,7 +454,7 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   queryCanAddStudent, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   addMusicGroupPaymentCalenderStudent, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   delMusicGroupPaymentCalenderStudent, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  sendWaitRenewMessage 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  sendWaitRenewMessage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from "@/api/buildTeam"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -512,6 +514,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         paymentValidStartDate: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         paymentValidEndDate: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         calenderSettingsName: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        memberPaymentAmount: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        memberRankSettingName: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        originalMemberPaymentAmount: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        memberValidDate: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -564,6 +570,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             paymentValidStartDate: res.data.calender.paymentValidStartDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             paymentValidEndDate: res.data.calender.paymentValidEndDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             calenderSettingsName: res.data.calenderSettingsName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            memberPaymentAmount: res.data.calender.memberPaymentAmount, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            memberRankSettingName:res.data.calender.memberRankSettingName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            originalMemberPaymentAmount: res.data.calender.originalMemberPaymentAmount, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            memberValidDate:res.data.calender.memberValidDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.msgList = res.data.musicGroupPaymentCalenderCourseSettings; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -622,8 +632,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           path: "/business/resetTeaming", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           query: { ...this.$route.query }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }else if(query.type == 'PRE_BUILD_FEE' || query.type == 'feeAudit'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             this.$store.dispatch("delVisitedViews", this.$route); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (query.type == "PRE_BUILD_FEE" || query.type == "feeAudit") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$store.dispatch("delVisitedViews", this.$route); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           path: "/business/resetTeaming", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           query: { ...this.$route.query }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -789,45 +799,45 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs.singleTable.setCurrentRow(row); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.studentVisible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    payRemind(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       if(this.activeChiose.length<=0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         this.$message.error('请至少选择一名学员') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       let submitArr = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       let msgArr = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       let str = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       this.activeChiose.forEach(item=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         if(item.open){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-           submitArr.push(item.userId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-           msgArr+=item?.sysUser?.username+',' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       console.log(submitArr,msgArr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       if(msgArr){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         str=`${msgArr}未开启缴费无法提醒` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         str='是否发送提醒' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.$confirm(str, '提示', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          confirmButtonText: '确定', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          cancelButtonText: '取消', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'warning' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }).then(async() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          try{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            const res = await sendWaitRenewMessage({studentIds:submitArr.join(','),calenderId:this.$route.query.paymentId}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$message.success('提醒成功') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }catch(e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }).catch(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    payRemind() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.activeChiose.length <= 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$message.error("请至少选择一名学员"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let submitArr = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let msgArr = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let str = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.activeChiose.forEach((item) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (item.open) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          submitArr.push(item.userId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          msgArr += item?.sysUser?.username + ","; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(submitArr, msgArr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (msgArr) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        str = `${msgArr}未开启缴费无法提醒`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        str = "是否发送提醒"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$confirm(str, "提示", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        confirmButtonText: "确定", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type: "warning", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .then(async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const res = await sendWaitRenewMessage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              studentIds: submitArr.join(","), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              calenderId: this.$route.query.paymentId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$message.success("提醒成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } catch (e) {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .catch(() => {}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   watch: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     payVisible(val) { 
			 |