update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
<script setup>
|
||||
import NULLICON from "../static/images/缺省图.png";
|
||||
import XModal from "./XModal.vue";
|
||||
import {getCurrentInstance, nextTick, onMounted, reactive, ref, watch} from "vue";
|
||||
@@ -76,13 +76,13 @@ const success = async () => {
|
||||
showToast('请选择帐号');
|
||||
return;
|
||||
}
|
||||
const {msg, data} = await Api.system.acceptTask({
|
||||
const {msg, data: {task_children_id, task_id}} = await Api.system.acceptTask({
|
||||
id: details.id,
|
||||
account: selected.value,
|
||||
});
|
||||
showToast(msg);
|
||||
show.value = false;
|
||||
await toPage(`/pages/taskDetails/index?id=${data[1]}&task_children_id=${0}&delta=999`)
|
||||
await toPage(`/pages/taskDetails/index?id=${task_id}&task_children_id=${task_children_id}&delta=999`)
|
||||
emits('success');
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user