Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b05a8fb1
authored
Aug 11, 2025
by
孙美琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页内容部分隐藏
parent
4daf30a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
155 additions
and
155 deletions
+155
-155
src/views/Home/Index.vue
+155
-155
No files found.
src/views/Home/Index.vue
View file @
b05a8fb1
...
...
@@ -18,167 +18,167 @@
</div>
</div>
</el-col>
<el-col
:xl=
"12"
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
<div
class=
"h-70px flex items-center justify-end lt-sm:mt-10px"
>
<div
class=
"px-8px text-right"
>
<div
class=
"mb-16px text-14px text-gray-400"
>
{{
t
(
'workplace.project'
)
}}
</div
>
<CountTo
class=
"text-20px"
:start-val=
"0"
:end-val=
"totalSate.project"
:duration=
"2600"
/
>
</div
>
<el-divider
direction=
"vertical"
/
>
<div
class=
"px-8px text-right"
>
<div
class=
"mb-16px text-14px text-gray-400"
>
{{
t
(
'workplace.toDo'
)
}}
</div
>
<CountTo
class=
"text-20px"
:start-val=
"0"
:end-val=
"totalSate.todo"
:duration=
"2600"
/
>
</div
>
<el-divider
direction=
"vertical"
border-style=
"dashed"
/
>
<div
class=
"px-8px text-right"
>
<div
class=
"mb-16px text-14px text-gray-400"
>
{{
t
(
'workplace.access'
)
}}
</div
>
<CountTo
class=
"text-20px"
:start-val=
"0"
:end-val=
"totalSate.access"
:duration=
"2600"
/
>
</div
>
</div
>
</el-col
>
<!--
<el-col
:xl=
"12"
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
--
>
<!--
<div
class=
"h-70px flex items-center justify-end lt-sm:mt-10px"
>
--
>
<!--
<div
class=
"px-8px text-right"
>
--
>
<!--
<div
class=
"mb-16px text-14px text-gray-400"
>
{{
t
(
'workplace.project'
)
}}
</div>
--
>
<!--
<CountTo-->
<!-- class="text-20px"-->
<!-- :start-val="0"-->
<!-- :end-val="totalSate.project"-->
<!-- :duration="2600"-->
<!-- />--
>
<!--
</div>
--
>
<!--
<el-divider
direction=
"vertical"
/>
--
>
<!--
<div
class=
"px-8px text-right"
>
--
>
<!--
<div
class=
"mb-16px text-14px text-gray-400"
>
{{
t
(
'workplace.toDo'
)
}}
</div>
--
>
<!--
<CountTo-->
<!-- class="text-20px"-->
<!-- :start-val="0"-->
<!-- :end-val="totalSate.todo"-->
<!-- :duration="2600"-->
<!-- />--
>
<!--
</div>
--
>
<!--
<el-divider
direction=
"vertical"
border-style=
"dashed"
/>
--
>
<!--
<div
class=
"px-8px text-right"
>
--
>
<!--
<div
class=
"mb-16px text-14px text-gray-400"
>
{{
t
(
'workplace.access'
)
}}
</div>
--
>
<!--
<CountTo-->
<!-- class="text-20px"-->
<!-- :start-val="0"-->
<!-- :end-val="totalSate.access"-->
<!-- :duration="2600"-->
<!-- />--
>
<!--
</div>
--
>
<!--
</div>
--
>
<!--
</el-col>
--
>
</el-row>
</el-skeleton>
</el-card>
</div>
<el-row
class=
"mt-8px"
:gutter=
"8"
justify=
"space-between"
>
<el-col
:xl=
"16"
:lg=
"16"
:md=
"24"
:sm=
"24"
:xs=
"24"
class=
"mb-8px"
>
<el-card
shadow=
"never"
>
<template
#
header
>
<div
class=
"h-3 flex justify-between"
>
<span>
{{
t
(
'workplace.project'
)
}}
</span
>
<el-link
type=
"primary"
:underline=
"false"
href=
"https://github.com/yudaocode"
target=
"_blank"
>
{{
t
(
'action.more'
)
}}
</el-link
>
</div
>
</
template
>
<el-skeleton
:loading=
"loading"
animated
>
<el-row
>
<el-col
v-for=
"(item, index) in projects"
:key=
"`card-${index}`"
:xl=
"8"
:lg=
"8"
:md=
"8"
:sm=
"24"
:xs=
"24"
>
<el-card
shadow=
"hover"
class=
"mr-5px mt-5px cursor-pointer"
@
click=
"handleProjectClick(item.message)"
>
<div
class=
"flex items-center"
>
<Icon
:icon=
"item.icon"
:size=
"25"
class=
"mr-8px"
:style=
"{ color: item.color }"
/
>
<span
class=
"text-16px"
>
{{ item.name }}
</span
>
</div
>
<div
class=
"mt-12px text-12px text-gray-400"
>
{{ t(item.message) }}
</div
>
<div
class=
"mt-12px flex justify-between text-12px text-gray-400"
>
<span>
{{ item.personal }}
</span
>
<span>
{{ formatTime(item.time, 'yyyy-MM-dd') }}
</span
>
</div
>
</el-card
>
</el-col
>
</el-row
>
</el-skeleton
>
</el-card
>
<!--
<el-row
class=
"mt-8px"
:gutter=
"8"
justify=
"space-between"
>
--
>
<!--
<el-col
:xl=
"16"
:lg=
"16"
:md=
"24"
:sm=
"24"
:xs=
"24"
class=
"mb-8px"
>
--
>
<!--
<el-card
shadow=
"never"
>
--
>
<!--
<template
#
header
>
--
>
<!--
<div
class=
"h-3 flex justify-between"
>
--
>
<!--
<span>
{{
t
(
'workplace.project'
)
}}
</span>
--
>
<!--
<el-link-->
<!-- type="primary"-->
<!-- :underline="false"-->
<!-- href="https://github.com/yudaocode"-->
<!-- target="_blank"-->
<!-- >--
>
<!--
{{
t
(
'action.more'
)
}}
-->
<!--
</el-link>
--
>
<!--
</div>
--
>
<!--
</
template
>
--
>
<!-- <el-skeleton :loading="loading" animated>--
>
<!-- <el-row>--
>
<!-- <el-col-->
<!-- v-for="(item, index) in projects"-->
<!-- :key="`card-${index}`"-->
<!-- :xl="8"-->
<!-- :lg="8"-->
<!-- :md="8"-->
<!-- :sm="24"-->
<!-- :xs="24"-->
<!-- >--
>
<!-- <el-card-->
<!-- shadow="hover"-->
<!-- class="mr-5px mt-5px cursor-pointer"-->
<!-- @click="handleProjectClick(item.message)"-->
<!-- >--
>
<!-- <div class="flex items-center">--
>
<!-- <Icon-->
<!-- :icon="item.icon"-->
<!-- :size="25"-->
<!-- class="mr-8px"-->
<!-- :style="{ color: item.color }"-->
<!-- />--
>
<!-- <span class="text-16px">{{ item.name }}</span>--
>
<!-- </div>--
>
<!-- <div class="mt-12px text-12px text-gray-400">{{ t(item.message) }}</div>--
>
<!-- <div class="mt-12px flex justify-between text-12px text-gray-400">--
>
<!-- <span>{{ item.personal }}</span>--
>
<!-- <span>{{ formatTime(item.time, 'yyyy-MM-dd') }}</span>--
>
<!-- </div>--
>
<!-- </el-card>--
>
<!-- </el-col>--
>
<!-- </el-row>--
>
<!-- </el-skeleton>--
>
<!-- </el-card>--
>
<el-card
shadow=
"never"
class=
"mt-8px"
>
<el-skeleton
:loading=
"loading"
animated
>
<el-row
:gutter=
"20"
justify=
"space-between"
>
<el-col
:xl=
"10"
:lg=
"10"
:md=
"24"
:sm=
"24"
:xs=
"24"
>
<el-card
shadow=
"hover"
class=
"mb-8px"
>
<el-skeleton
:loading=
"loading"
animated
>
<Echart
:options=
"pieOptionsData"
:height=
"280"
/
>
</el-skeleton
>
</el-card
>
</el-col
>
<el-col
:xl=
"14"
:lg=
"14"
:md=
"24"
:sm=
"24"
:xs=
"24"
>
<el-card
shadow=
"hover"
class=
"mb-8px"
>
<el-skeleton
:loading=
"loading"
animated
>
<Echart
:options=
"barOptionsData"
:height=
"280"
/
>
</el-skeleton
>
</el-card
>
</el-col
>
</el-row
>
</el-skeleton
>
</el-card
>
</el-col
>
<el-col
:xl=
"8"
:lg=
"8"
:md=
"24"
:sm=
"24"
:xs=
"24"
class=
"mb-8px"
>
<el-card
shadow=
"never"
>
<
template
#
header
>
<div
class=
"h-3 flex justify-between"
>
<span>
{{
t
(
'workplace.shortcutOperation'
)
}}
</span
>
</div
>
</
template
>
<el-skeleton
:loading=
"loading"
animated
>
<el-row
>
<el-col
v-for=
"item in shortcut"
:key=
"`team-${item.name}`"
:span=
"8"
class=
"mb-8px"
>
<div
class=
"flex items-center"
>
<Icon
:icon=
"item.icon"
class=
"mr-8px"
:style=
"{ color: item.color }"
/
>
<el-link
type=
"default"
:underline=
"false"
@
click=
"handleShortcutClick(item.url)"
>
{{ item.name }}
</el-link
>
</div
>
</el-col
>
</el-row
>
</el-skeleton
>
</el-card
>
<el-card
shadow=
"never"
class=
"mt-8px"
>
<
template
#
header
>
<div
class=
"h-3 flex justify-between"
>
<span>
{{
t
(
'workplace.notice'
)
}}
</span
>
<el-link
type=
"primary"
:underline=
"false"
>
{{
t
(
'action.more'
)
}}
</el-link
>
</div
>
</
template
>
<el-skeleton
:loading=
"loading"
animated
>
<div
v-for=
"(item, index) in notice"
:key=
"`dynamics-${index}`"
>
<div
class=
"flex items-center"
>
<el-avatar
:src=
"avatar"
:size=
"35"
class=
"mr-16px"
>
<img
src=
"@/assets/imgs/avatar.gif"
alt=
""
/
>
</el-avatar
>
<div
>
<div
class=
"text-14px"
>
<Highlight
:keys=
"item.keys.map((v) => t(v))"
>
{{ item.type }} : {{ item.title }}
</Highlight
>
</div
>
<div
class=
"mt-16px text-12px text-gray-400"
>
{{ formatTime(item.date, 'yyyy-MM-dd') }}
</div
>
</div
>
</div
>
<el-divider
/
>
</div
>
</el-skeleton
>
</el-card
>
</el-col
>
</el-row
>
<!-- <el-card shadow="never" class="mt-8px">--
>
<!-- <el-skeleton :loading="loading" animated>--
>
<!-- <el-row :gutter="20" justify="space-between">--
>
<!-- <el-col :xl="10" :lg="10" :md="24" :sm="24" :xs="24">--
>
<!-- <el-card shadow="hover" class="mb-8px">--
>
<!-- <el-skeleton :loading="loading" animated>--
>
<!-- <Echart :options="pieOptionsData" :height="280" />--
>
<!-- </el-skeleton>--
>
<!-- </el-card>--
>
<!-- </el-col>--
>
<!-- <el-col :xl="14" :lg="14" :md="24" :sm="24" :xs="24">--
>
<!-- <el-card shadow="hover" class="mb-8px">--
>
<!-- <el-skeleton :loading="loading" animated>--
>
<!-- <Echart :options="barOptionsData" :height="280" />--
>
<!-- </el-skeleton>--
>
<!-- </el-card>--
>
<!-- </el-col>--
>
<!-- </el-row>--
>
<!-- </el-skeleton>--
>
<!-- </el-card>--
>
<!-- </el-col>--
>
<!-- <el-col :xl="8" :lg="8" :md="24" :sm="24" :xs="24" class="mb-8px">--
>
<!-- <el-card shadow="never">--
>
<!-- <template #header>--
>
<!-- <div class="h-3 flex justify-between">--
>
<!-- <span>{{ t('workplace.shortcutOperation') }}</span>--
>
<!-- </div>--
>
<!-- </template>--
>
<!-- <el-skeleton :loading="loading" animated>--
>
<!-- <el-row>--
>
<!-- <el-col v-for="item in shortcut" :key="`team-${item.name}`" :span="8" class="mb-8px">--
>
<!-- <div class="flex items-center">--
>
<!-- <Icon :icon="item.icon" class="mr-8px" :style="{ color: item.color }" />--
>
<!-- <el-link type="default" :underline="false" @click="handleShortcutClick(item.url)">--
>
<!-- {{ item.name }}-->
<!-- </el-link>--
>
<!-- </div>--
>
<!-- </el-col>--
>
<!-- </el-row>--
>
<!-- </el-skeleton>--
>
<!-- </el-card>--
>
<!-- <el-card shadow="never" class="mt-8px">--
>
<!-- <template #header>--
>
<!-- <div class="h-3 flex justify-between">--
>
<!-- <span>{{ t('workplace.notice') }}</span>--
>
<!-- <el-link type="primary" :underline="false">{{ t('action.more') }}</el-link>--
>
<!-- </div>--
>
<!-- </template>--
>
<!-- <el-skeleton :loading="loading" animated>--
>
<!-- <div v-for="(item, index) in notice" :key="`dynamics-${index}`">--
>
<!-- <div class="flex items-center">--
>
<!-- <el-avatar :src="avatar" :size="35" class="mr-16px">--
>
<!-- <img src="@/assets/imgs/avatar.gif" alt="" />--
>
<!-- </el-avatar>--
>
<!-- <div>--
>
<!-- <div class="text-14px">--
>
<!-- <Highlight :keys="item.keys.map((v) => t(v))">--
>
<!-- {{ item.type }} : {{ item.title }}-->
<!-- </Highlight>--
>
<!-- </div>--
>
<!-- <div class="mt-16px text-12px text-gray-400">--
>
<!-- {{ formatTime(item.date, 'yyyy-MM-dd') }}-->
<!-- </div>--
>
<!-- </div>--
>
<!-- </div>--
>
<!-- <el-divider />--
>
<!-- </div>--
>
<!-- </el-skeleton>--
>
<!-- </el-card>--
>
<!-- </el-col>--
>
<!-- </el-row>--
>
</template>
<
script
lang=
"ts"
setup
>
import
{
set
}
from
'lodash-es'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment