Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
@@ -5,7 +5,7 @@ export interface ShiftVO {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id: string | number;
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* 班次名称
|
||||
|
@@ -0,0 +1,61 @@
|
||||
import type { FeedbacksVO, FeedbacksForm, FeedbacksQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询意见反馈列表
|
||||
* @param params
|
||||
* @returns 意见反馈列表
|
||||
*/
|
||||
export function feedbacksList(params?: FeedbacksQuery) {
|
||||
return requestClient.get<PageResult<FeedbacksVO>>('/system/feedbacks/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出意见反馈列表
|
||||
* @param params
|
||||
* @returns 意见反馈列表
|
||||
*/
|
||||
export function feedbacksExport(params?: FeedbacksQuery) {
|
||||
return commonExport('/system/feedbacks/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询意见反馈详情
|
||||
* @param id id
|
||||
* @returns 意见反馈详情
|
||||
*/
|
||||
export function feedbacksInfo(id: ID) {
|
||||
return requestClient.get<FeedbacksVO>(`/system/feedbacks/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增意见反馈
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function feedbacksAdd(data: FeedbacksForm) {
|
||||
return requestClient.postWithMsg<void>('/system/feedbacks', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新意见反馈
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function feedbacksUpdate(data: FeedbacksForm) {
|
||||
return requestClient.putWithMsg<void>('/system/feedbacks', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除意见反馈
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function feedbacksRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/system/feedbacks/${id}`);
|
||||
}
|
159
apps/web-antd/src/api/property/customerService/feedbacks/model.d.ts
vendored
Normal file
159
apps/web-antd/src/api/property/customerService/feedbacks/model.d.ts
vendored
Normal file
@@ -0,0 +1,159 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface FeedbacksVO {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 反馈类型(0保修1保洁2会议)
|
||||
*/
|
||||
feedbackType: string;
|
||||
|
||||
/**
|
||||
* 反馈人
|
||||
*/
|
||||
feedbackPersion: number;
|
||||
|
||||
/**
|
||||
* 反馈人电话
|
||||
*/
|
||||
feedbackPersionPhone: string;
|
||||
|
||||
/**
|
||||
* 反馈内容
|
||||
*/
|
||||
feedbackContent: string;
|
||||
|
||||
/**
|
||||
* 反馈位置
|
||||
*/
|
||||
feedbackLocation: string;
|
||||
|
||||
/**
|
||||
* 反馈图片
|
||||
*/
|
||||
feedbackImg: string;
|
||||
|
||||
/**
|
||||
* 是否转至工单
|
||||
*/
|
||||
isWorkOrder: string;
|
||||
|
||||
/**
|
||||
* 状态(1待处理2处理中3处理完成)
|
||||
*/
|
||||
status: string;
|
||||
|
||||
/**
|
||||
* 客服电话
|
||||
*/
|
||||
serviceName: string;
|
||||
|
||||
}
|
||||
|
||||
export interface FeedbacksForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 反馈类型(0保修1保洁2会议)
|
||||
*/
|
||||
feedbackType?: string;
|
||||
|
||||
/**
|
||||
* 反馈人
|
||||
*/
|
||||
feedbackPersion?: number;
|
||||
|
||||
/**
|
||||
* 反馈人电话
|
||||
*/
|
||||
feedbackPersionPhone?: string;
|
||||
|
||||
/**
|
||||
* 反馈内容
|
||||
*/
|
||||
feedbackContent?: string;
|
||||
|
||||
/**
|
||||
* 反馈位置
|
||||
*/
|
||||
feedbackLocation?: string;
|
||||
|
||||
/**
|
||||
* 反馈图片
|
||||
*/
|
||||
feedbackImg?: string;
|
||||
|
||||
/**
|
||||
* 是否转至工单
|
||||
*/
|
||||
isWorkOrder?: string;
|
||||
|
||||
/**
|
||||
* 状态(1待处理2处理中3处理完成)
|
||||
*/
|
||||
status?: string;
|
||||
|
||||
/**
|
||||
* 客服电话
|
||||
*/
|
||||
serviceName?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface FeedbacksQuery extends PageQuery {
|
||||
/**
|
||||
* 反馈类型(0保修1保洁2会议)
|
||||
*/
|
||||
feedbackType?: string;
|
||||
|
||||
/**
|
||||
* 反馈人
|
||||
*/
|
||||
feedbackPersion?: number;
|
||||
|
||||
/**
|
||||
* 反馈人电话
|
||||
*/
|
||||
feedbackPersionPhone?: string;
|
||||
|
||||
/**
|
||||
* 反馈内容
|
||||
*/
|
||||
feedbackContent?: string;
|
||||
|
||||
/**
|
||||
* 反馈位置
|
||||
*/
|
||||
feedbackLocation?: string;
|
||||
|
||||
/**
|
||||
* 反馈图片
|
||||
*/
|
||||
feedbackImg?: string;
|
||||
|
||||
/**
|
||||
* 是否转至工单
|
||||
*/
|
||||
isWorkOrder?: string;
|
||||
|
||||
/**
|
||||
* 状态(1待处理2处理中3处理完成)
|
||||
*/
|
||||
status?: string;
|
||||
|
||||
/**
|
||||
* 客服电话
|
||||
*/
|
||||
serviceName?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -1,70 +1,75 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
import type { PageQuery, BaseEntity } from '#/api/common'
|
||||
|
||||
export interface PersonVO {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id: string | number;
|
||||
id: string | number
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
userId: string | number;
|
||||
userId: string | number
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
userName: string;
|
||||
userName: string
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
phone: string;
|
||||
phone: string
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
gender: number;
|
||||
gender: number
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
img: string;
|
||||
img: string
|
||||
|
||||
/**
|
||||
* 所属单位id
|
||||
*/
|
||||
unitId: string | number;
|
||||
unitId: string | number
|
||||
|
||||
/**
|
||||
* 所属单位名称
|
||||
*/
|
||||
unitName: string;
|
||||
unitName: string
|
||||
|
||||
/**
|
||||
* 入驻位置
|
||||
*/
|
||||
locathon: string;
|
||||
locathon: string
|
||||
|
||||
/**
|
||||
* 入驻时间
|
||||
*/
|
||||
time: string;
|
||||
time: string
|
||||
|
||||
/**
|
||||
* 车牌号码
|
||||
*/
|
||||
carNumber: string;
|
||||
carNumber: string
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
state: number|string;
|
||||
state: number | string
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
remark: string
|
||||
|
||||
/**
|
||||
* 权限组id
|
||||
*/
|
||||
authGroupId?: string | number
|
||||
|
||||
}
|
||||
|
||||
@@ -72,67 +77,72 @@ export interface PersonForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id?: string | number;
|
||||
id?: string | number
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
userId?: string | number;
|
||||
userId?: string | number
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
userName?: string;
|
||||
userName?: string
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
phone?: string;
|
||||
phone?: string
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
gender?: number;
|
||||
gender?: number
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
img?: string;
|
||||
img?: string
|
||||
|
||||
/**
|
||||
* 所属单位id
|
||||
*/
|
||||
unitId?: string | number;
|
||||
unitId?: string | number
|
||||
|
||||
/**
|
||||
* 所属单位名称
|
||||
*/
|
||||
unitName?: string;
|
||||
unitName?: string
|
||||
|
||||
/**
|
||||
* 入驻位置
|
||||
*/
|
||||
locathon?: string;
|
||||
locathon?: string
|
||||
|
||||
/**
|
||||
* 入驻时间
|
||||
*/
|
||||
time?: string;
|
||||
time?: string
|
||||
|
||||
/**
|
||||
* 车牌号码
|
||||
*/
|
||||
carNumber?: string;
|
||||
carNumber?: string
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
state?: number;
|
||||
state?: number
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
remark?: string
|
||||
|
||||
/**
|
||||
* 权限组id
|
||||
*/
|
||||
authGroupId?: string | number
|
||||
|
||||
}
|
||||
|
||||
@@ -140,128 +150,128 @@ export interface PersonQuery extends PageQuery {
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
userId?: string | number;
|
||||
userId?: string | number
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
userName?: string;
|
||||
userName?: string
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
phone?: string;
|
||||
phone?: string
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
gender?: number;
|
||||
gender?: number
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
img?: string;
|
||||
img?: string
|
||||
|
||||
/**
|
||||
* 所属单位id
|
||||
*/
|
||||
unitId?: string | number;
|
||||
unitId?: string | number
|
||||
|
||||
/**
|
||||
* 所属单位名称
|
||||
*/
|
||||
unitName?: string;
|
||||
unitName?: string
|
||||
|
||||
/**
|
||||
* 入驻位置
|
||||
*/
|
||||
locathon?: string;
|
||||
locathon?: string
|
||||
|
||||
/**
|
||||
* 入驻时间
|
||||
*/
|
||||
time?: string;
|
||||
time?: string
|
||||
|
||||
/**
|
||||
* 车牌号码
|
||||
*/
|
||||
carNumber?: string;
|
||||
carNumber?: string
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
state?: number;
|
||||
state?: number
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
params?: any
|
||||
}
|
||||
|
||||
export interface Person extends BaseEntity{
|
||||
export interface Person extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id: string | number;
|
||||
id: string | number
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
userId: string | number;
|
||||
userId: string | number
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
userName: string;
|
||||
userName: string
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
phone: string;
|
||||
phone: string
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
gender: number;
|
||||
gender: number
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
img: string;
|
||||
img: string
|
||||
|
||||
/**
|
||||
* 所属单位id
|
||||
*/
|
||||
unitId: string | number;
|
||||
unitId: string | number
|
||||
|
||||
/**
|
||||
* 所属单位名称
|
||||
*/
|
||||
unitName: string;
|
||||
unitName: string
|
||||
|
||||
/**
|
||||
* 入驻位置
|
||||
*/
|
||||
locathon: string;
|
||||
locathon: string
|
||||
|
||||
/**
|
||||
* 入驻时间
|
||||
*/
|
||||
time: string;
|
||||
time: string
|
||||
|
||||
/**
|
||||
* 车牌号码
|
||||
*/
|
||||
carNumber: string;
|
||||
carNumber: string
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
state: number;
|
||||
state: number
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
remark: string
|
||||
|
||||
}
|
||||
|
@@ -56,6 +56,16 @@ export interface Resident_unitVO {
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
/**
|
||||
* 权限组id
|
||||
*/
|
||||
authGroupId?: string | number;
|
||||
|
||||
/**
|
||||
* 权限组名称
|
||||
*/
|
||||
authGroupName?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface Resident_unitForm extends BaseEntity {
|
||||
|
Reference in New Issue
Block a user