From 07e6a938f7993abf056dc4b106d4ad4fc6354bb5 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 24 七月 2025 14:40:30 +0800
Subject: [PATCH] feat: 接口

---
 src/views/Reward/components/RewardApplyTradeCheckDialog.vue |   61 +++++++++++++++++++++---------
 1 files changed, 42 insertions(+), 19 deletions(-)

diff --git a/src/views/Reward/components/RewardApplyTradeCheckDialog.vue b/src/views/Reward/components/RewardApplyTradeCheckDialog.vue
index 42d82a7..9995f91 100644
--- a/src/views/Reward/components/RewardApplyTradeCheckDialog.vue
+++ b/src/views/Reward/components/RewardApplyTradeCheckDialog.vue
@@ -1,6 +1,19 @@
 <template>
-  <ProDialog title="鍑鸿处瀹℃壒" v-model="visible" @close="onDialogClose" destroy-on-close draggable>
-    <PortraitTableWithAttachment v-bind="portraitTableWithAttachmentProps" />
+  <ProDialog
+    :title="form.title"
+    v-model="visible"
+    @close="onDialogClose"
+    destroy-on-close
+    draggable
+  >
+    <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"
@@ -102,15 +115,12 @@
   ProFormDatePicker,
   UploadUserFile,
 } from '@bole-core/components';
-import * as parkBountyApplyServices from '@/services/api/ParkBountyApply';
 import { usePortraitTableWithAttachment } from '@/hooks';
-import { convertApi2FormUrl, convertApi2FormUrlOnlyOne } from '@/utils';
-import { useQuery } from '@tanstack/vue-query';
+import { copyTextToClipboard } from '@/utils';
 import {
   EnumParkBountyTradeDetailAuditStatus,
   EnumParkBountyTradeDetailAuditStatusTextForAdudit,
   EnterpriseType,
-  EnterpriseTypeText,
 } from '@/constants';
 
 defineOptions({
@@ -157,11 +167,6 @@
   annexList: computed(() => form.value?.payFileUrl),
   columns: [
     {
-      label: '寮�鎴疯处鍙�',
-      key: 'userName',
-      formatter: () => '1511 2001 2920 0156 069',
-    },
-    {
       label: '杩涜处鍗曚綅',
       key: 'enterpriseName',
       formatter: () => '澶钩璐骇淇濋櫓鏈夐檺鍏徃鎶氬窞涓績鏀叕鍙�',
@@ -175,6 +180,11 @@
       label: '寮�鎴烽摱琛�',
       key: 'contactPhone',
       formatter: () => '涓浗宸ュ晢閾惰鑲′唤鏈夐檺鍏徃鎶氬窞璧d笢鏀',
+    },
+    {
+      label: '寮�鎴疯处鍙�',
+      key: 'userName',
+      formatter: () => '1511 2001 2920 0156 069',
     },
     // {
     //   label: '浼佷笟绫诲瀷',
@@ -190,19 +200,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 +243,17 @@
     }
   });
 }
+
+function handleApply() {
+  copyTextToClipboard(
+    `寮�鎴峰悕绉帮細${'澶钩璐骇淇濋櫓鏈夐檺鍏徃鎶氬窞涓績鏀叕鍙�'}\n寮�鎴烽摱琛岋細${'涓浗宸ュ晢閾惰鑲′唤鏈夐檺鍏徃鎶氬窞璧d笢鏀'}\n寮�鎴疯处鍙凤細${'1511 2001 2920 0156 069'}`
+  );
+}
 </script>
+<style lang="scss" scoped>
+@use '@/style/common.scss' as *;
+
+.portrait-table-with-attachment-title {
+  justify-content: space-between;
+}
+</style>

--
Gitblit v1.9.1