提交增加参数

This commit is contained in:
zhangsir
2024-03-28 10:09:53 +08:00
parent 83b889b269
commit 5aecdad351
3 changed files with 445 additions and 10 deletions

View File

@@ -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();