From 7039c7f1a1feacc5479cbe7b886f239dea3ef1e6 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 10 十一月 2025 14:05:08 +0800
Subject: [PATCH] Merge branch 'dev-1.3.0.1' of http://120.26.58.240:8888/r/flexJobMiniApp into dev-1.3.0.1

---
 apps/bMiniApp/src/subpackages/jobApplicationManage/components/JobDetail.vue |   49 ++++++++-----------------------------------------
 1 files changed, 8 insertions(+), 41 deletions(-)

diff --git a/apps/bMiniApp/src/subpackages/jobApplicationManage/components/JobDetail.vue b/apps/bMiniApp/src/subpackages/jobApplicationManage/components/JobDetail.vue
index c2ff4ee..42c13d3 100644
--- a/apps/bMiniApp/src/subpackages/jobApplicationManage/components/JobDetail.vue
+++ b/apps/bMiniApp/src/subpackages/jobApplicationManage/components/JobDetail.vue
@@ -1,38 +1,7 @@
 <template>
   <LoadingLayout :loading="isLoading" :error="isError" :loadError="refetch">
     <ContentScrollView style="background-color: transparent">
-      <Cell :title="'瀹㈡埧鏈嶅姟鍛�'" titleSize="large">
-        <div class="taskDetail-time">2025骞�2鏈�5鏃� 鑷� 2025骞�3鏈�5鏃�</div>
-        <div class="task-card-welfare-wrapper">
-          <div class="task-card-welfare-list">
-            <div class="task-card-welfare-list-item">鏃ョ粨</div>
-            <div class="task-card-welfare-list-item">鐢峰コ涓嶉檺</div>
-            <div class="task-card-welfare-list-item">鍖呬笁椁�</div>
-          </div>
-          <TaskPrice :value="212" />
-        </div>
-        <div class="taskDetail-address-wrapper">
-          <div class="taskDetail-address-title-wrapper">
-            <img :src="IconLocaltion" class="taskDetail-address-title-icon" />
-            <div class="taskDetail-address-title">瀹佹尝鏌忔偊閰掑簵</div>
-          </div>
-          <div class="taskDetail-address-info-wrapper">
-            <div class="taskDetail-address-info">瀹佹尝甯傞劄宸炲尯涓滈挶婀栧ぇ鍫拌矾188鍙峰畞娉㈡煆鎮﹂厭搴�</div>
-            <RectRight :size="8" class="taskDetail-address-info-icon" />
-          </div>
-        </div>
-      </Cell>
-      <Cell :show-title="false">
-        <CellChunk title="绂忓埄淇℃伅">
-          <div class="taskDetail-welfare-list">
-            <TaskDetailWelfareItem :icon="IconLocaltion" text="楂樻俯琛ヨ创" />
-            <TaskDetailWelfareItem :icon="IconLocaltion" text="楂樻俯琛ヨ创" />
-            <TaskDetailWelfareItem :icon="IconLocaltion" text="楂樻俯琛ヨ创" />
-            <TaskDetailWelfareItem :icon="IconLocaltion" text="楂樻俯琛ヨ创" />
-            <TaskDetailWelfareItem :icon="IconLocaltion" text="楂樻俯琛ヨ创" />
-          </div>
-        </CellChunk>
-      </Cell>
+      <TaskDetailView :detail="detail"></TaskDetailView>
     </ContentScrollView>
   </LoadingLayout>
 </template>
@@ -40,9 +9,8 @@
 <script setup lang="ts">
 import { useQuery } from '@tanstack/vue-query';
 import Taro from '@tarojs/taro';
-import * as orderServices from '@12333/services/api/Order';
-import IconLocaltion from '@/assets/flexJob/icon-localtion.png';
-import { TaskPrice, TaskDetailWelfareItem } from '@12333/components';
+import * as taskServices from '@12333/services/apiV2/task';
+import { TaskDetailView } from '@12333/components';
 
 defineOptions({
   name: 'JobDetail',
@@ -53,7 +21,7 @@
 // const props = withDefaults(defineProps<Props>(), {});
 const router = Taro.useRouter();
 
-const taskId = router.params?.id ?? '';
+const id = router.params?.id;
 
 const {
   isLoading,
@@ -61,17 +29,16 @@
   data: detail,
   refetch,
 } = useQuery({
-  queryKey: ['orderServices/getOrdeForDetail', taskId],
+  queryKey: ['taskServices/getTaskInfo', id],
   queryFn: async () => {
-    return await orderServices.getOrdeForDetail(
-      { id: taskId },
+    return await taskServices.getTaskInfo(
+      { id: id },
       {
         showLoading: false,
       }
     );
   },
-  placeholderData: () => ({} as API.OrderInfoDto),
-  onSuccess(data) {},
+  placeholderData: () => ({} as API.GetTaskInfoQueryResult),
 });
 </script>
 

--
Gitblit v1.9.1