diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index 2332f1b7..a1140ded 100644
--- a/src/views/courselibrary/CoursewareManage.vue
+++ b/src/views/courselibrary/CoursewareManage.vue
@@ -305,34 +305,98 @@
-
+
- handleEdit(record, String(record.courseform))" type="link">编辑
- handleStart(record, String(record.courseform))" type="link">开课
- handleLook(record, String(record.courseform))" type="link">查看
- handleGuan22(record, String(record.courseform))" type="link">管理
-
- 权限名单
- 查看权
- 管理权
+ handleEdit(record, String(record.courseform))"
+ type="link"
+ >编辑
+ handleStart(record, String(record.courseform))"
+ type="link"
+ >开课
+ handleLook(record, String(record.courseform))"
+ type="link"
+ >查看
+ handleGuan22(record, String(record.courseform))"
+ type="link"
+ >管理
+
+ 权限名单
+ 查看权
+ 管理权
-
- handleCopy(record, String(record.courseform))" type="link">复制
- handleRejectExit(record, String(record.courseform))" type="link">撤回
- handleStop(record, String(record.courseform))" type="link">停用
- handleOpen(record, String(record.courseform))" type="link">启用
- handleDelete(record, String(record.courseform))" type="link" danger>删除
+
+ handleCopy(record, String(record.courseform))"
+ type="link"
+ >复制
+ handleRejectExit(record, String(record.courseform))
+ "
+ type="link"
+ >撤回
+ handleStop(record, String(record.courseform))"
+ type="link"
+ >停用
+ handleOpen(record, String(record.courseform))"
+ type="link"
+ >启用
+ handleDelete(record, String(record.courseform))"
+ type="link"
+ danger
+ >删除
@@ -1107,9 +1171,42 @@
:isgetStudent="isgetStudent"
>
- {record.status = 0;auditStudent(record);}" type="link">审核通过
- {record.status = 2;auditStudent(record);}" type="link">拒绝
- {record.status = 1;auditStudent(record);}" type="link">撤回
+ {
+ record.status = 0;
+ auditStudent(record);
+ }
+ "
+ type="link"
+ >审核通过
+ {
+ record.status = 2;
+ auditStudent(record);
+ }
+ "
+ type="link"
+ >拒绝
+ {
+ record.status = 1;
+ auditStudent(record);
+ }
+ "
+ type="link"
+ >撤回
@@ -1514,7 +1611,8 @@ import {
addStudent,
studentExport,
handleStudent,
- getMemberInfoApi, copyCoursePlan,
+ getMemberInfoApi,
+ copyCoursePlan,
// listReview,
// studyRecordList,
} from "@/api/indexCourse";
@@ -1547,7 +1645,7 @@ import FJUpload from "@/components/common/FJUpload";
import { updateStudent } from "@/api/indexProjStu";
import { useStore } from "vuex";
import DropDown from "@/components/common/DropDown";
-import {checkPer} from "@/utils/utils";
+import { checkPer } from "@/utils/utils";
//列表表格
const columns1 = [
@@ -2131,7 +2229,7 @@ export default defineComponent({
const store = useStore();
const state = reactive({
- tableLoading:false,
+ tableLoading: false,
//新加
stuColumns: [
{
@@ -2904,7 +3002,7 @@ export default defineComponent({
// 渲染列表1操作
const getTableDate = async () => {
- state.tableLoading = true
+ state.tableLoading = true;
console.log("我是点击搜索的数据", state.sysTypeId);
// let datas = state.tableData1;
let startTime = "";
@@ -2966,7 +3064,7 @@ export default defineComponent({
findClassFullName(sysTypeOptions.value, itm.sysTypeId) || "-";
});
state.tableData1 = datas;
- state.tableLoading = false
+ state.tableLoading = false;
};
function findClassFullName(list, classify, name = "") {
@@ -3980,13 +4078,15 @@ export default defineComponent({
if (state.copy_hs) {
console.log(2222222);
if (state.offcourseId && state.offcoursePlanId) {
- copyCoursePlan({offcoursePlanId:state.offcoursePlanId}).then(() => {
- message.destroy();
- message.success("复制成功");
- getTableDate3();
- delete_exit1();
- rest();
- });
+ copyCoursePlan({ offcoursePlanId: state.offcoursePlanId }).then(
+ () => {
+ message.destroy();
+ message.success("复制成功");
+ getTableDate3();
+ delete_exit1();
+ rest();
+ }
+ );
} else if (state.offcourseId) {
console.log(87887);
// 拿数据
@@ -4155,8 +4255,6 @@ export default defineComponent({
if (res.data.code === 200) return res.data.data;
});
-
-
state.statusJuJue = Number(item.auditStatus) === -1 ? 1 : 0;
if (Number(item.auditStatus) === 2 && Number(item.status) === 1) {
@@ -4219,7 +4317,7 @@ export default defineComponent({
if (type === "1") {
return;
}
- state.offcourseId = itm.offcourseId;
+ state.offcourseId = itm.id;
const item = await detail({
offcourseId: Number(state.offcourseId),
@@ -4297,11 +4395,12 @@ export default defineComponent({
});
};
const handleStart = (item, type) => {
- console.log(item);
+ console.log("点击开课item", item);
+ // console.log(item);
if (type === "1") {
return;
}
- state.offcourseId = item.offcourseId;
+ state.offcourseId = item.id;
state.newCourseName = item.name;
getTableDate3();
@@ -4637,7 +4736,9 @@ export default defineComponent({
name: record.name ? record.name : "",
url:
type == 1
- ? window.location.protocol + process.env.VUE_APP_COURSE_STUDY + record.offcourseId
+ ? window.location.protocol +
+ process.env.VUE_APP_COURSE_STUDY +
+ record.offcourseId
: process.env.VUE_APP_BASE_API +
`/admin/student/studentSign?taskId=${
record.offcoursePlanId