수요매칭검토 수정
iipbs_wr / build (push) Waiting to run

This commit is contained in:
leedj312
2025-07-06 16:15:08 +09:00
parent c5f7d62908
commit 103c5d3cb1
6 changed files with 248 additions and 208 deletions
+11 -8
View File
@@ -94,10 +94,13 @@ export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
`/reuseFc/request/${searchNm}/${cnt}`
);
console.log(coList);
set((state: comFcltState) => {
return (state.demandCompList = [...coList]);
});
if(coList&&coList.length>0){
set((state: comFcltState) => {
return (state.demandCompList = [...coList]);
});
}
},
regDemandCompany: async (data: DemandCompType) => {
try {
@@ -112,9 +115,10 @@ export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
} else {
message = "fail";
}
set((state: comFcltState) => {
state.dmdIsSucees = message;
return state;
return state.dmdIsSucees = message;
});
} catch (err) {
console.log(err);
@@ -132,8 +136,7 @@ export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
}
set((state: comFcltState) => {
state.dmdIsSucees = message;
return state;
return state.dmdIsSucees = message;
});
} catch (err) {
console.log(err);