Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
total-platform
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
total-platform
Commits
349653fe
提交
349653fe
authored
1年前
作者:
宋雄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化
上级
78ef46d7
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
46 行增加
和
36 行删除
+46
-36
.env.development
.env.development
+2
-2
IndexChart.vue
src/views/dashboard/IndexChart.vue
+44
-34
没有找到文件。
.env.development
浏览文件 @
349653fe
NODE_ENV=development
VUE_APP_API_BASE_URL='http://220.203.25.212:9998'
#
VUE_APP_API_BASE_URL='http://192.168.0.100:9999'
#
VUE_APP_API_BASE_URL='http://220.203.25.212:9998'
VUE_APP_API_BASE_URL='http://192.168.0.100:9999'
# VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
...
...
This diff is collapsed.
Click to expand it.
src/views/dashboard/IndexChart.vue
浏览文件 @
349653fe
<
template
>
<
div
class=
"page-header-index-wide
"
>
<
a-spin
:spinning=
"confirmLoading
"
>
<a-row
:gutter=
"12"
>
<a-col
:sm=
"24"
:md=
"8"
:xl=
"4"
:style=
"
{ marginBottom: '12px' }">
<div
class=
"statistics"
>
...
...
@@ -73,20 +73,27 @@
<h3
class=
"box-title"
>
待处理事务(入驻待审核)
</h3>
<div
class=
"content"
v-if=
"waitAuditList.length > 0"
>
<div
class=
"item"
v-for=
"(item, index) in waitAuditList"
:key=
"index"
>
<template
v-if=
"item.
creditCode
"
>
<template
v-if=
"item.
urlType === 'center'
"
>
<p>
入驻物业集团名称:
{{
item
.
propertyName
}}
</p>
<p>
申请入驻小区数量:
{{
item
.
empowerCommunityNum
}}
</p>
<p>
申请入驻物业时间:
{{
item
.
createTime
}}
</p>
<p>
添加人:
{{
item
.
createBy
}}
</p>
<a-button
type=
"primary"
size=
"small"
@
click=
"toOperation(item, 1)"
>
审核
</a-button>
</
template
>
<
template
v-else
>
<
template
v-else
-if=
"item.urlType === 'councils'"
>
<p>
入驻社区名称:
{{
item
.
councilsName
}}
</p>
<p>
申请入驻小区数量:
{{
item
.
empowerCommunityNum
}}
</p>
<p>
申请入驻社区时间:
{{
item
.
createTime
}}
</p>
<p>
添加人:
{{
item
.
createBy
}}
</p>
<a-button
type=
"primary"
size=
"small"
@
click=
"toOperation(item, 2)"
>
审核
</a-button>
</
template
>
<
template
v-else
>
<p>
入驻合作伙伴名称:
{{
item
.
partnersName
}}
</p>
<p>
统一社会信用代码:
{{
item
.
creditCode
}}
</p>
<p>
申请入驻社区时间:
{{
item
.
createTime
}}
</p>
<p>
添加人:
{{
item
.
createBy
}}
</p>
<a-button
type=
"primary"
size=
"small"
@
click=
"toOperation(item, 3)"
>
审核
</a-button>
</
template
>
</div>
</div>
<div
class=
"content"
v-else
>
...
...
@@ -98,7 +105,7 @@
<h3
class=
"box-title"
>
社区分布数量图
</h3>
<div
ref=
"mapEcharts"
class=
"map-echart"
style=
"height: 500px"
></div>
</div>
</
div
>
</
a-spin
>
</template>
<
script
>
...
...
@@ -149,10 +156,10 @@ export default {
},
data
()
{
return
{
confirmLoading
:
false
,
statistical
:
{},
mapData
:
[],
waitAuditList
:
[],
loading
:
true
,
center
:
null
,
rankList
,
barData
,
...
...
@@ -163,10 +170,7 @@ export default {
}
},
created
()
{
setTimeout
(()
=>
{
this
.
loading
=
!
this
.
loading
},
1000
)
this
.
initLogInfo
()
// this.initLogInfo()
this
.
getDataStatistics
()
},
methods
:
{
...
...
@@ -186,6 +190,7 @@ export default {
})
},
async
getDataStatistics
()
{
this
.
confirmLoading
=
true
let
{
result
}
=
await
getDataStatisticsApi
()
// this.statistical = {
// settledNum: result.settledNum,
...
...
@@ -195,9 +200,14 @@ export default {
// monthSettledNum: result.monthSettledNum,
// }
this
.
statistical
=
{...
result
}
let
propertyList
=
result
.
waitAuditList
[
0
]
||
[]
let
communityList
=
result
.
waitAuditList
[
1
]
||
[]
this
.
waitAuditList
=
propertyList
.
concat
(
communityList
)
let
propertyList
=
result
.
waitAuditList
.
propertySettleds
||
[]
propertyList
.
forEach
(
item
=>
item
[
'urlType'
]
=
'center'
)
let
communityList
=
result
.
waitAuditList
.
propertyCouncils
||
[]
communityList
.
forEach
(
item
=>
item
[
'urlType'
]
=
'councils'
)
let
partnersList
=
result
.
waitAuditList
.
partnersInfos
||
[]
partnersList
.
forEach
(
item
=>
item
[
'urlType'
]
=
'partners'
)
this
.
waitAuditList
=
propertyList
.
concat
(
communityList
,
partnersList
)
this
.
confirmLoading
=
false
this
.
mapData
=
result
.
propertySettledList
.
map
((
item
)
=>
{
return
{
...
...
@@ -213,10 +223,14 @@ export default {
this
.
$router
.
push
({
path
:
'/settled/propertyDetails?type=audit&id='
+
record
.
id
,
})
}
else
{
}
else
if
(
type
===
2
)
{
this
.
$router
.
push
({
path
:
'/settled/communityDetails?type=audit&id='
+
record
.
id
,
})
}
else
{
this
.
$router
.
push
({
path
:
'/settled/partners/PartnersDetails?type=audit&id='
+
record
.
id
})
}
},
//地图
...
...
@@ -297,29 +311,25 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
.page-header-index-wide {
// padding: 16px;
.statistics {
// flex: none;
background: #fff;
width: 100%;
height: 90px;
box-sizing: border-box;
border: 1px solid #e0dfdf;
display: flex;
align-items: center;
justify-content: center;
.icon {
margin-right: 12px;
.anticon {
font-size: 36px;
}
}
span {
font-size: 14px;
color: #1890ff;
.statistics {
background: #fff;
width: 100%;
height: 90px;
box-sizing: border-box;
border: 1px solid #e0dfdf;
display: flex;
align-items: center;
justify-content: center;
.icon {
margin-right: 12px;
.anticon {
font-size: 36px;
}
}
span {
font-size: 14px;
color: #1890ff;
}
}
.map-box {
background-color: #fff;
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论