接口参数传参修改
This commit is contained in:
@@ -464,7 +464,7 @@ const getProjectOptionsFun = () => {
|
||||
const getPhaseOptionsFun = () => {
|
||||
const projectId = tableRef.value?.getSearchParamByKeyFun('project');
|
||||
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);
|
||||
if (res.code === 200) {
|
||||
phaseOptions.value = res.data?.data?.map((item: any) => {
|
||||
|
||||
@@ -89,7 +89,7 @@ const deleteFileBatchFn = async () => {
|
||||
return item.id;
|
||||
});
|
||||
|
||||
const res:any = await batchDeleteBigFileApi(param);
|
||||
const res:any = await batchDeleteBigFileApi(param.join(','));
|
||||
if (res && res.code === 200) {
|
||||
ElMessage.success('删除成功');
|
||||
searchFn();
|
||||
|
||||
@@ -172,7 +172,7 @@ const initProjectStorageSpaceStatisticsFn = async () => {
|
||||
|
||||
const res:any = await getNodeSizeByNodeTypeApi({
|
||||
queryNodeType: 'project',
|
||||
nodeId: projectStorageSpaceStatisticsFormData.nodeId,
|
||||
uuid: projectStorageSpaceStatisticsFormData.nodeId,
|
||||
intervalMonths: formData.intervalMonths,
|
||||
targetYm: formData.targetYm,
|
||||
});
|
||||
@@ -247,7 +247,7 @@ const initStatisticsOfSubjectStorageSpaceFn = async () => {
|
||||
const seriesData:any = [];
|
||||
const res:any = await getNodeSizeByNodeTypeApi({
|
||||
queryNodeType: 'discipline',
|
||||
nodeId: projectStorageSpaceStatisticsFormData.nodeId,
|
||||
uuid: projectStorageSpaceStatisticsFormData.nodeId,
|
||||
intervalMonths: formData.intervalMonths,
|
||||
targetYm: formData.targetYm,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user