diff --git a/src/api/apis.js b/src/api/apis.js index 72d5416e..ae74b11e 100644 --- a/src/api/apis.js +++ b/src/api/apis.js @@ -1,7 +1,7 @@ export const STUDENT_LIST = '/admin/student/getStudent'; export const ONLINE_COURSE_PAGE = '/onlineClasses/queryOnlineList'; export const ASSESSMENT_PAGE = '/assessment/queryAssessmentDetailList post'; -export const PROJECT_AUDIT_PAGE = '/admin/project/auditedlist post'; +export const PROJECT_AUDIT_PAGE = '/admin/project/auditedlistV2 post'; export const ROUTER_DETAIL_MODIFY = '/admin/router/routerInfoTemp post'; export const PROJECT_DETAIL_MODIFY = '/admin/project/projectInfoTemp post'; export const PROJECT_TEMPLATE_DETAIL_MODIFY = '/admin/project/template/editStageAndTask post'; diff --git a/src/views/DownLoad.vue b/src/views/DownLoad.vue index b8fc3990..9903a356 100644 --- a/src/views/DownLoad.vue +++ b/src/views/DownLoad.vue @@ -211,6 +211,8 @@ export default { // 搜索 function searchDownloadList() { getData() + // 获取当前用户容量 + getDownLoadTotalSize() } // 重置 @@ -218,6 +220,8 @@ export default { state.name = ""; state.currentPage = 1; getData() + // 获取当前用户容量 + getDownLoadTotalSize() } // 分页 diff --git a/src/views/projectcenter/TaskAdd.vue b/src/views/projectcenter/TaskAdd.vue index 7939f3d1..0685657a 100644 --- a/src/views/projectcenter/TaskAdd.vue +++ b/src/views/projectcenter/TaskAdd.vue @@ -442,6 +442,7 @@ function changeStageIndex(index) { const getTask = async () => { await api.getDraftTask({projectId: route.query.projectId}).then((res) => { projectInfo.value = res.data.data + console.log("获取任务列表:" + JSON.stringify(projectInfo.value) ) }); }; diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index 686b9be7..d1953a6f 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -382,7 +382,7 @@
阶段名称:
-
管理者进阶-腾飞班1第一阶段
+
{{ choosedStageName }}
@@ -2354,6 +2354,7 @@ export default { ], changeGoods: [], //更改是否优秀的id数组 choosedStageId: 1, // 选择的阶段id + choosedStageName:"",//阶段名称 activeSetKey: "12", //12-基础信息 13-共享文档 docChecked: true, //学员信息列表 @@ -2943,6 +2944,7 @@ export default { } state.rankjieduan = arrStage; state.valuestu2 = arrStage[0].value; + state.choosedStageName = levelList.stageList[0].name; } console.log( "----------------------------------->", @@ -3104,6 +3106,7 @@ export default { state.stugroup = false; state.groupInfo = {}; state.groupMemberCountContrast = null; + getGroup(); }; //点击确定创建小组 const createG = () => { @@ -3935,6 +3938,7 @@ export default { }; //创建小组 const createGroup = async () => { + debugger console.log("state.groupPageList" + state.groupPageList); const id = state.groupInfo.id; const d = state.groupPageList @@ -4685,6 +4689,7 @@ export default { url && window.open(url); }; function stageChange(item, index) { + state.choosedStageName = item.name; state.choosedStageId = item.stageId; state.choosedStageIndex = index; } diff --git a/src/views/projectcenter/temTask.vue b/src/views/projectcenter/temTask.vue index 4cf30df3..9cfd488f 100644 --- a/src/views/projectcenter/temTask.vue +++ b/src/views/projectcenter/temTask.vue @@ -281,7 +281,7 @@
- 确定 + 确定11 取消
@@ -541,7 +541,16 @@ const cancelModal = ref(false); const deleteStageModal = ref(false); const templateLoading = ref(false); const cancleLoading = ref(false); -const projectInfo = ref({stageList: [{taskTemplateList: [{}]}], projectTemplateInfo: {}}); +const projectInfo = ref({ + stageList: [{ + "id":"0", + taskTemplateList: [{ + }] + }], + projectTemplateInfo: { + + } +}); const activeIndex = ref(0); const moveChapterIndex = ref(0); const deleteIndex = ref(0); @@ -576,6 +585,13 @@ function changeStageIndex(index) { const getTask = async () => { await api.templateEditDetail(route.query.projectId).then((res) => { projectInfo.value = res.data.data + if(projectInfo.value.stageList.length == 0){ + projectInfo.value.stageList = [{ + "id":"0", + taskTemplateList: [] + }] + } + console.log("获取任务列表信息:" + JSON.stringify(projectInfo.value)); }); }; @@ -721,7 +737,7 @@ const closeDeAll = () => { const submitStorage = async () => { templateLoading.value = true await request(PROJECT_TEMPLATE_DETAIL_MODIFY, projectInfo.value) - await getTask() + // await getTask() message.success("保存成功"); templateLoading.value = false }; diff --git a/src/views/projectcenter/templateAdd.vue b/src/views/projectcenter/templateAdd.vue index 4b8936b3..21574111 100644 --- a/src/views/projectcenter/templateAdd.vue +++ b/src/views/projectcenter/templateAdd.vue @@ -246,6 +246,36 @@ 取消
+ + +
+
+
封面图
+
+
+ +
+ +
+
+
+ + +
+
+