123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <view class="page">
- <view class="toptitle">
- <text wx:if="{{pageState==1}}" class="toptitle_left">报修记录</text>
- <text wx:else class="toptitle_left"></text>
- <view class="toptitle_right">
- <picker bindchange="bindPageChange" value="{{pageState}}" range="{{pageStateText}}">
- <text class="toptitle_right_text">{{pageStateText[pageState]}}</text>
- </picker>
- <image src="../../../image/teacher/dorpdown_white_icon.png" class="toptitle_right_icon"></image>
- </view>
- </view>
- <view wx:if="{{pageState==0}}">
- <view class="center_picker_layout" style="margin-top: 24rpx;">
- <!--是否紧急-->
- <view class="item_input_bg" style=" margin-top: 0rpx;box-shadow: 0px 1px 0px 0px #EEEEEE;">
- <text class="item_input_title">故障级别:</text>
- <picker bindchange="bindFaultChange" value="{{faultIndex}}" range="{{fault}}" class="item_picker_bg">
- <view class="item_picker_content">
- {{fault[faultIndex]}}
- </view>
- </picker>
- <view class="item_picker_icon_layout">
- <image src="../../../image/teacher/dropdown_icon.png" class="item_picker_icon"></image>
- </view>
- </view>
- <!--是否紧急end-->
- <!--选择地区-->
- <view class="item_input_bg" style=" margin-top: 2rpx; box-shadow: 0px 1px 0px 0px #EEEEEE;">
- <text class="item_input_title">地区:</text>
- <picker mode="multiSelector" bindchange="bindRegionChange" bindcolumnchange="bindMultiPickerColumnChange" range="{{region}}" class="item_picker_bg" value="{{regionIndex}}">
- <view class="item_picker_content">
- <p> {{region[0][regionIndex[0]]}} </p>
- <p> {{region[1][regionIndex[1]]}} </p>
- <p> {{region[2][regionIndex[2]]}} </p>
- </view>
- </picker>
- <view class="item_picker_icon_layout">
- <image src="../../../image/teacher/dropdown_icon.png" class="item_picker_icon"></image>
- </view>
- </view>
- <!--选择地区 end-->
- <!--选择学校-->
- <view class="item_input_bg" style=" margin-top: 2rpx;box-shadow: 0px 1px 0px 0px #EEEEEE;">
- <text class="item_input_title">学校:</text>
- <picker mode="multiSelector" bindcolumnchange="bindSchoolPicker" range="{{schoolArray}}" value="{{[schoolIndex,0]}}" class="item_picker_bg">
- <view class="item_picker_content">
- {{schoolArray[0][schoolIndex]}}
- </view>
- </picker>
- <view class="item_picker_icon_layout">
- <image src="../../../image/teacher/dropdown_icon.png" class="item_picker_icon"></image>
- </view>
- </view>
- <!--选择学校end-->
- <!--选择班级-->
- <view class="item_input_bg" style=" margin-top: 2rpx;box-shadow: 0px 1px 0px 0px #EEEEEE;">
- <text class="item_input_title">班级:</text>
- <picker bindchange="bindClssPicker" value="{{classIndex}}" range="{{classArray}}" class="item_picker_bg">
- <view class="item_picker_content">
- {{classArray[classIndex]}}
- </view>
- </picker>
- <view class="item_picker_icon_layout">
- <image src="../../../image/teacher/dropdown_icon.png" class="item_picker_icon"></image>
- </view>
- </view>
- <!--选择班级end-->
- <view class="item_input_bg" style="margin-top: 1rpx;box-shadow: 0px 1px 0px 0px #EEEEEE;">
- <text class="item_input_title">设备ID:</text>
- <input class="item_input_content" placeholder="请输入设备ID" bindinput="bindDeviceInput" value="{{deviceId}}" />
- </view>
- </view>
- <view class="fault_info_layout">
- <textarea bindinput="bindFaultText" class="fault_info_textarea" placeholder="故障描述:请描述故障情况请描述故障情况,\n请描述故障情况请描述故障情况" value="{{describe}}"></textarea>
- <scroll-view scroll-x class="fault_info_scroll">
- <view wx:for="{{postFaultListImg}}" wx:key="index" style="display:inline-block;">
- <image class="fault_info_scroll_item" src="{{item}}"></image>
- </view>
- <image class="fault_info_scroll_item" src="../../../image/teacher/fault_add_img.png" bindtap="getFaultImg"></image>
- </scroll-view>
- </view>
- <view class="submitFault_layout">
- <button class="submitFault" bindtap="submitFault">提交</button>
- </view>
- </view>
- <!-- 报修记录-->
- <scroll-view wx:if="{{pageState==1}}" scroll-y="true" class="scrollview">
- <view wx:for="{{faultList}}" class="scroll_item_bg" wx:key="key" wx:for-index="idx" wx:for-item="item">
- <fauleItem itemData="{{item}}" ></fauleItem>
- </view>
- </scroll-view>
- <!-- 报修记录-->
- </view>
|