From 04a86a4520e1f1f42e62383f4bebf7e384d9a4d2 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 14 八月 2025 16:38:13 +0800
Subject: [PATCH] fix: 灵工管理

---
 apps/bMiniApp/src/subpackages/jobApplicationManage/components/SignList.vue |    2 +-
 apps/bMiniApp/src/subpackages/mine/mineFavorites/InnerPage.vue             |   10 ++++++++--
 apps/bMiniApp/src/subpackages/task/batchTaskList/InnerPage.vue             |    2 +-
 apps/bMiniApp/src/subpackages/mine/mineContactRecord/InnerPage.vue         |   13 +++++++------
 packages/components/src/Card/FlexJobCard.vue                               |    3 +--
 5 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/apps/bMiniApp/src/subpackages/jobApplicationManage/components/SignList.vue b/apps/bMiniApp/src/subpackages/jobApplicationManage/components/SignList.vue
index db2d068..b364d7c 100644
--- a/apps/bMiniApp/src/subpackages/jobApplicationManage/components/SignList.vue
+++ b/apps/bMiniApp/src/subpackages/jobApplicationManage/components/SignList.vue
@@ -22,7 +22,7 @@
           </div>
         </template>
         <template #footerRight>
-          <nut-button type="primary" @click="goToJobDetail(item)">鏌ョ湅璇︽儏</nut-button>
+          <nut-button type="primary" @click.stop="goToJobDetail(item)">鏌ョ湅璇︽儏</nut-button>
         </template>
       </FlexJobCard>
     </template>
diff --git a/apps/bMiniApp/src/subpackages/mine/mineContactRecord/InnerPage.vue b/apps/bMiniApp/src/subpackages/mine/mineContactRecord/InnerPage.vue
index 2405fab..d1963e7 100644
--- a/apps/bMiniApp/src/subpackages/mine/mineContactRecord/InnerPage.vue
+++ b/apps/bMiniApp/src/subpackages/mine/mineContactRecord/InnerPage.vue
@@ -13,7 +13,7 @@
         :isRealName="item.isRealName"
         :arrangeCount="item.arrangeCount"
         :educationalLevel="item.educationalLevel"
-        @contact="handleContact"
+        @click="goFlexJobDetail(item)"
       >
       </FlexJobCard>
     </template>
@@ -26,6 +26,7 @@
 import { useInfiniteLoading } from '@12333/hooks';
 import { OrderInputType } from '@12333/constants';
 import * as flexWorkerServices from '@12333/services/api/FlexWorker';
+import Taro from '@tarojs/taro';
 
 defineOptions({
   name: 'InnerPage',
@@ -52,9 +53,9 @@
   }
 );
 
-function handleContact() {}
+function goFlexJobDetail(item: API.GetUserResumesQueryResultItem) {
+  Taro.navigateTo({
+    url: `${RouterPath.flexJobDetail}?userId=${item.id}`,
+  });
+}
 </script>
-
-<style lang="scss">
-@import '@/styles/common.scss';
-</style>
diff --git a/apps/bMiniApp/src/subpackages/mine/mineFavorites/InnerPage.vue b/apps/bMiniApp/src/subpackages/mine/mineFavorites/InnerPage.vue
index 957308d..4a6bb1a 100644
--- a/apps/bMiniApp/src/subpackages/mine/mineFavorites/InnerPage.vue
+++ b/apps/bMiniApp/src/subpackages/mine/mineFavorites/InnerPage.vue
@@ -12,7 +12,7 @@
         :isRealName="item.isRealName"
         :arrangeCount="item.arrangeCount"
         :educationalLevel="item.educationalLevel"
-        @contact="handleContact"
+        @click="goFlexJobDetail(item)"
         @cancel-collection="handleCancelCollection(item)"
       >
       </FlexJobCard>
@@ -27,6 +27,7 @@
 import { OrderInputType } from '@12333/constants';
 import * as flexWorkerServices from '@12333/services/api/FlexWorker';
 import { Message } from '@12333/utils';
+import Taro from '@tarojs/taro';
 
 defineOptions({
   name: 'InnerPage',
@@ -53,7 +54,12 @@
   }
 );
 
-function handleContact() {}
+function goFlexJobDetail(item: API.GetUserResumesQueryResultItem) {
+  Taro.navigateTo({
+    url: `${RouterPath.flexJobDetail}?userId=${item.id}`,
+  });
+}
+
 async function handleCancelCollection(item: API.GetNewestWorkerListOutput) {
   try {
     let params: API.APIcancelUserResumeCollectParams = {
diff --git a/apps/bMiniApp/src/subpackages/task/batchTaskList/InnerPage.vue b/apps/bMiniApp/src/subpackages/task/batchTaskList/InnerPage.vue
index a755cef..1967585 100644
--- a/apps/bMiniApp/src/subpackages/task/batchTaskList/InnerPage.vue
+++ b/apps/bMiniApp/src/subpackages/task/batchTaskList/InnerPage.vue
@@ -19,7 +19,7 @@
         :showFooterLeft="false"
       >
         <template #footerRight>
-          <nut-button v-if="showQueryState" type="primary" @click="handleArrange(item)"
+          <nut-button v-if="showQueryState" type="primary" @click.stop="handleArrange(item)"
             >瀹夋帓</nut-button
           >
           <div v-else class="batch-task-card-status">宸插畨鎺�</div>
diff --git a/packages/components/src/Card/FlexJobCard.vue b/packages/components/src/Card/FlexJobCard.vue
index bd54ca4..6860478 100644
--- a/packages/components/src/Card/FlexJobCard.vue
+++ b/packages/components/src/Card/FlexJobCard.vue
@@ -30,7 +30,7 @@
 
       <div class="flexJob-card-footer-right" v-if="showFooterRight">
         <slot name="footerRight">
-          <nut-button type="primary" @click.stop="emit('contact')">绔嬪嵆鑱旂郴</nut-button>
+          <nut-button type="primary">绔嬪嵆鑱旂郴</nut-button>
         </slot>
       </div>
     </div>
@@ -71,7 +71,6 @@
 
 const emit = defineEmits<{
   (e: 'cancelCollection'): void;
-  (e: 'contact'): void;
 }>();
 </script>
 

--
Gitblit v1.9.1