safecheck-client 3.0.32-24 → 3.0.32-26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1005 +1,1005 @@
1
- <template>
2
- <div class="auto app-text">
3
- <div class="panel" style="padding: 10px 10px 5px 10px;">
4
- <div class="panel-body panel-self">
5
- <div class="col-xs-12">
6
- <p class="panel-title col-xs-4 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
7
- <p class="panel-title col-xs-7 text-left input-font">
8
- <label @click="searchHistory(userinfo.f_userinfoid)"
9
- style="color: #00b3ee;text-decoration:none;">{{ userinfo.f_userinfo_code }}</label><label
10
- style="color: #00b3ee;text-decoration:none;"
11
- @click="upuserinfo(userinfo.f_userinfoid)">信息变更</label>
12
- </p>
13
- </div>
14
- <div class="col-xs-12">
15
- <p class="panel-title col-xs-4 text-left font"><b>用户名称:</b></p>
16
- <p class="panel-title col-xs-8 text-left input-font">{{ userinfo.f_user_name }}</p>
17
- </div>
18
- <div class="col-xs-12">
19
- <p class="panel-title col-xs-4 text-left font"><b>用户类型:</b></p>
20
- <p class="panel-title col-xs-8 text-left input-font">{{ userinfo.f_check_type }}
21
- </p>
22
- </div>
23
- <div class="col-xs-12" style="padding: 2px 0">
24
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
25
- <input class="panel-title text-left input-font" style="width: 67%" value="{{userinfo.f_user_phone}}" v-model="userinfo.f_user_phone"/>
26
- </div>
27
- <div class="col-xs-12" style="padding: 2px 0">
28
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>备用电话:</b></p>
29
- <input class="panel-title text-left input-font" style="width: 67%" value="{{userinfo.f_rent_phone}}" v-model="userinfo.f_rent_phone"/>
30
- </div>
31
- <div class="col-xs-12" style="padding: 2px 0">
32
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>租户姓名:</b></p>
33
- <input class="panel-title text-left input-font" style="width: 67%" value="{{userinfo.f_used_name}}" v-model="userinfo.f_used_name"/>
34
- </div>
35
- <div class="col-xs-12" style="padding: 2px 0">
36
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>租户电话:</b></p>
37
- <input class="panel-title text-left input-font" style="width: 67%" value="{{userinfo.f_user_phone2}}" v-model="userinfo.f_user_phone2"/>
38
- </div>
39
- <div class="col-xs-12">
40
- <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
41
- <p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_address }}</p>
42
- </div>
43
- <div class="col-xs-12">
44
- <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
45
- <p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_state }}</p>
46
- </div>
47
- <div class="col-xs-12" style="padding: 2px 0">
48
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>使用类型:</b></p>
49
- <v-select
50
- :value.sync="f_usetype"
51
- v-model="f_usetype"
52
- width="67%"
53
- placeholder='请选择'
54
- :value-single="true"
55
- :options="f_usetypes"
56
- clear-button></v-select>
57
- </div>
58
- <div class="col-xs-12" style="margin-left: 20px">
59
- <!-- <p class="panel-title col-xs-7 text-left input-font"><a @click="searchDevices(userinfo.f_userinfoid)"></a></p>-->
60
- <a class="panel-title col-xs-8 text-left input-font" style="width: 79%;color: blue;text-decoration:underline" v-if="userinfo.f_safecheck_type=='送气类型'" @click="searchDevices(userinfo.f_userinfoid)">设备信息维护</a>
61
- </div>
62
- </div>
63
- <div class="panel-body">
64
- <div v-show="false" class="row repair-info-content auto">
65
- <div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
66
- <label class="control-label">
67
- <nobr>到达时间:</nobr>
68
- </label>
69
- <span>{{f_onsite_time}}</span>
70
- </div>
71
- <div class="col-xs-12 col-sm-12 col-md-12 form-input-group" v-if="data.f_date_leave">
72
- <label class="control-label">
73
- <nobr>离开时间:</nobr>
74
- </label>
75
- <span>{{f_offsite_time}}</span>
76
- </div>
77
- </div>
78
-
79
-
80
- <div class="form-group" :class="style__">
81
- <span class="col-md-3 col-sm-4 col-xs-4 text-left"><img src="../../assets/housestyle.png" style="width: 20px;margin-bottom: 5px;text-align: left" alt="">入户状态:</span>
82
- <div :class="style__" class="col-md-9 col-sm-8 col-xs-8 text-center">
83
- <input type="radio" name="enterstatus" v-model="f_entry_status" id="new1" value="激光检漏">激光检漏
84
- <input type="radio" name="enterstatus" v-model="f_entry_status" id="new2" value="立杠保压">立杠保压
85
- <input type="radio" name="enterstatus" v-model="f_entry_status" id="new3" value="室外关阀">室外关阀
86
- <input type="radio" name="enterstatus" v-model="f_entry_status" id="nopeople" value="到访不遇">到访不遇
87
- <input type="radio" name="enterstatus" v-model="f_entry_status" id="rejectchecck" value="拒检">拒检
88
- <input type="radio" name="enterstatus" v-model="f_entry_status" id="enterhouse" value="入户">入户
89
- </div>
90
- <!-- <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇' || f_entry_status=='拒检'">
91
- <div class="auto">
92
- <label class="font" style="margin-right: 18px">备注:</label>
93
- <input type="text" v-model="userinfo.f_comments">
94
- </div>
95
- </div>-->
96
- <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇'">
97
- <div class="auto">
98
- <label class="font" style="margin-right: 18px">是否激光检漏:</label>
99
- <input type="radio" name="laser_check" v-model="f_laser_check" id="nopeople1" value="是">是
100
- <input type="radio" name="laser_check" v-model="f_laser_check" id="rejectchecck1" value="否">否
101
- </div>
102
- </div>
103
- <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇'">
104
- <div class="col-xs-12" style="padding: 2px 0;margin-top: 10px;">
105
- <label class="text-left font">不遇原因:</label>
106
- <input class="panel-title text-left input-font" style="width: 67%" v-model="userinfo.f_remark"/>
107
- </div>
108
- <label class="text-left font">到访不遇照片:</label>
109
- <div class="auto">
110
- <div class="panel" style="padding: 10px 10px 5px 10px;">
111
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
112
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
113
- <div class="col-sm-4">
114
- <img-self :src="f_noanswer_path" alt="到访不遇照片" width="150" height="200"></img-self>
115
- </div>
116
- </div>
117
- <div class="row text-right div-photo" :class="style__">
118
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer_path', '到访不遇照片')">拍照</button>
119
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer_path', this.f_noanswer_path)"
120
- style="width: 25%;"/>
121
- </div>
122
- </div>
123
- </div>
124
- </div>
125
- <div class="auto">
126
- <div class="panel" style="padding: 10px 10px 5px 10px;">
127
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
128
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
129
- <div class="col-sm-4">
130
- <img-self :src="f_noanswertwo_path" alt="到访不遇照片" width="150" height="200"></img-self>
131
- </div>
132
- </div>
133
- <div class="row text-right div-photo" :class="style__">
134
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswertwo_path', '到访不遇照片')">拍照</button>
135
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswertwo_path', this.f_noanswertwo_path)"
136
- style="width: 25%;"/>
137
- </div>
138
- </div>
139
- </div>
140
- </div>
141
-
142
- <div class="auto">
143
- <div class="panel" style="padding: 10px 10px 5px 10px;">
144
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
145
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
146
- <div class="col-sm-4">
147
- <img-self :src="f_noanswer3_path" alt="到访不遇照片" width="150" height="200"></img-self>
148
- </div>
149
- </div>
150
- <div class="row text-right div-photo" :class="style__">
151
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer3_path', '到访不遇照片')">拍照</button>
152
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer3_path', this.f_noanswer3_path)"
153
- style="width: 25%;"/>
154
- </div>
155
- </div>
156
- </div>
157
- </div>
158
- <div class="auto">
159
- <div class="panel" style="padding: 10px 10px 5px 10px;">
160
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
161
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
162
- <div class="col-sm-4">
163
- <img-self :src="f_noanswer4_path" alt="到访不遇照片" width="150" height="200"></img-self>
164
- </div>
165
- </div>
166
- <div class="row text-right div-photo" :class="style__">
167
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer4_path', '到访不遇照片')">拍照</button>
168
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer4_path', this.f_noanswer4_path)"
169
- style="width: 25%;"/>
170
- </div>
171
- </div>
172
- </div>
173
- </div>
174
- <div class="auto">
175
- <div class="panel" style="padding: 10px 10px 5px 10px;">
176
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
177
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
178
- <div class="col-sm-4">
179
- <img-self :src="f_noanswer5_path" alt="到访不遇照片" width="150" height="200"></img-self>
180
- </div>
181
- </div>
182
- <div class="row text-right div-photo" :class="style__">
183
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer5_path', '到访不遇照片')">拍照</button>
184
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer5_path', this.f_noanswer5_path)"
185
- style="width: 25%;"/>
186
- </div>
187
- </div>
188
- </div>
189
- </div>
190
- <div class="auto">
191
- <div class="panel" style="padding: 10px 10px 5px 10px;">
192
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
193
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
194
- <div class="col-sm-4">
195
- <img-self :src="f_noanswer6_path" alt="到访不遇照片" width="150" height="200"></img-self>
196
- </div>
197
- </div>
198
- <div class="row text-right div-photo" :class="style__">
199
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer6_path', '到访不遇照片')">拍照</button>
200
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer6_path', this.f_noanswer6_path)"
201
- style="width: 25%;"/>
202
- </div>
203
- </div>
204
- </div>
205
- </div>
206
- <div class="auto">
207
- <div class="panel" style="padding: 10px 10px 5px 10px;">
208
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
209
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
210
- <div class="col-sm-4">
211
- <img-self :src="f_noanswer7_path" alt="到访不遇照片" width="150" height="200"></img-self>
212
- </div>
213
- </div>
214
- <div class="row text-right div-photo" :class="style__">
215
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer7_path', '到访不遇照片')">拍照</button>
216
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer7_path', this.f_noanswer7_path)"
217
- style="width: 25%;"/>
218
- </div>
219
- </div>
220
- </div>
221
- </div>
222
- <div class="auto">
223
- <div class="panel" style="padding: 10px 10px 5px 10px;">
224
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
225
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
226
- <div class="col-sm-4">
227
- <img-self :src="f_noanswer8_path" alt="到访不遇照片" width="150" height="200"></img-self>
228
- </div>
229
- </div>
230
- <div class="row text-right div-photo" :class="style__">
231
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer8_path', '到访不遇照片')">拍照</button>
232
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer8_path', this.f_noanswer8_path)"
233
- style="width: 25%;"/>
234
- </div>
235
- </div>
236
- </div>
237
- </div>
238
-
239
- </div>
240
- <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='激光检漏'">
241
- <label class="text-left font">激光检漏照片:</label>
242
- <div class="auto">
243
- <div class="panel" style="padding: 10px 10px 5px 10px;">
244
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
245
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
246
- <div class="col-sm-4">
247
- <img-self :src="f_detection_path" alt="激光检漏照片" width="150" height="200"></img-self>
248
- </div>
249
- </div>
250
- <div class="row text-right div-photo" :class="style__">
251
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection_path', '激光检漏照片')">拍照</button>
252
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection_path', this.f_detection_path)"
253
- style="width: 25%;"/>
254
- </div>
255
- </div>
256
- </div>
257
- </div>
258
- <div class="auto">
259
- <div class="panel" style="padding: 10px 10px 5px 10px;">
260
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
261
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
262
- <div class="col-sm-4">
263
- <img-self :src="f_detection2_path" alt="激光检漏照片" width="150" height="200"></img-self>
264
- </div>
265
- </div>
266
- <div class="row text-right div-photo" :class="style__">
267
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection2_path', '激光检漏照片')">拍照</button>
268
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection2_path', this.f_detection2_path)"
269
- style="width: 25%;"/>
270
- </div>
271
- </div>
272
- </div>
273
- </div>
274
-
275
- <div class="auto">
276
- <div class="panel" style="padding: 10px 10px 5px 10px;">
277
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
278
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
279
- <div class="col-sm-4">
280
- <img-self :src="f_detection3_path" alt="激光检漏照片" width="150" height="200"></img-self>
281
- </div>
282
- </div>
283
- <div class="row text-right div-photo" :class="style__">
284
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection3_path', '激光检漏照片')">拍照</button>
285
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection3_path', this.f_detection3_path)"
286
- style="width: 25%;"/>
287
- </div>
288
- </div>
289
- </div>
290
- </div>
291
- <div class="auto">
292
- <div class="panel" style="padding: 10px 10px 5px 10px;">
293
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
294
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
295
- <div class="col-sm-4">
296
- <img-self :src="f_detection4_path" alt="激光检漏照片" width="150" height="200"></img-self>
297
- </div>
298
- </div>
299
- <div class="row text-right div-photo" :class="style__">
300
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection4_path', '激光检漏照片')">拍照</button>
301
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection4_path', this.f_detection4_path)"
302
- style="width: 25%;"/>
303
- </div>
304
- </div>
305
- </div>
306
- </div>
307
- <div class="auto">
308
- <div class="panel" style="padding: 10px 10px 5px 10px;">
309
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
310
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
311
- <div class="col-sm-4">
312
- <img-self :src="f_detection5_path" alt="激光检漏照片" width="150" height="200"></img-self>
313
- </div>
314
- </div>
315
- <div class="row text-right div-photo" :class="style__">
316
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection5_path', '激光检漏照片')">拍照</button>
317
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection5_path', this.f_detection5_path)"
318
- style="width: 25%;"/>
319
- </div>
320
- </div>
321
- </div>
322
- </div>
323
- <div class="auto">
324
- <div class="panel" style="padding: 10px 10px 5px 10px;">
325
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
326
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
327
- <div class="col-sm-4">
328
- <img-self :src="f_detection6_path" alt="激光检漏照片" width="150" height="200"></img-self>
329
- </div>
330
- </div>
331
- <div class="row text-right div-photo" :class="style__">
332
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection6_path', '激光检漏照片')">拍照</button>
333
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection6_path', this.f_detection6_path)"
334
- style="width: 25%;"/>
335
- </div>
336
- </div>
337
- </div>
338
- </div>
339
- <div class="auto">
340
- <div class="panel" style="padding: 10px 10px 5px 10px;">
341
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
342
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
343
- <div class="col-sm-4">
344
- <img-self :src="f_detection7_path" alt="激光检漏照片" width="150" height="200"></img-self>
345
- </div>
346
- </div>
347
- <div class="row text-right div-photo" :class="style__">
348
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection7_path', '激光检漏照片')">拍照</button>
349
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection7_path', this.f_detection7_path)"
350
- style="width: 25%;"/>
351
- </div>
352
- </div>
353
- </div>
354
- </div>
355
- <div class="auto">
356
- <div class="panel" style="padding: 10px 10px 5px 10px;">
357
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
358
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
359
- <div class="col-sm-4">
360
- <img-self :src="f_detection8_path" alt="激光检漏照片" width="150" height="200"></img-self>
361
- </div>
362
- </div>
363
- <div class="row text-right div-photo" :class="style__">
364
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection8_path', '激光检漏照片')">拍照</button>
365
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection8_path', this.f_detection8_path)"
366
- style="width: 25%;"/>
367
- </div>
368
- </div>
369
- </div>
370
- </div>
371
-
372
- </div>
373
- <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='立杠保压'">
374
- <label class="text-left font">立杠保压照片:</label>
375
- <div class="auto">
376
- <div class="panel" style="padding: 10px 10px 5px 10px;">
377
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
378
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
379
- <div class="col-sm-4">
380
- <img-self :src="f_pressure_path" alt="立杠保压照片" width="150" height="200"></img-self>
381
- </div>
382
- </div>
383
- <div class="row text-right div-photo" :class="style__">
384
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure_path', '立杠保压照片')">拍照</button>
385
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure_path', this.f_pressure_path)"
386
- style="width: 25%;"/>
387
- </div>
388
- </div>
389
- </div>
390
- </div>
391
- <div class="auto">
392
- <div class="panel" style="padding: 10px 10px 5px 10px;">
393
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
394
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
395
- <div class="col-sm-4">
396
- <img-self :src="f_pressure2_path" alt="立杠保压照片" width="150" height="200"></img-self>
397
- </div>
398
- </div>
399
- <div class="row text-right div-photo" :class="style__">
400
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure2_path', '立杠保压照片')">拍照</button>
401
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure2_path', this.f_pressure2_path)"
402
- style="width: 25%;"/>
403
- </div>
404
- </div>
405
- </div>
406
- </div>
407
-
408
- <div class="auto">
409
- <div class="panel" style="padding: 10px 10px 5px 10px;">
410
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
411
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
412
- <div class="col-sm-4">
413
- <img-self :src="f_pressure3_path" alt="立杠保压照片" width="150" height="200"></img-self>
414
- </div>
415
- </div>
416
- <div class="row text-right div-photo" :class="style__">
417
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure3_path', '立杠保压照片')">拍照</button>
418
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure3_path', this.f_pressure3_path)"
419
- style="width: 25%;"/>
420
- </div>
421
- </div>
422
- </div>
423
- </div>
424
- <div class="auto">
425
- <div class="panel" style="padding: 10px 10px 5px 10px;">
426
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
427
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
428
- <div class="col-sm-4">
429
- <img-self :src="f_pressure4_path" alt="立杠保压照片" width="150" height="200"></img-self>
430
- </div>
431
- </div>
432
- <div class="row text-right div-photo" :class="style__">
433
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure4_path', '立杠保压照片')">拍照</button>
434
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure4_path', this.f_pressure4_path)"
435
- style="width: 25%;"/>
436
- </div>
437
- </div>
438
- </div>
439
- </div>
440
- <div class="auto">
441
- <div class="panel" style="padding: 10px 10px 5px 10px;">
442
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
443
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
444
- <div class="col-sm-4">
445
- <img-self :src="f_pressure5_path" alt="立杠保压照片" width="150" height="200"></img-self>
446
- </div>
447
- </div>
448
- <div class="row text-right div-photo" :class="style__">
449
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure5_path', '立杠保压照片')">拍照</button>
450
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure5_path', this.f_pressure5_path)"
451
- style="width: 25%;"/>
452
- </div>
453
- </div>
454
- </div>
455
- </div>
456
- <div class="auto">
457
- <div class="panel" style="padding: 10px 10px 5px 10px;">
458
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
459
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
460
- <div class="col-sm-4">
461
- <img-self :src="f_pressure6_path" alt="立杠保压照片" width="150" height="200"></img-self>
462
- </div>
463
- </div>
464
- <div class="row text-right div-photo" :class="style__">
465
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure6_path', '立杠保压照片')">拍照</button>
466
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure6_path', this.f_pressure6_path)"
467
- style="width: 25%;"/>
468
- </div>
469
- </div>
470
- </div>
471
- </div>
472
- <div class="auto">
473
- <div class="panel" style="padding: 10px 10px 5px 10px;">
474
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
475
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
476
- <div class="col-sm-4">
477
- <img-self :src="f_pressure7_path" alt="立杠保压照片" width="150" height="200"></img-self>
478
- </div>
479
- </div>
480
- <div class="row text-right div-photo" :class="style__">
481
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure7_path', '立杠保压照片')">拍照</button>
482
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure7_path', this.f_pressure7_path)"
483
- style="width: 25%;"/>
484
- </div>
485
- </div>
486
- </div>
487
- </div>
488
- <div class="auto">
489
- <div class="panel" style="padding: 10px 10px 5px 10px;">
490
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
491
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
492
- <div class="col-sm-4">
493
- <img-self :src="f_pressure8_path" alt="立杠保压照片" width="150" height="200"></img-self>
494
- </div>
495
- </div>
496
- <div class="row text-right div-photo" :class="style__">
497
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure8_path', '立杠保压照片')">拍照</button>
498
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure8_path', this.f_pressure8_path)"
499
- style="width: 25%;"/>
500
- </div>
501
- </div>
502
- </div>
503
- </div>
504
-
505
- </div>
506
- <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='室外关阀'">
507
- <label class="text-left font">室外关阀照片:</label>
508
- <div class="auto">
509
- <div class="panel" style="padding: 10px 10px 5px 10px;">
510
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
511
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
512
- <div class="col-sm-4">
513
- <img-self :src="f_outdoor_path" alt="室外关阀照片" width="150" height="200"></img-self>
514
- </div>
515
- </div>
516
- <div class="row text-right div-photo" :class="style__">
517
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor_path', '室外关阀照片')">拍照</button>
518
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor_path', this.f_outdoor_path)"
519
- style="width: 25%;"/>
520
- </div>
521
- </div>
522
- </div>
523
- </div>
524
- <div class="auto">
525
- <div class="panel" style="padding: 10px 10px 5px 10px;">
526
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
527
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
528
- <div class="col-sm-4">
529
- <img-self :src="f_outdoor2_path" alt="室外关阀照片" width="150" height="200"></img-self>
530
- </div>
531
- </div>
532
- <div class="row text-right div-photo" :class="style__">
533
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor2_path', '室外关阀照片')">拍照</button>
534
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor2_path', this.f_outdoor2_path)"
535
- style="width: 25%;"/>
536
- </div>
537
- </div>
538
- </div>
539
- </div>
540
-
541
- <div class="auto">
542
- <div class="panel" style="padding: 10px 10px 5px 10px;">
543
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
544
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
545
- <div class="col-sm-4">
546
- <img-self :src="f_outdoor3_path" alt="室外关阀照片" width="150" height="200"></img-self>
547
- </div>
548
- </div>
549
- <div class="row text-right div-photo" :class="style__">
550
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor3_path', '室外关阀照片')">拍照</button>
551
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor3_path', this.f_outdoor3_path)"
552
- style="width: 25%;"/>
553
- </div>
554
- </div>
555
- </div>
556
- </div>
557
- <div class="auto">
558
- <div class="panel" style="padding: 10px 10px 5px 10px;">
559
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
560
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
561
- <div class="col-sm-4">
562
- <img-self :src="f_outdoor4_path" alt="室外关阀照片" width="150" height="200"></img-self>
563
- </div>
564
- </div>
565
- <div class="row text-right div-photo" :class="style__">
566
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor4_path', '室外关阀照片')">拍照</button>
567
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor4_path', this.f_outdoor4_path)"
568
- style="width: 25%;"/>
569
- </div>
570
- </div>
571
- </div>
572
- </div>
573
- <div class="auto">
574
- <div class="panel" style="padding: 10px 10px 5px 10px;">
575
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
576
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
577
- <div class="col-sm-4">
578
- <img-self :src="f_outdoor5_path" alt="室外关阀照片" width="150" height="200"></img-self>
579
- </div>
580
- </div>
581
- <div class="row text-right div-photo" :class="style__">
582
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor5_path', '室外关阀照片')">拍照</button>
583
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor5_path', this.f_outdoor5_path)"
584
- style="width: 25%;"/>
585
- </div>
586
- </div>
587
- </div>
588
- </div>
589
- <div class="auto">
590
- <div class="panel" style="padding: 10px 10px 5px 10px;">
591
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
592
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
593
- <div class="col-sm-4">
594
- <img-self :src="f_outdoor6_path" alt="室外关阀照片" width="150" height="200"></img-self>
595
- </div>
596
- </div>
597
- <div class="row text-right div-photo" :class="style__">
598
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor6_path', '室外关阀照片')">拍照</button>
599
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor6_path', this.f_outdoor6_path)"
600
- style="width: 25%;"/>
601
- </div>
602
- </div>
603
- </div>
604
- </div>
605
- <div class="auto">
606
- <div class="panel" style="padding: 10px 10px 5px 10px;">
607
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
608
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
609
- <div class="col-sm-4">
610
- <img-self :src="f_outdoor7_path" alt="室外关阀照片" width="150" height="200"></img-self>
611
- </div>
612
- </div>
613
- <div class="row text-right div-photo" :class="style__">
614
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor7_path', '室外关阀照片')">拍照</button>
615
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor7_path', this.f_outdoor7_path)"
616
- style="width: 25%;"/>
617
- </div>
618
- </div>
619
- </div>
620
- </div>
621
- <div class="auto">
622
- <div class="panel" style="padding: 10px 10px 5px 10px;">
623
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
624
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
625
- <div class="col-sm-4">
626
- <img-self :src="f_outdoor8_path" alt="室外关阀照片" width="150" height="200"></img-self>
627
- </div>
628
- </div>
629
- <div class="row text-right div-photo" :class="style__">
630
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor8_path', '室外关阀照片')">拍照</button>
631
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor8_path', this.f_outdoor8_path)"
632
- style="width: 25%;"/>
633
- </div>
634
- </div>
635
- </div>
636
- </div>
637
-
638
- </div>
639
-
640
-
641
- <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='拒检'">
642
- <div class="col-xs-12" style="padding: 2px 0;margin-top: 5px;">
643
- <label class="text-left font">拒检原因:</label>
644
- <input class="panel-title text-left input-font" style="width: 67%" v-model="userinfo.f_remark"/>
645
- </div>
646
- <label class="text-left font">拒检照片:</label>
647
- <div class="auto">
648
- <div class="panel" style="padding: 10px 10px 5px 10px;">
649
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
650
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
651
- <div class="col-sm-4">
652
- <img-self :src="f_rejectcheck_path" alt="拒检照片" width="150" height="200"></img-self>
653
- </div>
654
- </div>
655
- <div class="row text-right div-photo">
656
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_rejectcheck_path', '拒检照片')">拍照</button>
657
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_rejectcheck_path', this.f_rejectcheck_path)" style="width: 25%;"></img>
658
- </div>
659
- </div>
660
- </div>
661
- </div>
662
- <div class="auto">
663
- <div class="panel" style="padding: 10px 10px 5px 10px;">
664
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
665
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
666
- <div class="col-sm-4">
667
- <img-self :src="f_rejectcheck2_path" alt="拒检照片" width="150" height="200"></img-self>
668
- </div>
669
- </div>
670
- <div class="row text-right div-photo">
671
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_rejectcheck2_path', '拒检照片')">拍照</button>
672
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_rejectcheck2_path', this.f_rejectcheck2_path)" style="width: 25%;"></img>
673
- </div>
674
- </div>
675
- </div>
676
- </div>
677
- </div>
678
- </div>
679
- <div :class="style__" class="form-group" v-show="f_usegas == '未使用'">
680
- <sapn class="text-left col-md-12 col-sm-12 col-xs-12">处置方式:</sapn>
681
- <div class="col-xs-12 col-sm-12 col-md-12">
682
- <input type="checkbox" v-model="f_no_gas_device">无燃气具
683
- <input type="checkbox" v-model="f_close_valve">关闭表前阀
684
- <input type="checkbox" v-model="f_unload_battery">取下表内电池
685
- </div>
686
- </div>
687
- <div class="auto app-text" style="margin-top: 5px;" v-if="this.$parent.$parent.role != 'view'">
688
- <div class="panel" style="padding: 60px 7px 10px 0px;">
689
- <div class="panel-body panel-self">
690
- <div v-show="false" class="row">
691
- <p class="panel-title col-xs-4 text-left font">建档时间</p>
692
- <p class="panel-title col-xs-8 text-left input-font">{{ newfile_date }}</p>
693
- </div>
694
- <div class="row" v-if="last_check_date != null && last_check_date != ''">
695
- <p class="panel-title col-xs-4 text-left font">上次安检时间</p>
696
- <p class="panel-title col-xs-8 text-left input-font">{{ last_check_date }}</p>
697
- </div>
698
- <div class="row">
699
- <p class="panel-title col-xs-4 text-left font">上次安检状态</p>
700
- <p class="panel-title col-xs-8 text-left input-font" v-if="last_check_date != null && last_check_date != ''">安检完成</p>
701
- <p class="panel-title col-xs-8 text-left input-font" v-if="last_check_date == null || last_check_date == ''">未安检</p>
702
- </div>
703
- <div class="row" v-if="last_check_date != null && last_check_date != ''">
704
- <p class="panel-title col-xs-4 text-left font">上次安检结果</p>
705
- <p class="panel-title col-xs-8 text-left input-font" :class="last_check_result=='正常'?'':'color-red'">{{last_check_result}}</p>
706
- <div v-for="data in last_check_data.data" class="panel-title col-xs-offset-4 col-xs-8 text-left input-font">
707
- <p v-for="(key,item) in data">
708
- {{key}}:{{item}}
709
- </p>
710
- </div>
711
- </div>
712
- </div>
713
- </div>
714
- </div>
715
- </div>
716
- </div>
717
- </div>
718
- </template>
719
-
720
- <script>
721
- import * as Util from "../Util";
722
- import Vue from "vue";
723
- import RadioGroup from "vue-client/src/vue-strap/src/radioGroup";
724
- import Radio from "vue-client/src/vue-strap/src/radioBtn";
725
-
726
-
727
- export default {
728
- title: "SafecheckUserInfo",
729
- props: ['userinfo'],
730
- data() {
731
- return this.$parent.$parent.data
732
- },
733
- ready() {
734
- for (let i in this.userinfo) {
735
- //tag + ':' + JSON.stringify(this.userinfo[i]))
736
- }
737
- this.safecheckStateReady()
738
- },
739
- methods: {
740
- upuserinfo (f_userinfo_id) {
741
- this.$dispatch('gotoson', {
742
- _this: this.$parent.$parent,
743
- title: '档案信息变更',
744
- safe: false
745
- })
746
- this.$parent.$parent.$goto('PhoneUpUserinfo', {f_userinfo_id: f_userinfo_id, f_source: '安检'})
747
- },
748
- searchHistory(f_userinfo_id) {
749
- this.$dispatch('gotoson', {
750
- _this: this.$parent.$parent,
751
- title: '购气记录',
752
- safe: true
753
- })
754
- this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
755
- },
756
- searchDevices(f_userinfo_id) {
757
- this.$dispatch('gotoson', {
758
- _this: this.$parent.$parent,
759
- title: '设备查看',
760
- safe: false
761
- })
762
- this.$parent.$parent.$goto('PhoneDevicesInfo', {f_userinfo_id: f_userinfo_id})
763
- },
764
- cameraCallBack(prop, fileName) {
765
- HostApp.__this__.$set(prop, fileName + '?' + Math.random())
766
- //tag
767
- HostApp.__callback__ = null
768
- HostApp.__this__ = null
769
- },
770
- takePic(prop, title) {
771
- HostApp.__callback__ = this.cameraCallBack
772
- HostApp.__this__ = this
773
- //tag
774
- let fileName
775
- if (!this[prop] || this[prop].includes("nopic.png")) {
776
- fileName = Util.guid() + '-' + prop + '.jpg'
777
- } else {
778
- fileName = Util.getFileName(this[prop])
779
- }
780
- HostApp._open_a_page({
781
- type: 'boomerang',
782
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
783
- param: {
784
- file: fileName,
785
- requestCode: 111,
786
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
787
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
788
- }
789
- })
790
- },
791
- delfile(prop, fileName) {
792
- if (fileName == Vue.nopic)
793
- return
794
- else {
795
- HostApp.delfile(fileName)
796
- this[prop] = Vue.nopic
797
- }
798
- },
799
- setEntryClass(val) {
800
- if (val == '到访不遇') {
801
- this.f_usegas = ''
802
- this.$set('f_entry_class', 'warning')
803
- } else if (val == '拒检') {
804
- this.f_usegas = ''
805
- this.$set('f_entry_class', 'danger')
806
- } else if (val == '入户') {
807
- this.$set('f_entry_class', 'success')
808
- }
809
- },
810
- setUsegas(val) {
811
- if (val == '未使用')
812
- this.$set('f_useclass', 'default')
813
- if (val == '已使用')
814
- this.$set('f_useclass', 'success')
815
- },
816
- start() {
817
- this.$parent.$parent.isStrat = true
818
- this.$set('action', !this.action)
819
- this.$set('f_onsite_time', Util.toStandardTimeString())
820
- },
821
- safecheckStateReady() {
822
- //tag
823
- //tag
824
- //tag
825
- if (!this.$parent.$parent.showBack) {
826
- this.$parent.$parent.showBack = true
827
- }
828
- this.$set('last_check_date', this.$parent.$parent.item.f_last_check_date)
829
- this.$set('newfile_date', this.$parent.$parent.item.f_newfile_date)
830
- if (this.$parent.$parent.item.f_last_check_result) {
831
- let checkResult = JSON.parse(this.$parent.$parent.item.f_last_check_result)
832
- this.$set('last_check_result', checkResult.result)
833
- this.$set('last_check_data.data', checkResult.data)
834
- } else {
835
- this.$set('last_check_result', '')
836
- this.$set('last_check_data.data', [])
837
- }
838
- //tag
839
- //tag
840
- if (this.$parent.$parent.role == 'inspect' && this.$parent.$parent.source == 'current') {
841
- this.start()
842
- }
843
- if (this.$parent.$parent.data.f_onsite_time) {
844
- //tag
845
- this.$parent.$parent.startClick = true
846
- }
847
- this.action = true
848
- //tag
849
- if (this.f_onsite_time) {
850
- this.$parent.$parent.isStrat = true
851
- this.$parent.$parent.data.f_onsite_time = this.f_onsite_time
852
- }
853
- if (this.$parent.$parent.role == 'repair') {
854
- this.$set('style__', 'divmask')
855
- this.$set('style_view_', '')
856
- } else if (this.$parent.$parent.role == 'view') {
857
- this.$set('style__', 'divmask')
858
- this.$set('style_view_', 'divmask')
859
- //tag
860
- } else {
861
- this.$set('style__', '')
862
- this.$set('style_view_', '')
863
- }
864
- if (!this.f_nongasuser_path)
865
- this.$set('f_nongasuser_path', '')
866
- if (!this.f_noanswer_path)
867
- this.$set('f_noanswer_path', '')
868
- if (!this.f_noanswertwo_path)
869
- this.$set('f_noanswertwo_path', '')
870
- if (!this.f_rejectcheck_path)
871
- this.$set('f_rejectcheck_path', '')
872
-
873
-
874
- this.$watch('f_usegas', (val) => {
875
- this.setUsegas(val)
876
- })
877
-
878
- this.setEntryClass(this.f_entry_status)
879
- this.$watch('f_entry_status', (val) => {
880
- this.setEntryClass(val)
881
-
882
- if (val == '到访不遇') {
883
- this.f_rejectcheck_path = Vue.nopic
884
- this.f_laser_check='是'
885
- }else{
886
- this.f_laser_check=null
887
- }
888
- if (val == '拒检') {
889
- this.f_noanswer_path = Vue.nopic
890
- this.f_noanswertwo_path = Vue.nopic
891
- }
892
- //tag
893
- if (val != '入户') {
894
- //清理安检概括
895
- this.f_no_gas_device = false
896
- this.f_unload_battery = false
897
- this.f_close_valve = false
898
- //清理全局隐患
899
- this.f_defect_cramped = false
900
- this.f_defect_bedroom = false
901
- this.f_defect_longpipe = false
902
- this.f_defect_firesource = false
903
- this.f_defect_explosive = false
904
- this.f_defect_viacabinet = false
905
- this.f_defect_intermittent = false
906
- this.f_defect_nearfire = false
907
- this.f_defect_openkitchen = false
908
- this.f_defect_hang = false
909
- this.f_cramped_path = Vue.nopic
910
- //用户评价
911
- this.f_client_evaluation = null
912
- //清设备
913
- this.$set('f_plumbs', [])
914
- this.$set('f_valves', [])
915
- this.$set('f_inner_plumbs', [])
916
- this.$set('f_alarms', [])
917
- this.$set('f_cookers', [])
918
- this.$set('f_heaters', [])
919
- this.$set('f_furnaces', [])
920
- }
921
- })
922
- }
923
- },
924
- components: {
925
- RadioGroup,
926
- Radio
927
- },
928
- computed: {
929
- // 使用类型
930
- f_usetypes() {
931
- return this.$appdata.getParam('使用类型')
932
- }
933
- },
934
- }
935
- </script>
936
-
937
- <style scoped>
938
-
939
- .font {
940
- font: 15px PingFang-SC-Medium;
941
- color: #666666;
942
- }
943
-
944
- .input-font {
945
- font: 15px PingFang-SC-Medium;
946
- color: #333333;
947
- }
948
-
949
- .app-text {
950
- font-size: 12px;
951
- }
952
-
953
- .panel-self {
954
- border-radius: 10px;
955
- border: 1px solid #499EDF;
956
- background-color: #F8F8F8;
957
- }
958
-
959
- .app-text {
960
- font-size: 12px;
961
- }
962
-
963
- .panel-self {
964
- border-radius: 5px;
965
- border: 1px solid #c5e1f7;
966
- background-color: #F2F6FA;
967
- }
968
-
969
- .font {
970
- font: 15px PingFang-SC-Medium;
971
- color: #333333;
972
- }
973
-
974
- .panel-self {
975
- border-radius: 5px;
976
- border: 1px solid #c5e1f7;
977
- background-color: #F2F6FA;
978
- }
979
-
980
- .text-left {
981
- text-align: left;
982
- }
983
-
984
- .font {
985
- font: 15px PingFang-SC-Medium;
986
- color: #333333;
987
- }
988
-
989
- .btn-photo {
990
- border: 0;
991
- border-radius: 7px;
992
- background-color: #7dc1f4;
993
- font: 15px PingFang-SC-Bold;
994
- height: 20%;
995
- }
996
-
997
- .div-photo {
998
- width: auto;
999
- height: auto;
1000
- /* margin-top: 10px; */
1001
- position: absolute;
1002
- bottom: 10px;
1003
- right: 10px;
1004
- }
1005
- </style>
1
+ <template>
2
+ <div class="auto app-text">
3
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
4
+ <div class="panel-body panel-self">
5
+ <div class="col-xs-12">
6
+ <p class="panel-title col-xs-4 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
7
+ <p class="panel-title col-xs-7 text-left input-font">
8
+ <label @click="searchHistory(userinfo.f_userinfoid)"
9
+ style="color: #00b3ee;text-decoration:none;">{{ userinfo.f_userinfo_code }}</label><label
10
+ style="color: #00b3ee;text-decoration:none;"
11
+ @click="upuserinfo(userinfo.f_userinfoid)">信息变更</label>
12
+ </p>
13
+ </div>
14
+ <div class="col-xs-12">
15
+ <p class="panel-title col-xs-4 text-left font"><b>用户名称:</b></p>
16
+ <p class="panel-title col-xs-8 text-left input-font">{{ userinfo.f_user_name }}</p>
17
+ </div>
18
+ <div class="col-xs-12">
19
+ <p class="panel-title col-xs-4 text-left font"><b>用户类型:</b></p>
20
+ <p class="panel-title col-xs-8 text-left input-font">{{ userinfo.f_check_type }}
21
+ </p>
22
+ </div>
23
+ <div class="col-xs-12" style="padding: 2px 0">
24
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
25
+ <input class="panel-title text-left input-font" style="width: 67%" value="{{userinfo.f_user_phone}}" v-model="userinfo.f_user_phone"/>
26
+ </div>
27
+ <div class="col-xs-12" style="padding: 2px 0">
28
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>备用电话:</b></p>
29
+ <input class="panel-title text-left input-font" style="width: 67%" value="{{userinfo.f_rent_phone}}" v-model="userinfo.f_rent_phone"/>
30
+ </div>
31
+ <div class="col-xs-12" style="padding: 2px 0">
32
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>租户姓名:</b></p>
33
+ <input class="panel-title text-left input-font" style="width: 67%" value="{{userinfo.f_used_name}}" v-model="userinfo.f_used_name"/>
34
+ </div>
35
+ <div class="col-xs-12" style="padding: 2px 0">
36
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>租户电话:</b></p>
37
+ <input class="panel-title text-left input-font" style="width: 67%" value="{{userinfo.f_user_phone2}}" v-model="userinfo.f_user_phone2"/>
38
+ </div>
39
+ <div class="col-xs-12">
40
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
41
+ <p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_address }}</p>
42
+ </div>
43
+ <div class="col-xs-12">
44
+ <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
45
+ <p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_state }}</p>
46
+ </div>
47
+ <div class="col-xs-12" style="padding: 2px 0">
48
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>使用类型:</b></p>
49
+ <v-select
50
+ :value.sync="f_usetype"
51
+ v-model="f_usetype"
52
+ width="67%"
53
+ placeholder='请选择'
54
+ :value-single="true"
55
+ :options="f_usetypes"
56
+ clear-button></v-select>
57
+ </div>
58
+ <div class="col-xs-12" style="margin-left: 20px">
59
+ <!-- <p class="panel-title col-xs-7 text-left input-font"><a @click="searchDevices(userinfo.f_userinfoid)"></a></p>-->
60
+ <a class="panel-title col-xs-8 text-left input-font" style="width: 79%;color: blue;text-decoration:underline" v-if="userinfo.f_safecheck_type=='送气类型'" @click="searchDevices(userinfo.f_userinfoid)">设备信息维护</a>
61
+ </div>
62
+ </div>
63
+ <div class="panel-body">
64
+ <div v-show="false" class="row repair-info-content auto">
65
+ <div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
66
+ <label class="control-label">
67
+ <nobr>到达时间:</nobr>
68
+ </label>
69
+ <span>{{f_onsite_time}}</span>
70
+ </div>
71
+ <div class="col-xs-12 col-sm-12 col-md-12 form-input-group" v-if="data.f_date_leave">
72
+ <label class="control-label">
73
+ <nobr>离开时间:</nobr>
74
+ </label>
75
+ <span>{{f_offsite_time}}</span>
76
+ </div>
77
+ </div>
78
+
79
+
80
+ <div class="form-group" :class="style__">
81
+ <span class="col-md-3 col-sm-4 col-xs-4 text-left"><img src="../../assets/housestyle.png" style="width: 20px;margin-bottom: 5px;text-align: left" alt="">入户状态:</span>
82
+ <div :class="style__" class="col-md-9 col-sm-8 col-xs-8 text-center">
83
+ <input type="radio" name="enterstatus" v-model="f_entry_status" id="new1" value="激光检漏">激光检漏
84
+ <input type="radio" name="enterstatus" v-model="f_entry_status" id="new2" value="立杠保压">立杠保压
85
+ <input type="radio" name="enterstatus" v-model="f_entry_status" id="new3" value="室外关阀">室外关阀
86
+ <input type="radio" name="enterstatus" v-model="f_entry_status" id="nopeople" value="到访不遇">到访不遇
87
+ <input type="radio" name="enterstatus" v-model="f_entry_status" id="rejectchecck" value="拒检">拒检
88
+ <input type="radio" name="enterstatus" v-model="f_entry_status" id="enterhouse" value="入户">入户
89
+ </div>
90
+ <!-- <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇' || f_entry_status=='拒检'">
91
+ <div class="auto">
92
+ <label class="font" style="margin-right: 18px">备注:</label>
93
+ <input type="text" v-model="userinfo.f_comments">
94
+ </div>
95
+ </div>-->
96
+ <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇'">
97
+ <div class="auto">
98
+ <label class="font" style="margin-right: 18px">是否激光检漏:</label>
99
+ <input type="radio" name="laser_check" v-model="f_laser_check" id="nopeople1" value="是">是
100
+ <input type="radio" name="laser_check" v-model="f_laser_check" id="rejectchecck1" value="否">否
101
+ </div>
102
+ </div>
103
+ <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇'">
104
+ <div class="col-xs-12" style="padding: 2px 0;margin-top: 10px;">
105
+ <label class="text-left font">不遇原因:</label>
106
+ <input class="panel-title text-left input-font" style="width: 67%" v-model="userinfo.f_remark"/>
107
+ </div>
108
+ <label class="text-left font">到访不遇照片:</label>
109
+ <div class="auto">
110
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
111
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
112
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
113
+ <div class="col-sm-4">
114
+ <img-self :src="f_noanswer_path" alt="到访不遇照片" width="150" height="200"></img-self>
115
+ </div>
116
+ </div>
117
+ <div class="row text-right div-photo" :class="style__">
118
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer_path', '到访不遇照片')">拍照</button>
119
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer_path', this.f_noanswer_path)"
120
+ style="width: 25%;"/>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ <div class="auto">
126
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
127
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
128
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
129
+ <div class="col-sm-4">
130
+ <img-self :src="f_noanswertwo_path" alt="到访不遇照片" width="150" height="200"></img-self>
131
+ </div>
132
+ </div>
133
+ <div class="row text-right div-photo" :class="style__">
134
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswertwo_path', '到访不遇照片')">拍照</button>
135
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswertwo_path', this.f_noanswertwo_path)"
136
+ style="width: 25%;"/>
137
+ </div>
138
+ </div>
139
+ </div>
140
+ </div>
141
+
142
+ <div class="auto">
143
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
144
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
145
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
146
+ <div class="col-sm-4">
147
+ <img-self :src="f_noanswer3_path" alt="到访不遇照片" width="150" height="200"></img-self>
148
+ </div>
149
+ </div>
150
+ <div class="row text-right div-photo" :class="style__">
151
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer3_path', '到访不遇照片')">拍照</button>
152
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer3_path', this.f_noanswer3_path)"
153
+ style="width: 25%;"/>
154
+ </div>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ <div class="auto">
159
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
160
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
161
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
162
+ <div class="col-sm-4">
163
+ <img-self :src="f_noanswer4_path" alt="到访不遇照片" width="150" height="200"></img-self>
164
+ </div>
165
+ </div>
166
+ <div class="row text-right div-photo" :class="style__">
167
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer4_path', '到访不遇照片')">拍照</button>
168
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer4_path', this.f_noanswer4_path)"
169
+ style="width: 25%;"/>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ <div class="auto">
175
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
176
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
177
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
178
+ <div class="col-sm-4">
179
+ <img-self :src="f_noanswer5_path" alt="到访不遇照片" width="150" height="200"></img-self>
180
+ </div>
181
+ </div>
182
+ <div class="row text-right div-photo" :class="style__">
183
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer5_path', '到访不遇照片')">拍照</button>
184
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer5_path', this.f_noanswer5_path)"
185
+ style="width: 25%;"/>
186
+ </div>
187
+ </div>
188
+ </div>
189
+ </div>
190
+ <div class="auto">
191
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
192
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
193
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
194
+ <div class="col-sm-4">
195
+ <img-self :src="f_noanswer6_path" alt="到访不遇照片" width="150" height="200"></img-self>
196
+ </div>
197
+ </div>
198
+ <div class="row text-right div-photo" :class="style__">
199
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer6_path', '到访不遇照片')">拍照</button>
200
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer6_path', this.f_noanswer6_path)"
201
+ style="width: 25%;"/>
202
+ </div>
203
+ </div>
204
+ </div>
205
+ </div>
206
+ <div class="auto">
207
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
208
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
209
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
210
+ <div class="col-sm-4">
211
+ <img-self :src="f_noanswer7_path" alt="到访不遇照片" width="150" height="200"></img-self>
212
+ </div>
213
+ </div>
214
+ <div class="row text-right div-photo" :class="style__">
215
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer7_path', '到访不遇照片')">拍照</button>
216
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer7_path', this.f_noanswer7_path)"
217
+ style="width: 25%;"/>
218
+ </div>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ <div class="auto">
223
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
224
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
225
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
226
+ <div class="col-sm-4">
227
+ <img-self :src="f_noanswer8_path" alt="到访不遇照片" width="150" height="200"></img-self>
228
+ </div>
229
+ </div>
230
+ <div class="row text-right div-photo" :class="style__">
231
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer8_path', '到访不遇照片')">拍照</button>
232
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_noanswer8_path', this.f_noanswer8_path)"
233
+ style="width: 25%;"/>
234
+ </div>
235
+ </div>
236
+ </div>
237
+ </div>
238
+
239
+ </div>
240
+ <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='激光检漏'">
241
+ <label class="text-left font">激光检漏照片:</label>
242
+ <div class="auto">
243
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
244
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
245
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
246
+ <div class="col-sm-4">
247
+ <img-self :src="f_detection_path" alt="激光检漏照片" width="150" height="200"></img-self>
248
+ </div>
249
+ </div>
250
+ <div class="row text-right div-photo" :class="style__">
251
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection_path', '激光检漏照片')">拍照</button>
252
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection_path', this.f_detection_path)"
253
+ style="width: 25%;"/>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </div>
258
+ <div class="auto">
259
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
260
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
261
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
262
+ <div class="col-sm-4">
263
+ <img-self :src="f_detection2_path" alt="激光检漏照片" width="150" height="200"></img-self>
264
+ </div>
265
+ </div>
266
+ <div class="row text-right div-photo" :class="style__">
267
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection2_path', '激光检漏照片')">拍照</button>
268
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection2_path', this.f_detection2_path)"
269
+ style="width: 25%;"/>
270
+ </div>
271
+ </div>
272
+ </div>
273
+ </div>
274
+
275
+ <div class="auto">
276
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
277
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
278
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
279
+ <div class="col-sm-4">
280
+ <img-self :src="f_detection3_path" alt="激光检漏照片" width="150" height="200"></img-self>
281
+ </div>
282
+ </div>
283
+ <div class="row text-right div-photo" :class="style__">
284
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection3_path', '激光检漏照片')">拍照</button>
285
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection3_path', this.f_detection3_path)"
286
+ style="width: 25%;"/>
287
+ </div>
288
+ </div>
289
+ </div>
290
+ </div>
291
+ <div class="auto">
292
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
293
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
294
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
295
+ <div class="col-sm-4">
296
+ <img-self :src="f_detection4_path" alt="激光检漏照片" width="150" height="200"></img-self>
297
+ </div>
298
+ </div>
299
+ <div class="row text-right div-photo" :class="style__">
300
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection4_path', '激光检漏照片')">拍照</button>
301
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection4_path', this.f_detection4_path)"
302
+ style="width: 25%;"/>
303
+ </div>
304
+ </div>
305
+ </div>
306
+ </div>
307
+ <div class="auto">
308
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
309
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
310
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
311
+ <div class="col-sm-4">
312
+ <img-self :src="f_detection5_path" alt="激光检漏照片" width="150" height="200"></img-self>
313
+ </div>
314
+ </div>
315
+ <div class="row text-right div-photo" :class="style__">
316
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection5_path', '激光检漏照片')">拍照</button>
317
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection5_path', this.f_detection5_path)"
318
+ style="width: 25%;"/>
319
+ </div>
320
+ </div>
321
+ </div>
322
+ </div>
323
+ <div class="auto">
324
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
325
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
326
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
327
+ <div class="col-sm-4">
328
+ <img-self :src="f_detection6_path" alt="激光检漏照片" width="150" height="200"></img-self>
329
+ </div>
330
+ </div>
331
+ <div class="row text-right div-photo" :class="style__">
332
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection6_path', '激光检漏照片')">拍照</button>
333
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection6_path', this.f_detection6_path)"
334
+ style="width: 25%;"/>
335
+ </div>
336
+ </div>
337
+ </div>
338
+ </div>
339
+ <div class="auto">
340
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
341
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
342
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
343
+ <div class="col-sm-4">
344
+ <img-self :src="f_detection7_path" alt="激光检漏照片" width="150" height="200"></img-self>
345
+ </div>
346
+ </div>
347
+ <div class="row text-right div-photo" :class="style__">
348
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection7_path', '激光检漏照片')">拍照</button>
349
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection7_path', this.f_detection7_path)"
350
+ style="width: 25%;"/>
351
+ </div>
352
+ </div>
353
+ </div>
354
+ </div>
355
+ <div class="auto">
356
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
357
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
358
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
359
+ <div class="col-sm-4">
360
+ <img-self :src="f_detection8_path" alt="激光检漏照片" width="150" height="200"></img-self>
361
+ </div>
362
+ </div>
363
+ <div class="row text-right div-photo" :class="style__">
364
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_detection8_path', '激光检漏照片')">拍照</button>
365
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_detection8_path', this.f_detection8_path)"
366
+ style="width: 25%;"/>
367
+ </div>
368
+ </div>
369
+ </div>
370
+ </div>
371
+
372
+ </div>
373
+ <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='立杠保压'">
374
+ <label class="text-left font">立杠保压照片:</label>
375
+ <div class="auto">
376
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
377
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
378
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
379
+ <div class="col-sm-4">
380
+ <img-self :src="f_pressure_path" alt="立杠保压照片" width="150" height="200"></img-self>
381
+ </div>
382
+ </div>
383
+ <div class="row text-right div-photo" :class="style__">
384
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure_path', '立杠保压照片')">拍照</button>
385
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure_path', this.f_pressure_path)"
386
+ style="width: 25%;"/>
387
+ </div>
388
+ </div>
389
+ </div>
390
+ </div>
391
+ <div class="auto">
392
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
393
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
394
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
395
+ <div class="col-sm-4">
396
+ <img-self :src="f_pressure2_path" alt="立杠保压照片" width="150" height="200"></img-self>
397
+ </div>
398
+ </div>
399
+ <div class="row text-right div-photo" :class="style__">
400
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure2_path', '立杠保压照片')">拍照</button>
401
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure2_path', this.f_pressure2_path)"
402
+ style="width: 25%;"/>
403
+ </div>
404
+ </div>
405
+ </div>
406
+ </div>
407
+
408
+ <div class="auto">
409
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
410
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
411
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
412
+ <div class="col-sm-4">
413
+ <img-self :src="f_pressure3_path" alt="立杠保压照片" width="150" height="200"></img-self>
414
+ </div>
415
+ </div>
416
+ <div class="row text-right div-photo" :class="style__">
417
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure3_path', '立杠保压照片')">拍照</button>
418
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure3_path', this.f_pressure3_path)"
419
+ style="width: 25%;"/>
420
+ </div>
421
+ </div>
422
+ </div>
423
+ </div>
424
+ <div class="auto">
425
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
426
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
427
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
428
+ <div class="col-sm-4">
429
+ <img-self :src="f_pressure4_path" alt="立杠保压照片" width="150" height="200"></img-self>
430
+ </div>
431
+ </div>
432
+ <div class="row text-right div-photo" :class="style__">
433
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure4_path', '立杠保压照片')">拍照</button>
434
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure4_path', this.f_pressure4_path)"
435
+ style="width: 25%;"/>
436
+ </div>
437
+ </div>
438
+ </div>
439
+ </div>
440
+ <div class="auto">
441
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
442
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
443
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
444
+ <div class="col-sm-4">
445
+ <img-self :src="f_pressure5_path" alt="立杠保压照片" width="150" height="200"></img-self>
446
+ </div>
447
+ </div>
448
+ <div class="row text-right div-photo" :class="style__">
449
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure5_path', '立杠保压照片')">拍照</button>
450
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure5_path', this.f_pressure5_path)"
451
+ style="width: 25%;"/>
452
+ </div>
453
+ </div>
454
+ </div>
455
+ </div>
456
+ <div class="auto">
457
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
458
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
459
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
460
+ <div class="col-sm-4">
461
+ <img-self :src="f_pressure6_path" alt="立杠保压照片" width="150" height="200"></img-self>
462
+ </div>
463
+ </div>
464
+ <div class="row text-right div-photo" :class="style__">
465
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure6_path', '立杠保压照片')">拍照</button>
466
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure6_path', this.f_pressure6_path)"
467
+ style="width: 25%;"/>
468
+ </div>
469
+ </div>
470
+ </div>
471
+ </div>
472
+ <div class="auto">
473
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
474
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
475
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
476
+ <div class="col-sm-4">
477
+ <img-self :src="f_pressure7_path" alt="立杠保压照片" width="150" height="200"></img-self>
478
+ </div>
479
+ </div>
480
+ <div class="row text-right div-photo" :class="style__">
481
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure7_path', '立杠保压照片')">拍照</button>
482
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure7_path', this.f_pressure7_path)"
483
+ style="width: 25%;"/>
484
+ </div>
485
+ </div>
486
+ </div>
487
+ </div>
488
+ <div class="auto">
489
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
490
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
491
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
492
+ <div class="col-sm-4">
493
+ <img-self :src="f_pressure8_path" alt="立杠保压照片" width="150" height="200"></img-self>
494
+ </div>
495
+ </div>
496
+ <div class="row text-right div-photo" :class="style__">
497
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_pressure8_path', '立杠保压照片')">拍照</button>
498
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_pressure8_path', this.f_pressure8_path)"
499
+ style="width: 25%;"/>
500
+ </div>
501
+ </div>
502
+ </div>
503
+ </div>
504
+
505
+ </div>
506
+ <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='室外关阀'">
507
+ <label class="text-left font">室外关阀照片:</label>
508
+ <div class="auto">
509
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
510
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
511
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
512
+ <div class="col-sm-4">
513
+ <img-self :src="f_outdoor_path" alt="室外关阀照片" width="150" height="200"></img-self>
514
+ </div>
515
+ </div>
516
+ <div class="row text-right div-photo" :class="style__">
517
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor_path', '室外关阀照片')">拍照</button>
518
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor_path', this.f_outdoor_path)"
519
+ style="width: 25%;"/>
520
+ </div>
521
+ </div>
522
+ </div>
523
+ </div>
524
+ <div class="auto">
525
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
526
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
527
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
528
+ <div class="col-sm-4">
529
+ <img-self :src="f_outdoor2_path" alt="室外关阀照片" width="150" height="200"></img-self>
530
+ </div>
531
+ </div>
532
+ <div class="row text-right div-photo" :class="style__">
533
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor2_path', '室外关阀照片')">拍照</button>
534
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor2_path', this.f_outdoor2_path)"
535
+ style="width: 25%;"/>
536
+ </div>
537
+ </div>
538
+ </div>
539
+ </div>
540
+
541
+ <div class="auto">
542
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
543
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
544
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
545
+ <div class="col-sm-4">
546
+ <img-self :src="f_outdoor3_path" alt="室外关阀照片" width="150" height="200"></img-self>
547
+ </div>
548
+ </div>
549
+ <div class="row text-right div-photo" :class="style__">
550
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor3_path', '室外关阀照片')">拍照</button>
551
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor3_path', this.f_outdoor3_path)"
552
+ style="width: 25%;"/>
553
+ </div>
554
+ </div>
555
+ </div>
556
+ </div>
557
+ <div class="auto">
558
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
559
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
560
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
561
+ <div class="col-sm-4">
562
+ <img-self :src="f_outdoor4_path" alt="室外关阀照片" width="150" height="200"></img-self>
563
+ </div>
564
+ </div>
565
+ <div class="row text-right div-photo" :class="style__">
566
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor4_path', '室外关阀照片')">拍照</button>
567
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor4_path', this.f_outdoor4_path)"
568
+ style="width: 25%;"/>
569
+ </div>
570
+ </div>
571
+ </div>
572
+ </div>
573
+ <div class="auto">
574
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
575
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
576
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
577
+ <div class="col-sm-4">
578
+ <img-self :src="f_outdoor5_path" alt="室外关阀照片" width="150" height="200"></img-self>
579
+ </div>
580
+ </div>
581
+ <div class="row text-right div-photo" :class="style__">
582
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor5_path', '室外关阀照片')">拍照</button>
583
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor5_path', this.f_outdoor5_path)"
584
+ style="width: 25%;"/>
585
+ </div>
586
+ </div>
587
+ </div>
588
+ </div>
589
+ <div class="auto">
590
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
591
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
592
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
593
+ <div class="col-sm-4">
594
+ <img-self :src="f_outdoor6_path" alt="室外关阀照片" width="150" height="200"></img-self>
595
+ </div>
596
+ </div>
597
+ <div class="row text-right div-photo" :class="style__">
598
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor6_path', '室外关阀照片')">拍照</button>
599
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor6_path', this.f_outdoor6_path)"
600
+ style="width: 25%;"/>
601
+ </div>
602
+ </div>
603
+ </div>
604
+ </div>
605
+ <div class="auto">
606
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
607
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
608
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
609
+ <div class="col-sm-4">
610
+ <img-self :src="f_outdoor7_path" alt="室外关阀照片" width="150" height="200"></img-self>
611
+ </div>
612
+ </div>
613
+ <div class="row text-right div-photo" :class="style__">
614
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor7_path', '室外关阀照片')">拍照</button>
615
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor7_path', this.f_outdoor7_path)"
616
+ style="width: 25%;"/>
617
+ </div>
618
+ </div>
619
+ </div>
620
+ </div>
621
+ <div class="auto">
622
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
623
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
624
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
625
+ <div class="col-sm-4">
626
+ <img-self :src="f_outdoor8_path" alt="室外关阀照片" width="150" height="200"></img-self>
627
+ </div>
628
+ </div>
629
+ <div class="row text-right div-photo" :class="style__">
630
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_outdoor8_path', '室外关阀照片')">拍照</button>
631
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_outdoor8_path', this.f_outdoor8_path)"
632
+ style="width: 25%;"/>
633
+ </div>
634
+ </div>
635
+ </div>
636
+ </div>
637
+
638
+ </div>
639
+
640
+
641
+ <div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='拒检'">
642
+ <div class="col-xs-12" style="padding: 2px 0;margin-top: 5px;">
643
+ <label class="text-left font">拒检原因:</label>
644
+ <input class="panel-title text-left input-font" style="width: 67%" v-model="userinfo.f_remark"/>
645
+ </div>
646
+ <label class="text-left font">拒检照片:</label>
647
+ <div class="auto">
648
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
649
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
650
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
651
+ <div class="col-sm-4">
652
+ <img-self :src="f_rejectcheck_path" alt="拒检照片" width="150" height="200"></img-self>
653
+ </div>
654
+ </div>
655
+ <div class="row text-right div-photo">
656
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_rejectcheck_path', '拒检照片')">拍照</button>
657
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_rejectcheck_path', this.f_rejectcheck_path)" style="width: 25%;"></img>
658
+ </div>
659
+ </div>
660
+ </div>
661
+ </div>
662
+ <div class="auto">
663
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
664
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
665
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
666
+ <div class="col-sm-4">
667
+ <img-self :src="f_rejectcheck2_path" alt="拒检照片" width="150" height="200"></img-self>
668
+ </div>
669
+ </div>
670
+ <div class="row text-right div-photo">
671
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_rejectcheck2_path', '拒检照片')">拍照</button>
672
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_rejectcheck2_path', this.f_rejectcheck2_path)" style="width: 25%;"></img>
673
+ </div>
674
+ </div>
675
+ </div>
676
+ </div>
677
+ </div>
678
+ </div>
679
+ <div :class="style__" class="form-group" v-show="f_usegas == '未使用'">
680
+ <sapn class="text-left col-md-12 col-sm-12 col-xs-12">处置方式:</sapn>
681
+ <div class="col-xs-12 col-sm-12 col-md-12">
682
+ <input type="checkbox" v-model="f_no_gas_device">无燃气具
683
+ <input type="checkbox" v-model="f_close_valve">关闭表前阀
684
+ <input type="checkbox" v-model="f_unload_battery">取下表内电池
685
+ </div>
686
+ </div>
687
+ <div class="auto app-text" style="margin-top: 5px;" v-if="this.$parent.$parent.role != 'view'">
688
+ <div class="panel" style="padding: 60px 7px 10px 0px;">
689
+ <div class="panel-body panel-self">
690
+ <div v-show="false" class="row">
691
+ <p class="panel-title col-xs-4 text-left font">建档时间</p>
692
+ <p class="panel-title col-xs-8 text-left input-font">{{ newfile_date }}</p>
693
+ </div>
694
+ <div class="row" v-if="last_check_date != null && last_check_date != ''">
695
+ <p class="panel-title col-xs-4 text-left font">上次安检时间</p>
696
+ <p class="panel-title col-xs-8 text-left input-font">{{ last_check_date }}</p>
697
+ </div>
698
+ <div class="row">
699
+ <p class="panel-title col-xs-4 text-left font">上次安检状态</p>
700
+ <p class="panel-title col-xs-8 text-left input-font" v-if="last_check_date != null && last_check_date != ''">安检完成</p>
701
+ <p class="panel-title col-xs-8 text-left input-font" v-if="last_check_date == null || last_check_date == ''">未安检</p>
702
+ </div>
703
+ <div class="row" v-if="last_check_date != null && last_check_date != ''">
704
+ <p class="panel-title col-xs-4 text-left font">上次安检结果</p>
705
+ <p class="panel-title col-xs-8 text-left input-font" :class="last_check_result=='正常'?'':'color-red'">{{last_check_result}}</p>
706
+ <div v-for="data in last_check_data.data" class="panel-title col-xs-offset-4 col-xs-8 text-left input-font">
707
+ <p v-for="(key,item) in data">
708
+ {{key}}:{{item}}
709
+ </p>
710
+ </div>
711
+ </div>
712
+ </div>
713
+ </div>
714
+ </div>
715
+ </div>
716
+ </div>
717
+ </div>
718
+ </template>
719
+
720
+ <script>
721
+ import * as Util from "../Util";
722
+ import Vue from "vue";
723
+ import RadioGroup from "vue-client/src/vue-strap/src/radioGroup";
724
+ import Radio from "vue-client/src/vue-strap/src/radioBtn";
725
+
726
+
727
+ export default {
728
+ title: "SafecheckUserInfo",
729
+ props: ['userinfo'],
730
+ data() {
731
+ return this.$parent.$parent.data
732
+ },
733
+ ready() {
734
+ for (let i in this.userinfo) {
735
+ //tag + ':' + JSON.stringify(this.userinfo[i]))
736
+ }
737
+ this.safecheckStateReady()
738
+ },
739
+ methods: {
740
+ upuserinfo (f_userinfo_id) {
741
+ this.$dispatch('gotoson', {
742
+ _this: this.$parent.$parent,
743
+ title: '档案信息变更',
744
+ safe: false
745
+ })
746
+ this.$parent.$parent.$goto('PhoneUpUserinfo', {f_userinfo_id: f_userinfo_id, f_source: '安检'})
747
+ },
748
+ searchHistory(f_userinfo_id) {
749
+ this.$dispatch('gotoson', {
750
+ _this: this.$parent.$parent,
751
+ title: '购气记录',
752
+ safe: true
753
+ })
754
+ this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
755
+ },
756
+ searchDevices(f_userinfo_id) {
757
+ this.$dispatch('gotoson', {
758
+ _this: this.$parent.$parent,
759
+ title: '设备查看',
760
+ safe: false
761
+ })
762
+ this.$parent.$parent.$goto('PhoneDevicesInfo', {f_userinfo_id: f_userinfo_id})
763
+ },
764
+ cameraCallBack(prop, fileName) {
765
+ HostApp.__this__.$set(prop, fileName + '?' + Math.random())
766
+ //tag
767
+ HostApp.__callback__ = null
768
+ HostApp.__this__ = null
769
+ },
770
+ takePic(prop, title) {
771
+ HostApp.__callback__ = this.cameraCallBack
772
+ HostApp.__this__ = this
773
+ //tag
774
+ let fileName
775
+ if (!this[prop] || this[prop].includes("nopic.png")) {
776
+ fileName = Util.guid() + '-' + prop + '.jpg'
777
+ } else {
778
+ fileName = Util.getFileName(this[prop])
779
+ }
780
+ HostApp._open_a_page({
781
+ type: 'boomerang',
782
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
783
+ param: {
784
+ file: fileName,
785
+ requestCode: 111,
786
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
787
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
788
+ }
789
+ })
790
+ },
791
+ delfile(prop, fileName) {
792
+ if (fileName == Vue.nopic)
793
+ return
794
+ else {
795
+ HostApp.delfile(fileName)
796
+ this[prop] = Vue.nopic
797
+ }
798
+ },
799
+ setEntryClass(val) {
800
+ if (val == '到访不遇') {
801
+ this.f_usegas = ''
802
+ this.$set('f_entry_class', 'warning')
803
+ } else if (val == '拒检') {
804
+ this.f_usegas = ''
805
+ this.$set('f_entry_class', 'danger')
806
+ } else if (val == '入户') {
807
+ this.$set('f_entry_class', 'success')
808
+ }
809
+ },
810
+ setUsegas(val) {
811
+ if (val == '未使用')
812
+ this.$set('f_useclass', 'default')
813
+ if (val == '已使用')
814
+ this.$set('f_useclass', 'success')
815
+ },
816
+ start() {
817
+ this.$parent.$parent.isStrat = true
818
+ this.$set('action', !this.action)
819
+ this.$set('f_onsite_time', Util.toStandardTimeString())
820
+ },
821
+ safecheckStateReady() {
822
+ //tag
823
+ //tag
824
+ //tag
825
+ if (!this.$parent.$parent.showBack) {
826
+ this.$parent.$parent.showBack = true
827
+ }
828
+ this.$set('last_check_date', this.$parent.$parent.item.f_last_check_date)
829
+ this.$set('newfile_date', this.$parent.$parent.item.f_newfile_date)
830
+ if (this.$parent.$parent.item.f_last_check_result) {
831
+ let checkResult = JSON.parse(this.$parent.$parent.item.f_last_check_result)
832
+ this.$set('last_check_result', checkResult.result)
833
+ this.$set('last_check_data.data', checkResult.data)
834
+ } else {
835
+ this.$set('last_check_result', '')
836
+ this.$set('last_check_data.data', [])
837
+ }
838
+ //tag
839
+ //tag
840
+ if (this.$parent.$parent.role == 'inspect' && this.$parent.$parent.source == 'current') {
841
+ this.start()
842
+ }
843
+ if (this.$parent.$parent.data.f_onsite_time) {
844
+ //tag
845
+ this.$parent.$parent.startClick = true
846
+ }
847
+ this.action = true
848
+ //tag
849
+ if (this.f_onsite_time) {
850
+ this.$parent.$parent.isStrat = true
851
+ this.$parent.$parent.data.f_onsite_time = this.f_onsite_time
852
+ }
853
+ if (this.$parent.$parent.role == 'repair') {
854
+ this.$set('style__', 'divmask')
855
+ this.$set('style_view_', '')
856
+ } else if (this.$parent.$parent.role == 'view') {
857
+ this.$set('style__', 'divmask')
858
+ this.$set('style_view_', 'divmask')
859
+ //tag
860
+ } else {
861
+ this.$set('style__', '')
862
+ this.$set('style_view_', '')
863
+ }
864
+ if (!this.f_nongasuser_path)
865
+ this.$set('f_nongasuser_path', '')
866
+ if (!this.f_noanswer_path)
867
+ this.$set('f_noanswer_path', '')
868
+ if (!this.f_noanswertwo_path)
869
+ this.$set('f_noanswertwo_path', '')
870
+ if (!this.f_rejectcheck_path)
871
+ this.$set('f_rejectcheck_path', '')
872
+
873
+
874
+ this.$watch('f_usegas', (val) => {
875
+ this.setUsegas(val)
876
+ })
877
+
878
+ this.setEntryClass(this.f_entry_status)
879
+ this.$watch('f_entry_status', (val) => {
880
+ this.setEntryClass(val)
881
+
882
+ if (val == '到访不遇') {
883
+ this.f_rejectcheck_path = Vue.nopic
884
+ this.f_laser_check='是'
885
+ }else{
886
+ this.f_laser_check=null
887
+ }
888
+ if (val == '拒检') {
889
+ this.f_noanswer_path = Vue.nopic
890
+ this.f_noanswertwo_path = Vue.nopic
891
+ }
892
+ //tag
893
+ if (val != '入户') {
894
+ //清理安检概括
895
+ this.f_no_gas_device = false
896
+ this.f_unload_battery = false
897
+ this.f_close_valve = false
898
+ //清理全局隐患
899
+ this.f_defect_cramped = false
900
+ this.f_defect_bedroom = false
901
+ this.f_defect_longpipe = false
902
+ this.f_defect_firesource = false
903
+ this.f_defect_explosive = false
904
+ this.f_defect_viacabinet = false
905
+ this.f_defect_intermittent = false
906
+ this.f_defect_nearfire = false
907
+ this.f_defect_openkitchen = false
908
+ this.f_defect_hang = false
909
+ this.f_cramped_path = Vue.nopic
910
+ //用户评价
911
+ this.f_client_evaluation = null
912
+ //清设备
913
+ this.$set('f_plumbs', [])
914
+ this.$set('f_valves', [])
915
+ this.$set('f_inner_plumbs', [])
916
+ this.$set('f_alarms', [])
917
+ this.$set('f_cookers', [])
918
+ this.$set('f_heaters', [])
919
+ this.$set('f_furnaces', [])
920
+ }
921
+ })
922
+ }
923
+ },
924
+ components: {
925
+ RadioGroup,
926
+ Radio
927
+ },
928
+ computed: {
929
+ // 使用类型
930
+ f_usetypes() {
931
+ return this.$appdata.getParam('使用类型')
932
+ }
933
+ },
934
+ }
935
+ </script>
936
+
937
+ <style scoped>
938
+
939
+ .font {
940
+ font: 15px PingFang-SC-Medium;
941
+ color: #666666;
942
+ }
943
+
944
+ .input-font {
945
+ font: 15px PingFang-SC-Medium;
946
+ color: #333333;
947
+ }
948
+
949
+ .app-text {
950
+ font-size: 12px;
951
+ }
952
+
953
+ .panel-self {
954
+ border-radius: 10px;
955
+ border: 1px solid #499EDF;
956
+ background-color: #F8F8F8;
957
+ }
958
+
959
+ .app-text {
960
+ font-size: 12px;
961
+ }
962
+
963
+ .panel-self {
964
+ border-radius: 5px;
965
+ border: 1px solid #c5e1f7;
966
+ background-color: #F2F6FA;
967
+ }
968
+
969
+ .font {
970
+ font: 15px PingFang-SC-Medium;
971
+ color: #333333;
972
+ }
973
+
974
+ .panel-self {
975
+ border-radius: 5px;
976
+ border: 1px solid #c5e1f7;
977
+ background-color: #F2F6FA;
978
+ }
979
+
980
+ .text-left {
981
+ text-align: left;
982
+ }
983
+
984
+ .font {
985
+ font: 15px PingFang-SC-Medium;
986
+ color: #333333;
987
+ }
988
+
989
+ .btn-photo {
990
+ border: 0;
991
+ border-radius: 7px;
992
+ background-color: #7dc1f4;
993
+ font: 15px PingFang-SC-Bold;
994
+ height: 20%;
995
+ }
996
+
997
+ .div-photo {
998
+ width: auto;
999
+ height: auto;
1000
+ /* margin-top: 10px; */
1001
+ position: absolute;
1002
+ bottom: 10px;
1003
+ right: 10px;
1004
+ }
1005
+ </style>