diff --git a/src/api/api.js b/src/api/api.js index 22de8f2..6fbd262 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -128,6 +128,6 @@ export const EditVoteInvolvedAndBrowse = `/vote/editVoteInvolvedAndBrowse post` //查询路径关卡列表 export const ROUTER_DETAIL_CHAPTER_LIST = `/stu/router/chapterPcList` - - +//可编辑项 +export const EDIT_ASSESSMENT_SCORE = '/activitySubmit/editAssessmentScore post' diff --git a/src/views/homework/HomeworkPage.vue b/src/views/homework/HomeworkPage.vue index 19a0ee8..f19b8d8 100644 --- a/src/views/homework/HomeworkPage.vue +++ b/src/views/homework/HomeworkPage.vue @@ -496,7 +496,7 @@ const { data } = : useRequest(TASK_WORK_DETAIL, { workId, type }); console.log("data==----->", data); - +const answerTime = dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss"); const { data: submitList } = useRequest(TASK_WORK_SUBMIT_LIST, { workerId: workId, type @@ -551,7 +551,8 @@ const handleClick = () => { workId, type, taskId: taskId || infoId, - workScore: -1 + workScore: -1, + submitStartTime:answerTime }).then((res) => { submitList.value.length!==0&&submitList.value.unshift(res.data); open(); diff --git a/src/views/survey/SurveyDetail.vue b/src/views/survey/SurveyDetail.vue index dfd51d0..3629a25 100644 --- a/src/views/survey/SurveyDetail.vue +++ b/src/views/survey/SurveyDetail.vue @@ -46,7 +46,7 @@
{{ value.assessmentScTitle }}
-
完全没用
+
{{names[value.id]? names[value.id] : '完全没用'}}
{{ item + 1 }}
-
非常有帮助/启发
+
{{names['end'+ value.id]? names['end'+ value.id] : '非常有帮助/启发'}}
@@ -214,15 +214,34 @@ + + +
+ +
+ +
+