|
@@ -144,6 +144,7 @@ import {
|
|
updateCourse,
|
|
updateCourse,
|
|
} from "@/api/courseManagementPage";
|
|
} from "@/api/courseManagementPage";
|
|
import { useMainStore } from "@/store";
|
|
import { useMainStore } from "@/store";
|
|
|
|
+import { Course_Type } from "@/types";
|
|
import { downloadFileURL } from "@/utils/utils";
|
|
import { downloadFileURL } from "@/utils/utils";
|
|
import { message, Modal } from "ant-design-vue";
|
|
import { message, Modal } from "ant-design-vue";
|
|
import { watch, onMounted, ref, reactive, toRaw } from "vue-demi";
|
|
import { watch, onMounted, ref, reactive, toRaw } from "vue-demi";
|
|
@@ -152,7 +153,7 @@ const store = useMainStore();
|
|
store.currentLocation = "基础管理 / 科目管理";
|
|
store.currentLocation = "基础管理 / 科目管理";
|
|
|
|
|
|
let rootOrgId = $ref(undefined as unknown as number);
|
|
let rootOrgId = $ref(undefined as unknown as number);
|
|
-let type = $ref(undefined as unknown as string); // 科目类型
|
|
|
|
|
|
+let type = $ref(undefined as unknown as Course_Type); // 科目类型
|
|
let code = $ref("");
|
|
let code = $ref("");
|
|
let name = $ref("");
|
|
let name = $ref("");
|
|
let enable = $ref(undefined as undefined | boolean);
|
|
let enable = $ref(undefined as undefined | boolean);
|