From fe45524d520c2dfc14ef365546059799a22ef8ee Mon Sep 17 00:00:00 2001
From: odjbin <1042039504@qq.com>
Date: Sun, 22 Sep 2024 00:27:22 +0800
Subject: [PATCH 1/2] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E9=A6=96?=
=?UTF-8?q?=E9=A1=B5=E9=80=82=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/home/index.vue | 83 ++++++++++++++++++++++++++++++++++------
1 file changed, 71 insertions(+), 12 deletions(-)
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 8255cea..56af74b 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -2,7 +2,7 @@
-
+
早上好,小i提醒您有{{ taskTabList[0].num }}个审批待立项
@@ -182,7 +182,7 @@
-
+
-
研发投入资金统计图
+
研发投入资金统计图
@@ -288,6 +288,7 @@ import {getArticle} from "@/api/article";
const AuthStore = useAuthStore()
const router = useRouter()
+const topLeftHeight = ref('')
const activeName = ref('first')
const docActiveTab = ref('first')
const totalMoney = ref('45000')
@@ -389,7 +390,56 @@ const todoList = ref([
totalTime: '10',
},
])
-const noticeList = ref([])
+const noticeList = ref([ {
+ articleTitle: '系统升级通知,升级通知,期间部分服务将暂升级通知,期间部分服务将暂升级通知,期间部分服务将暂将暂停'
+},
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停4324234'
+ }, {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停'
+ },
+ {
+ articleTitle: '系统升级通知,期间部分服务将暂停4324234'
+ }])
const rulesList = ref([])
const helpDocList = ref([])
const problemList = ref([])
@@ -562,8 +612,12 @@ const moneyPieOption = ref({
onMounted(async () => {
// getTodoList()
await getResearchChart()
-
- noticeList.value = await getArticleList(0)
+ // nextTick(() => {
+ // let topLeft=document.getElementById('topLeft')
+ // console.info("🚀 ~method:topLeft -----", topLeft.offsetHeight)
+ // topLeftHeight.value=topLeft.offsetHeight
+ // })
+ // noticeList.value = await getArticleList(0)
rulesList.value = await getArticleList(1)
helpDocList.value = await getArticleList(2)
problemList.value = await getArticleList(3)
@@ -618,7 +672,6 @@ const getTodoList = () => {
const getResearchChart = () => {
getResearchFundChart().then(res => {
if (res.code === 1000) {
- console.info("🚀 ~method:res -----", res.data, res.data.rdCompanyList)
totalMoney.value = res.data.totalAmount
moneyData.value = res.data.rdCompanyList
if (moneyPieOption.value.series && moneyPieOption.value.series?.length > 0) {
@@ -639,8 +692,6 @@ const getArticleList = async (articleType) => {
let {data, code, msg} = await getArticle({articleType: articleType})
if (code === 1000) {
return data.rows
- // todoList.value=res.data.rows
- // todoNum.value=res.data.total
} else {
ElNotification({
title: '提示',
@@ -772,6 +823,14 @@ const handleView = (row) => {