|
@@ -113,9 +113,7 @@
|
|
|
<el-select
|
|
|
v-model="scope2.row[item.prop]"
|
|
|
placeholder="请选择"
|
|
|
- @change="
|
|
|
- getNewListchapt(scope.$index, scope2.$index, $event, scope2.row)
|
|
|
- "
|
|
|
+ @change="getNewListchapt(scope2.$index, $event, scope2.row)"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(items, indexs) in scope2.row['numList']"
|
|
@@ -299,15 +297,16 @@ export default {
|
|
|
return "";
|
|
|
}
|
|
|
},
|
|
|
- getNewListchapt(a, b, int, item) {
|
|
|
+ getNewListchapt(index, int, item) {
|
|
|
+ let { courseId, moduleId, chapterId, userId, goodsId, gradeId } = item;
|
|
|
let data = {
|
|
|
- courseId: item.courseId,
|
|
|
- moduleId: item.moduleId,
|
|
|
- chapterId: item.chapterId,
|
|
|
+ courseId: courseId,
|
|
|
+ moduleId,
|
|
|
+ chapterId,
|
|
|
numIndex: int,
|
|
|
- userId: this.setData.userId,
|
|
|
- goodsId: this.setData.goodsId,
|
|
|
- gradeId: this.setData.id,
|
|
|
+ userId,
|
|
|
+ goodsId,
|
|
|
+ gradeId,
|
|
|
};
|
|
|
if (item.type === 3) {
|
|
|
data.sectionId = item.id;
|
|
@@ -316,12 +315,7 @@ export default {
|
|
|
data.examId = item.id;
|
|
|
}
|
|
|
this.$api.inquireGradegradelistPeriodAuditStatus(data).then((res) => {
|
|
|
- this.$set(
|
|
|
- this.listData.tableData2[a].classPeriodSectionList,
|
|
|
- b,
|
|
|
- res.data
|
|
|
- );
|
|
|
- this.getUserInfo();
|
|
|
+ this.$set(this.tabledata, index, res.data);
|
|
|
});
|
|
|
},
|
|
|
changeStatus(id, status) {
|