Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
property-company
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
property-company
Commits
93b93e29
提交
93b93e29
authored
6月 20, 2023
作者:
何忠建
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
工作台
上级
c3e8e5b5
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
19 行增加
和
9 行删除
+19
-9
Analysis.vue
src/views/dashboard/Analysis.vue
+19
-9
没有找到文件。
src/views/dashboard/Analysis.vue
浏览文件 @
93b93e29
...
...
@@ -55,6 +55,7 @@
</div>
<ul>
<li
v-for=
"(item, index) in noticeList"
:key=
"index"
><a
@
click=
"toDetails(item)"
>
{{
item
.
noticeTitle
}}
</a>
<p>
{{
item
.
createTime
.
slice
(
0
,
10
)
}}
</p>
</li>
</ul>
</div>
...
...
@@ -82,14 +83,20 @@
<div
class=
"pay-cost t-box"
>
<h3
class=
"box-title"
>
报修统计
</h3>
<pie
:dataSource=
"repairData"
/>
<div
class=
"number"
><p>
全部报修
{{
pageForm
.
repairTotal
}}
</p><p
v-for=
"(item, index) in repairData"
:key=
"index"
>
{{
item
.
item
}}
{{
item
.
count
}}
</p></div>
<div
class=
"number"
>
<p>
全部报修
{{
pageForm
.
repairTotal
}}
</p>
<p
v-for=
"(item, index) in repairData"
:key=
"index"
>
{{
item
.
item
}}
{{
item
.
count
}}
</p>
</div>
</div>
</a-col>
<a-col
:sm=
"24"
:md=
"12"
:xl=
"12"
:style=
"
{ marginBottom: '24px' }">
<div
class=
"pay-cost t-box"
>
<h3
class=
"box-title"
>
投诉统计
</h3>
<pie
:dataSource=
"complaintsData"
/>
<div
class=
"number"
><p>
全部投诉
{{
pageForm
.
complaintTotal
}}
</p><p
v-for=
"(item, index) in complaintsData"
:key=
"index"
>
{{
item
.
item
}}
{{
item
.
count
}}
</p></div>
<div
class=
"number"
>
<p>
全部投诉
{{
pageForm
.
complaintTotal
}}
</p>
<p
v-for=
"(item, index) in complaintsData"
:key=
"index"
>
{{
item
.
item
}}
{{
item
.
count
}}
</p>
</div>
</div>
</a-col>
</a-row>
...
...
@@ -167,7 +174,7 @@ export default {
this
.
loading
=
!
this
.
loading
},
async
companyNotice
()
{
let
{
result
}
=
await
companyNoticeList
({
pageNo
:
1
,
pageSize
:
9
})
let
{
result
}
=
await
companyNoticeList
({
pageNo
:
1
,
pageSize
:
9
,
order
:
'desc'
,
column
:
'createTime'
})
this
.
noticeList
=
result
.
records
},
toMore
()
{
...
...
@@ -193,7 +200,7 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
.hone-content-box {
padding: 1
6
px;
padding: 1
0
px;
.statistics {
// flex: none;
background: #fff;
...
...
@@ -259,11 +266,14 @@ export default {
list-style-type: none;
height: 30px;
line-height: 30px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: flex;
justify-content: space-between;
a {
color: #666;
width: 80%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
}
...
...
@@ -276,12 +286,12 @@ export default {
margin-right: 20px;
}
}
.number{
.number
{
width: 80%;
margin: 0 10%;
display: flex;
justify-content: space-evenly;
p{
p
{
font-size: 14px;
margin: 0;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论