|
|
@@ -1331,8 +1331,9 @@ export default {
|
|
|
if (res.data.length && res.data[0].length) {
|
|
|
this.codeRes = res.data[0][0];
|
|
|
this.courseId = res.data[0][0].courseId;
|
|
|
+ let oid = res.data[0][0].organizeid;
|
|
|
await this.getClassName(res.data[0][0].classid)
|
|
|
- this.getClass(res.data[0][0].classid);
|
|
|
+ this.getClass(res.data[0][0].classid,oid);
|
|
|
} else {
|
|
|
this.nextStepsLoading = false
|
|
|
this.$message.error(this.lang.codenotexist);
|
|
|
@@ -1367,12 +1368,12 @@ export default {
|
|
|
|
|
|
},
|
|
|
// 根据随机码获取学生
|
|
|
- getClass(classId) {
|
|
|
+ getClass(classId,oid) {
|
|
|
let params = [
|
|
|
{
|
|
|
functionName: API_CONFIG.ajax_selectSnameByCidAndOid.functionName, // 调用存储过程的名称
|
|
|
cid: classId,
|
|
|
- oid:this.SuffixData
|
|
|
+ oid:oid
|
|
|
},
|
|
|
];
|
|
|
|