shebeidetail.wxml
5.1 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<view class="detailhead">
<view class="detailname {{state==1?'sheactive':''}}" bindtap="selectshebei" data-id="1">设备状态</view>
<view class="detailname {{state==2?'sheactive':''}}" bindtap="selectshebei" data-id="2">设备详情</view>
<view class="detailname {{state==3?'sheactive':''}}" bindtap="selectshebei" data-id="3">设备月报</view>
</view>
<!-- 日期弹出层 -->
<!-- 车辆状况日期弹出层 -->
<view class="modal-mask" bindtap="hideModal" wx:if="{{showModal}}"></view>
<view wx:if="{{showModal}}">
<view class="modal-content">
<!-- 年份 -->
<view class="modal_year">
<picker bindchange="bindyearChange" value="{{index}}" range="{{yeararray}}">
<view class="picker">
{{yearname}}年
</view>
</picker>
</view>
<!-- 月份 -->
<view class="modal_month">
<view class="month_single {{item.sel==true?'change':''}}" wx:for="{{monthList}}" wx:key="" data-id="{{index}}" catchtap="choice">{{item.name}}</view>
</view>
<view class="date_descript {{showt==true?'tactive':''}}" bindtap="three">近30天</view>
<view class='btns'>
<view class="cacle" bindtap="hideModal">取消</view>
<view class="cacle sure" bindtap="hideModal">确定</view>
</view>
</view>
</view>
<view wx:if="{{showModal==false}}">
<!-- 设备状态 -->
<view class="shebeizhuang" wx:if="{{state==1}}">
<view class="date">
<view class="dateleft">
<image src="/img/row.png"></image>
</view>
<view class="datetime" bindtap='toShowModal'>
<view class="datesel">
{{time}}
</view>
<view class="datepic">
<image src="/img/row.png"></image>
</view>
</view>
<view class="dateright">
<image src="/img/row.png"></image>
</view>
</view>
<view class="containerzhu">
<ec-canvas id="mychart-dom-graph" canvas-id="mychart-graph" ec="{{ ec1 }}"></ec-canvas>
</view>
</view>
<!-- 设备详情 -->
<view class="shebeidetail" wx:if="{{state==2}}">
<view class="beginkaiji">开机时间</view>
<view class="hournum">13604.61</view>
<view class="xian"></view>
<view class="desbox">
<view class="desboxhead">设备描述</view>
<view class="destext">
该公司的生产线是专业设备,大设备中有小设备,小设备中还有更小的设备,而且这些设备并不是成套购买的,组装成生产线后不容易清点。在本案中,原本是两条生产线都抵押给银行了,但在法院现场清点中,我们发现还有相当数量的设备未设定抵押。在法院委托评估的报告中罗列了110项设备,而两家银行合计抵
</view>
</view>
<view class="shepic">
<view class="pictitle">设备照片</view>
<view class="piclist">
<view class="listitem">
<image src="/img/logo3.png"></image>
</view>
<view class="listitem">
<image src="/img/logo3.png"></image>
</view>
<view class="listitem">
<image src="/img/logo3.png"></image>
</view>
<view class="listitem">
<image src="/img/logo3.png"></image>
</view>
</view>
</view>
</view>
<!-- 设备月报 -->
<view class="yuebao" wx:if="{{state==3}}">
<view class="date">
<view class="dateleft">
<image src="/img/row.png"></image>
</view>
<view class="datetime">
<view class="datesel">
<picker mode="date" value="{{date}}" start="" end="" bindchange="bindDateChange" fields="month">
<view class="picker">
{{date}}
</view>
</picker>
</view>
<view class="datepic">
<image src="/img/row.png"></image>
</view>
</view>
<view class="dateright">
<image src="/img/row.png"></image>
</view>
</view>
<view class='shebeiworktime'>
<view class="tophour">
设备工作总时长(小时)
</view>
<view class="timenum">
<text class="timeleft">13604.61</text>
<text class="timeright">4.1%</text>
</view>
</view>
<view class="timelist">
<view class="timeitem">
<view class="timetop">
18044.32
</view>
<view class="timebottom">
总工作时长(h)
</view>
</view>
<view class="timeitem">
<view class="timetop">
18044.32
</view>
<view class="timebottom">
日均工作时长(h)
</view>
</view>
<view class="timeitem">
<view class="timetop">
18044.32
</view>
<view class="timebottom">
低于上月总工作时长(h)
</view>
</view>
<view class="timeitem">
<view class="timetop">
18044.32
</view>
<view class="timebottom">
低于上月日均工作时长(h)
</view>
</view>
</view>
<!-- 半年度开工曲线 -->
<view class="container">
<ec-canvas id="mychart-dom-graph" canvas-id="mychart-graph" ec="{{ ec }}"></ec-canvas>
</view>
</view>
</view>