From c3b09e61c7b7cecbb9bec0e55ce00839886eb10c Mon Sep 17 00:00:00 2001 From: dongwug Date: Fri, 11 Nov 2022 09:22:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BB=BB=E5=8A=A1=E5=A4=A7=E7=BA=B2?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E8=B7=B3=E8=BD=AC=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/CreVote.vue | 6 +- src/components/windows/DelWins.vue | 161 --------------------------- src/views/projectcenter/TaskPage.vue | 70 ++++++++---- 3 files changed, 50 insertions(+), 187 deletions(-) delete mode 100644 src/components/windows/DelWins.vue diff --git a/src/components/drawers/CreVote.vue b/src/components/drawers/CreVote.vue index cdcd309d..56cf411d 100644 --- a/src/components/drawers/CreVote.vue +++ b/src/components/drawers/CreVote.vue @@ -38,7 +38,7 @@
-
删除题干
+
删除题干
@@ -109,8 +109,6 @@ import * as api from "../../api/indexVote"; import { message } from "ant-design-vue"; export default { name: "CreVote", - // components: { - // }, props: { crevoteVisible: { type: Boolean, @@ -138,7 +136,6 @@ export default { }, ], }); - const addQue = () => { state.questions.push({ stemTit: "题干", @@ -168,7 +165,6 @@ export default { // delete value[0] value.pop() } - const closeDrawer = () => { ctx.emit("update:crevoteVisible", false); }; diff --git a/src/components/windows/DelWins.vue b/src/components/windows/DelWins.vue deleted file mode 100644 index de5ca5c2..00000000 --- a/src/components/windows/DelWins.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index dbd5e4b6..75e3e4c5 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -220,14 +220,16 @@
任务大纲
- - + + + +
- + - + @@ -1056,9 +1066,16 @@ - + - + @@ -1812,7 +1829,7 @@ export default { selectedRowKeys: [], //选择的学员 selectedRows: [], //选择的学员的id值 chooseDeleteOne: [], //删除的单个学员id - projectTaskId:"", //项目任务id + projectTaskId: "", //项目任务id //进度排行学员 rankjindu: [{ value: "学员", label: "学员" }], valuestu1: "学员", @@ -1874,7 +1891,7 @@ export default { noticeChecked: true, noticeContent: "", TaskFaceImpStuvisible: false, //批量面授报名 - + morFaceT:true, //批量面授报名按钮 //进度排行表 jindutabledata: [ { @@ -2342,7 +2359,6 @@ export default { level: null, //项目级别 systemId: null, //培训体系 picUrl: null, - }); // 输入接入 -- start -- @@ -2363,15 +2379,20 @@ export default { if (res.status == 200) { console.log("res", res); console.log("阶段列表", res.data.data.stageList); - console.log('任务id',res.data.data.stageList[0].taskList[0].projectTaskId) - //taskList[num] num应该是点那个就是那个数 - state.projectTaskId = res.data.data.stageList[0].taskList[0].projectTaskId + console.log( + "任务id", + res.data.data.stageList[0].taskList[0].projectTaskId + ); + //taskList[num] num应该是点那个就是那个数 + state.projectTaskId = + res.data.data.stageList[0].taskList[0].projectTaskId; let leng = res.data.data.stageList.length; if (leng > 0) { //获取任务列表 阶段 let taskarr = res.data.data.stageList; state.taskSyllabus = taskarr; - // console.log(res.data.data.stageList[0].taskList[0].type, "ggg"); + console.log("123456789", state.taskSyllabus); + // console.log(res.data.data.stageList[0].taskList[0].name, "ggg"); } } }) @@ -3046,7 +3067,14 @@ export default { state.checkedSty = info.courseSyncFlag == 1 ? true : false; state.checkedBOEU = info.boeFlag == 1 ? true : false; state.picUrl = info.picUrl; - state.sourceBelong = info.sourceBelongId==1?"项目一":info.sourceBelongId==2?"项目二":info.sourceBelongId==3?"项目三":"-" + state.sourceBelong = + info.sourceBelongId == 1 + ? "项目一" + : info.sourceBelongId == 2 + ? "项目二" + : info.sourceBelongId == 3 + ? "项目三" + : "-"; }); }); return {