From 8aa96cd0ac0589ef4eb3fb59a439ebd118ad6771 Mon Sep 17 00:00:00 2001 From: lixg Date: Sat, 28 Jan 2023 16:44:23 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?=E5=88=86=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/components/drawers/AddLevelImportStu.vue | 14 +- src/components/drawers/SubsetManage.vue | 83 ++-- .../courselibrary/components/seeModal.vue | 377 +++++++++++------- src/views/learningpath/LevelAdd.vue | 210 +++++----- src/views/system/SystemManage.vue | 64 +-- 6 files changed, 456 insertions(+), 294 deletions(-) diff --git a/.env b/.env index 4f5c0444..95cc3827 100644 --- a/.env +++ b/.env @@ -5,7 +5,7 @@ VUE_APP_BASE_API=/manageApi #文件路径 VUE_APP_FILE_PATH=/upload/ # 代理url 本地调试,不可以用在其他地方 -VUE_APP_PROXY_URL=http://111.231.196.214/manageApi +VUE_APP_PROXY_URL=http://43.143.139.204/manageApi # 登录url VUE_APP_LOGIN_URL=https://u-pre.boe.com/web # boe域名 diff --git a/src/components/drawers/AddLevelImportStu.vue b/src/components/drawers/AddLevelImportStu.vue index 0d6abdca..5aac683e 100644 --- a/src/components/drawers/AddLevelImportStu.vue +++ b/src/components/drawers/AddLevelImportStu.vue @@ -18,7 +18,13 @@
请下载
- 模板 + 模板
,按要求填写数据并导入
@@ -128,7 +134,9 @@ >
- {{ succNum }}条数据导入成功,{{ downloadErrUrl == ''? 0 :errNum }}条数据导入失败 + {{ succNum }}条数据导入成功,{{ + downloadErrUrl == "" ? 0 : errNum + }}条数据导入失败
@@ -223,7 +231,7 @@ export default { const state = reactive({ locationHref: location.href.indexOf("http://") !== -1 - ? "http://111.231.196.214:12016/" + ? "http://43.143.139.204:12016/" : location.href.slice(0, location.href.indexOf("/m")) + "/upload/", template: process.env.VUE_APP_UP_LOAD_STUDENT_TEMPLATE, importStudent: diff --git a/src/components/drawers/SubsetManage.vue b/src/components/drawers/SubsetManage.vue index edc0ab33..edc808a6 100644 --- a/src/components/drawers/SubsetManage.vue +++ b/src/components/drawers/SubsetManage.vue @@ -3,7 +3,7 @@ :visible="Svisible" class="drawerStyle subset" placement="right" - width="70%" + width="640px" @after-visible-change="afterVisibleChange" >
@@ -16,39 +16,43 @@ />
-
小组:
+
+ 创建: + + 个小组, + 每组: + + 个学员 + +
+
-
删除
-
-
- -
删除
-
-
- +
20
+
删除
-
+ +
@@ -139,11 +143,33 @@ export default { } } .main { - display: flex; + .group { + display: flex; + align-items: center; + font-size: 16px; + font-weight: 400; + color: rgba(0, 0, 0, 0.85); + line-height: 22px; + .sure { + cursor: pointer; + width: 100px; + height: 40px; + background: #4ea6ff; + border-radius: 8px; + border: 0; + margin-left: 15px; + color: #fff; + margin-left: 32px; + } + } .groupin { display: flex; align-items: center; margin-top: 32px; + font-size: 16px; + font-weight: 400; + color: rgba(0, 0, 0, 0.85); + line-height: 22px; .ant-input { border-radius: 5px; // height: 120%; @@ -156,6 +182,17 @@ export default { margin-left: 10px; cursor: pointer; } + .peopleNum { + width: 56px; + height: 40px; + border-radius: 8px; + border: 1px solid #c7cbd2; + display: flex; + align-items: center; + justify-content: center; + + margin-left: 12px; + } } .groupl { color: rgba(0, 0, 0, 0.85); diff --git a/src/views/courselibrary/components/seeModal.vue b/src/views/courselibrary/components/seeModal.vue index 640dc5be..4c9ea0b8 100644 --- a/src/views/courselibrary/components/seeModal.vue +++ b/src/views/courselibrary/components/seeModal.vue @@ -1,15 +1,30 @@