From 89f387786da0e4383cf06ee162526db54971f9cf Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 23 十月 2025 15:21:16 +0800
Subject: [PATCH] fix: s
---
src/components/commonView/FourStreamsBatchMaterialFileDialog.vue | 26 ++++++------
src/views/Home/Home.vue | 49 +++++++++++++++++++++++-
2 files changed, 60 insertions(+), 15 deletions(-)
diff --git a/src/components/commonView/FourStreamsBatchMaterialFileDialog.vue b/src/components/commonView/FourStreamsBatchMaterialFileDialog.vue
index 73a57d8..ce9d56a 100644
--- a/src/components/commonView/FourStreamsBatchMaterialFileDialog.vue
+++ b/src/components/commonView/FourStreamsBatchMaterialFileDialog.vue
@@ -92,22 +92,22 @@
]);
const operationBtns = defineOperationBtns([
- // {
- // data: {
- // enCode: 'detailBtn',
- // name: '鏌ョ湅',
- // },
- // emits: {
- // onClick: (row) => handlePreview(row),
- // },
- // extraProps: {
- // hide: (row: UploadUserFile) => !isFileCanPreview(row.path),
- // },
- // },
+ {
+ data: {
+ enCode: 'detailBtn',
+ name: '鏌ョ湅',
+ },
+ emits: {
+ onClick: (row) => handlePreview(row),
+ },
+ extraProps: {
+ hide: (row: UploadUserFile) => !isFileCanPreview(row.path),
+ },
+ },
{
data: {
enCode: 'downloadBtn',
- name: '鏌ョ湅',
+ name: '涓嬭浇',
},
emits: {
onClick: (row) => handleDownload(row),
diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index 9d2cb7f..b5419c2 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -3,7 +3,7 @@
<AppContainer>
<ChunkCell title="寰呭鐞�">
<div class="data-board-card-list">
- <DataBoardCard title="寰呭鏍告壒娆�" :contentBetween="true">
+ <DataBoardCard title="鐢虫姤寰呭鏍�" :contentBetween="true">
<DataBoardCardPrice
:value="detail?.waitCheckEnterpriseNumber ?? 0"
:isInline="true"
@@ -12,7 +12,7 @@
/>
<el-button type="primary" link @click="goToAudit">鍘诲鏍�</el-button>
</DataBoardCard>
- <DataBoardCard title="濂栧姳閲戝緟鍙戞斁" :contentBetween="true">
+ <DataBoardCard title="濂栧姳閲戝緟鐧昏" :contentBetween="true">
<DataBoardCardPrice
:isInline="true"
:value="detail?.waitForSettleRewardNumber ?? 0"
@@ -20,6 +20,33 @@
unit=""
/>
<el-button type="primary" link @click="goToGrant">鍘诲彂鏀�</el-button>
+ </DataBoardCard>
+ <DataBoardCard title="鎻愮幇寰呭鎵�" :contentBetween="true">
+ <DataBoardCardPrice
+ :isInline="true"
+ :value="detail?.waitForSettleRewardNumber ?? 0"
+ :useThousand="false"
+ unit=""
+ />
+ <el-button type="primary" link @click="goToWithdrawalApproval">鍘诲鎵�</el-button>
+ </DataBoardCard>
+ <DataBoardCard title="鍑鸿处寰呭鎵�" :contentBetween="true">
+ <DataBoardCardPrice
+ :isInline="true"
+ :value="detail?.waitForSettleRewardNumber ?? 0"
+ :useThousand="false"
+ unit=""
+ />
+ <el-button type="primary" link @click="goToRewardApplyTradeCheck">鍘诲鎵�</el-button>
+ </DataBoardCard>
+ <DataBoardCard title="璐㈠姟寰呭鏍�" :contentBetween="true">
+ <DataBoardCardPrice
+ :isInline="true"
+ :value="detail?.waitForSettleRewardNumber ?? 0"
+ :useThousand="false"
+ unit=""
+ />
+ <el-button type="primary" link @click="goToFinancialApproval">鍘诲鏍�</el-button>
</DataBoardCard>
</div>
</ChunkCell>
@@ -98,6 +125,24 @@
});
}
+function goToWithdrawalApproval() {
+ router.push({
+ name: 'WithdrawalApproval',
+ });
+}
+
+function goToRewardApplyTradeCheck() {
+ router.push({
+ name: 'RewardApplyTradeCheck',
+ });
+}
+
+function goToFinancialApproval() {
+ router.push({
+ name: 'FinancialApproval',
+ });
+}
+
const queryClient = useQueryClient();
onMounted(async () => {
--
Gitblit v1.9.1