diff --git a/src/api/member/driver/index.ts b/src/api/member/driver/index.ts
new file mode 100644
index 0000000..f3b3428
--- /dev/null
+++ b/src/api/member/driver/index.ts
@@ -0,0 +1,116 @@
+import request from '@/config/axios'
+
+// 会员用户 VO
+export interface UserVO {
+ // 编号
+ id: number
+ // 手机号
+ mobile: string
+ // 密码
+ password: string
+ // 状态
+ status: number
+ // 注册 IP
+ registerIp: string
+ // 注册终端
+ registerTerminal: number
+ // 账户类型,1个人,2车队
+ type: number
+ // 车队id
+ teamId: number
+ // 最后登录IP
+ loginIp: string
+ // 最后登录时间
+ loginDate: Date
+ // 用户昵称
+ nickname: string
+ // 头像
+ avatar: string
+ // 真实名字
+ name: string
+ // 用户性别
+ sex: number
+ // 所在地
+ areaId: number
+ // 出生日期
+ birthday: Date
+ // 会员备注
+ mark: string
+ // 积分
+ point: number
+ // 用户标签编号列表,以逗号分隔
+ tagIds: string
+ // 等级编号
+ levelId: number
+ // 经验
+ experience: number
+ // 用户分组编号
+ groupId: number
+ // 驾驶证图片
+ driverLicense: string
+ // 身份证人像面
+ idFront: string
+ // 身份证国徽面
+ idBack: string
+ // 实名认证标志:0-否;1-是, 2审核中
+ realNameAuthFlag: number
+}
+
+// 会员用户 API
+export const UserApi = {
+ // 查询会员用户分页
+ getUserPage: async (params: any) => {
+ return await request.get({ url: `/member/user/user-page`, params })
+ },
+
+ // 查询会员用户详情
+ getUser: async (id: number) => {
+ return await request.get({ url: `/member/user/get?id=` + id })
+ },
+
+ // 新增会员用户
+ createUser: async (data: UserVO) => {
+ return await request.post({ url: `/member/user/create`, data })
+ },
+
+ // 修改会员用户
+ updateUser: async (data: UserVO) => {
+ return await request.put({ url: `/member/user/update`, data })
+ },
+
+ // 删除会员用户
+ deleteUser: async (id: number) => {
+ return await request.delete({ url: `/member/user/delete?id=` + id })
+ },
+
+ // 导出会员用户 Excel
+ exportUser: async (params) => {
+ return await request.download({ url: `/member/user/export-excel`, params })
+ },
+
+// ==================== 子表(用户车辆信息) ====================
+
+ // 获得用户车辆信息分页
+ getPersonalVehiclePage: async (params) => {
+ return await request.get({ url: `/member/user/personal-vehicle/page`, params })
+ },
+ // 新增用户车辆信息
+ createPersonalVehicle: async (data) => {
+ return await request.post({ url: `/member/user/personal-vehicle/create`, data })
+ },
+
+ // 修改用户车辆信息
+ updatePersonalVehicle: async (data) => {
+ return await request.put({ url: `/member/user/personal-vehicle/update`, data })
+ },
+
+ // 删除用户车辆信息
+ deletePersonalVehicle: async (id: number) => {
+ return await request.delete({ url: `/member/user/personal-vehicle/delete?id=` + id })
+ },
+
+ // 获得用户车辆信息
+ getPersonalVehicle: async (id: number) => {
+ return await request.get({ url: `/member/user/personal-vehicle/get?id=` + id })
+ },
+}
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 14391c7..bfce016 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -101,16 +101,16 @@ export const getDictLabel = (dictType: string, value: any): string => {
}
export enum DICT_TYPE {
- DETAIL_TYPE = 'detail_type',//1:上月订单收益 2:上月订单退款 3:跨月订单退款
- COMMISSION_STATUS = 'commission_status',//状态:0:未打款 1:未完成打款 2:已完成打款
- PAYMENT_STATUS = 'payment_status',//0 未支付 10 支付成功 20 已退款 30 支付关闭
- STORE_STATUS = 'store_status',//zz 门店状态 0-禁用 1-启用
- VEHICLE_STATUS = 'vehicle_status',//zz车辆、电池 状态 在线状态: 0-离线;1-在线
- VEHICLE_STATUS_TWO = 'vehicle_status_two',//zz status车辆 状态 0-离线: 1-正常; 2-使用中;3-异常;4-停用
+ DETAIL_TYPE = 'detail_type', //1:上月订单收益 2:上月订单退款 3:跨月订单退款
+ COMMISSION_STATUS = 'commission_status', //状态:0:未打款 1:未完成打款 2:已完成打款
+ PAYMENT_STATUS = 'payment_status', //0 未支付 10 支付成功 20 已退款 30 支付关闭
+ STORE_STATUS = 'store_status', //zz 门店状态 0-禁用 1-启用
+ VEHICLE_STATUS = 'vehicle_status', //zz车辆、电池 状态 在线状态: 0-离线;1-在线
+ VEHICLE_STATUS_TWO = 'vehicle_status_two', //zz status车辆 状态 0-离线: 1-正常; 2-使用中;3-异常;4-停用
CAR_RENTAL_ORDER = 'car_rental_order', //zz 骑行订单状态
- REFUND_ORDER_STATUS = 'refund_order_status',//zz 退款单状态
- CHECK_ORDER_STATUS = 'check_order_status',//zz退款状态 状态:1-申请中;2-退款成功;3-取消
- CHECK_ORDER_STATUS_ONE = 'check_order_status_one',//zz退款单状态 状态:2-退款成功;3-取消
+ REFUND_ORDER_STATUS = 'refund_order_status', //zz 退款单状态
+ CHECK_ORDER_STATUS = 'check_order_status', //zz退款状态 状态:1-申请中;2-退款成功;3-取消
+ CHECK_ORDER_STATUS_ONE = 'check_order_status_one', //zz退款单状态 状态:2-退款成功;3-取消
USER_TYPE = 'user_type',
USER_NUMBER_STATUS = 'user_number_status',
VIP_AUTHENTICATION = 'vip_authentication',
@@ -243,6 +243,7 @@ export enum DICT_TYPE {
CANOFFLINE = 'canOffline',
OPENFLAG = 'openFlag',
ROUNDINGMODE = 'roundingMode',
-
-
+ DRIVETYPE = 'driver_type',
+ REALNAMEAUTHFLAG = 'realNameAuthFlag',
+ VEHICLEPROPERTY = 'vehicleProperty'
}
diff --git a/src/views/system/customerManagement/driverManagement/UserForm.vue b/src/views/system/customerManagement/driverManagement/UserForm.vue
new file mode 100644
index 0000000..bfd1318
--- /dev/null
+++ b/src/views/system/customerManagement/driverManagement/UserForm.vue
@@ -0,0 +1,284 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/customerManagement/driverManagement/components/PersonalVehicleForm.vue b/src/views/system/customerManagement/driverManagement/components/PersonalVehicleForm.vue
new file mode 100644
index 0000000..10223d2
--- /dev/null
+++ b/src/views/system/customerManagement/driverManagement/components/PersonalVehicleForm.vue
@@ -0,0 +1,185 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/customerManagement/driverManagement/components/PersonalVehicleList.vue b/src/views/system/customerManagement/driverManagement/components/PersonalVehicleList.vue
new file mode 100644
index 0000000..ca96c9e
--- /dev/null
+++ b/src/views/system/customerManagement/driverManagement/components/PersonalVehicleList.vue
@@ -0,0 +1,124 @@
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/customerManagement/driverManagement/index.vue b/src/views/system/customerManagement/driverManagement/index.vue
index f018a53..37c85a0 100644
--- a/src/views/system/customerManagement/driverManagement/index.vue
+++ b/src/views/system/customerManagement/driverManagement/index.vue
@@ -1,5 +1,264 @@
- 111
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file