接口参数传参修改

This commit is contained in:
2025-11-14 15:48:37 +08:00
parent a8847fa184
commit 8b3efbf67e
3 changed files with 4 additions and 4 deletions

View File

@@ -464,7 +464,7 @@ const getProjectOptionsFun = () => {
const getPhaseOptionsFun = () => { const getPhaseOptionsFun = () => {
const projectId = tableRef.value?.getSearchParamByKeyFun('project'); const projectId = tableRef.value?.getSearchParamByKeyFun('project');
console.log('1440', projectId); console.log('1440', projectId);
getChildrenNodeListApi({ current: 1, size: 999, nodeType: NODE_TYPE.PHASE, pid: projectId }).then((res: any) => { getChildrenNodeListApi({ current: 1, size: 999, nodeType: NODE_TYPE.PHASE, nodeId: projectId }).then((res: any) => {
console.log(res); console.log(res);
if (res.code === 200) { if (res.code === 200) {
phaseOptions.value = res.data?.data?.map((item: any) => { phaseOptions.value = res.data?.data?.map((item: any) => {

View File

@@ -89,7 +89,7 @@ const deleteFileBatchFn = async () => {
return item.id; return item.id;
}); });
const res:any = await batchDeleteBigFileApi(param); const res:any = await batchDeleteBigFileApi(param.join(','));
if (res && res.code === 200) { if (res && res.code === 200) {
ElMessage.success('删除成功'); ElMessage.success('删除成功');
searchFn(); searchFn();

View File

@@ -172,7 +172,7 @@ const initProjectStorageSpaceStatisticsFn = async () => {
const res:any = await getNodeSizeByNodeTypeApi({ const res:any = await getNodeSizeByNodeTypeApi({
queryNodeType: 'project', queryNodeType: 'project',
nodeId: projectStorageSpaceStatisticsFormData.nodeId, uuid: projectStorageSpaceStatisticsFormData.nodeId,
intervalMonths: formData.intervalMonths, intervalMonths: formData.intervalMonths,
targetYm: formData.targetYm, targetYm: formData.targetYm,
}); });
@@ -247,7 +247,7 @@ const initStatisticsOfSubjectStorageSpaceFn = async () => {
const seriesData:any = []; const seriesData:any = [];
const res:any = await getNodeSizeByNodeTypeApi({ const res:any = await getNodeSizeByNodeTypeApi({
queryNodeType: 'discipline', queryNodeType: 'discipline',
nodeId: projectStorageSpaceStatisticsFormData.nodeId, uuid: projectStorageSpaceStatisticsFormData.nodeId,
intervalMonths: formData.intervalMonths, intervalMonths: formData.intervalMonths,
targetYm: formData.targetYm, targetYm: formData.targetYm,
}); });