From 351626701c8f894b113f0ddd3751ffaf9c95d815 Mon Sep 17 00:00:00 2001 From: caozc Date: Wed, 1 Mar 2023 00:23:29 +0800 Subject: [PATCH 01/19] =?UTF-8?q?fix:=E6=8A=95=E7=A5=A8=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=8A=95=E7=A5=A8=E6=97=A0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=20=20=20=20=20=E9=A1=B9=E7=9B=AE=E5=A4=8D=E5=88=B6=20=E4=B8=80?= =?UTF-8?q?=E7=9B=B4=E8=BD=AC=E5=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/CheckVote.vue | 19 ++++++++----------- src/views/projectcenter/ProjectManage.vue | 7 +++++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/drawers/CheckVote.vue b/src/components/drawers/CheckVote.vue index f68db461..cfbde7df 100644 --- a/src/components/drawers/CheckVote.vue +++ b/src/components/drawers/CheckVote.vue @@ -19,7 +19,7 @@
投票题目
-
+
{{ index+1 +"."+ item.voteStemName }}
@@ -50,7 +50,8 @@ import { toRefs,reactive } from '@vue/reactivity'; import {computed} from "vue"; import { useStore } from "vuex"; -import * as api from "../../api/indexTaskManage"; +// import * as api from "../../api/indexTaskManage"; +import {queryStemByStemId} from '@/api/indexVote'; export default { name:"CheckWork", @@ -126,19 +127,15 @@ export default { function getData() { console.log('我是请求的参数', { "courseId": props.courseID, - "studentId": userInfo.value.id, - "voteSubmitId": props.voteID + "userInfo": userInfo.value, + "voteId": props.voteID }) - api.QueryVoteTaskDetailById({ - "courseId": props.courseID, - "studentId": userInfo.value.id, - "voteSubmitId": props.voteID - }).then(res=>{ + queryStemByStemId(props.courseID).then(res=>{ console.log(res) state.voteResource = res.data.data - let choiceArr = [] - let dataQuestion = state.voteResource.ballotVo.voteStemVoList + //2023-02-28 + let dataQuestion = state.voteResource.voteStemDtoList for(let i=0;i getTableDate()); - message.success("复制成功"); + .then(() => { + state.tableLoading = false; + message.success("复制成功"); + getTableDate() + }); }; //打开提交审核弹窗 const showReviewModal = (projectId) => { From ff4f1a9d8c92eec721d2893e1d378e7ccce590c8 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Fri, 3 Mar 2023 15:50:41 +0800 Subject: [PATCH 02/19] -- fix bug --- src/components/student/OnlineClassModelStudent.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/student/OnlineClassModelStudent.vue b/src/components/student/OnlineClassModelStudent.vue index cc6e5b4e..1ac78573 100644 --- a/src/components/student/OnlineClassModelStudent.vue +++ b/src/components/student/OnlineClassModelStudent.vue @@ -193,7 +193,8 @@ function onStuSelectChange(e) { stuSelectKeys.value = e; } -const openDrawer = () => { +const openDrawer = (raw) => { + console.log(raw); visiable.value = true; }; From 43435b0b4197ca1e08c03dbc0ab9b374b3701995 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Fri, 3 Mar 2023 16:50:07 +0800 Subject: [PATCH 03/19] -- fix bug --- src/components/student/OnlineClassModelStudent.vue | 10 +++++++--- src/views/courselibrary/OnlineManage.vue | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/student/OnlineClassModelStudent.vue b/src/components/student/OnlineClassModelStudent.vue index 1ac78573..bc4f5d62 100644 --- a/src/components/student/OnlineClassModelStudent.vue +++ b/src/components/student/OnlineClassModelStudent.vue @@ -8,16 +8,16 @@ >
- xxxxxxxx 课程 + {{formData.name}} 课程
内容分类:12312
- 授课教师:12312 + 授课教师:{{ formData.sysType1 }}/{{ formData.sysType2 }}/{{ formData.sysType3 }}
- 审核状态:12312 + 审核状态:{{ formData.status }}
@@ -62,6 +62,7 @@ ({ @@ -195,6 +198,7 @@ function onStuSelectChange(e) { const openDrawer = (raw) => { console.log(raw); + formData.value = raw visiable.value = true; }; diff --git a/src/views/courselibrary/OnlineManage.vue b/src/views/courselibrary/OnlineManage.vue index 647efc00..9b6778c2 100644 --- a/src/views/courselibrary/OnlineManage.vue +++ b/src/views/courselibrary/OnlineManage.vue @@ -19,7 +19,7 @@ security="restricted" sandbox="allow-forms allow-scripts allow-same-origin allow-popups" > - +
\ No newline at end of file diff --git a/src/views/research/ResearchAdd.vue b/src/views/research/ResearchAdd.vue index 8b5fbbaf..a41405a2 100644 --- a/src/views/research/ResearchAdd.vue +++ b/src/views/research/ResearchAdd.vue @@ -82,6 +82,8 @@ height: 40px; margin-left: 14px; border-radius: 8px; + color:#fff; + background-color: #4ea6ff; " @click="handleAllCancel" > diff --git a/src/views/research/ResearchManage.vue b/src/views/research/ResearchManage.vue index 275eb8b7..21eab1d3 100644 --- a/src/views/research/ResearchManage.vue +++ b/src/views/research/ResearchManage.vue @@ -144,7 +144,7 @@
- + {{ !formData.id ? "下一步" : "确定" }} @@ -589,7 +589,7 @@ const handleNext = async () => { .btnn { padding: 0px 26px 0px 26px; height: 38px; - background: #ffffff; + background: #4ea6ff; border-radius: 8px; border: 1px solid rgba(64, 158, 255, 1); display: flex; @@ -606,7 +606,7 @@ const handleNext = async () => { .btnText { font-size: 14px; font-weight: 400; - color: #4ea6ff; + color: #fff; line-height: 36px; margin-left: 5px; } @@ -624,29 +624,29 @@ const handleNext = async () => { .search { width: 16px; height: 18px; - background-image: url("../../assets/images/courseManage/reset1.png"); + background-image: url("../../assets/images/courseManage/reset0.png"); } } - .btn1:hover { - background: rgba(64, 158, 255, 0.76); + // .btn1:hover { + // background: rgba(64, 158, 255, 0.76); - .search { - background-image: url("../../assets/images/courseManage/search0.png"); - } + // .search { + // background-image: url("../../assets/images/courseManage/search0.png"); + // } - .btnText { - color: #ffffff; - } - } + // .btnText { + // color: #ffffff; + // } + // } .btn1:active { background: #0982ff; } - .btn2:hover { - background: rgba(64, 158, 255, 0.1); - } + // .btn2:hover { + // background: rgba(64, 158, 255, 0.1); + // } .btn2:active { background: rgba(64, 158, 255, 0.2); @@ -692,17 +692,17 @@ const handleNext = async () => { } } - .btn3:hover { - background: rgba(64, 158, 255, 0.76); + // .btn3:hover { + // background: rgba(64, 158, 255, 0.76); - .search { - background-image: url("../../assets/images/courseManage/add0.png"); - } + // .search { + // background-image: url("../../assets/images/courseManage/add0.png"); + // } - .btnText { - color: #ffffff; - } - } + // .btnText { + // color: #ffffff; + // } + // } .btn3:active { background: #0982ff; From ef7fddd6e098c21a3eba2d6165d1c5fb092a3f8f Mon Sep 17 00:00:00 2001 From: wyx Date: Fri, 3 Mar 2023 21:17:15 +0800 Subject: [PATCH 15/19] =?UTF-8?q?style=EF=BC=9A=E4=B8=8B=E8=BD=BD=E4=B8=AD?= =?UTF-8?q?=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/DownLoad.vue | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/views/DownLoad.vue b/src/views/DownLoad.vue index 9903a356..b1461e4b 100644 --- a/src/views/DownLoad.vue +++ b/src/views/DownLoad.vue @@ -34,7 +34,7 @@
- +
重置
@@ -290,24 +290,24 @@ export default { margin-left: 10px; } } - .btn1:hover { - background: rgba(64, 158, 255, 0.76); + // .btn1:hover { + // background: rgba(64, 158, 255, 0.76); - .search { - background-image: url("../assets/images/courseManage/search0.png"); - } + // .search { + // background-image: url("../assets/images/courseManage/search0.png"); + // } - .btnText { - color: #ffffff; - } - } + // .btnText { + // color: #ffffff; + // } + // } .btn1:active { background: #0982ff; } - .btn2:hover { - background: rgba(64, 158, 255, 0.1); - } + // .btn2:hover { + // background: rgba(64, 158, 255, 0.1); + // } .btn2:active { background: rgba(64, 158, 255, 0.2); } @@ -317,12 +317,11 @@ export default { display: flex; align-items: center; justify-content: center; - color: #4ea6ff; + color: #fff; font-size: 14px; - background: #ffffff; + background: #4ea6ff; border-radius: 8px; cursor: pointer; - border: 1px solid #4ea6ff; .wz { margin-left: 10px; } From 733ec7b646e204dc5263ad29c95b7260457b6586 Mon Sep 17 00:00:00 2001 From: caozc Date: Fri, 3 Mar 2023 22:09:55 +0800 Subject: [PATCH 16/19] =?UTF-8?q?fix=EF=BC=9A=E3=80=90=E5=AD=A6=E4=B9=A0?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=9B=BE-=E5=A4=96=E9=83=A8=E8=80=83?= =?UTF-8?q?=E8=AF=95=E3=80=91=E5=AF=BC=E5=87=BA=E6=95=B0=E6=8D=AE=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=AD=A3=E5=B8=B8=E5=AF=BC=E5=87=BA=EF=BC=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../drawers/router/RouterExaminationExternalManage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/drawers/router/RouterExaminationExternalManage.vue b/src/components/drawers/router/RouterExaminationExternalManage.vue index 830e49af..943992bf 100644 --- a/src/components/drawers/router/RouterExaminationExternalManage.vue +++ b/src/components/drawers/router/RouterExaminationExternalManage.vue @@ -437,7 +437,7 @@ {/* 导出数据 */} function exportData() { - window.open(`${process.env.VUE_APP_BASE_API}/admin/external/exam/manage/exportExternalExam?chapterId=${props.datasource.chapterId}&type=${1}&targetId=${props.datasource.routerId}&taskId=${props.datasource.routerTaskId}`) + window.open(`${process.env.VUE_APP_BASE_API}/admin/external/exam/manage/exportExternalExam?chapterId=${props.datasource.chapterId}&type=${1}&targetId=${props.datasource.routerId}&taskId=${props.datasource.courseId}`) } return { ...toRefs(state), From 80778b87d99568d6583b2f828d43ba211dc32fbc Mon Sep 17 00:00:00 2001 From: wyx Date: Fri, 3 Mar 2023 22:28:45 +0800 Subject: [PATCH 17/19] style --- src/App.vue | 4 ++-- src/components/common/CommonAlert.vue | 2 +- src/components/student/TableStudent.vue | 6 +++--- src/views/courselibrary/CoursewareManage.vue | 14 ++++++++------ src/views/research/ResearchAdd.vue | 3 ++- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/App.vue b/src/App.vue index 24fde76b..bc766a13 100644 --- a/src/App.vue +++ b/src/App.vue @@ -155,8 +155,8 @@ const getDictList = (param) => api1.getDictTree({code: param,}).then((res) => re } .white { - background: #fff; - color: #4ea6ff; + // background: #fff; + // color: #4ea6ff; } .cus-input { diff --git a/src/components/common/CommonAlert.vue b/src/components/common/CommonAlert.vue index f2847e0b..ba1f3d55 100644 --- a/src/components/common/CommonAlert.vue +++ b/src/components/common/CommonAlert.vue @@ -22,7 +22,7 @@
{{ content }}
-
+
取消
diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue index 109c4a77..6a081afa 100644 --- a/src/components/student/TableStudent.vue +++ b/src/components/student/TableStudent.vue @@ -68,7 +68,7 @@ 重置 @@ -104,7 +104,7 @@ 导入学员 @@ -131,7 +131,7 @@ 批量删除 diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index ddfc4893..a52c1421 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -6250,9 +6250,10 @@ export default defineComponent({ .btn { padding: 0px 26px 0px 26px; height: 40px; - background: rgba(64, 158, 255, 0); + background: rgba(64, 158, 255, 1); border-radius: 8px; border: 1px solid rgba(64, 158, 255, 1); + color: #fff; display: flex; align-items: center; justify-content: center; @@ -6266,7 +6267,7 @@ export default defineComponent({ .btnText { font-size: 14px; font-weight: 400; - color: rgba(64, 158, 255, 1); + color: #fff; line-height: 36px; margin-left: 5px; } @@ -6297,7 +6298,7 @@ export default defineComponent({ width: 16px; height: 18px; margin-right: 6px; - background-image: url("../../assets/images/courseManage/reset1.png"); + background-image: url("../../assets/images/courseManage/reset0.png"); } } } @@ -6872,9 +6873,10 @@ export default defineComponent({ .btnn { padding: 0px 26px 0px 26px; height: 38px; - background: #ffffff; + background: #4ea6ff; border-radius: 8px; border: 1px solid rgba(64, 158, 255, 1); + color:#fff; display: flex; align-items: center; justify-content: center; @@ -6889,7 +6891,7 @@ export default defineComponent({ .btnText { font-size: 14px; font-weight: 400; - color: #4ea6ff; + color: #fff; line-height: 36px; margin-left: 5px; } @@ -6907,7 +6909,7 @@ export default defineComponent({ .search { width: 16px; height: 18px; - background-image: url("../../assets/images/courseManage/reset1.png"); + background-image: url("../../assets/images/courseManage/reset0.png"); } } diff --git a/src/views/research/ResearchAdd.vue b/src/views/research/ResearchAdd.vue index a41405a2..40f92151 100644 --- a/src/views/research/ResearchAdd.vue +++ b/src/views/research/ResearchAdd.vue @@ -667,7 +667,8 @@ export default { cursor: pointer; width: 80px; height: 40px; - color: #4ea6ff; + color: #fff; + background: #4ea6ff; border: 1px solid #4ea6ff; border-radius: 4px; display: flex; From e69d0d442e420ff5a8a0e7d774fb3c2605af8b90 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Fri, 3 Mar 2023 23:05:46 +0800 Subject: [PATCH 18/19] -- fix bug --- src/views/learningpath/LevelAddDetail.vue | 1 + src/views/projectcenter/TaskAdd.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/views/learningpath/LevelAddDetail.vue b/src/views/learningpath/LevelAddDetail.vue index 603a0613..cbfdf832 100644 --- a/src/views/learningpath/LevelAddDetail.vue +++ b/src/views/learningpath/LevelAddDetail.vue @@ -564,6 +564,7 @@ const submitStorage = async () => { } confirmLoading.value = true; await request(ROUTER_DETAIL_MODIFY, routerInfo.value); + await getDetail(); message.success("关卡和任务数据已保存"); confirmLoading.value = false; }; diff --git a/src/views/projectcenter/TaskAdd.vue b/src/views/projectcenter/TaskAdd.vue index 0c05ce0e..104d0b5e 100644 --- a/src/views/projectcenter/TaskAdd.vue +++ b/src/views/projectcenter/TaskAdd.vue @@ -613,6 +613,7 @@ const submitStorage = async () => { } confirmLoading.value = true await request(PROJECT_DETAIL_MODIFY, projectInfo.value) + await getTask() message.success("阶段和任务数据已保存") confirmLoading.value = false }; From 77aac9cdcf423f69d4bcce571b6633dc5361550f Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Sat, 4 Mar 2023 02:53:02 +0800 Subject: [PATCH 19/19] -- fix bug --- src/api/apis.js | 1 + src/components/common/CommonAlert.vue | 52 +++++++---- src/components/student/TableModelStudent.vue | 25 ++--- src/components/student/TableStudent.vue | 69 ++++++++------ src/utils/useCommon.js | 98 +++++++++++++------- 5 files changed, 147 insertions(+), 98 deletions(-) diff --git a/src/api/apis.js b/src/api/apis.js index fb053205..a136ade9 100644 --- a/src/api/apis.js +++ b/src/api/apis.js @@ -6,3 +6,4 @@ export const ROUTER_DETAIL_MODIFY = '/admin/router/routerInfoTemp post'; export const PROJECT_DETAIL_MODIFY = '/admin/project/projectInfoTemp post'; export const PROJECT_TEMPLATE_DETAIL_MODIFY = '/admin/project/template/editStageAndTask post'; export const PROJECT_RELEASE = '/admin/project/realease'; +export const ASYNC_STUDENT_STATUS = '/admin/cache/getStudentAsyncStatus'; diff --git a/src/components/common/CommonAlert.vue b/src/components/common/CommonAlert.vue index ba1f3d55..0a8aee89 100644 --- a/src/components/common/CommonAlert.vue +++ b/src/components/common/CommonAlert.vue @@ -1,13 +1,13 @@