|
@@ -28,7 +28,7 @@ export function supplierDeleteMethod(data: Partial<SupplierModel>) {
|
|
|
//系统项目列表
|
|
//系统项目列表
|
|
|
export function pageSystemCpMethod(page: number, size: number, query?: SystemIteQuery) {
|
|
export function pageSystemCpMethod(page: number, size: number, query?: SystemIteQuery) {
|
|
|
return request.Post<List<SystemItemModel>>('/fdhb-pc/conditioningManage/program/pageSystemCp', query ?? {}, {
|
|
return request.Post<List<SystemItemModel>>('/fdhb-pc/conditioningManage/program/pageSystemCp', query ?? {}, {
|
|
|
- // hitSource: /plan$/, // 匹配失效源
|
|
|
|
|
|
|
+ hitSource: /system-cp$/, // 系统项目专用缓存标识
|
|
|
params: { pageNum: page, pageSize: size },
|
|
params: { pageNum: page, pageSize: size },
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
@@ -45,7 +45,6 @@ export function getAllSystemCpMethod() {
|
|
|
}
|
|
}
|
|
|
// 新增和编辑系统项目和新增编辑项目列表。 项目列表就是机构项目
|
|
// 新增和编辑系统项目和新增编辑项目列表。 项目列表就是机构项目
|
|
|
export function systemCpEditMethod(data: Partial<SystemItemModel>) {
|
|
export function systemCpEditMethod(data: Partial<SystemItemModel>) {
|
|
|
- console.log(data, 'data==>', data.addType,data.id,data.isType);
|
|
|
|
|
if(data.isType === 'itemsList'){
|
|
if(data.isType === 'itemsList'){
|
|
|
delete data.id;
|
|
delete data.id;
|
|
|
}
|
|
}
|
|
@@ -79,7 +78,7 @@ export function selectSystemCpMethod(data: Array<string>) {
|
|
|
// 机构待确认列表
|
|
// 机构待确认列表
|
|
|
export function pageOrgConfirmMethod(page: number, size: number, query?: SystemIteQuery) {
|
|
export function pageOrgConfirmMethod(page: number, size: number, query?: SystemIteQuery) {
|
|
|
return request.Post<List<SystemItemModel>>('/fdhb-pc/conditioningManage/program/pageUnconfirmedCp', query ?? {}, {
|
|
return request.Post<List<SystemItemModel>>('/fdhb-pc/conditioningManage/program/pageUnconfirmedCp', query ?? {}, {
|
|
|
- hitSource: /plan$/, // 匹配失效源
|
|
|
|
|
|
|
+ hitSource: /org-confirm$/, // 待确认项目专用缓存标识
|
|
|
params: { pageNum: page, pageSize: size },
|
|
params: { pageNum: page, pageSize: size },
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|