punchAppealDetail.wxml 3.2 KB
<!--pages/punchAppealDetail/punchAppealDetail.wxml-->
<form bindsubmit="againSubmit" bindreset="formReset" report-submit="true">
    <view class='content_box'>
        <view class='item_list'>
            <view class='uoload_box' wx:if="{{image.length > 0}}">
                <view class='upload_item' bindtap='uploadImg' data-current="0">
                    <text class='iconfont icon-jia' wx:if="{{image[0] === undefined}}"></text>
                    <image src="{{image[0]}}" mode="aspectFill" wx:else></image>
                </view>
                <view class='upload_item' bindtap='uploadImg' data-current="1">
                    <text class='iconfont icon-jia' wx:if="{{image[1] === undefined}}"></text>
                    <image src="{{image[1]}}" mode="aspectFill" wx:else></image>
                </view>
                <view class='upload_item' bindtap='uploadImg' data-current="2">
                    <text class='iconfont icon-jia' wx:if="{{image[2] === undefined}}"></text>
                    <image src="{{image[2]}}" mode="aspectFill" wx:else></image>
                </view>
            </view>
        </view>
        <view class='item_list' wx:if="{{detail.status !== 4 && detail.status !== 5 && detail.status !== 6 }}">
            <view class='list_title'>申诉理由</view>
            <view class='list_input'>
                <textarea bindinput="reasonInput" value="{{detail.description || reason}}"
                          disabled="{{disabled}}" wx:if="{{detail.re_description ==''}}"></textarea>
                <textarea bindinput="reasonInput" value="{{detail.re_description || reason}}"
                          disabled="{{disabled}}" wx:if="{{detail.re_description !==''}}"></textarea>
                <view class='word_num'>{{detail.create_time}}</view>
            </view>
        </view>
        <view class='item_list' wx:if="{{detail.status === 4 || detail.status === 5 || detail.status === 6 }}">
            <view class='list_title'>申诉理由</view>
            <view class='list_input'>
                <view>{{detail.re_description}}</view>
                <view class='word_num'>{{detail.create_time}}</view>
            </view>
        </view>
        <view class='item_list' wx:if="{{detail.status === 3}}">
            <view class='list_title'>未通过原因</view>
            <view class='list_input'>
                <view>{{detail.reason}}</view>
                <view class='word_num'>{{detail.handle_time}}</view>
            </view>
        </view>
        <view class='item_list' wx:if="{{detail.status === 6}}">
            <view class='list_title'>未通过原因</view>
            <view class='list_input'>
                <view>{{detail.re_reason}}</view>
                <view class='word_num'>{{detail.handle_time}}</view>
            </view>
        </view>
        <view wx:if="{{detail.status !== 3 && detail.status !== 6}}" class="current-test">
            <text class="circle"></text>
            <text>当前:{{test_name || '未获取'}}</text>
        </view>
        <view class='null_box' wx:if="{{detail.status === 3}}"></view>
        <button class='submit_btn' form-type='submit' wx:if="{{detail.status === 3}}">补充提交</button>
    </view>
</form>