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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
157 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
getParkingSpaceListApi
=
params
=>
{
const
getSendRepairListApi
=
params
=>
{
params
.
method
=
'marketing.api.charge.parkingSpace.page'
params
.
method
=
'clue.api.collision.info.listCollisionInfoByPage'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
const
exportSendRepairListApi
=
params
=>
{
params
.
method
=
'clue.api.collision.info.exportCollisionInfo'
return
http
({
url
:
URL
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
const
setNoticeApi
=
params
=>
{
params
.
method
=
'clue.api.collision.config.addOrUpdatePushConfig'
return
http
({
url
:
URL
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
}
const
getNoticeDetailApi
=
params
=>
{
// 获取小区列表
params
.
method
=
'clue.api.collision.config.getDetail'
const
getMerchantListApi
=
params
=>
{
return
http
({
params
.
method
=
'marketing.api.charge.parkingSpace.getMerchantList'
url
:
URL
,
return
http
({
method
:
'post'
,
url
:
URL
,
data
:
params
,
method
:
'post'
,
sign
:
true
data
:
params
,
})
sign
:
true
})
}
}
const
getCollisionDetail
Api
=
params
=>
{
const
exportParkingSpaceList
Api
=
params
=>
{
params
.
method
=
'clue.api.collision.info.getDetail
'
params
.
method
=
'marketing.api.charge.parkingSpace.page.export
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
}
const
setFollowInfo
Api
=
params
=>
{
const
addParkingSpace
Api
=
params
=>
{
params
.
method
=
'clue.api.collision.info.follow
'
params
.
method
=
'marketing.api.charge.parkingSpace.create
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
}
const
get
Device
ListApi
=
params
=>
{
const
get
Radar
ListApi
=
params
=>
{
params
.
method
=
'clue.api.collision.customer.device.list
'
params
.
method
=
'marketing.api.charge.radar.page
'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
}
const
exportDeviceListApi
=
params
=>
{
const
delParkingSpaceApi
=
params
=>
{
params
.
method
=
'clue.api.collision.customer.device.list.export'
params
.
method
=
'marketing.api.charge.parkingSpace.delete'
return
http
({
return
http
({
url
:
URL
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
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
getVehicleSeriesList
Api
=
params
=>
{
const
updateParkingSpace
Api
=
params
=>
{
params
.
method
=
'scrm.api.carlife.common.getCarSeriesList
'
params
.
method
=
'marketing.api.charge.parkingSpace.update
'
return
http
({
return
http
({
url
:
'/rop-scrm-carlife/router'
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
}
const
getCarTypeList
Api
=
params
=>
{
const
saveParkingSpacePic
Api
=
params
=>
{
params
.
method
=
'scrm.api.carlife.common.getCarTypeList
'
params
.
method
=
'marketing.api.charge.parkingSpace.uploadImages
'
return
http
({
return
http
({
url
:
'/rop-scrm-carlife/router'
,
url
:
URL
,
method
:
'post'
,
method
:
'post'
,
data
:
params
,
data
:
params
,
sign
:
true
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