文件不能大于100MB。
diff --git a/code/web/task_schedule/src/views/reward/RewardTelsaler.vue b/code/web/task_schedule/src/views/reward/RewardTelsaler.vue
index a791365..792c553 100644
--- a/code/web/task_schedule/src/views/reward/RewardTelsaler.vue
+++ b/code/web/task_schedule/src/views/reward/RewardTelsaler.vue
@@ -61,17 +61,13 @@ import { ElMessage, ElMessageBox } from "element-plus";
import {
type RewardProject,
type RewardProjectResponse,
- type RewardGainerResponse,
- type DeleteRewardTelsalerRequest,
- type DeleteRewardTelsalerResponse,
type AddRewardTelsalerRequest,
type AddRewardTelsalerResponse,
type UpdateRewardTelsalerRequest,
type UpdateRewardTelsalerResponse,
requestRewardPorjectsList,
addRewardTelsaler,
- updateTelsalerReward,
- deleteRewardTelsaler
+ updateTelsalerReward
} from "@/utils/reward.js";
import eventBus from "@/utils/api/EventBus.js";
@@ -131,13 +127,9 @@ export default {
.then((): void => {})
.catch((): void => {});
- console.log( "请求奖励项目失败:", error );
-
return;
}
- console.log( "请求奖励项目结果", response.rewardList );
-
ui.rewardProjectList = response.rewardList;
};
@@ -153,8 +145,6 @@ export default {
ui.selectedRecID = props.selectedRecId;
refresh();
-
- console.log( props.selectedRewardProjectCode );
});
const onSaveRewardTelsaler = (): void =>
diff --git a/code/web/task_schedule/src/views/StaffManagement.vue b/code/web/task_schedule/src/views/telsaler/TelsalerManagement.vue
similarity index 95%
rename from code/web/task_schedule/src/views/StaffManagement.vue
rename to code/web/task_schedule/src/views/telsaler/TelsalerManagement.vue
index 7105d11..82c3260 100644
--- a/code/web/task_schedule/src/views/StaffManagement.vue
+++ b/code/web/task_schedule/src/views/telsaler/TelsalerManagement.vue
@@ -2,7 +2,7 @@
* @Author: Kane
* @Date: 2023-03-23 16:05:08
* @LastEditors: Kane
- * @FilePath: /task_schedule/src/views/StaffManagement.vue
+ * @FilePath: /task_schedule/src/views/telsaler/TelsalerManagement.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
@@ -107,7 +107,7 @@
+
diff --git a/code/后端/desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUpload.java b/code/后端/desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUpload.java
index 82102da..2cbb7f5 100644
--- a/code/后端/desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUpload.java
+++ b/code/后端/desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUpload.java
@@ -2,7 +2,7 @@
* @Author: Kane
* @Date: 2023-01-22 23:11:26
* @LastEditors: Kane
- * @LastEditTime: 2023-09-26 15:59:40
+ * @LastEditTime: 2023-09-27 14:26:06
* @FilePath: /desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUpload.java
* @Description: 用于接受上传文件的Controller。
*
@@ -70,7 +70,7 @@ public class FileUpload
String fileName = file.getOriginalFilename();
File destFile = new File( filePath, fileName );
- fileNames.add( file.getOriginalFilename() );
+ fileNames.add( destFile.getAbsolutePath() );
}
result.setFileList( fileNames );
diff --git a/code/后端/desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUploadResult.java b/code/后端/desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUploadResult.java
index a9aeecc..d9299d6 100644
--- a/code/后端/desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUploadResult.java
+++ b/code/后端/desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUploadResult.java
@@ -2,7 +2,7 @@
* @Author: Kane
* @Date: 2023-01-23 22:56:17
* @LastEditors: Kane
- * @LastEditTime: 2023-09-26 10:30:27
+ * @LastEditTime: 2023-09-27 16:28:41
* @FilePath: /desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/fileupload/FileUploadResult.java
* @Description:
*
@@ -42,7 +42,7 @@ public class FileUploadResult extends QueryResponse
this.fileList = fileList;
}
- @JsonProperty( "file-list" )
+ @JsonProperty( "fileList" )
private Vector fileList;
}