diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 8255cea..af1c165 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -2,7 +2,7 @@
-
+
早上好,小i提醒您有{{ taskTabList[0].num }}个审批待立项
@@ -210,7 +210,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,58 @@ 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,7 +614,11 @@ const moneyPieOption = ref({
onMounted(async () => {
// getTodoList()
await getResearchChart()
-
+ // 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)
@@ -618,7 +674,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 +694,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 +825,15 @@ const handleView = (row) => {