Commit acb6a9cc authored by 李维's avatar 李维

添加文字输入题型三个适配选项

parent 637ba10d
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -461,8 +461,11 @@ ...@@ -461,8 +461,11 @@
<span style="display: inline-block; text-align: right; width: 150px;">正确文字:</span> <span style="display: inline-block; text-align: right; width: 150px;">正确文字:</span>
<input type="text" nz-input [(ngModel)]="it.inputText" (blur)="save()" style="display: inline-block; width: 300px;"> <input type="text" nz-input [(ngModel)]="it.inputText" (blur)="save()" style="display: inline-block; width: 300px;">
<label nz-checkbox [(ngModel)]="it.keyWordMatch" (ngModelChange)="save()" style="margin-left: 10px;">关键词匹配</label> <label nz-checkbox [(ngModel)]="it.keyWordMatch" (ngModelChange)="save()" style="margin-left: 10px;">关键词匹配</label>
<label nz-checkbox [(ngModel)]="it.keyWordMatchInOrder" (ngModelChange)="save()" style="margin-left: 10px;">有序关键词</label>
<label nz-checkbox [(ngModel)]="it.isCaseInsensitive" (ngModelChange)="save()" style="margin-left: 10px;">不区分大小写</label> <label nz-checkbox [(ngModel)]="it.isCaseInsensitive" (ngModelChange)="save()" style="margin-left: 10px;">不区分大小写</label>
<label nz-checkbox [(ngModel)]="it.openAnswer" (ngModelChange)="save()" style="margin-left: 10px;">开放性答案</label> <label nz-checkbox [(ngModel)]="it.openAnswer" (ngModelChange)="save()" style="margin-left: 10px;">开放性答案</label>
<label nz-checkbox [(ngModel)]="it.capitalizedFirstLetter" (ngModelChange)="save()" style="margin-left: 10px;">首字母大写</label>
<label nz-checkbox [(ngModel)]="it.adaptContraction" (ngModelChange)="save()" style="margin-left: 10px;">适配缩略(比如:It's = It is)</label>
</div> </div>
<div *ngIf="it.hotZoneType != '' && it.hotZoneType != CROSSWORD_PUZZLE && it.hotZoneType != HOT_ZONE_RADIO && it.hotZoneType != HOT_ZONE_CHECKBOX && it.hotZoneType != CONNECTION && it.hotZoneType != TEXT_SELECT && it.hotZoneType != RIGHT_OR_WRONG" style="margin: 10px 10px;"> <div *ngIf="it.hotZoneType != '' && it.hotZoneType != CROSSWORD_PUZZLE && it.hotZoneType != HOT_ZONE_RADIO && it.hotZoneType != HOT_ZONE_CHECKBOX && it.hotZoneType != CONNECTION && it.hotZoneType != TEXT_SELECT && it.hotZoneType != RIGHT_OR_WRONG" style="margin: 10px 10px;">
......
...@@ -125,6 +125,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni ...@@ -125,6 +125,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
isCaseInsensitive: true, isCaseInsensitive: true,
openAnswer: false, openAnswer: false,
useSelectOptionList: false, useSelectOptionList: false,
keyWordMatchInOrder: false,
capitalizedFirstLetter: false,
adaptContraction: false,
selectOptionList: [ selectOptionList: [
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment