diff --git a/src/App.vue b/src/App.vue index 258eb8a..bb3376c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,9 @@ diff --git a/src/api/job.ts b/src/api/job.ts index ce4cb8e..9ad7d97 100644 --- a/src/api/job.ts +++ b/src/api/job.ts @@ -19,11 +19,15 @@ const axiosInstance = createAxiosInstance(axiosConfig); * @param data */ export function fetchJob(data: string) { - return axiosInstance.post("gis_agent_backend/simple/task_plan/", data, { - headers: { - "Content-Type": "application/json", + return axiosInstance.post( + "/gis_agent_backend/plan2level/task_plan/?modelName=gpt-4o", + data, + { + headers: { + "Content-Type": "application/json", + }, }, - }); + ); } /** diff --git a/src/components/Case.vue b/src/components/Case.vue index ab87768..aa75022 100644 --- a/src/components/Case.vue +++ b/src/components/Case.vue @@ -1,34 +1,35 @@ diff --git a/src/components/Question.vue b/src/components/Question.vue index c3ff07f..23196f2 100644 --- a/src/components/Question.vue +++ b/src/components/Question.vue @@ -1,64 +1,38 @@ diff --git a/src/pages/Home.vue b/src/pages/Home.vue index fcd1178..86dfd1c 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -1,60 +1,56 @@ diff --git a/src/pages/Workflow/components/TopBox.vue b/src/pages/Workflow/components/TopBox.vue index d8a8ce6..60e39df 100644 --- a/src/pages/Workflow/components/TopBox.vue +++ b/src/pages/Workflow/components/TopBox.vue @@ -7,7 +7,7 @@ import { useRouter } from "vue-router"; const router = useRouter(); const go = () => { - router.push({ path: "/chat", replace: true }); + router.push({ path: "/", replace: true }); }; @@ -18,7 +18,7 @@ const go = () => { Go ChatBack diff --git a/src/pages/Workflow/index.less b/src/pages/Workflow/index.less index 10d9d8c..5579d0a 100644 --- a/src/pages/Workflow/index.less +++ b/src/pages/Workflow/index.less @@ -22,8 +22,4 @@ background-color:#F4F4F6; padding: 0; } -} -.question-button{ - position: absolute; - bottom: 20px; } \ No newline at end of file diff --git a/src/pages/Workflow/index.vue b/src/pages/Workflow/index.vue index 6cddcca..42497fe 100644 --- a/src/pages/Workflow/index.vue +++ b/src/pages/Workflow/index.vue @@ -2,8 +2,6 @@ import TopBox from "@/pages/Workflow/components/TopBox.vue"; import LeftBox from "@/pages/Workflow/components/LeftBox.vue"; import RightBox from "@/pages/Workflow/components/RightBox.vue"; -import Question from "@/components/Question.vue"; -import Case from "@/components/Case.vue";