[Feature]: 新增Excel导入功能#503
Merged
luch1994 merged 2 commits intodidi:feature/peking-2025from Jul 11, 2025
Merged
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/peking-2025 #503 +/- ##
======================================================
Coverage ? 81.52%
======================================================
Files ? 142
Lines ? 3631
Branches ? 467
======================================================
Hits ? 2960
Misses ? 645
Partials ? 26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
luch1994
added a commit
that referenced
this pull request
Jul 31, 2025
Co-authored-by: luch <32321690+luch1994@users.noreply.github.com>
luch1994
added a commit
that referenced
this pull request
Sep 4, 2025
Co-authored-by: luch <32321690+luch1994@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
技术方案连接(Issue)
https://ocngxzrr34ln.feishu.cn/file/D76FbfAaBo7W9WxggZIc2Wrrnwe
改动原因
目前B端“Excel导入”功能未实现,创建问卷方式不够丰富
改动内容
实现了B端“Excel导入”的功能,B端用户可以在创建问卷时选择“Excel导入”方式创建问卷。主要地,在前端增加了“Excel导入”的界面web\src\management\pages\list\components\ExcelImport.vue,并在web\src\management\pages\list\index.vue中使用,此外在web\public\excel_survey_template.xlsx处存放Excel模板。在后端server\src\modules\survey\controllers\survey.controller.ts中新增API“POST /api/survey/uploadExcel”,并在server/src/modules/survey/dto/createSurvey.dto.ts中允许创建问卷的方式为“ExcelImport”。