You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
import request from '@/utils/request.js';
|
|
|
|
|
|
|
|
|
|
|
|
// 投诉与建议 - 新增
|
|
|
|
|
|
export function createComplaintSuggestion(data) {
|
|
|
|
|
|
return request.post(
|
|
|
|
|
|
'autogencode/pmcomplaintsuggestion/save',
|
|
|
|
|
|
data,
|
|
|
|
|
|
{ useAdminUrl: true }
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 投诉与建议 - 列表(可根据实际需要传入查询参数,如业主ID等)
|
|
|
|
|
|
export function listComplaintSuggestion(params) {
|
|
|
|
|
|
return request.get(
|
|
|
|
|
|
'autogencode/pmcomplaintsuggestion/list',
|
|
|
|
|
|
params,
|
|
|
|
|
|
{ useAdminUrl: true }
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 报修记录 - 列表
|
|
|
|
|
|
export function listMaintenanceDispatch(params) {
|
|
|
|
|
|
return request.get(
|
|
|
|
|
|
'autogencode/pmmaintenancedispatch/list',
|
|
|
|
|
|
params,
|
|
|
|
|
|
{ useAdminUrl: true }
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 报修记录 - 新增(用于业主发起报修,后端可据此生成工单)
|
|
|
|
|
|
export function createMaintenanceDispatch(data) {
|
|
|
|
|
|
return request.post(
|
|
|
|
|
|
'autogencode/pmmaintenancedispatch/save',
|
|
|
|
|
|
data,
|
|
|
|
|
|
{ useAdminUrl: true }
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 房屋列表(用于选择报修房屋)
|
|
|
|
|
|
export function listHouses(params) {
|
|
|
|
|
|
return request.get(
|
|
|
|
|
|
'autogencode/pmhouse/list',
|
|
|
|
|
|
params,
|
|
|
|
|
|
{ useAdminUrl: true }
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
|