1 line
5.5 KiB
Plaintext
1 line
5.5 KiB
Plaintext
<view class="content"><view class="topname"><view class="name"><view class="item">随访时间:<label class="_span">{{item.followDate}}</label></view></view><view class="name"><view class="item">随访方式:<label class="_span">{{item.taskNodeType}}</label></view></view><view class="name"><view class="item">随访名称:<label class="_span">{{item.followName}}</label></view></view></view><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="{{'369fff16-1-'+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="{{('369fff16-2-'+index+'-'+aindex)+','+('369fff16-1-'+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="{{'369fff16-3-'+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="{{('369fff16-4-'+index+'-'+aindex)+','+('369fff16-3-'+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="{{'369fff16-5-'+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="{{'369fff16-6-'+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="{{'369fff16-7-'+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><u-toast class="vue-ref" vue-id="369fff16-8" data-ref="uToast" bind:__l="__l"></u-toast></view> |