diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index e47063ed..7ad64ebf 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -12,9 +12,9 @@
项目经理:{{ manager }}
起止时间:{{ startTime }}至{{ endTime }}
-
- - + - + - + - + - + -
+
{{ act }}
-
+
{{ act }}
-
+
{{ act }}
-
+
{{ act }}
- +
@@ -83,9 +120,9 @@
- - - + - - - - - @@ -153,14 +195,18 @@
-
+
@@ -175,7 +221,11 @@
快速添加任务/阶段
-
+
@@ -189,9 +239,9 @@ 添加学员
快速添加学员
-
- - +
-
- {{ item.name || "无阶段" }} +
+ {{ item.name || "无阶段" }}
@@ -304,20 +372,34 @@
- +
课程完成率
- +
考试通过率
- +
作业完成率
@@ -326,23 +408,32 @@
阶段任务总数 - +
{{ stageOverviewList[choosedStageIndex]?.totalReqCnt }}
必修课 - +
{{ stageOverviewList[choosedStageIndex]?.totalOptCnt }}
选修课 - +
@@ -354,19 +445,28 @@
任务大纲
- + :template-url="`/admin/project/exportTaskCoursePlan/${projectId}?type=1&taskType=2&thirdType=3`" + > - + - -
- -
+
- +
@@ -552,14 +704,18 @@
-
+
@@ -583,14 +739,24 @@
- + @@ -599,7 +765,10 @@
小组名称:
- +
@@ -624,24 +793,33 @@
导出小组
- +
导入小组长
-
-
+
{{ item.groupName }}
- . . . + . . .
-
+
编辑
@@ -653,17 +831,22 @@
组长:{{ item.leaderName }}
进度
- +
-
-
组员名单 >
- -
+
- +
无证书
@@ -810,54 +1057,77 @@
+添加证书
-
+
- +
获取规则
{{ item.finishType === 1 - ? "完成项目" - : item.finishType === 2 + ? "完成项目" + : item.finishType === 2 ? "完成阶段" : item.finishType === 3 - ? "完成任务" - : item.finishType === 4 - ? "考试合格" - : item.finishType === 5 - ? "获得积分" - : "-" + ? "完成任务" + : item.finishType === 4 + ? "考试合格" + : item.finishType === 5 + ? "获得积分" + : "-" }}
更多 - -
-
+ +
+ @@ -868,25 +1138,33 @@
- +
- -
+ +
- -
- +
+ -
+
编辑
@@ -899,13 +1177,19 @@
封面图:
- +
项目时间:
- {{ startTime }} ~ {{ endTime }} + {{ startTime }} ~ {{ endTime }}
@@ -924,7 +1208,10 @@
项目级别:
- +
@@ -932,22 +1219,29 @@
培训体系:
- +
同步学习记录:
- 同步课程学习记录(如学员在课程库中拥有课程的学习记录,自动免修该课程) + 同步课程学习记录(如学员在课程库中拥有课程的学习记录,自动免修该课程)
是否BOEU实施:
- BOEU实施 + BOEU实施
@@ -974,34 +1268,60 @@
上传共享文档
- +
- - 上传 - + + 上传 + -
+
支持:pdf.ppt.pptx.doc.docx.xls.xlsx.jpeg.png.gif.zip
-
- - +
- +
+ +
+ +
+ -
- +
+ -
- -
- -
- - + " + src="@/assets/images/coursewareManage/zippic.png" + /> +
- {{ item.name }} - 下载 - 删除 + {{ item.name }} + 下载 + 删除
@@ -1082,86 +1442,190 @@
- + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - +
- -
+ +
- - 项目发布 + + 项目发布
- +
管理者进阶-腾飞班1
- 项目时间:2022/08/01-2022/08/30 + 项目时间:2022/08/01-2022/08/30
@@ -1178,8 +1642,12 @@ 发送项目通知
- 发给老师 - 发给学员 + 发给老师 + 发给学员
取消 @@ -1191,53 +1659,89 @@
- -
+ +
{{ !groupInfo?.id ? "创建小组" : "编辑小组" }}
- +
- +
小组名称:
- +
- +
组员人数:
- +
- +
小组长:
- +
@@ -1250,8 +1754,14 @@
- +
@@ -1277,7 +1787,13 @@
- +
@@ -1303,7 +1819,13 @@
- +
@@ -1329,8 +1851,14 @@
- +
@@ -1357,7 +1885,13 @@
- +
@@ -1383,27 +1917,50 @@ - -
+ +
- - 项目发布 + + 项目发布
-
- +
+
{{ releaseProjectName }}
- 项目时间:{{ startTime }}~{{ endTime }} + 项目时间:{{ startTime }}~{{ endTime }}
@@ -1415,9 +1972,9 @@
学员信息
项目共{{ projectStudentsNum }}名学员
+
-
- -
+
- +
@@ -1465,8 +2031,13 @@
- +
@@ -1491,7 +2062,13 @@
- +
@@ -1518,7 +2095,13 @@
- +
@@ -1542,10 +2125,19 @@
- + - +
@@ -1674,7 +2266,7 @@ export default { width: 80, align: "center", className: "h", - ellipsis: true + ellipsis: true, }, { title: "证书数量", @@ -1683,7 +2275,7 @@ export default { width: 80, align: "center", className: "h", - ellipsis: true + ellipsis: true, }, { title: "状态", @@ -1698,8 +2290,8 @@ export default { {record.finishTaskNum == 0 ? "未开始" : record.finishTaskNum == record.totalTaskNum - ? "已完成" - : "进行中"} + ? "已完成" + : "进行中"}
), }, @@ -1828,7 +2420,7 @@ export default { allDelete: false, //批量删除弹窗 pubproject: false, stugroup: false, - isEdit: false, + isEdit: false, canclestu: false, canclestu1: false, deleteOneStu: false, //删除单个学员弹窗 @@ -1848,7 +2440,7 @@ export default { inputValue3: 5, valueaddm: "", //创建小组输入小组长 valueaddg: "", //创建小组输入名称 - groupInfo: { leaderName: '', leaderId: '' }, //创建小组 + groupInfo: { leaderName: "", leaderId: "" }, //创建小组 groupPageList: [], //小组列表 groupNumber: 0, //组员人数 valuestun: "", //学员管理姓名 @@ -2480,7 +3072,7 @@ export default { console.log("点击换组", record.studentId); state.checkgroupStuId = record.studentId; }; - const showModal2 = (item,isEdit) => { + const showModal2 = (item, isEdit) => { state.isEdit = isEdit; state.stugroup = true; state.groupInfo = item || {}; @@ -2918,7 +3510,9 @@ export default {
{ - {/* console.log("点击了111", text); */ } + { + /* console.log("点击了111", text); */ + } showDeleteOne(text.record.studentId); }} > @@ -3113,12 +3707,12 @@ export default { value.source == 0 ? "报名加入" : value.source == 1 - ? "指定添加" - : value.source == 2 - ? "组织添加" - : value.source == 3 - ? "受众添加" - : "-", //加入方式 + ? "指定添加" + : value.source == 2 + ? "组织添加" + : value.source == 3 + ? "受众添加" + : "-", //加入方式 stutime: toDate(value.beginStudyTime, "Y-M-D"), //开始学习时间 }; array.push(obj); @@ -3162,10 +3756,10 @@ export default { state.valuegood == "优秀学员" ? 1 : state.valuegood == "普通学员" - ? 0 - : state.valuegood == "全部" - ? "" - : "", + ? 0 + : state.valuegood == "全部" + ? "" + : "", }; //重新获取列表 getStu(obj); @@ -3307,8 +3901,8 @@ export default { }; getGroupList(objf).then((res) => { state.groupPageList = res.data.data.rows; - setGroupList(res.data.data.rows) - }) + setGroupList(res.data.data.rows); + }); }; //删除小组 const deleteGroupBtn = (projectGroupId) => { @@ -3319,25 +3913,27 @@ export default { }; //创建小组 const createGroup = async () => { - console.log("state.groupPageList" + state.groupPageList) - const d = state.groupPageList.filter(item => item.leaderId === state.groupInfo.leaderId); + console.log("state.groupPageList" + state.groupPageList); + const d = state.groupPageList.filter( + (item) => item.leaderId === state.groupInfo.leaderId + ); const id = state.groupInfo.id; if (state.isEdit) { - if (d.length > 0 && d[0].id !== id ) { + if (d.length > 0 && d[0].id !== id) { return message.warn(d[0].leaderName + "已是小组长,请重新选择"); } - }else{ - if (d.length > 0 ) { + } else { + if (d.length > 0) { return message.warn(d[0].leaderName + "已是小组长,请重新选择"); } } // 过滤掉编辑时候,只修改了组员最大值时候 state.isEdit = false; - await editGroup({ ...state.groupInfo, projectId: state.projectId }) - message.success(id ? '小组编辑成功' : "小组创建成功"); + await editGroup({ ...state.groupInfo, projectId: state.projectId }); + message.success(id ? "小组编辑成功" : "小组创建成功"); getGroup(); - console.log("state.groupPageList:") + console.log("state.groupPageList:"); getStu(); }; //搜索小组重置 @@ -3550,14 +4146,14 @@ export default { state.action == 2 ? "发布" : state.action == 0 - ? "提交审核" - : state.action == 1 - ? "撤回审核" - : state.action == 3 - ? "撤回发布" - : state.action == -1 - ? "" - : "-"; + ? "提交审核" + : state.action == 1 + ? "撤回审核" + : state.action == 3 + ? "撤回发布" + : state.action == -1 + ? "" + : "-"; }); }; //打开发布弹窗 @@ -3840,36 +4436,36 @@ export default { status == -1 ? (isEnd = true) : nowTime > endTime - ? (isEnd = true) - : (isEnd = false); + ? (isEnd = true) + : (isEnd = false); break; case 3: status == -1 ? (isEnd = true) : nowTime > endTime - ? (isEnd = true) - : (isEnd = false); + ? (isEnd = true) + : (isEnd = false); break; case 5: status == -1 ? (isEnd = true) : nowTime > endTime - ? (isEnd = true) - : (isEnd = false); + ? (isEnd = true) + : (isEnd = false); break; case 7: status == -1 ? (isEnd = true) : nowTime > endTime - ? (isEnd = true) - : (isEnd = false); + ? (isEnd = true) + : (isEnd = false); break; case 10: status == -1 ? (isEnd = true) : nowTime > endTime - ? (isEnd = true) - : (isEnd = false); + ? (isEnd = true) + : (isEnd = false); break; } return isEnd; @@ -3888,9 +4484,9 @@ export default { return message.error("该任务无法学习,请联系管理员进行替换。"); window.open( window.location.protocol + - import.meta.env.VUE_APP_BOE_API_URL + - "/mobile/pages/study/courseStudy?id=" + - item.targetId, + import.meta.env.VUE_APP_BOE_API_URL + + "/mobile/pages/study/courseStudy?id=" + + item.targetId, "_top" ); } @@ -4266,16 +4862,20 @@ export default { .ant-modal { .ant-modal-body { .modalHeader { - background: linear-gradient(rgba(78, 166, 255, 0.2) 0%, - rgba(78, 166, 255, 0) 100%); + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); } padding: 0; .modalHeader { - background: linear-gradient(0deg, - rgba(78, 166, 255, 0) 0%, - rgba(78, 166, 255, 0.2) 100%); + background: linear-gradient( + 0deg, + rgba(78, 166, 255, 0) 0%, + rgba(78, 166, 255, 0.2) 100% + ); } .modalMain { @@ -4311,9 +4911,11 @@ export default { .promessage { width: 280px; height: 110px; - background: linear-gradient(180deg, - rgba(254, 243, 221, 1), - rgba(255, 250, 240, 1)); + background: linear-gradient( + 180deg, + rgba(254, 243, 221, 1), + rgba(255, 250, 240, 1) + ); border-radius: 10px; margin-right: 7px; @@ -4335,9 +4937,11 @@ export default { .stumessage { width: 280px; height: 110px; - background: linear-gradient(180deg, - rgba(221, 234, 255, 1), - rgba(240, 248, 254, 1)); + background: linear-gradient( + 180deg, + rgba(221, 234, 255, 1), + rgba(240, 248, 254, 1) + ); border-radius: 10px; .messageme1 { @@ -4466,8 +5070,10 @@ export default { position: absolute; width: calc(100%); height: 68px; - background: linear-gradient(rgba(78, 166, 255, 0.2) 0%, - rgba(78, 166, 255, 0) 100%); + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); } .del_main { @@ -4590,8 +5196,10 @@ export default { position: absolute; width: calc(100%); height: 68px; - background: linear-gradient(rgba(78, 166, 255, 0.2) 0%, - rgba(78, 166, 255, 0) 100%); + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); } .del_main { @@ -4719,8 +5327,10 @@ export default { position: absolute; width: calc(100%); height: 68px; - background: linear-gradient(rgba(78, 166, 255, 0.2) 0%, - rgba(78, 166, 255, 0) 100%); + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); } .del_main { @@ -4817,9 +5427,11 @@ export default { .ant-modal { .ant-modal-body { .modalHeader { - background: linear-gradient(0deg, - rgba(78, 166, 255, 0) 0%, - rgba(78, 166, 255, 0.2) 100%); + background: linear-gradient( + 0deg, + rgba(78, 166, 255, 0) 0%, + rgba(78, 166, 255, 0.2) 100% + ); } padding: 0; @@ -4916,8 +5528,10 @@ export default { padding: 0; .modalHeader { - background: linear-gradient(rgba(78, 166, 255, 0.2) 0%, - rgba(78, 166, 255, 0) 100%); + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); } .modalMain { @@ -4954,9 +5568,11 @@ export default { .promessage { width: 280px; height: 110px; - background: linear-gradient(180deg, - rgba(254, 243, 221, 1), - rgba(255, 250, 240, 1)); + background: linear-gradient( + 180deg, + rgba(254, 243, 221, 1), + rgba(255, 250, 240, 1) + ); border-radius: 10px; margin-right: 7px; @@ -4978,9 +5594,11 @@ export default { .stumessage { width: 280px; height: 110px; - background: linear-gradient(180deg, - rgba(221, 234, 255, 1), - rgba(240, 248, 254, 1)); + background: linear-gradient( + 180deg, + rgba(221, 234, 255, 1), + rgba(240, 248, 254, 1) + ); border-radius: 10px; .messageme1 { @@ -5247,7 +5865,7 @@ export default { .tableBox { margin: 20px 38px 30px; - .ant-table-thead>tr>th { + .ant-table-thead > tr > th { font-size: 14px; font-weight: 400; color: #999ba3; @@ -5264,12 +5882,11 @@ export default { } .content { - //margin: 0 37px; - .ant-tabs-top>.ant-tabs-nav::before, - .ant-tabs-bottom>.ant-tabs-nav::before, - .ant-tabs-top>div>.ant-tabs-nav::before, - .ant-tabs-bottom>div>.ant-tabs-nav::before { + .ant-tabs-top > .ant-tabs-nav::before, + .ant-tabs-bottom > .ant-tabs-nav::before, + .ant-tabs-top > div > .ant-tabs-nav::before, + .ant-tabs-bottom > div > .ant-tabs-nav::before { border-bottom: 0px; } @@ -5545,12 +6162,12 @@ export default { min-width: 1040px; } - .ant-collapse-content>.ant-collapse-content-box { + .ant-collapse-content > .ant-collapse-content-box { padding-top: 0px; padding-bottom: 0px; } - .ant-collapse>.ant-collapse-item { + .ant-collapse > .ant-collapse-item { border: 0px; } @@ -5932,12 +6549,12 @@ export default { } .tab { - .ant-table-thead>tr>th { + .ant-table-thead > tr > th { background-color: rgba(239, 244, 252, 1); color: rgba(0, 0, 0, 0.85); } - .ant-table-tbody>tr>td { + .ant-table-tbody > tr > td { border-bottom: 1px solid #f0f6fc; color: rgba(0, 0, 0, 0.65); } @@ -5946,7 +6563,9 @@ export default { background-color: #eff4fc !important; } - .ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td { + .ant-table-tbody + > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) + > td { background: rgba(250, 250, 250, 1); } @@ -6059,7 +6678,9 @@ export default { margin-left: 8px; display: inline-block; - .ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input { + .ant-select:not(.ant-select-customize-input) + .ant-select-selector + .ant-select-selection-search-input { background-color: rgba(255, 255, 255, 0); border: none; } @@ -6069,11 +6690,15 @@ export default { border: none; } - .ant-select-single:not(.ant-select-customize-input) .ant-select-selector { + .ant-select-single:not(.ant-select-customize-input) + .ant-select-selector { padding: 0; } - .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector { + .ant-select-focused:not(.ant-select-disabled).ant-select:not( + .ant-select-customize-input + ) + .ant-select-selector { box-shadow: none; } @@ -6490,7 +7115,9 @@ export default { background-color: #eff4fc !important; } - .ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td { + .ant-table-tbody + > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) + > td { background: #f6f9fd; } } @@ -7222,8 +7849,10 @@ export default { position: absolute; width: calc(100%); height: 40px; - background: linear-gradient(rgba(78, 166, 255, 0.2) 0%, - rgba(78, 166, 255, 0) 100%); + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); } .del_main {