123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <!--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' bindtap='chargStationNameSelect' type='text'>{{chargStationName}}</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' disabled="{{worksheetinfo.workStatus==6}}" bindinput='bindMainLocationInput' type='text' value='{{worksheetinfo.mainLocation}}'></input>
- </view>
- <view class="context">
- <text>工单状态</text>
- <picker class="picker" wx:if="{{worksheetinfo.workStatus!=6}}" bindchange="bindWorkstatusChange" value="{{workstatusindex}}" range-key="text" range="{{workstatus}}">
- <text>{{workstatus[workstatusindex].text}}</text>
- </picker>
- <picker wx:if="{{worksheetinfo.workStatus==6}}" disabled="true" class="picker" range-key="text" >
- <text>已完成</text>
- </picker>
- </view>
- <view class="context">
- <text>工单大类</text>
- <picker class="picker" disabled="{{worksheetinfo.workStatus==6}}" bindchange="bindWorkBigclassChange" value="{{workBigclassindex}}" range-key="text" range="{{workBigclass}}">
- <text>{{workBigclass[workBigclassindex].text}}</text>
- </picker>
- </view>
- <view class="context">
- <text>工单小类</text>
- <picker class="picker" disabled="{{worksheetinfo.workStatus==6}}" bindchange="bindWorkSmallclassChange" value="{{workSmallclassindex}}" range-key="text" range="{{workSmallclass}}">
- <text>{{workSmallclass[workSmallclassindex].text}}</text>
- </picker>
- </view>
- <!-- breakdownType故障原因:1车辆导致,2桩体导致,3人为导致,4基础设施问题,5其他 -->
- <view class="context">
- <text>故障原因</text>
- <picker class="picker" disabled="{{worksheetinfo.workStatus==6}}" bindchange="bindBreakdownType" value="{{breakdownTypeindex}}" range-key="text" range="{{breakdownType}}">
- <text>{{breakdownTypeindex==null?'请选择':breakdownType[breakdownTypeindex].text}}</text>
- </picker>
- </view>
- <view class="context">
- <text>维修人员</text>
- <input disabled="{{worksheetinfo.workStatus==6}}" bindtap='{{worksheetinfo.workStatus==6?"":"bindAccendantChange"}}' class='input' type='text' value='{{worksheetinfo.accendant}}'></input>
- </view>
- <view class="context">
- <text>工作内容</text>
- <input class='input' disabled="{{worksheetinfo.workStatus==6}}" 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>
- <!-- <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>
- <!-- <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 wx:if="{{worksheetinfo.workStatus!=6}}" 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" wx:if="{{worksheetinfo.workStatus!=6}}">
- <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" wx:if="{{worksheetinfo.workStatus!=6}}">
- <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 wx:if="{{worksheetinfo.workStatus!=6}}" bindtap='bindWorkSheetSubmit' class='submitbutton'>提交</button>
|