123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!--pages/worksheetinfo/worksheetinfo.wxml-->
- <scroll-view scroll-y='true'>
- <view class="context">
- <text>场站</text>
- <picker class="picker" 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>
- <input bindtap='bindAccendantChange' 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" mode="date" value="{{exceptdate}}" bindchange="bindExceptdateChange">
- <text>{{exceptdate}}</text>
- </picker>
- <picker class="picker2" mode="time" value="{{excepttime}}" bindchange="bindExcepttimeChange">
- <text>{{excepttime}}:00</text>
- </picker>
- <!-- <input class='input' type='text' value='{{worksheetinfo.exceptTime}}'></input> -->
- </view>
- <view class="context">
- <text>实际完成时间</text>
- <picker class="picker1" mode="date" value="{{finishdate}}" bindchange="bindFinishdateChange">
- <text>{{finishdate}}</text>
- </picker>
- <picker class="picker2" mode="time" value="{{finishtime}}" bindchange="bindFinishtimeChange">
- <text>{{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 class="q-image" src="https://cdgl.xinyhy.cn/profile/station/{{item}}" mode="aspectFill" data-idx="{{index}}"></image>
- </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>
- </scroll-view>
- <button bindtap='bindWorkSheetSubmit' class='submitbutton'>提交</button>
|