mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-22 17:26:49 +08:00
提交增加参数
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user