<!--pages/worksheetinfo/worksheetinfo.wxml--> <lzcPicker ref="lzcPicker" change="changeItem" :pickerList="pickerList" pickerTittle='选择人物' /> <scroll-view scroll-y='true'> <view class="context"> <text>场站</text> <view class='input' type='text'> <!-- 有清除按钮 --> <view class="span_withclear" bindtap='chargStationNameSelect' wx:if="{{!chargStationNameClearFlag}}">{{brandName == null?'':brandName}}{{chargStationName}}</view> <image class='img_clear' bindtap='clear_chargStationName' src="/images/clear.png" wx:if="{{!chargStationNameClearFlag}}"></image> <!-- 木有清除按钮 --> <view class="span_withoutclear" bindtap='chargStationNameSelect' wx:if="{{chargStationNameClearFlag}}">请选择</view> </view> <!-- <picker class="picker" disabled="{{worksheetinfo.workStatus==6}}" bindchange="bindChargstationsChange" value="{{chargstationsindex}}" range-key="chargStationName" range="{{chargstations}}"> <text>{{chargstations[chargstationsindex].chargStationName}}</text> </picker> --> </view> <view class="context"> <text>地址</text> <input class='input' bindinput='bindMainLocationInput' type='text' value='{{worksheetinfo.mainLocation}}'></input> </view> <view class="context"> <text>工单状态</text> <picker class="picker" bindchange="bindWorkstatusChange" value="{{workstatusindex}}" range-key="text" range="{{workstatus}}"> <text>{{workstatus[workstatusindex].text}}</text> </picker> </view> <view class="context"> <text>工单大类</text> <picker class="picker" bindchange="bindWorkBigclassChange" value="{{workBigclassindex}}" range-key="text" range="{{workBigclass}}"> <text>{{workBigclass[workBigclassindex].text}}</text> </picker> </view> <view class="context"> <text>工单小类</text> <picker class="picker" bindchange="bindwokSmallclassChange" value="{{wokSmallclassindex}}" range-key="text" range="{{wokSmallclass}}"> <text>{{wokSmallclass[wokSmallclassindex].text}}</text> </picker> </view> <!-- breakdownType故障原因:1车辆导致,2桩体导致,3人为导致,4基础设施问题,5其他 --> <view class="context"> <text>故障原因</text> <picker class="picker" bindchange="bindBreakdownType" value="{{breakdownTypeindex}}" range-key="text" range="{{breakdownType}}"> <text>{{breakdownTypeindex==null?'请选择':breakdownType[breakdownTypeindex].text}}</text> </picker> </view> <view class="context"> <text>维修人员</text> <input bindtap='bindAccendantChange' bindinput="bindAccendantInput" class='input' type='text' value='{{worksheetinfo.accendant}}'></input> </view> <view class="context"> <text>工作内容</text> <input class='input' bindinput='bindContentInput' type='text' value='{{worksheetinfo.content}}'></input> </view> <view class="context"> <text>预计完成时间</text> <!-- <picker class="picker1" disabled="{{worksheetinfo.workStatus==6}}" mode="date" value="{{exceptdate}}" bindchange="bindExceptdateChange"> <text>{{exceptdate==null?'0000-00-00':exceptdate}}</text> </picker> <picker class="picker2" disabled="{{worksheetinfo.workStatus==6}}" mode="time" value="{{excepttime}}" bindchange="bindExcepttimeChange"> <text>{{excepttime==null?'00:00':excepttime}}:00</text> </picker> --> <datepicker params="{{exceptparams}}" bind:getDateString="bindExceptparamsChange" style="width: 100%;"/> <!-- <input class='input' type='text' value='{{worksheetinfo.exceptTime}}'></input> --> </view> <view class="context"> <text>工作完成截止时间</text> <!-- <picker class="picker1" disabled="{{worksheetinfo.workStatus==6}}" mode="date" value="{{finishdate}}" bindchange="bindFinishdateChange"> <text>{{finishdate==null?'0000-00-00':finishdate}}</text> </picker> <picker class="picker2" disabled="{{worksheetinfo.workStatus==6}}" mode="time" value="{{finishtime}}" bindchange="bindFinishtimeChange"> <text>{{finishtime==null?'00:00':finishtime}}:00</text> </picker> --> <datepicker params="{{workEndtimeParams}}" bind:getDateString="bindworkEndtimeParamsChange" style="width: 100%;"/> <!-- <input class='input' type='text' value='{{worksheetinfo.finishTime}}'></input> --> </view> <view wx:if="{{pcitures.length!=0}}" class="question-images"> <block wx:for="{{pcitures}}" wx:key="*this"> <view class="q-image-wrap"> <image wx:if="{{item.flag}}" class="q-image" src="{{item.src}}" mode="aspectFill" data-idx="{{index}}"></image> <!-- 图片缩略图 --> <image wx:if="{{!item.flag}}" class="q-image" src="{{item.url}}" mode="aspectFill" data-idx="{{index}}"></image> <!-- <image wx:if="{{!item.flag}}" class="q-image" src="https://cdgl.pjnes.com/profile/station/{{item.src}}" mode="aspectFill" data-idx="{{index}}"></image> --> <view class="q-image-remover" data-idx="{{index}}" bindtap="removePciture">删除</view> </view> </block> </view> <view wx:if="{{images.length!=0}}" class="question-images"> <block wx:for="{{images}}" wx:key="*this"> <view class="q-image-wrap"> <!-- 图片缩略图 --> <image class="q-image" src="{{item}}" mode="aspectFill" data-idx="{{index}}" bindtap="handleImagePreview"></image> <!-- 移除图片的按钮 --> <view class="q-image-remover" data-idx="{{index}}" bindtap="removeImage">删除</view> </view> </block> </view> <view class="context_image"> <text>添加照片</text> <view class="add" bindtap='openImage' hover-class='active'> <text>+</text> </view> </view> <view wx:if="{{signs.length!=0}}" class="question-images"> <block wx:for="{{signs}}" wx:key="*this"> <view class="q-image-wrap"> <!-- 图片缩略图 --> <image class="q-image" src="{{item}}" mode="aspectFill" data-idx="{{index}}" bindtap="handleSignPreview"></image> <!-- 移除图片的按钮 --> <view class="q-image-remover" data-idx="{{index}}" bindtap="removeSign">删除</view> </view> </block> </view> <view class="context_image"> <text>签名</text> <view class="add" bindtap='openSign' hover-class='active'> <text>+</text> </view> </view> </scroll-view> <view class="School_Input" style="{{school_id?'':'color:#808080'}};{{schoolValidate?'border:1rpx solid #BD3731':''}}" bindtap="showSchoolPicker">{{school_name}} </view> <button bindtap='bindWorkSheetSubmit' class='submitbutton' disabled="{{submitting}}">提交</button>