Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JJ21
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
JJ21
Commits
aaf8fac6
Commit
aaf8fac6
authored
Jul 23, 2025
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
d63e11b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
form.component.html
form/src/app/form/form.component.html
+7
-0
form.component.ts
form/src/app/form/form.component.ts
+10
-0
No files found.
form/src/app/form/form.component.html
View file @
aaf8fac6
...
@@ -68,6 +68,13 @@
...
@@ -68,6 +68,13 @@
<div
*
ngIf=
"isPreviewTemplate"
style=
"margin: 30px;"
>
<div
*
ngIf=
"isPreviewTemplate"
style=
"margin: 30px;"
>
<div
style=
"margin: 30px; display: flex; align-items: center; "
>
<h3>
分数反馈
</h3>
<label
style=
"margin-left: 10px; margin-bottom: 5px;"
nz-checkbox
[(
ngModel
)]="
tempItem
.
isShowScore
"
(
ngModelChange
)="
checkboxChange
($
event
,
tempItem
,
'
isShowScore
')"
></label>
</div>
<div
*
ngIf=
"!baseData"
style=
"margin: 30px; padding-top: 30px;"
>
<div
*
ngIf=
"!baseData"
style=
"margin: 30px; padding-top: 30px;"
>
<button
style=
""
nz-button
nzType=
"primary"
(
click
)="
hidePreviewTemplate
()"
>
<button
style=
""
nz-button
nzType=
"primary"
(
click
)="
hidePreviewTemplate
()"
>
返回
返回
...
...
form/src/app/form/form.component.ts
View file @
aaf8fac6
...
@@ -863,6 +863,16 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -863,6 +863,16 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}
}
checkboxChange
(
e
,
it
,
key
)
{
console
.
log
(
'
e:
'
,
e
);
it
[
key
]
=
e
;
this
.
save
();
}
/**
/**
* 储存数据
* 储存数据
*/
*/
...
...
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