Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
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
1
Merge Requests
1
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
mobi
Commits
a478ce6f
Commit
a478ce6f
authored
Jan 13, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加浦东的dashboard图片和actions里面的函数以及api
parent
40591865
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
2 deletions
+74
-2
juwei-icon.png
src/assets/icon/juwei-icon.png
+0
-0
sect-icon.png
src/assets/icon/sect-icon.png
+0
-0
wuqi-icon.png
src/assets/icon/wuqi-icon.png
+0
-0
api.js
src/server/api.js
+16
-2
actions.js
src/store/actions.js
+58
-0
No files found.
src/assets/icon/juwei-icon.png
0 → 100644
View file @
a478ce6f
2.56 KB
src/assets/icon/sect-icon.png
0 → 100644
View file @
a478ce6f
2.18 KB
src/assets/icon/wuqi-icon.png
0 → 100644
View file @
a478ce6f
2.11 KB
src/server/api.js
View file @
a478ce6f
...
...
@@ -63,8 +63,8 @@ default: // 默认环境下(开发环境)
// BASE_URL = 'http://31.0.161.39/apiv2'
// BASE_URL = 'http://211.136.105.193/apiv2'
// BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2'
//
BASE_URL = 'http://pudong.hm.omniview.pro/api/v2'
BASE_URL
=
'http://yangpu-hm.omniview.pro/api/v2'
BASE_URL
=
'http://pudong.hm.omniview.pro/api/v2'
//
BASE_URL = 'http://yangpu-hm.omniview.pro/api/v2'
// MOCK_URL = 'https://yapi.omniview.pro/mock/278'
break
...
...
@@ -181,4 +181,18 @@ export default {
GET_TOUSUDENSITY_LIST
:
'/service-documents-ddd/tsDensityRank'
,
//投诉密度排行
GET_TOUSUQUESTION_DETAILS
:
'/service-documents-ddd/tsDetial/{id}'
,
//投诉问题详情
GET_TOUSUQUESTION_LIST
:
'/service-documents-ddd/tsRank'
,
//投诉问题排行
/**
* 首页dashboard
*/
GET_IndustrySupervision
:
'/service-documents-ddd/statistical/hoMonthlyCheck/groupByStreet'
,
//行业督查
GET_RiskDisposal
:
'/service-special/discover/statistical/discoverHandle'
,
//当年风险处置情况
GET_ComplaintsTrain
:
'/service-report/elevator/ranking/{type}'
,
//投诉直通车
GET_Creditratingranking
:
'/service-special/crdt/evlt/levelRanking'
,
//信用管理等级排行
get_elevator_collect
:
'service-report/elevator/collect'
,
// 小区电梯加装情况
// get_specialInspection: '/service-documents-ddd/statistical/specialInspection', //行业督查数字
get_specialInspection
:
'/service-documents-ddd/statistical/specialInspection'
,
//行业督查数字
get_month_check
:
'service-documents-ddd/dashboard/house/month'
}
src/store/actions.js
View file @
a478ce6f
import
ajax
from
'@/server/ajax'
import
api
from
'@/server/api'
import
common
from
'@/util/common.js'
import
moment
from
'moment'
import
{
set
}
from
'shelljs'
import
state
from
'./state'
export
default
{
// initData({dispatch}) {
// dispatch('get_ComplaintsTrain', 'month')
// },
// 行业督查
getIndustrySupervision
({
commit
},
params
){
return
ajax
.
get
({
url
:
api
.
GET_IndustrySupervision
,
params
})
},
// 行业督查数字
getIndustrySupervision
({
commit
},
params
){
return
ajax
.
get
({
url
:
api
.
get_specialInspection
,
params
})
},
// 行业月份勾选
getMonthCheck
({
commit
},
params
){
return
ajax
.
get
({
url
:
api
.
get_month_check
,
params
})
},
// 小区加装电梯
getADDelevator
({
commit
},
params
){
return
ajax
.
get
({
url
:
api
.
get_elevator_collect
,
params
})
},
// 投诉直通车
get_ComplaintsTrain
({
commit
},
params
){
return
ajax
.
get
({
url
:
api
.
GET_ComplaintsTrain
.
replace
(
'{type}'
,
params
),
})
},
// 当年风险处置情况
get_RiskDisposal
({
commit
},
){
return
ajax
.
get
({
url
:
api
.
GET_RiskDisposal
,
})
},
//信用管理等级排行
GET_Creditratingranking
({
commit
},
){
return
ajax
.
get
({
url
:
api
.
GET_Creditratingranking
,
})
},
}
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