punchAppealDetail.wxml
3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!--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>