From de29ed40c5e8763e720875fbcb097342f208762a Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Thu, 12 Dec 2024 14:56:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E6=95=99=E8=AF=BE=E7=A8=8B-=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E5=AD=A6=E6=9C=9F=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=8F=8A=E2=80=9C=E8=BF=9B=E5=85=A5=E8=AF=BE=E7=A8=8B=E2=80=9D?= =?UTF-8?q?=E5=90=8E=E5=90=84=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routes/modules/site/site.ts | 10 +- .../routes/modules/zyHistory/zyHistory.ts | 69 ------ .../renKeJiaoCheng/checkKecheng/dqxqkc.vue | 116 +++++----- .../checkKecheng/dqxqkcHistory.vue | 208 +++++++++++++----- .../checkKecheng/dqxqkcMain.vue | 124 ++++++----- 5 files changed, 293 insertions(+), 234 deletions(-) delete mode 100644 src/router/routes/modules/zyHistory/zyHistory.ts diff --git a/src/router/routes/modules/site/site.ts b/src/router/routes/modules/site/site.ts index ab69487..38cc59a 100644 --- a/src/router/routes/modules/site/site.ts +++ b/src/router/routes/modules/site/site.ts @@ -270,7 +270,15 @@ const site: AppRouteModule = { title: '答题结果', }, }, - + { + path: 'WjxCywjV2Dtjghis', + name: 'WjxCywjV2Dtjghis', + component: () => import('/@/views/kc/wjxCswj/WjxCywjV2Dtjghis.vue'), + meta: { + // affix: true, + title: '答题结果', + }, + }, ], }; diff --git a/src/router/routes/modules/zyHistory/zyHistory.ts b/src/router/routes/modules/zyHistory/zyHistory.ts deleted file mode 100644 index e716f8f..0000000 --- a/src/router/routes/modules/zyHistory/zyHistory.ts +++ /dev/null @@ -1,69 +0,0 @@ -import type { AppRouteModule } from '/@/router/types'; - -// import { LAYOUT } from '/@/router/constant'; -import { t } from '/@/hooks/web/useI18n'; - -const zuoyehistory: AppRouteModule = { - path: '/history', - name: 'history', - component: () => import('/@/views/site/renKeJiaoCheng/checkKecheng/history/kcHistoryMain.vue'), - redirect: '/history/hismain', - meta: { - isAddStaticPath: true,//是否静态引入(不用配置menu表) - orderNo: 106, - title: '历史作业', - }, - children: [ - { - path: 'hismain', - name: 'zuoyeHistoryMain', - meta: { - title: '课程简介', - }, - component: () => import('/@/views/site/renKeJiaoCheng/checkKecheng/history/kcHistoryDetail.vue'), - }, - { - path: 'hisTzgg', - name: 'hisTzgg', - component: () => import('/@/views/zy/zyGonggao/StudentGonggaoList.vue'), - meta: { - title: '通知公告', - }, - }, - { - path: 'hisKczy', - name: 'hisKczy', - component: () => import('/@/views/zy/zyInfo/ZyInfoHisMainList.vue'), - meta: { - title: '课程作业', - }, - }, - { - path: 'hisdksbl', - name: 'hisdksbl', - component: () => import('/@/views/kc/detection/zyZhjsList.vue'), - meta: { - title: 'AI识别出勤率', - }, - }, - { - path: 'hisKccy', - name: 'hisKccy', - component: () => import('/@/views/kc/wjxCswj/WjxCswjHisMainList.vue'), - meta: { - title: '课程测验', - }, - }, - { - path: 'hisWjdc', - name: 'hisWjdc', - component: () => import('/@/views/kc/wjxDcwj/WjxDcwjHisMainList.vue'), - meta: { - title: '问卷调查', - }, - }, - - ] -} - -export default zuoyehistory; diff --git a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkc.vue b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkc.vue index 88f59c4..53c4237 100644 --- a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkc.vue +++ b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkc.vue @@ -4,7 +4,9 @@
-
{{ item.sksj }}
+
+ {{ item.sksj }} +
@@ -15,23 +17,23 @@ :numberStyle="{ backgroundColor: '#f00', width: '10px', height: '10px' }" :title="'您有' + item.dbtxType + '条提醒信息'" > --> - {{ item.kcmc }} + {{ item.kcmc }}
{{ item.skdd }}
-
-
-
{{ item.xf }}
-
学分
-
-
-
{{ item.xkrs }}
-
选课人数
-
+
+
+
{{ item.xf }}
+
学分
- 进入课程 +
+
{{ item.xkrs }}
+
选课人数
+
+
+ 进入课程
@@ -46,13 +48,13 @@ import { ref, onMounted } from 'vue'; import { getUserSf, getSysConfig } from '/@/views/site/utils/index'; import { defHttp } from '/@/utils/http/axios'; - import XxhbbksListModal from '/@/views/kc/xxhbbks/XxhbbksListModal.vue'; +import XxhbbksListModal from '/@/views/kc/xxhbbks/XxhbbksListModal.vue'; import { router } from '/@/router'; import { useRouter } from 'vue-router'; const allList = ref([]); - const XxhbbksListModalPage = ref(); +const XxhbbksListModalPage = ref(); const weebMap = { '1': '星期一', @@ -67,18 +69,18 @@ function toWeek(week) { return weebMap[week]; } - //获取选课人数 - function openXkrs(record){ - console.log(`🚀 ~ openXkrs ~ record:`, record) - XxhbbksListModalPage.value.disableSubmit = true; - XxhbbksListModalPage.value.init(record); - } +//获取选课人数 +function openXkrs(record) { + console.log(`🚀 ~ openXkrs ~ record:`, record) + XxhbbksListModalPage.value.disableSubmit = true; + XxhbbksListModalPage.value.init(record); +} //进入就加载 onMounted(() => { loadData(); setInterval(() => { loadData() - }, 60*1000); + }, 60 * 1000); }); function loadData() { @@ -99,17 +101,20 @@ function openKechengDetail(item) { .ketangCard { margin: 0.5rem; } + .ketangCardcol { background-color: #f3f3f3; padding: 1px; box-shadow: 1px 1px 5px 1px #e1e1e1; } + .rjkcTopDiv { padding: 0.5rem; color: #798394; font-size: 15px; text-align: right; } + .nDayDiv { top: -14px; right: -14px; @@ -121,26 +126,31 @@ function openKechengDetail(item) { border-radius: 0 0 0 5px; text-align: left; } + .rjkcBodyDiv { margin-top: 1px; background: #fff; - padding:1rem; + padding: 1rem; } + .kcmcDiv { font-size: 24px; font-weight: bold; } + .skddDiv { color: #333333; - font-size:14px; + font-size: 14px; // font-weight: bold; } + .xkrsDiv { - padding-top:1rem; + padding-top: 1rem; font-size: 18px; font-weight: bold; text-align: right; } + .buttonClass { background: #1ab394; font-weight: 600; @@ -152,46 +162,52 @@ function openKechengDetail(item) { background: #6cafda; } } -.skdd-Left-section{ + +.skdd-Left-section { display: flex; align-items: flex-end; justify-content: space-between; } -.ketangback{ + +.ketangback { background: #f7f7f7; border-radius: 5px; } -.skdd-line{ + +.skdd-line { text-align: left; - width:30%; + width: 30%; margin-right: 10rpx; } -.xkrs-color{ + +.xkrs-color { color: #18a689; } -.xkrs-color:hover{ + +.xkrs-color:hover { color: #ff5a00; } + .ant-btn { - line-height: 1.5715; - position: relative; - display: inline-block; - font-weight: 400; - white-space: nowrap; - text-align: center; - background-image: none; - box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015); - cursor: pointer; - transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - touch-action: manipulation; - height: 32px; - padding: 4px 15px; - font-size: 14px; - border-radius:5px; - border-color: #fff; - color: #fff; + line-height: 1.5715; + position: relative; + display: inline-block; + font-weight: 400; + white-space: nowrap; + text-align: center; + background-image: none; + box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015); + cursor: pointer; + transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + touch-action: manipulation; + height: 32px; + padding: 4px 15px; + font-size: 14px; + border-radius: 5px; + border-color: #fff; + color: #fff; } \ No newline at end of file diff --git a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcHistory.vue b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcHistory.vue index 76ecad7..26168b9 100644 --- a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcHistory.vue +++ b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcHistory.vue @@ -3,52 +3,77 @@ - + - + - + - + - + 查询 - + - -
-
-
{{ item.sksj }}
-
-
-
{{ item.kcmc }}
-
{{ item.skdd }}
-
{{ item.xqxn }}
-
{{ item.xkrs }}人选课   进入课程
+ +
+
+
+ {{ item.sksj }}
- - +
+
+ + + {{ item.kcmc }} + +
+
{{ item.skdd }}
+ +
+
+
+
{{ item.xf }}
+
学分
+
+
+
{{ item.xkrs }}
+
选课人数
+
+
+ 进入课程 +
+
+
+
+ \ No newline at end of file diff --git a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMain.vue b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMain.vue index 32df57d..97a6bee 100644 --- a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMain.vue +++ b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMain.vue @@ -2,96 +2,101 @@
- + -
- - - - - - - - 课程名称1:{{kcxxInfo.kcmc}} - - - - - 课程名称1:{{kcxxInfo.kcmc}} - - - - +
+ + + + + + + + 课程名称:{{ kcxxInfo.kcmc }} + + + + + 课程名称:{{ kcxxInfo.kcmc }} + + + +
- + - + + - + - +