From 052a1c6f01420d695cb3c251619249725181ff02 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 22 七月 2025 09:32:38 +0800
Subject: [PATCH] feat: 页面

---
 src/views/Reward/components/RewardApplyTradeCheckDialog.vue |   50 +++++++++++++++++++++++++++++++++++---------------
 1 files changed, 35 insertions(+), 15 deletions(-)

diff --git a/src/views/Reward/components/RewardApplyTradeCheckDialog.vue b/src/views/Reward/components/RewardApplyTradeCheckDialog.vue
index 42d82a7..92e94dc 100644
--- a/src/views/Reward/components/RewardApplyTradeCheckDialog.vue
+++ b/src/views/Reward/components/RewardApplyTradeCheckDialog.vue
@@ -1,6 +1,13 @@
 <template>
   <ProDialog title="鍑鸿处瀹℃壒" v-model="visible" @close="onDialogClose" destroy-on-close draggable>
-    <PortraitTableWithAttachment v-bind="portraitTableWithAttachmentProps" />
+    <PortraitTableWithAttachment v-bind="portraitTableWithAttachmentProps">
+      <template #title>
+        <el-row class="portrait-table-with-attachment-title">
+          <el-text style="color: #333333">鎵撴淇℃伅</el-text>
+          <el-button type="primary" link @click="handleApply">澶嶅埗</el-button>
+        </el-row>
+      </template>
+    </PortraitTableWithAttachment>
     <ProForm
       :model="form"
       ref="dialogForm"
@@ -103,7 +110,7 @@
   UploadUserFile,
 } from '@bole-core/components';
 import * as parkBountyApplyServices from '@/services/api/ParkBountyApply';
-import { usePortraitTableWithAttachment } from '@/hooks';
+import { copyTextToClipboard, usePortraitTableWithAttachment } from '@/hooks';
 import { convertApi2FormUrl, convertApi2FormUrlOnlyOne } from '@/utils';
 import { useQuery } from '@tanstack/vue-query';
 import {
@@ -157,11 +164,6 @@
   annexList: computed(() => form.value?.payFileUrl),
   columns: [
     {
-      label: '寮�鎴疯处鍙�',
-      key: 'userName',
-      formatter: () => '1511 2001 2920 0156 069',
-    },
-    {
       label: '杩涜处鍗曚綅',
       key: 'enterpriseName',
       formatter: () => '澶钩璐骇淇濋櫓鏈夐檺鍏徃鎶氬窞涓績鏀叕鍙�',
@@ -175,6 +177,11 @@
       label: '寮�鎴烽摱琛�',
       key: 'contactPhone',
       formatter: () => '涓浗宸ュ晢閾惰鑲′唤鏈夐檺鍏徃鎶氬窞璧d笢鏀',
+    },
+    {
+      label: '寮�鎴疯处鍙�',
+      key: 'userName',
+      formatter: () => '1511 2001 2920 0156 069',
     },
     // {
     //   label: '浼佷笟绫诲瀷',
@@ -190,19 +197,19 @@
     //   label: '鍥尯绫诲瀷',
     //   key: 'parkTypeName',
     // },
-    // {
-    //   label: '娑堣垂绫诲瀷',
-    //   key: 'payRemark',
-    // },
     {
-      label: '鐢宠鍑鸿处閲戦',
-      key: 'tradeAmount',
-      type: 'money',
+      label: '娑堣垂绫诲瀷',
+      key: 'payRemark',
     },
     {
-      label: '鐢宠鍑鸿处鏃堕棿',
+      label: '鍑鸿处瀹℃牳鏃ユ湡',
       key: 'tradeTime',
       type: 'date',
+    },
+    {
+      label: '鍑鸿处閲戦',
+      key: 'tradeAmount',
+      type: 'money',
     },
     {
       label: '璧勯噾浣欓',
@@ -233,4 +240,17 @@
     }
   });
 }
+
+function handleApply() {
+  copyTextToClipboard(
+    `寮�鎴峰悕绉帮細${form.value?.societyCreditCode}\n寮�鎴烽摱琛岋細${form.value?.contactPhone}\n寮�鎴疯处鍙凤細${form.value?.userName}`
+  );
+}
 </script>
+<style lang="scss" scoped>
+@use '@/style/common.scss' as *;
+
+.portrait-table-with-attachment-title {
+  justify-content: space-between;
+}
+</style>

--
Gitblit v1.9.1