代码修改
This commit is contained in:
		
							parent
							
								
									e71150d648
								
							
						
					
					
						commit
						6a37245622
					
				|  | @ -158,6 +158,7 @@ | |||
| 							 | ||||
| 					if (res.code == 0) { | ||||
| 						this.stulist=res.data | ||||
| 						console.log(this.stulist,'this.stulistthis.stulist'); | ||||
| 						this.orgstulist = JSON.parse(JSON.stringify(res.data)); | ||||
| 						this.selectedIds.forEach(selectedItem => { | ||||
| 						   const index = this.stulist.findIndex(item => item.teacherId === selectedItem.id); | ||||
|  |  | |||
|  | @ -162,7 +162,7 @@ | |||
| 			}, | ||||
| 
 | ||||
| 			getworklist() { | ||||
| 				this.$u.get(`/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { | ||||
| 				this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { | ||||
| 
 | ||||
| 
 | ||||
| 					if (res.code == 0) { | ||||
|  |  | |||
|  | @ -332,6 +332,7 @@ | |||
| 				<view class="caption_add" @click="addclass()">添加</view> | ||||
| 			</view> | ||||
| 		</u-popup> | ||||
| 		<u-toast ref="uToast" /> | ||||
| 	</view> | ||||
| </template> | ||||
| 
 | ||||
|  |  | |||
|  | @ -169,7 +169,7 @@ | |||
| 				}); | ||||
| 			}, | ||||
| 			getclassinfo() { | ||||
| 				this.$u.get(`/admin-api/classroom/detail?id=${this.classid}`).then(res => { | ||||
| 				this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/detail?id=${this.classid}`).then(res => { | ||||
| 				 | ||||
| 			 | ||||
| 					if (res.code == 0) { | ||||
|  | @ -183,7 +183,7 @@ | |||
| 				}) | ||||
| 			}, | ||||
| 			getworkinfo() { | ||||
| 				this.$u.get(`/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { | ||||
| 				this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { | ||||
| 				 | ||||
| 			 | ||||
| 					if (res.code == 0) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user