|
@@ -12,10 +12,10 @@
|
|
|
</a-select>
|
|
|
<div class="tw-mt-4"></div>
|
|
|
|
|
|
- <a-collapse v-model:activeKey="activeKey">
|
|
|
+ <a-collapse :activeKey="courses[0]?.id">
|
|
|
<a-collapse-panel
|
|
|
- v-for="(course, index) in courses"
|
|
|
- :key="index"
|
|
|
+ v-for="course in courses"
|
|
|
+ :key="course.id"
|
|
|
:header="course.courseName + '(' + course.courseCode + ')'"
|
|
|
>
|
|
|
<div class="tw-flex tw-justify-between tw-items-center tw-my-4">
|
|
@@ -117,8 +117,6 @@ import { EChartsOption } from "echarts";
|
|
|
import CommonRangeConfig from "@/components/CommonRangeConfig.vue";
|
|
|
import { RangeConfig, SasCourse } from "@/types";
|
|
|
|
|
|
-let activeKey = $ref(["0"]);
|
|
|
-
|
|
|
// const store = useMainStore();
|
|
|
|
|
|
// let rootOrgId = $ref(undefined as unknown as number);
|