usedCarManagement.js
5.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/**二手车 */
import { gscPost } from "./gscRequest"
import request from "./request"
import RequestMethods from "./request.methods"
// 数据看板指标统计
export function getdataBoard (data) {
return gscPost("/dataBoard/index", data)
}
// 数据看板评估量趋势
export function getEvaluationData (data) {
return gscPost("/dataBoard/evaluation", data)
}
// 数据看板成交量趋势
export function getDealData (data) {
return gscPost("/dataBoard/deal", data)
}
// 合同管理列表
export function getContractList (data) {
return gscPost("/evalElectronicContract/page", data)
}
// 合同管理详情
export function getContractDetail (data) {
return gscPost("/evalElectronicContract/detail", data)
}
//合同下载
export function getContractDownload (data) {
return gscPost("/evalElectronicContract/getContractFileUrl", data)
}
//编辑合同详情
export function getContractEdit (data) {
return gscPost("/evalElectronicContract/editDescription", data)
}
// 评估单列表
export function getEvalOrderList (data) {
return gscPost("/evalOrderManage/getEvalOrderList", data)
}
//评估单详情
export function getEvalOrderDetail (data) {
console.log(data)
return gscPost("/evalOrderManage/getEvalOrderDetail", data)
}
//评估单动态
export function getEvalOrderPriceHistory (data) {
return gscPost("/evalOrderManage/getEvalOrderPriceHistory", data)
}
//评估车辆
export function evaluateCar (data) {
return gscPost("/evalOrderManage/evaluate", data, { returnAll: true })
}
//车辆评估导出
export function exportEvaluate (data) {
return gscPost("/evalOrderManage/exportEvalOrderAsync", data)
}
//阳光激励配置分页
export function getSunlightPage (data) {
console.log(gscPost)
return gscPost("/sunlightInspiresConfig/page", data)
}
//修改阳光激励配置
export const updateSunlightConfig = (data) => {
return gscPost("/sunlightInspiresConfig/edit", data, { returnAll: true })
}
// 新增阳光激励配置
export const createSunlightConfig = (data) => {
return gscPost("/sunlightInspiresConfig/create", data, { returnAll: true })
}
//阳光激励详情
export const getSunlightConfig = (data) => {
return gscPost("/sunlightInspiresConfig/details", data)
}
//阳光激励操作日记
export const getSunlightLog = (data) => {
return gscPost("/sunlightInspiresConfig/log/page", data)
}
//阳光激励导出
export const exportSunlightPage = (data) => {
return gscPost("/sunlightInspiresConfig/export", data)
}
//删除阳光激励配置
export const deleteSunlightConfig = (data) => {
return gscPost("/sunlightInspiresConfig/delete", data)
}
/**
* 获取车辆管理列表
*/
export const getCarManagementPage = (data) => {
return gscPost("/carManagement/carManagementPage", data)
}
/**
* 导出车辆管理列表
*/
export const exportCarManagementPage = (data) => {
return gscPost("/carManagement/export", data)
}
/**
* 获取车辆管理详情
*/
export const getCarManagementDetail = (data) => {
return gscPost("/carManagement/details", data)
}
/**
* 车辆状态变更
*/
export const editCarStatus = (data) => {
return gscPost("/carManagement/edit", data)
}
/**
* 车辆管理操作日志
*/
export const getCarManagementLog = (data) => {
return gscPost("/carManagement/carManagementLog", data)
}
/**
* 二手车付款列表
*/
export const getUsedCarPaymentList = (data) => {
data.method = 'dj.smartcarlife.api.nbcb.batch.transfer.page'
return request(data, RequestMethods.POST)
}
/**
*二手车- 批量重推付款单
*/
export const batchRepush = (data) => {
data.method = 'dj.smartcarlife.api.nbcb.batch.transfer.batch.repush'
return request(data, RequestMethods.POST)
}
/**
* 二手车-待付清单详情
*/
export const batchTransferDetail = (data) => {
data.method = 'dj.smartcarlife.api.nbcb.batch.transfer.detail'
return request(data, RequestMethods.POST)
}
/**
* 查询资金使用额度列表
*/
export const getFundUsageLimitList = (data) => {
data.method = 'dj.smartcarlife.api.fund.usage.limit.page'
return request(data, RequestMethods.POST)
}
/**
* 查询资金使用额度关联审批列表
*/
export const getFundUsageLimitOaList = (data) => {
data.method = 'dj.smartcarlife.api.fund.usage.limit.oa.page'
return request(data, RequestMethods.POST)
}
/**
* 查询资金使用额度详情
*/
export const getFundUsageLimitDetail = (data) => {
data.method = 'dj.smartcarlife.api.fund.usage.limit.detail'
return request(data, RequestMethods.POST)
}
/**
*新增资金使用额度
*/
export const addFundUsageLimit = (data) => {
data.method = 'dj.smartcarlife.api.fund.usage.limit.add'
return request(data, RequestMethods.POST)
}
/**
* 账户余额
*/
export const getAccountBalance = (data = {}) => {
data.method = 'dj.smartcarlife.api.nbcb.acc.bal'
return request(data, RequestMethods.POST)
}
/**
* 发送验证码
*/
export const sendSmsCode = (data = {}) => {
data.method = 'dj.api.smartcarlife.sms.common.sendSmsCode'
return request(data, RequestMethods.POST)
}
/**
* 校验验证码
*/
export const verifySmsCode = (data = {}) => {
data.method = 'dj.api.smartcarlife.sms.common.verifySmsCode'
return request(data, RequestMethods.POST, [], {
returnAll: true
})
}