Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-charge
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 66066c63
authored
Feb 28, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车位联调
1 parent
75b8885f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
108 deletions
src/api/modules/sendRepair.js → src/api/modules/parkingSpace.js
src/views/parkingPlace/index.vue
src/api/modules/
sendRepair
.js
→
src/api/modules/
parkingSpace
.js
View file @
66066c6
import
{
http
}
from
'@/main'
import
{
http
}
from
'@/main'
// http 对应的域名http://ismv.branch.glsx.com.cn
const
URL
=
'/rop-scrm-marketing/router'
const
URL
=
'/rop-scrm-clue/router'
//
送修
列表
//
车位
列表
const
get
SendRepair
ListApi
=
params
=>
{
const
get
ParkingSpace
ListApi
=
params
=>
{
params
.
method
=
'clue.api.collision.info.listCollisionInfoByP
age'
params
.
method
=
'marketing.api.charge.parkingSpace.p
age'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
...
@@ -14,8 +13,9 @@ const getSendRepairListApi = params => {
...
@@ -14,8 +13,9 @@ const getSendRepairListApi = params => {
})
})
}
}
const
exportSendRepairListApi
=
params
=>
{
// 获取小区列表
params
.
method
=
'clue.api.collision.info.exportCollisionInfo'
const
getMerchantListApi
=
params
=>
{
params
.
method
=
'marketing.api.charge.parkingSpace.getMerchantList'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
...
@@ -24,8 +24,8 @@ const exportSendRepairListApi = params => {
...
@@ -24,8 +24,8 @@ const exportSendRepairListApi = params => {
})
})
}
}
const
setNotice
Api
=
params
=>
{
const
exportParkingSpaceList
Api
=
params
=>
{
params
.
method
=
'clue.api.collision.config.addOrUpdatePushConfig
'
params
.
method
=
'marketing.api.charge.parkingSpace.page.export
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
...
@@ -34,8 +34,8 @@ const setNoticeApi = params => {
...
@@ -34,8 +34,8 @@ const setNoticeApi = params => {
})
})
}
}
const
getNoticeDetail
Api
=
params
=>
{
const
addParkingSpace
Api
=
params
=>
{
params
.
method
=
'clue.api.collision.config.getDetail
'
params
.
method
=
'marketing.api.charge.parkingSpace.create
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
...
@@ -44,8 +44,8 @@ const getNoticeDetailApi = params => {
...
@@ -44,8 +44,8 @@ const getNoticeDetailApi = params => {
})
})
}
}
const
get
CollisionDetail
Api
=
params
=>
{
const
get
RadarList
Api
=
params
=>
{
params
.
method
=
'clue.api.collision.info.getDetail
'
params
.
method
=
'marketing.api.charge.radar.page
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
...
@@ -54,8 +54,8 @@ const getCollisionDetailApi = params => {
...
@@ -54,8 +54,8 @@ const getCollisionDetailApi = params => {
})
})
}
}
const
setFollowInfo
Api
=
params
=>
{
const
delParkingSpace
Api
=
params
=>
{
params
.
method
=
'clue.api.collision.info.follow
'
params
.
method
=
'marketing.api.charge.parkingSpace.delete
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
...
@@ -64,8 +64,8 @@ const setFollowInfoApi = params => {
...
@@ -64,8 +64,8 @@ const setFollowInfoApi = params => {
})
})
}
}
const
getDeviceList
Api
=
params
=>
{
const
updateParkingSpace
Api
=
params
=>
{
params
.
method
=
'clue.api.collision.customer.device.list
'
params
.
method
=
'marketing.api.charge.parkingSpace.update
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
...
@@ -74,8 +74,8 @@ const getDeviceListApi = params => {
...
@@ -74,8 +74,8 @@ const getDeviceListApi = params => {
})
})
}
}
const
exportDeviceList
Api
=
params
=>
{
const
saveParkingSpacePic
Api
=
params
=>
{
params
.
method
=
'clue.api.collision.customer.device.list.export
'
params
.
method
=
'marketing.api.charge.parkingSpace.uploadImages
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
...
@@ -84,94 +84,13 @@ const exportDeviceListApi = params => {
...
@@ -84,94 +84,13 @@ const exportDeviceListApi = params => {
})
})
}
}
const
importDeviceInfoApi
=
params
=>
{
params
.
method
=
'clue.api.collision.device.import'
return
http
({
url
:
URL
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
const
editDeviceInfoApi
=
params
=>
{
params
.
method
=
'clue.api.collision.customer.device.edit'
return
http
({
url
:
URL
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
const
getDeviceDetailApi
=
params
=>
{
params
.
method
=
'clue.api.collision.customer.device.detail'
return
http
({
url
:
URL
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
const
uploadFileApi
=
params
=>
{
params
.
method
=
`scrm.api.equity.service.claims.code.batchGenerateCodeByExcel`
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
noSignAttr
:
[
'file'
]
})
}
const
getCarBrandListApi
=
params
=>
{
params
.
method
=
'scrm.api.carlife.common.getOnlyCarBrandList'
return
http
({
url
:
'/rop-scrm-carlife/router'
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
const
getVehicleSeriesListApi
=
params
=>
{
params
.
method
=
'scrm.api.carlife.common.getCarSeriesList'
return
http
({
url
:
'/rop-scrm-carlife/router'
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
const
getCarTypeListApi
=
params
=>
{
params
.
method
=
'scrm.api.carlife.common.getCarTypeList'
return
http
({
url
:
'/rop-scrm-carlife/router'
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
export
default
{
export
default
{
getSendRepairListApi
,
getParkingSpaceListApi
,
exportSendRepairListApi
,
getMerchantListApi
,
setNoticeApi
,
exportParkingSpaceListApi
,
getNoticeDetailApi
,
addParkingSpaceApi
,
getCollisionDetailApi
,
getRadarListApi
,
setFollowInfoApi
,
delParkingSpaceApi
,
getDeviceListApi
,
updateParkingSpaceApi
,
exportDeviceListApi
,
saveParkingSpacePicApi
importDeviceInfoApi
,
editDeviceInfoApi
,
getDeviceDetailApi
,
uploadFileApi
,
getCarBrandListApi
,
getVehicleSeriesListApi
,
getCarTypeListApi
}
}
src/views/parkingPlace/index.vue
View file @
66066c6
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
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 post a comment