feat:车辆管理
This commit is contained in:
1 parent
fef4fbca2e
commit
c86d29bd8d
13 files changed
+300
-164
No files matched your search
@@ -38,4 +38,6 @@ export { default as noticeApi } from "./notice"
|
||||
|
||||
export { default as invitationApi } from "./invitation"
|
||||
|
||||
export { default as totalApi } from "./total"
|
||||
export { default as totalApi } from "./total"
|
||||
|
||||
export { default as userCarApi } from "./userCar"
|
||||
@@ -0,0 +1,22 @@
|
||||
import request from "@/sheep/utils/request"
|
||||
|
||||
export default {
|
||||
/**
|
||||
* 申请车
|
||||
*/
|
||||
apply: (data: any) =>
|
||||
request({
|
||||
url: `/admin/sysUserCar/app/create`,
|
||||
method: "POST",
|
||||
data,
|
||||
}),
|
||||
/**
|
||||
* 车列表
|
||||
*/
|
||||
page: (data: any) =>
|
||||
request({
|
||||
url: `/admin/sysUserCar/app/page`,
|
||||
method: "POST",
|
||||
data,
|
||||
}),
|
||||
}
|
||||
@@ -36,6 +36,13 @@ const hardwareRefundStatusEnum = {
|
||||
30: "售后失败",
|
||||
}
|
||||
|
||||
const carTypeEnum = {
|
||||
1: "私家车",
|
||||
2: "公车",
|
||||
3: "军车",
|
||||
4: "警车",
|
||||
}
|
||||
|
||||
const boxesBxStatusEnum = {
|
||||
"0": "今日空闲",
|
||||
"1": "今日部分空闲",
|
||||
@@ -49,4 +56,5 @@ export default {
|
||||
boxesBxStatusEnum,
|
||||
hardwareSaleStatusEnum,
|
||||
hardwareRefundStatusEnum,
|
||||
carTypeEnum,
|
||||
}
|
||||
Reference in new issue
Block a user