|
@@ -461,22 +461,27 @@ export default {
|
|
// this.afterSchoolVisible = true;
|
|
// this.afterSchoolVisible = true;
|
|
// (row)
|
|
// (row)
|
|
this.activeRow = row;
|
|
this.activeRow = row;
|
|
|
|
+ console.log(row.versionTag, "-======>");
|
|
if (row.versionTag == "v1") {
|
|
if (row.versionTag == "v1") {
|
|
- findStudentExtraExerciseDetail({
|
|
|
|
- studentExerciseId: row.id,
|
|
|
|
- }).then((res) => {
|
|
|
|
- if (res.code == 200) {
|
|
|
|
- this.visibleForm = {
|
|
|
|
- expiryDate: res.data.expiryDate,
|
|
|
|
- teacherName: res.data.teacherName,
|
|
|
|
- title: row.extracurricularExercises.title,
|
|
|
|
- studentName: res.data.studentName,
|
|
|
|
- content: res.data.content,
|
|
|
|
- attachments: res.data.attachments.split(","),
|
|
|
|
- };
|
|
|
|
- // (this.visibleForm)
|
|
|
|
- this.afterSchoolVisible = true;
|
|
|
|
- }
|
|
|
|
|
|
+ // findStudentExtraExerciseDetail({
|
|
|
|
+ // studentExerciseId: row.id,
|
|
|
|
+ // }).then((res) => {
|
|
|
|
+ // if (res.code == 200) {
|
|
|
|
+ // this.visibleForm = {
|
|
|
|
+ // expiryDate: res.data.expiryDate,
|
|
|
|
+ // teacherName: res.data.teacherName,
|
|
|
|
+ // title: row.title,
|
|
|
|
+ // studentName: res.data.studentName,
|
|
|
|
+ // content: res.data.content,
|
|
|
|
+ // attachments: res.data.attachments.split(","),
|
|
|
|
+ // };
|
|
|
|
+ // // (this.visibleForm)
|
|
|
|
+ // this.afterSchoolVisible = true;
|
|
|
|
+ // }
|
|
|
|
+ // });
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: "/business/afterSchoolDetail",
|
|
|
|
+ query: { extracurricularExercisesId: row.id, title: row.title },
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
this.classVisible = true;
|
|
this.classVisible = true;
|