Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_JJ_F
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
middleLayer_for_JJ_F
Commits
b6853d41
Commit
b6853d41
authored
Jul 29, 2025
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
eca5f827
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
middleLayer.ts
assets/middleLayer_for_JJ_F/script/middleLayer.ts
+5
-1
No files found.
assets/middleLayer_for_JJ_F/script/middleLayer.ts
View file @
b6853d41
...
...
@@ -610,6 +610,8 @@ export default class NewClass extends middleLayerBase {
showSRResultByQuestion
(
isShowScore
=
false
)
{
if
(
this
.
studyRecord
)
{
console
.
log
(
'
=-=-=-=-= isShowScore:
'
,
isShowScore
);
this
.
studyRecordModel
.
recordData
=
this
.
studyRecord
.
getAllQuestionResults
();
const
score
=
this
.
studyRecord
.
getAverageScore
();
this
.
reportData
(
score
);
...
...
@@ -647,8 +649,10 @@ export default class NewClass extends middleLayerBase {
console
.
log
(
'
reportData 1
'
);
if
(
this
.
studyRecord
)
{
console
.
log
(
'
reportData 2
'
);
console
.
log
(
'
=-=-=-=-= reportData
'
);
const
reportData
=
this
.
studyRecord
.
reportData
(
this
.
studyRecordModel
,
score
);
// 在这里处理网络请求
this
.
callNetworkApiPostNew
(
`insights/v1/study-analysis`
,
{
...
this
.
studyRecordModel
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment