1 line
5.4 KiB
Plaintext
1 line
5.4 KiB
Plaintext
<view class="content"><block wx:if="{{questiondata==null}}"><view class="noorder"><u-empty vue-id="7a55a1e0-1" mode="list" icon-size="220" text="暂无内容" bind:__l="__l"></u-empty></view></block><block wx:else><view class="app"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="title">{{''+(item.m0+1)+"、"+item.$orig.questionName+''}}<block wx:if="{{item.$orig.questionType=='MULTIPLE_CHOICE'}}"><label class="_span">(单选题)</label></block><block wx:if="{{item.$orig.questionType=='MULTIPLE_CHOICE_QUESTIONS'}}"><label class="_span">(多选题)</label></block><block wx:if="{{item.$orig.questionType=='SCORING_QUESTIONS'}}"><label class="_span">(打分题)</label></block><block wx:if="{{item.$orig.questionType=='COMBINATION_RADIO_SUBJECT'}}"><label class="_span">(组合单选题)</label></block><block wx:if="{{item.$orig.questionType=='COMBINATION_MULTIPLE_SUBJECT'}}"><label class="_span">(组合多选题)</label></block><block wx:if="{{item.$orig.questionType=='COMBINATION_BLANKS_SUBJECT'}}"><label class="_span">(组合填空题)</label></block><block wx:if="{{item.$orig.questionType=='FILL_IN_THE_BLANKS'}}"><label class="_span">(填空题)</label></block><block wx:if="{{item.$orig.questionType=='COMBINATION_SCORING_SUBJECT'}}"><label class="_span">(组合打分题)</label></block><block wx:if="{{item.$orig.questionType=='DATE_BLANKS_SUBJECT'}}"><label class="_span">(日期填空题)</label></block><block wx:if="{{item.$orig.questionType=='TIME_BLANKS_SUBJECT'}}"><label class="_span">(时间填空题)</label></block></view><block wx:if="{{item.$orig.questionType=='MULTIPLE_CHOICE'||item.$orig.questionType=='COMBINATION_RADIO_SUBJECT'||item.$orig.questionType=='SCORING_QUESTIONS'||item.$orig.questionType=='COMBINATION_SCORING_SUBJECT'}}"><u-radio-group bind:change="__e" bind:input="__e" vue-id="{{'7a55a1e0-2-'+index}}" value="{{item.$orig.checked}}" data-event-opts="{{[['^change',[['radioGroupChange',['$event','$0'],[[['questiondata.subjectResultList','',index]]]]]],['^input',[['__set_model',['$0','checked','$event',[]],[[['questiondata.subjectResultList','',index]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.$orig.optionResults}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><u-radio vue-id="{{('7a55a1e0-3-'+index+'-'+aindex)+','+('7a55a1e0-2-'+index)}}" name="{{aitem.id}}" data-event-opts="{{[['^change',[['radioChange',['$event','$0',index],[[['questiondata.subjectResultList','',index],['optionResults','',aindex]]]]]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}">{{''+aitem.optionName+''}}</u-radio></block></u-radio-group></block><block wx:if="{{item.$orig.questionType=='MULTIPLE_CHOICE_QUESTIONS'||item.$orig.questionType=='COMBINATION_MULTIPLE_SUBJECT'}}"><u-checkbox-group bind:change="__e" vue-id="{{'7a55a1e0-4-'+index}}" data-event-opts="{{[['^change',[['checkboxGroupChange']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.$orig.optionResults}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><u-checkbox vue-id="{{('7a55a1e0-5-'+index+'-'+aindex)+','+('7a55a1e0-4-'+index)}}" name="{{aitem.id}}" value="{{aitem.checked}}" data-event-opts="{{[['^change',[['checkboxChange']]],['^input',[['__set_model',['$0','checked','$event',[]],[[['questiondata.subjectResultList','',index],['optionResults','',aindex]]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}">{{aitem.optionName}}</u-checkbox></block></u-checkbox-group></block><block wx:if="{{item.$orig.questionType=='FILL_IN_THE_BLANKS'||item.$orig.questionType=='COMBINATION_BLANKS_SUBJECT'}}"><view><u-input bind:input="__e" vue-id="{{'7a55a1e0-6-'+index}}" placeholder="请输入" type="textarea" height="{{100}}" customStyle="{{({lineHeight:'30px'})}}" placeholder-style="color: #8E8E8E" value="{{item.$orig.fillBlanksAnswer}}" data-event-opts="{{[['^input',[['__set_model',['$0','fillBlanksAnswer','$event',[]],[[['questiondata.subjectResultList','',index]]]]]]]}}" bind:__l="__l"></u-input></view></block><block wx:if="{{item.$orig.questionType=='DATE_BLANKS_SUBJECT'}}"><view class="datatime"><block wx:if="{{!item.$orig.fillBlanksAnswer}}"><text>请选择出生日期</text></block><block wx:else><text class="testitem">{{item.$orig.fillBlanksAnswer}}</text></block><image src="/static/huijiantou.png" mode></image></view></block><block wx:if="{{item.$orig.questionType=='TIME_BLANKS_SUBJECT'}}"><view class="datatime"><block wx:if="{{!item.$orig.fillBlanksAnswer}}"><text>请选择时间</text></block><block wx:else><text class="testitem">{{item.$orig.fillBlanksAnswer}}</text></block><image src="/static/huijiantou.png" mode></image></view></block><u-calendar vue-id="{{'7a55a1e0-7-'+index}}" mode="{{mode}}" value="{{show}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-calendar><u-picker vue-id="{{'7a55a1e0-8-'+index}}" mode="time" value="{{showtime}}" params="{{params}}" data-event-opts="{{[['^confirm',[['Changepicker']]],['^input',[['__set_model',['','showtime','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker></view></block></view></block><u-toast class="vue-ref" vue-id="7a55a1e0-9" data-ref="uToast" bind:__l="__l"></u-toast><u-loading vue-id="7a55a1e0-10" show="{{showloading}}" bind:__l="__l"></u-loading></view> |