|
@@ -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");
|