Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wbx-PCAndMobi
pc
Commits
55e7f9b4
Commit
55e7f9b4
authored
Apr 29, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard调整
parent
63b29930
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
91 additions
and
3 deletions
+91
-3
api.js
src/server/api.js
+1
-1
commenHome.vue
src/views/commenHome.vue
+1
-1
homeXuhui.vue
src/views/homeXuhui.vue
+89
-1
No files found.
src/server/api.js
View file @
55e7f9b4
...
...
@@ -64,7 +64,7 @@ default: // 默认环境下(开发环境)
// BASE_URL = 'http://31.0.161.39/apiv2'
// BASE_URL = 'http://211.136.105.193/apiv2'
BASE_URL
=
'http://yangpu-hm.omniview.pro/api/v2'
BASE_URL
=
'http://xuhui.hm.omniview.pro/api/v2'
//
BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2'
// BASE_URL = 'http://pudong.hm.omniview.pro/api/v2'
// BASE_URL = 'http://211.136.105.193/apiv2'
MOCK_URL
=
'https://yapi.omniview.pro/mock/283'
...
...
src/views/commenHome.vue
View file @
55e7f9b4
<
template
>
<div
class=
"content"
>
<xuhui
v-if=
"(this.$api.BASE_URL).indexOf('xuhui') > -1 || (this.$api.BASE_URL).indexOf('31.0.161.39') > -1"
/>
<xuhui
v-if=
"(this.$api.BASE_URL).indexOf('xuhui') > -1 || (this.$api.BASE_URL).indexOf('31.0.161.39') > -1
||(this.$api.BASE_URL).indexOf('pudong') > -1 || (this.$api.BASE_URL).indexOf('211.136.105.193') > -1
"
/>
<home
v-else
/>
</div>
...
...
src/views/homeXuhui.vue
View file @
55e7f9b4
<
template
>
<div>
<div
id=
"home"
class=
"layoutPadding"
>
<!-- 浦东 -->
<div
id=
"home"
class=
"layoutPadding"
v-if=
"(this.$api.BASE_URL).indexOf('pudong') > -1 || (this.$api.BASE_URL).indexOf('211.136.105.193') > -1"
>
<div
class=
"topBox-l"
>
<div
class=
"inner"
style=
""
>
<div>
<p
class=
"top-font"
>
小区数
</p>
<span
class=
"top-count"
>
{{
data
.
community
}}
</span>
</div>
<div
class=
"align-center"
>
<img
src=
"@/assets/icon/xqs.png"
style=
"width:50px;"
alt=
""
>
</div>
</div>
<div
class=
"inner"
style=
""
>
<div>
<p
class=
"top-font"
>
门牌幢数
</p>
<span
class=
"top-count"
>
{{
data
.
building
}}
</span>
</div>
<div
class=
"align-center"
>
<img
src=
"@/assets/icon/mpzs.png"
style=
"width:50px;"
alt=
""
>
</div>
</div>
<div
class=
"inner"
style=
""
>
<div>
<p
class=
"top-font"
>
物业企业数
</p>
<span
class=
"top-count"
>
{{
data
.
company
}}
</span>
</div>
<div
class=
"align-center"
>
<img
src=
"@/assets/icon/ywhs.png"
style=
"width:50px;"
alt=
""
>
</div>
</div>
<div
class=
"inner"
style=
""
>
<div>
<p
class=
"top-font"
>
业委会数
</p>
<span
class=
"top-count"
>
{{
data
.
ic
}}
</span>
</div>
<div
class=
"align-center"
>
<img
src=
"@/assets/icon/ywhs.png"
style=
"width:50px;"
alt=
""
>
</div>
</div>
</div>
<div
class=
"secBox"
v-if=
"$store.state.userInfos && $store.state.userInfos.isAllPerm"
>
<IndustrySupervision
style=
"width:35%"
/>
<ComplaintsTrain
moduletitle=
"投诉直通车"
style=
"width:48%"
/>
<FileModule
style=
"width:13%;"
/>
</div>
<div
class=
"thirdBox"
v-if=
"$store.state.userInfos && $store.state.userInfos.isAllPerm"
>
<ManagementModule
moduletitle=
"信用"
style=
"width:32.5%"
/>
<ManagementModule
moduletitle=
"风险"
style=
"width:32.5%"
/>
<ManagementModule
moduletitle=
"分类"
style=
"width:32.5%"
/>
</div>
<div
class=
"fourthBox"
v-if=
"$store.state.userInfos && $store.state.userInfos.isAllPerm"
>
<RiskDisposal
style=
"width:30%"
/>
<RetrofitElevator
style=
"width:32%"
/>
<ComplaintsTrain
moduletitle=
"应急报修"
style=
"width:36%"
/>
</div>
</div>
<div
id=
"home"
class=
"layoutPadding"
v-else
>
<!--
<div
id=
"home"
class=
"layoutPadding"
v-else
>
-->
<a-row
type=
"flex"
class=
"align-stretch"
>
<a-col
:span=
"24"
>
<a-row
type=
"flex"
style=
"height:100%;"
>
...
...
@@ -579,9 +636,24 @@ import nm from '@/assets/icon/nm.png'
import
qs
from
'qs'
import
axios
from
'axios'
import
ComplaintsTrain
from
'@/views/home/ComplaintsTrain'
import
EmergencyRepair
from
'@/views/home/EmergencyRepair'
import
IndustrySupervision
from
'@/views/home/IndustrySupervision'
import
ManagementModule
from
'@/views/home/ManagementModule'
import
RetrofitElevator
from
'@/views/home/RetrofitElevator'
import
RiskDisposal
from
'@/views/home/RiskDisposal'
import
FileModule
from
'@/views/home/FileModule'
export
default
{
name
:
'HomePage'
,
components
:
{
ComplaintsTrain
,
EmergencyRepair
,
IndustrySupervision
,
ManagementModule
,
RetrofitElevator
,
RiskDisposal
,
FileModule
,
},
data
()
{
return
{
...
...
@@ -663,6 +735,22 @@ export default {
}
}
})
// })
// if (this.$store.state.userinfos && this.$store.state.userinfos.isAllPerm) { // 不是全部权限dashboard下方的模块不展示
// this.getDisposal()
// this.getHouthMonth()
// this.getCheckData()
// this.getCheckPeople()
// this.getSectNum()
// this.getReceiptsNum()
// this.getRepair()
// this.getTousuQuestion('M')
// this.getTousuQuestion('Y')
// this.getTousuQuestion('S')
// this.getTousuDensity('M')
// this.getTousuDensity('Y')
// this.getTousuDensity('S')
// }
},
methods
:
{
/**
...
...
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