|
@@ -1,8 +1,9 @@
|
|
|
import { http } from '@/utils/http/axios';
|
|
import { http } from '@/utils/http/axios';
|
|
|
|
|
|
|
|
export enum STATUS {
|
|
export enum STATUS {
|
|
|
- handled = 1,
|
|
|
|
|
- unhandled = 2,
|
|
|
|
|
|
|
+ unhandled = 1,
|
|
|
|
|
+ handled = 2,
|
|
|
|
|
+ ignore = 3,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface Records {
|
|
export interface Records {
|
|
@@ -12,7 +13,8 @@ export interface Records {
|
|
|
tenantId: number;
|
|
tenantId: number;
|
|
|
mobile: string;
|
|
mobile: string;
|
|
|
problemDescription: string;
|
|
problemDescription: string;
|
|
|
- problemImage: Array<File>;
|
|
|
|
|
|
|
+ // problemImage: Array<File>;
|
|
|
|
|
+ problemImageUrl: string;
|
|
|
problemStatus: STATUS;
|
|
problemStatus: STATUS;
|
|
|
processor: string | null;
|
|
processor: string | null;
|
|
|
processorTenant: string | null;
|
|
processorTenant: string | null;
|
|
@@ -40,7 +42,8 @@ export interface QueryFeedback {
|
|
|
//查询问题反馈列表
|
|
//查询问题反馈列表
|
|
|
export const getFeedbackList = (data: QueryFeedback) => {
|
|
export const getFeedbackList = (data: QueryFeedback) => {
|
|
|
return http.request<ReturnType>({
|
|
return http.request<ReturnType>({
|
|
|
- url: `/problemFeedback/getProblemPage`,
|
|
|
|
|
|
|
+ // url: `/problemFeedback/getProblemPage`,
|
|
|
|
|
+ url: `/dealFeedback/getFeedback`,
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data,
|
|
data,
|
|
|
});
|
|
});
|
|
@@ -56,7 +59,7 @@ export interface UpdateFeedbackType {
|
|
|
//更新问题反馈
|
|
//更新问题反馈
|
|
|
export const updateFeedback = (data: UpdateFeedbackType) => {
|
|
export const updateFeedback = (data: UpdateFeedbackType) => {
|
|
|
return http.request({
|
|
return http.request({
|
|
|
- url: `/problemFeedback/updateProblem`,
|
|
|
|
|
|
|
+ url: `/dealFeedback/updateProblemFeedback`,
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data,
|
|
data,
|
|
|
});
|
|
});
|