@@ -197,7 +197,7 @@ export default {
}
},
lookstudentCamp(row) {
- this.$refs.artistClock.openDioag(row);
+ this.$refs.artistClock.openDioag({...row, campId: this.$route.query.id});
exportCampDetail() {
// this.$confirm(`您确定导出"${title}"列表`, "提示", {
@@ -58,7 +58,7 @@ export default {
async openDioag(row) {
this.activeRow = row;
try {
- const res = await getUserTrainingTime({ userId: row.id });
+ const res = await getUserTrainingTime({ userId: row.id, campId: row.campId });
this.trainingList = res.data;
this.trainingList.forEach((item) => {
const tempDate = dayjs(item.trainingDate).format("YYYY-MM-DD");