From c1983082a5ea3e9fd1aeeaa43f6ca08aabf1d3e3 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Sat, 17 Dec 2022 17:40:47 +0800 Subject: [PATCH] =?UTF-8?q?--=20=E6=B7=BB=E5=8A=A0=E5=AD=A6=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 + src/App.vue | 52 +- src/api/ThirdApi.js | 4 - src/api/index1.js | 2 + src/api/request.js | 2 +- src/components/student/CommonStudent.vue | 394 ++-- src/components/student/TableStudent.vue | 213 ++ src/views/courselibrary/CoursewareManage.vue | 488 ++--- src/views/learningpath/LevelAdd.vue | 124 +- src/views/projectcenter/TaskPage.vue | 1877 ++++++++---------- vue.config.js | 3 + 11 files changed, 1558 insertions(+), 1603 deletions(-) create mode 100644 src/components/student/TableStudent.vue diff --git a/.env b/.env index c17aadbe..8ae4eb09 100644 --- a/.env +++ b/.env @@ -3,6 +3,8 @@ VUE_APP_BASE_API=/manageApi VUE_APP_PROXY_URL=http://111.231.196.214:30001/ VUE_APP_LOGIN_URL=https://u-pre.boe.com/web +VUE_APP_BOE_API_URL=https://u-pre.boe.com + VUE_APP_IFRAME_URL=https://u-pre.boe.com/pc/iframe VUE_APP_IFRAME_STUDENT_URL=https://u-pre.boe.com/pc/loading diff --git a/src/App.vue b/src/App.vue index c8167e9a..50a97012 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,27 +1,27 @@ \ No newline at end of file diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue new file mode 100644 index 00000000..9e5e6572 --- /dev/null +++ b/src/components/student/TableStudent.vue @@ -0,0 +1,213 @@ + + + \ No newline at end of file diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 2dfe28b8..f818f770 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -2276,236 +2276,168 @@ {{ currentPlanItem.teacher }}
-
- - -
- -
搜索
-
-
- -
重置
-
-
-
-
- -
添加学员
-
- - -
+ + + + + + +
- - - -
-
- -
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -2604,11 +2536,11 @@
-
-
取消
+
+
取消
-
-
确定
+
+
确定
@@ -2930,6 +2862,7 @@ import { queryWorkDetailById } from "@/api/indexWork"; import { queryExaminationDetailById } from "@/api/indexExam"; import AddHomework from "../../components/drawers/AddHomework.vue"; import AddTest from "../../components/drawers/AddTest.vue"; +import TableStudent from "@/components/student/TableStudent"; //列表表格 const columns1 = [ // { @@ -3448,6 +3381,7 @@ export default defineComponent({ AddHomework, AddTest, NameInput, + TableStudent, // VNodes: (_, {attrs}) => { // return attrs.vnodes; // }, @@ -3458,6 +3392,72 @@ export default defineComponent({ const CourseModalRef = ref(null); const state = reactive({ + stuColumns:[ + { + title: "报名状态", + width: '10%', + dataIndex: "status", + key: "5", + align: "center", + customRender: ({ record }) => { + switch (String(record.source)) { + case "0": + return "待审核"; + case "1": + return "审核通过"; + case "2": + return "审核拒绝"; + } + }, + }, + { + title: "加入方式", + width: '10%', + dataIndex: "join", + key: "6", + align: "center", + customRender: ({ record }) => { + switch (String(record.source)) { + case "1": + return "手动加入"; + case "2": + return "报名加入"; + } + }, + }, + { + title: "签到状态", + width: '10%', + dataIndex: "signstatus", + key: "7", + align: "center", + customRender: ({ record }) => { + switch (String(record.signStatus)) { + case "0": + return "未签到"; + case "1": + return "已签到"; + case "2": + return "请假"; + } + }, + }, + { + title: "评估状态", + width: '10%', + dataIndex: "evastatus", + key: "8", + align: "center", + customRender: ({ record }) => { + switch (String(record.evalStatus)) { + case "0": + return "未评估"; + case "1": + return "已评估"; + } + }, + }, + ], shipType: 1, addLoading: false, currentPlanItem: {}, @@ -8640,6 +8640,30 @@ export default defineComponent({ margin-bottom: 20px; } +.cus-btn { + width: 100%; + height: 40px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 16px; + border: 1px solid #4ea6ff; + border-radius: 8px; + background: #4ea6ff; + cursor: pointer; + color: #fff; +} + +.white { + background: #fff; + color: #4ea6ff; +} + +.cus-input { + height: 40px; + border-radius: 8px; +} + // .tableSelect { // position: relative; // .hoverList { diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index f5ee9805..7342bdd8 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -505,127 +505,7 @@
-
-
-
-
-
- -
-
- - 搜索 - -
-
- - 重置 -
-
-
-
- - - -
- 批量删除 - -
-
- - -
- - -
- -
-
-
-
-
+
{{ act }}
{{ act }}
{{ act }}
{{ act }}
@@ -163,15 +163,15 @@ 更多
--> - +
- +
返回
@@ -180,11 +180,11 @@
@@ -196,8 +196,8 @@
- +
- +
- +
添加任务 @@ -222,18 +222,18 @@
快速添加任务/阶段
- +
- +
- +
添加学员 @@ -271,27 +271,27 @@
{{ - projectInfoOverview.totalStudentCnt - }} + projectInfoOverview.totalStudentCnt + }}
总人数
{{ - projectInfoOverview.studyStudentCnt - }} + projectInfoOverview.studyStudentCnt + }}
学习人数
{{ - projectInfoOverview.completeStudentCnt - }} + projectInfoOverview.completeStudentCnt + }}
完成人数
{{ - projectInfoOverview.onlineCourseCnt - }}%
在线课程数
@@ -299,8 +299,8 @@
{{ - projectInfoOverview.offLineCourseCnt - }}%
面授课程数
@@ -308,8 +308,8 @@
{{ - projectInfoOverview.completeRatio - }}%
总完成率
@@ -324,13 +324,13 @@
-->
{{ item.stage }}
@@ -344,28 +344,28 @@
课程完成率
考试通过率
作业完成率
@@ -376,8 +376,8 @@
阶段任务总数
@@ -386,8 +386,8 @@
必修课
@@ -396,8 +396,8 @@
选修课
@@ -415,12 +415,12 @@ 批量面授报名 --> @@ -437,8 +437,8 @@
-->