|
@@ -114,12 +114,11 @@ import { getTask, getUpFileToken } from "@/api";
|
|
import * as qiniu from "qiniu-js";
|
|
import * as qiniu from "qiniu-js";
|
|
import { PrinterOutlined as PrinterIcon } from "@vicons/antd";
|
|
import { PrinterOutlined as PrinterIcon } from "@vicons/antd";
|
|
import TabFour from "./tab-four/index.vue";
|
|
import TabFour from "./tab-four/index.vue";
|
|
|
|
+import { useTaskStore } from "@/store/task";
|
|
|
|
|
|
const message = useMessage();
|
|
const message = useMessage();
|
|
|
|
|
|
-const props = defineProps({
|
|
|
|
- taskId: String,
|
|
|
|
-});
|
|
|
|
|
|
+const taskStore = useTaskStore();
|
|
|
|
|
|
const pdfRef = ref(null);
|
|
const pdfRef = ref(null);
|
|
|
|
|
|
@@ -195,7 +194,7 @@ const getFileToken = async (T_suffix) => {
|
|
// 任务(获取)
|
|
// 任务(获取)
|
|
const getTaskInfo = async () => {
|
|
const getTaskInfo = async () => {
|
|
const { data: res } = await getTask({
|
|
const { data: res } = await getTask({
|
|
- T_task_id: props.taskId,
|
|
|
|
|
|
+ T_task_id: taskStore.task.T_task_id,
|
|
});
|
|
});
|
|
taskInfo.value = res.Data;
|
|
taskInfo.value = res.Data;
|
|
};
|
|
};
|