addRenwu.wxml 4.3 KB

1
  1. <view class="content"><view class="param"><view class="proMiao">任务名称</view><input class="proINname" placeholder="请输入任务名称" data-event-opts="{{[['input',[['__set_model',['','renwuName','$event',[]]]]]]}}" value="{{renwuName}}" bindinput="__e"/><view class="proMiao">评分标准</view><textarea class="proINname proIMi" placeholder="请输入评分标准" data-event-opts="{{[['input',[['__set_model',['','scoreStandard','$event',[]]]]]]}}" value="{{scoreStandard}}" bindinput="__e"></textarea><view class="proMiao">附件</view><view class="upload-img"><uni-file-picker vue-id="4313419f-1" limit="3" auto-upload="{{false}}" file-extname="pdf,docx,jpg,png,jpeg" file-mediatype="all" list-styles="{{listStyles}}" value="{{fileList}}" data-event-opts="{{[['^select',[['selectUpload']]],['^delete',[['deleteHandle']]],['^success',[['uploadSuccess']]],['^fail',[['uploadFail']]],['^input',[['__set_model',['','fileList','$event',[]]]]]]}}" bind:select="__e" bind:delete="__e" bind:success="__e" bind:fail="__e" bind:input="__e" bind:__l="__l"></uni-file-picker></view><label style="margin:20rpx 0 0 20rpx;" class="_span">支持pdf/word/xlsx格式,单个文件大小不超过5MB</label><view class="proMiao">评分上限</view><input class="proINname" placeholder="请输入评分上限" type="number" data-event-opts="{{[['input',[['__set_model',['','scoreLimit','$event',[]]]]]]}}" value="{{scoreLimit}}" bindinput="__e"/><view class="proMiao">权重</view><input class="proINname" placeholder="请输入权重" type="digit" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e"/><view class="proMiao">任务负责人</view><view data-event-opts="{{[['tap',[['toggle']]]]}}" bindtap="__e"><block wx:if="{{peopleValue==''}}"><view class="proINname">请选择任务负责人</view></block><block wx:else><view class="proINname">{{peopleValue}}</view></block></view><view class="proMiao">提醒时间</view><uni-datetime-picker class="proINname" vue-id="4313419f-2" type="datetime" value="{{remindTime}}" data-event-opts="{{[['^change',[['changeLog']]],['^input',[['__set_model',['','remindTime','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker><view class="proMiao">预警时间</view><uni-datetime-picker class="proINname" vue-id="4313419f-3" type="datetime" value="{{warnTime}}" data-event-opts="{{[['^change',[['changeLog']]],['^input',[['__set_model',['','warnTime','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker><view class="proMiao">任务周期</view><uni-datetime-picker bind:input="__e" class="proINname" vue-id="4313419f-4" type="datetimerange" rangeSeparator="至" value="{{datetimerange}}" data-event-opts="{{[['^input',[['__set_model',['','datetimerange','$event',[]]]]]]}}" bind:__l="__l"></uni-datetime-picker><view class="project"><view data-event-opts="{{[['tap',[['quxiao',['$event']]]]]}}" class="butt quxiao" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['addRenwu',['$event']]]]]}}" class="butt queren" bindtap="__e">确认创建</view></view><view style="width:100%;height:60rpx;"></view><uni-popup class="vue-ref" vue-id="4313419f-5" background-color="#fff" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><view class="popup-title"><view data-event-opts="{{[['tap',[['quPopup',['$event']]]]]}}" bindtap="__e">取消</view><view>选择任务负责人</view><view data-event-opts="{{[['tap',[['selectPeo',['$event']]]]]}}" style="color:rgba(0, 97, 255, 1);" bindtap="__e">确定</view></view><scroll-view class="scroll_view_style" scroll-y="true"><view class="popup-list"><block wx:for="{{people}}" wx:for-item="item" wx:for-index="index" wx:key="index"><radio-group data-event-opts="{{[['change',[['radioChange',['$event']]]]]}}" bindchange="__e"><view class="l-line"></view><view class="l-kuang"><view class="l-circle"></view><view style="margin-left:20rpx;width:320px;"><view style="font-size:28rpx;">{{item.userName}}</view><view style="font-size:24rpx;">{{item.department}}</view></view><label class="l-label"><view><radio id="{{item.userName}}" value="{{item.userName}}" checked="{{index==peopleCruuent}}"></radio></view></label></view></radio-group></block></view></scroll-view></view></uni-popup></view></view>