From 190d3b7870eeb00116578adcd117c70a02a9d4a3 Mon Sep 17 00:00:00 2001 From: lixg Date: Wed, 7 Dec 2022 15:53:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=A4=A7=E7=BA=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/config.js | 4 ++-- src/components/drawers/AddOnline.vue | 4 ++-- src/views/learningpath/LearningPath.vue | 13 +++++-------- src/views/learningpath/LevelAdd.vue | 4 ++-- src/views/projectcenter/TaskPage.vue | 11 +++++++---- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/api/config.js b/src/api/config.js index 586d71da..12ebbb91 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-21 14:32:52 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-12-07 13:40:40 + * @LastEditTime: 2022-12-07 13:41:47 * @FilePath: /fe-manage/src/api/config.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -56,7 +56,7 @@ http.interceptors.response.use( return response; } else { if (code === 1000) { - window.open("https://u-pre.boe.com/web/", '_self'); + // window.open("https://u-pre.boe.com/web/", '_self'); // window.open("http://111.231.196.214:12013/manage/login", '_self'); } console.log("api %o", msg); diff --git a/src/components/drawers/AddOnline.vue b/src/components/drawers/AddOnline.vue index 56c0271a..465130b8 100644 --- a/src/components/drawers/AddOnline.vue +++ b/src/components/drawers/AddOnline.vue @@ -21,12 +21,12 @@
-
课程信息:
+
课程名称:
diff --git a/src/views/learningpath/LearningPath.vue b/src/views/learningpath/LearningPath.vue index 11ece8ba..0dbe2558 100644 --- a/src/views/learningpath/LearningPath.vue +++ b/src/views/learningpath/LearningPath.vue @@ -319,6 +319,7 @@ 'background-image': 'url(' + item.dictValue + ')', display: index >= 5 ? 'none' : 'flex', }" + style="background-size: 100% 100%" >
@@ -857,8 +858,8 @@ export default { api .getLearnCount(router.id) .then((res) => { + console.log("获取关卡、任务、学员统计数据", res.data); if (res.status === 200) { - // console.log("获取关卡、任务、学员统计数据", res.data); state.routeStudentsNum = res.data.students; state.routeChapters = res.data.chapters; state.routeTasks = res.data.tasks; @@ -1045,18 +1046,14 @@ export default { ? "已结束" : "-", creater: value.createName ? value.createName : "-", - pubtime: value.publishTime - ? value.publishTime - : "-", - cretime: value.createTime - ? value.createTime - : "-", + pubtime: value.publishTime ? value.publishTime : "-", + cretime: value.createTime ? value.createTime : "-", remark: value.remark ? value.remark : "-", }; array.push(obj); }); state.tableData = array; - console.log(array,tableData) + console.log(array, tableData); }; const tableDataFunc = () => { diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index 133e2f9d..f15a1a7c 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -3740,7 +3740,7 @@ export default { //height: 71px; margin-left: 12px; margin-right: 50px; - + width: 120px; .iconame { //position: absolute; color: #4f5156; @@ -3792,7 +3792,7 @@ export default { //height: 71px; flex-grow: 1; margin-right: 50px; - + width: 100px; .timetext { font-size: 14px; color: #999ba3; diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index 948613d6..c08707e7 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -494,7 +494,7 @@
开始时间
- {{ item.startTime !== null ? item.startTime : "" }} + {{ item.startTime !== null ? item.startTime : "-" }}
@@ -5594,7 +5594,7 @@ export default { //height: 71px; margin-left: 12px; margin-right: 50px; - + width: 120px; .iconame { //position: absolute; color: #4f5156; @@ -5607,7 +5607,10 @@ export default { color: #999ba3; font-size: 14px; margin-left: 12px; - width: 83px; + width: 120px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } } @@ -5643,7 +5646,7 @@ export default { //height: 71px; flex-grow: 1; margin-right: 50px; - + width: 100px; .timetext { font-size: 14px; color: #999ba3;