From be398d588129b6b1195a36be77a03a124bfb34c2 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 07 四月 2025 09:38:30 +0800
Subject: [PATCH] feat: init
---
src/views/Home/Home.vue | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index c5ab28b..f5e15ff 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -5,11 +5,11 @@
<div class="data-board-card-list">
<DataBoardCard title="寰呭鏍镐紒涓�" :contentBetween="true">
<DataBoardCardPrice :value="20000" :isInline="true" :useThousand="false" unit="瀹�" />
- <el-button type="primary" link>鍘诲鏍�</el-button>
+ <el-button type="primary" link @click="goToAudit">鍘诲鏍�</el-button>
</DataBoardCard>
<DataBoardCard title="濂栧姳閲戝緟鍙戞斁" :contentBetween="true">
<DataBoardCardPrice :isInline="true" :value="20000" :useThousand="false" unit="瀹�" />
- <el-button type="primary" link>鍘诲彂鏀�</el-button>
+ <el-button type="primary" link @click="goToGrant">鍘诲彂鏀�</el-button>
</DataBoardCard>
</div>
</ChunkCell>
@@ -48,7 +48,18 @@
name: 'Home',
});
+const router = useRouter();
const isLoading = ref(false);
+function goToAudit() {
+ router.push({
+ name: 'MaterialReviewList',
+ });
+}
+function goToGrant() {
+ router.push({
+ name: 'RewardGrant',
+ });
+}
</script>
<style lang="scss" scoped>
--
Gitblit v1.9.1