<view class="content"><block wx:if="{{liutype}}"><view data-event-opts="{{[['tap',[['changeType',['$event']]]]]}}" class="select-type" bindtap="__e"><view class="allday">发起提交</view><view class="hourday_no">提交记录</view></view></block><block wx:else><view data-event-opts="{{[['tap',[['changeType',['$event']]]]]}}" class="select-type" bindtap="__e"><view class="allday2">发起提交</view><view class="hourday_no2">提交记录</view></view></block><block wx:if="{{liutype}}"><view><view class="submit"><uni-forms class="vue-ref" vue-id="dd51c772-1" rules="{{rules}}" modelValue="{{baseFormData}}" data-ref="valiForm" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('dd51c772-2')+','+('dd51c772-1')}}" label="类型" name="companyName" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="uni-input" style="margin-right:40px;color:black;">临时人员</view></uni-forms-item><view class="form-line"></view><uni-forms-item vue-id="{{('dd51c772-3')+','+('dd51c772-1')}}" label="开始时间" name="companyName" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-datetime-picker vue-id="{{('dd51c772-4')+','+('dd51c772-3')}}" type="date" return-type="datetime" value="{{baseFormData.startTime}}" data-event-opts="{{[['^change',[['changeStartTime']]],['^input',[['__set_model',['$0','startTime','$event',[]],['baseFormData']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker></uni-forms-item><view class="form-line"></view><uni-forms-item vue-id="{{('dd51c772-5')+','+('dd51c772-1')}}" label="结束时间" name="companyName" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-datetime-picker vue-id="{{('dd51c772-6')+','+('dd51c772-5')}}" type="date" return-type="datetime" value="{{baseFormData.endTime}}" data-event-opts="{{[['^change',[['changeEndTime']]],['^input',[['__set_model',['$0','endTime','$event',[]],['baseFormData']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker></uni-forms-item><view class="form-line"></view><uni-forms-item vue-id="{{('dd51c772-7')+','+('dd51c772-1')}}" label="申请部门" name="companyName" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><picker value="{{baseFormData.indextype}}" range="{{baseFormData.submittype}}" data-event-opts="{{[['change',[['bindPickerChangetype',['$event']]]]]}}" bindchange="__e"><view class="uni-input"><block wx:if="{{baseFormData.indextype==null}}">请选择</block><block wx:else>{{baseFormData.submittype[baseFormData.indextype]}}</block><text class="jiantou">〉</text></view></picker></uni-forms-item><view style="width:750rpx;height:20rpx;background-color:rgba(242, 243, 245, 1);margin-left:-20px;"></view><uni-forms-item vue-id="{{('dd51c772-8')+','+('dd51c772-1')}}" label="备注" name="companyName" required="{{true}}" bind:__l="__l"></uni-forms-item><uni-easyinput vue-id="{{('dd51c772-9')+','+('dd51c772-1')}}" type="textarea" placeholder="请输入备注" value="{{baseFormData.remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','remark','$event',[]],['baseFormData']],['input']]]]}}" bind:input="__e" bind:__l="__l"></uni-easyinput><text class="textsrea-txt">{{textNum+"/800"}}</text><view style="width:100%;height:30px;"></view></uni-forms></view><view data-event-opts="{{[['tap',[['submitshen',['$event']]]]]}}" class="submit_button" bindtap="__e">提交</view></view></block><block wx:else><view><view class="select_submit"><view style="width:80px;margin-left:9rpx;position:absolute;"><uni-data-select vue-id="dd51c772-10" localdata="{{zhuangtai}}" value="{{value}}" data-event-opts="{{[['^change',[['changezhuang']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-select></view><view style="width:80px;margin-left:196rpx;"><uni-data-select vue-id="dd51c772-11" localdata="{{TimeRanges}}" value="{{value2}}" data-event-opts="{{[['^change',[['changetime']]],['^input',[['__set_model',['','value2','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-select></view><block wx:for="{{submit}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['clickDetail',['$event']]]]]}}" class="submit-list" bindtap="__e"><text class="submit-title">{{item.title}}</text><text class="submit-time">{{item.time}}</text><view class="submit-line"></view><view class="submit-start">{{"开始时间："+item.startT}}</view><view class="submit-end">{{"结束时间："+item.endT}}</view><view class="submit-teacher">{{"换课老师："+item.teacher}}</view><view class="submit-remark">{{"备注："+item.remark}}</view><block wx:if="{{item.type==0}}"><view class="submit-type">审批通过</view></block><block wx:if="{{item.type==1}}"><view class="submit-type1">已拒绝</view></block><block wx:if="{{item.type==2}}"><view class="submit-type2">待审批</view></block></view></block></view></view></block></view>