|  | @@ -115,6 +115,8 @@
 | 
	
		
			
				|  |  |              :teacherList="teacherList"
 | 
	
		
			
				|  |  |              :activeType="activeType"
 | 
	
		
			
				|  |  |              :cooperationList="cooperationList"
 | 
	
		
			
				|  |  | +            :coreid="coreid"
 | 
	
		
			
				|  |  | +            :assistant="assistant"
 | 
	
		
			
				|  |  |              :type="key"
 | 
	
		
			
				|  |  |              :form="item"
 | 
	
		
			
				|  |  |              :prices="prices"
 | 
	
	
		
			
				|  | @@ -298,20 +300,20 @@ export default {
 | 
	
		
			
				|  |  |        this.courseTypeListByName = courseTypeListByName;
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      async formatClasss() {
 | 
	
		
			
				|  |  | -      let coreid = "";
 | 
	
		
			
				|  |  | -      const assistant = [];
 | 
	
		
			
				|  |  | +      this.coreid = "";
 | 
	
		
			
				|  |  | +      this.assistant = [];
 | 
	
		
			
				|  |  |        if (this.detail) {
 | 
	
		
			
				|  |  |          const { classGroupTeacherMapperList } = this.detail;
 | 
	
		
			
				|  |  |          for (const item of classGroupTeacherMapperList || []) {
 | 
	
		
			
				|  |  |            if (item.teacherRole === "BISHOP") {
 | 
	
		
			
				|  |  | -            coreid = String(item.userId);
 | 
	
		
			
				|  |  | +            this.coreid = String(item.userId);
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            if (item.teacherRole === "TEACHING") {
 | 
	
		
			
				|  |  | -            assistant.push(item.userId);
 | 
	
		
			
				|  |  | +            this.assistant.push(item.userId);
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        this.$set(this.form, "coreTeacher", String(coreid));
 | 
	
		
			
				|  |  | -        this.$set(this.form, "assistant", assistant);
 | 
	
		
			
				|  |  | +        this.$set(this.form, "coreTeacher", String(this.coreid));
 | 
	
		
			
				|  |  | +        this.$set(this.form, "assistant", this.assistant);
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        const studentIds = this.detail
 | 
	
		
			
				|  |  |          ? undefined
 | 
	
	
		
			
				|  | @@ -351,8 +353,8 @@ export default {
 | 
	
		
			
				|  |  |              cycle: [
 | 
	
		
			
				|  |  |                {
 | 
	
		
			
				|  |  |                  time: this.selectPrices ? this.selectPrices[key] : undefined,
 | 
	
		
			
				|  |  | -                coreTeacher: coreid,
 | 
	
		
			
				|  |  | -                assistant: assistant,
 | 
	
		
			
				|  |  | +                coreTeacher: this.coreid,
 | 
	
		
			
				|  |  | +                assistant: this.assistant,
 | 
	
		
			
				|  |  |                },
 | 
	
		
			
				|  |  |              ],
 | 
	
		
			
				|  |  |            };
 |