From 171ad0af18b27715f0eff4945e4e35fc7dbbd4b9 Mon Sep 17 00:00:00 2001 From: zhangyc Date: Tue, 13 Dec 2022 14:14:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E5=88=97=E8=A1=A8=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E8=AF=95=E5=8D=B7=E5=88=97=E8=A1=A8=EF=BC=8C=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E5=88=86=E7=B1=BB=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/SelectTest.vue | 36 +++++++++++--------- src/components/project/NameInput.vue | 2 +- src/views/courselibrary/CoursewareManage.vue | 6 +++- src/views/examine/CourseReviewed.vue | 25 ++++++++++++-- src/views/examine/CourseReviewedN.vue | 15 ++++---- src/views/learningpath/LearningPath.vue | 25 +++++++++----- src/views/projectcenter/ProjectManage.vue | 2 +- src/views/research/ResearchManage.vue | 2 ++ 8 files changed, 77 insertions(+), 36 deletions(-) diff --git a/src/components/drawers/SelectTest.vue b/src/components/drawers/SelectTest.vue index fcdeffe6..b12a379e 100644 --- a/src/components/drawers/SelectTest.vue +++ b/src/components/drawers/SelectTest.vue @@ -162,43 +162,47 @@ export default { const tableDataFunc = () => { { const columns = [ - { - title: "序号", - dataIndex: "paperId", - key: "paperId", - width: 90, - align: "center", - className: "h head", - }, + // { + // title: "序号", + // dataIndex: "paperId", + // key: "paperId", + // width: 90, + // align: "center", + // className: "h head", + // }, { title: "试卷名称", dataIndex: "testName", key: "testName", - width: 110, + width: "40%", align: "center", className: "h head", + ellipsis: true, }, { title: "随机模式", dataIndex: "paperMode", key: "paperMode", - width: 110, + width: "20%", align: "center", className: "h", + ellipsis: true, }, { title: "创建人", dataIndex: "sysCreateBy", key: "sysCreateBy", - width: 90, + width: "20%", align: "center", className: "h", + ellipsis: true, }, { title: "最近更新时间", dataIndex: "sysUpdateTime", key: "sysUpdateTime", - width: 150, + ellipsis: true, + width: "20%", align: "center", className: "h", }, @@ -248,7 +252,7 @@ export default { published: true, }; api - .queryExaminationList(obj) + .queryExaminationPaperList(obj) .then((data) => { // getTableDate(res.data.data); //** 表格repaint */ @@ -257,10 +261,10 @@ export default { let obj = { key: index + 1, sysCreateBy: value.sysCreateBy, - paperId: index + 1, + paperId:value.id, testName: value.testName, - paperMode: value.randomMode ? "是" : "否", - sysUpdateTime: value.sysUpdateTime, + paperMode: value.paperMode==1?"固定试卷":"随机", + sysUpdateTime:value.sysUpdateTime, id:value.id, }; array.push(obj); diff --git a/src/components/project/NameInput.vue b/src/components/project/NameInput.vue index 6f92741c..d898b85a 100644 --- a/src/components/project/NameInput.vue +++ b/src/components/project/NameInput.vue @@ -73,7 +73,7 @@ function validateProName() { display: inline-block; width: 99%; min-width: 0; - padding: 0px 17px; + padding: 0px 8px; color: rgba(0, 0, 0, 0.85); font-size: 14px; line-height: 1.5715; diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 930dc096..6a1db8f9 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -1967,6 +1967,7 @@ +
签到设置 @@ -1978,12 +1979,15 @@ 是否允许未报名的学员签到 +
+ +
评估设置 diff --git a/src/views/examine/CourseReviewed.vue b/src/views/examine/CourseReviewed.vue index b5d214fc..9babe163 100644 --- a/src/views/examine/CourseReviewed.vue +++ b/src/views/examine/CourseReviewed.vue @@ -14,6 +14,7 @@
+ + + +
+
--> +
{ state.pathName = ""; state.pathBg = ""; - state.pathBgId = ""; + state.pathBgId =1; state.organizationSelectName = null; state.organizationSelectId = null; state.pathIntro = ""; @@ -1620,14 +1622,21 @@ export default { state.organizationSelectId = detail.organizationId; state.pathIntro = detail.remark; state.editPathId = id; - // console.log("state.imgData", state.imgData); - let arr = imgData; - for (let i = 0; i < arr.length; i++) { - // console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg); - if (arr[i].dictValue === state.pathBg) { - state.pathBgId = arr[i].dictCode; + let arr = imgData.value; + arr.forEach((item) => { + if (item.dictValue === state.pathBg) { + state.pathBgId = item.dictCode; + } - } + }); + + //for (let i = 0; i < arr.length; i++) { + // console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg); + // if (arr[i].dictValue === state.pathBg) { + // state.pathBgId = arr[i].dictCode; + + // } + // } } }) .catch((err) => { diff --git a/src/views/projectcenter/ProjectManage.vue b/src/views/projectcenter/ProjectManage.vue index f641a035..aaab9c1e 100644 --- a/src/views/projectcenter/ProjectManage.vue +++ b/src/views/projectcenter/ProjectManage.vue @@ -44,7 +44,7 @@ >
-
创建时间:
+
项目起止时间:
{value.state === "2" ? (
+ { /**
{ handleToManagepage(value, "/managepage"); @@ -433,6 +434,7 @@ export default { > 管理
+ */ }
{