safecheck-client 4.0.2-71 → 4.0.2-73

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,569 +1,569 @@
1
- <style scoped>
2
- .bg {
3
- background-color: blue;
4
- height: 1px;
5
- border: 0;
6
- }
7
-
8
- .app-row {
9
- background-color: white;
10
- padding: 10px 10px 0 10px;
11
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
12
- }
13
-
14
- .search_input {
15
- border: 0;
16
- outline: none;
17
- }
18
-
19
- .font {
20
- font: 15px PingFang-SC-Medium;
21
- color: #666666;
22
- }
23
-
24
- .input-font {
25
- font: 15px PingFang-SC-Medium;
26
- color: #333333;
27
- }
28
-
29
- .btn-font {
30
- font: 600 16px PingFang-SC-Bold;
31
- color: #499EDF;
32
- }
33
-
34
- .btn-color {
35
- background-color: #FFFFFF;
36
- border-radius: 10px;
37
- border: 1px solid #499EDF;
38
- }
39
-
40
- .app-text {
41
- font-size: 12px;
42
- }
43
-
44
- .panel-self {
45
- border-radius: 10px;
46
- border: 1px solid #499EDF;
47
- background-color: #F8F8F8;
48
- }
49
-
50
- .yybtn-color {
51
- background-color: #499edf;
52
- border-radius: 4px;
53
- border: 1px solid #499EDF;
54
- color: #FFFFFF;
55
- font: 14px PingFang-SC-Bold;
56
- }
57
-
58
- .qxbtn-color {
59
- background-color: #FFFFFF;
60
- border-radius: 4px;
61
- color: #499edf;
62
- font: 14px PingFang-SC-Bold;
63
- border: 1px solid #499EDF;
64
- }
65
-
66
- .button_shrink_top {
67
- width: 35px;
68
- height: 35px;
69
- background-size: 100%;
70
- background-image: url("../../../../static/newStyle/stretch_top.png")
71
- }
72
-
73
- .button_shrink_bottom {
74
- width: 35px;
75
- height: 35px;
76
- background-size: 100%;
77
- background-image: url("../../../../static/newStyle/stretch_bottom.png")
78
- }
79
-
80
- .button_shrink_left {
81
- width: 35px;
82
- height: 35px;
83
- background-size: 100%;
84
- background-image: url("../../../../static/newStyle/stretch_left.png")
85
- }
86
-
87
- .button_shrink_right {
88
- width: 35px;
89
- height: 35px;
90
- background-size: 100%;
91
- background-image: url("../../../../static/newStyle/stretch_right.png")
92
- }
93
- </style>
94
- <template>
95
- <div style="height: auto;width: 100%">
96
- <criteria-paged :model="model" v-ref:paged>
97
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
98
- <div partial>
99
- <form>
100
- <div class="row app-row">
101
- <div class="col-xs-4">
102
- <img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
103
- <label class="font text-left">用户姓名:</label>
104
- </div>
105
- <div class="col-xs-8">
106
- <input class="search_input input-font" v-model=model.f_user_name
107
- condition="tcp.f_user_name like '%{}%'"/>
108
- </div>
109
- </div>
110
- <div class="row app-row">
111
- <div class="col-xs-4">
112
- <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
113
- <label for="f_userinfo_code" class="font text-left">用户编号:</label>
114
- </div>
115
- <div class="col-xs-8">
116
- <input id="f_userinfo_code" class="search_input input-font"
117
- v-model=model.f_userinfo_code condition="tcp.f_userinfo_code like '%{}%'"/>
118
- </div>
119
- </div>
120
- <div class="row app-row">
121
- <div class="col-xs-4">
122
- <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
123
- <label for="f_userinfo_code" class="font text-left">安检人员:</label>
124
- </div>
125
- <div class="col-xs-8">
126
- <input id="f_userinfo_code" class="search_input input-font"
127
- v-model=model.f_checker_name condition="tcp.f_checker_name like '%{}%'"/>
128
- </div>
129
- </div>
130
- <div class="row app-row">
131
- <div class="col-xs-4">
132
- <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
133
- <label class="font text-left">用户地址:</label>
134
- </div>
135
- <div class="col-xs-8">
136
- <input class="search_input input-font"
137
- v-model=model.f_address condition="tcp.f_address like '%{}%'"/>
138
- </div>
139
- </div>
140
- <div class="row app-row">
141
- <div class="col-xs-4">
142
- <img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
143
- <label for="f_state" class="font text-left">起始时间:</label>
144
- </div>
145
- <datepicker id="f_start_date"
146
- placeholder='起始时间'
147
- :value.sync="model.f_start_date"
148
- :disabled-days-of-Week="[]"
149
- v-model="model.f_start_date"
150
- class="input-font col-xs-8"
151
- :format="'yyyy-MM-dd 00:00:00'"
152
- :show-reset-button="reset" readonly="readonly">
153
- </datepicker>
154
- </div>
155
- <div class="row app-row">
156
- <div class="col-xs-4">
157
- <img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
158
- <label for="f_state" class="font text-left">结束时间:</label>
159
- </div>
160
- <datepicker id="f_end_date"
161
- placeholder='结束时间'
162
- :value.sync="model.f_end_date"
163
- :disabled-days-of-Week="[]"
164
- v-model="model.f_end_date"
165
- class="input-font col-xs-8"
166
- :format="'yyyy-MM-dd 23:59:00'"
167
- :show-reset-button="reset" readonly="readonly">
168
- </datepicker>
169
- </div>
170
- <div class="row app-row">
171
- <div class="col-xs-4">
172
- <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
173
- <label for="f_user_type" class="font text-left">用户类型:</label>
174
- </div>
175
- <v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
176
- :width="'60%'"
177
- :options='$parent.$parent.user_types' placeholder='请选择用户类型'
178
- v-model="model.f_user_type" condition="f_user_type = '{}'" close-on-select
179
- clear-button></v-select>
180
- </div>
181
- <div class="row app-row">
182
- <div class="col-xs-4">
183
- <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
184
- <label for="f_user_type" class="font text-left">隐患名称:</label>
185
- </div>
186
- <v-select id="f_user_type" :value.sync="model.f_item_name" class="input-font"
187
- :width="'60%'"
188
- :align="'right'"
189
- :options='$parent.$parent.DefectConfigs' placeholder='请选择隐患名称'
190
- v-model="model.f_item_name" condition="f_item_name = '{}'" close-on-select
191
- clear-button></v-select>
192
- </div>
193
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
194
- <div class="col-xs-4">
195
- <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
196
- <label for="f_user_type" class="font text-left">处理状态:</label>
197
- </div>
198
- <v-select id="f_user_type"
199
- :value.sync="model.f_repaired_state" class="input-font"
200
- :width="'60%'"
201
- :align="'right'"
202
- :options='$parent.$parent.repairedState' placeholder='请选择处理状态'
203
- v-model="model.f_repaired_state"
204
- condition="f_repaired_state = '{}'" close-on-select
205
- clear-button></v-select>
206
- </div>
207
- <div class="row text-center" style="margin-top: 20px;">
208
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;"
209
- @click="$parent.$parent.selfSearch">查询
210
- </button>
211
- <div style="float: right;margin-right: 3% " class="button_spacing"
212
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
213
- @click="$parent.$parent.hidden()"></div>
214
- </div>
215
- <div style="height:30px;"></div>
216
- </form>
217
- </div>
218
- </criteria>
219
- <list :model="model" partial='list'>
220
- <div partial>
221
- <div class="auto app-text" style="margin-top: 5px;">
222
- <div class="panel" style="padding: 10px 10px 5px 10px;">
223
- <div class="panel-body panel-self">
224
- <div class="col-xs-12">
225
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
226
- <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
227
- </div>
228
- <div class="col-xs-12">
229
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
230
- <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
231
- </div>
232
- <div class="col-xs-12">
233
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
234
- <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}</p>
235
- </div>
236
- <div class="col-xs-12">
237
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>安检时间:</b></p>
238
- <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_create_time }}</p>
239
- </div>
240
- <div class="col-xs-12">
241
- <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
242
- <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
243
- </div>
244
- <div class="col-xs-12">
245
- <p class="panel-title text-left font" style="width: 21%;float: left"><b>所属安检:</b></p>
246
- <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_checker_name }}</p>
247
- </div>
248
- <div class="col-xs-6">
249
- <p class="panel-title col-xs-5 text-left font"><b>检&ensp;查&ensp;项:</b></p>
250
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_device_type }}</p>
251
- </div>
252
- <div class="col-xs-6">
253
- <p class="panel-title col-xs-5 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
254
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_name }}</p>
255
- </div>
256
- <div class="col-xs-12">
257
- <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
258
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_comments }}</p>
259
- </div>
260
- <div class="col-xs-12">
261
- <p class="panel-title col-xs-5 text-left font"><b>隐患原因:</b></p>
262
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_value }}</p>
263
- </div>
264
-
265
- <div class="col-xs-12">
266
- <button type="button" name="button" class="btn btn-primary"
267
- style="background-color:#499edf;float: right"
268
- @click="$parent.$parent.$parent.openshowModal1(row)">上传隐患通知单
269
- </button>
270
- </div>
271
- </div>
272
- </div>
273
- </div>
274
- </div>
275
- </list>
276
- </criteria-paged>
277
- </div>
278
- <modal :show.sync="showModal1">
279
- <div slot="modal-header" class="modal-header">
280
- <h4 class="modal-title">
281
- 隐患通知单
282
- </h4>
283
- </div>
284
- <div slot="modal-body" class="modal-body">
285
- <div class="form-group col-sm-12">
286
- <div class="auto">
287
- <div class="panel" style="padding: 10px 10px 5px 10px;">
288
- <div class="panel-body panel-self"
289
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
290
- <img-self :src="deal.f_notified_path" alt="隐患通知单" :width="140" :height="170" capture="camera"
291
- type="file"></img-self>
292
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
293
- <img src="../../../assets/remove.png" @click="delfile('f_notified_path', deal.f_notified_path)"></img>
294
- <button type="button" name="button" class="btn btn-primary btn-photo"
295
- @click="takePic('f_notified_path','整改照片')">拍照
296
- </button>
297
- </div>
298
- </div>
299
- <div class="panel-body panel-self"
300
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
301
- <img-self :src="deal.f_notified_path1" alt="隐患通知单" :width="140" :height="170" capture="camera"
302
- type="file"></img-self>
303
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
304
- <img src="../../../assets/remove.png" @click="delfile('f_notified_path1', deal.f_notified_path1)"></img>
305
- <button type="button" name="button" class="btn btn-primary btn-photo"
306
- @click="takePic('f_notified_path1','整改照片')">拍照
307
- </button>
308
- </div>
309
- </div>
310
- <div class="panel-body panel-self"
311
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
312
- <img-self :src="deal.f_notified_path2" alt="隐患通知单" :width="140" :height="170" capture="camera"
313
- type="file"></img-self>
314
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
315
- <img src="../../../assets/remove.png" @click="delfile('f_notified_path2', deal.f_notified_path2)"></img>
316
- <button type="button" name="button" class="btn btn-primary btn-photo"
317
- @click="takePic('f_notified_path2','整改照片')">拍照
318
- </button>
319
- </div>
320
- </div>
321
- <div class="panel-body panel-self"
322
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
323
- <img-self :src="deal.f_notified_path3" alt="隐患通知单" :width="140" :height="170" capture="camera"
324
- type="file"></img-self>
325
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
326
- <img src="../../../assets/remove.png" @click="delfile('f_notified_path3', deal.f_notified_path3)"></img>
327
- <button type="button" name="button" class="btn btn-primary btn-photo"
328
- @click="takePic('f_notified_path3','整改照片')">拍照
329
- </button>
330
- </div>
331
- </div>
332
- <div class="panel-body panel-self"
333
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
334
- <img-self :src="deal.f_notified_path4" alt="隐患通知单" :width="140" :height="170" capture="camera"
335
- type="file"></img-self>
336
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
337
- <img src="../../../assets/remove.png" @click="delfile('f_notified_path4', deal.f_notified_path4)"></img>
338
- <button type="button" name="button" class="btn btn-primary btn-photo"
339
- @click="takePic('f_notified_path4','整改照片')">拍照
340
- </button>
341
- </div>
342
- </div>
343
- </div>
344
- </div>
345
- </div>
346
- </div>
347
- <div slot="modal-footer" class="modal-footer">
348
- <button type="button" class="btn btn-default" @click="commitDealDefect">确认</button>
349
- <button type="button" class="btn btn-default" @click="closeshowModal1">取消</button>
350
- </div>
351
- </modal>
352
- </template>
353
-
354
- <script>
355
- import Vue from 'vue'
356
- import {HttpResetClass, PagedList} from 'vue-client'
357
- import * as Util from '../../../components/Util'
358
-
359
- export default {
360
- components: {
361
- },
362
- title: '无计划安检查询',
363
- data() {
364
- return {
365
- row:{},
366
- showModal: false,
367
- showModal1: false,
368
- showimg: '',
369
- DefectConfigs:[],
370
- deal: {
371
- result:{
372
- f_userinfo_code: '',
373
- },
374
- paperid: '',
375
- deviceid: '',
376
- f_notified_path: '',
377
- f_notified_path1: '',
378
- f_notified_path2: '',
379
- f_notified_pat3: '',
380
- f_notified_path4: '',
381
- f_dealer: Vue.user.name,
382
- f_dealer_id: Vue.user.id
383
- },
384
- user_types: [
385
- {label: '请选择用户类型', value: ''},
386
- {label: '民用', value: '民用'},
387
- {label: '非民用', value: '非民用'},
388
- ],
389
- repairedState: [
390
- {label: '全部', value: ''},
391
- {label: '处理中', value: '处理中'}
392
- ],
393
- f_filialeids: '',
394
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/AndroidDealWith`, 20, {
395
- condition: 'this.condition',
396
- f_filialeids: `'${Vue.user.orgid}'`,
397
- f_checker_id: `'${Vue.user.id}'`
398
- }),
399
- criteriaShow: false,
400
- deletebacklistisselect: false,
401
- selectdata:{},
402
- showmaterial:false
403
- }
404
- },
405
- ready() {
406
- this.selfSearch()
407
- this.getDefectOption()
408
- },
409
- methods: {
410
- cameraCallBack(prop, fileName) {
411
- HostApp.__this__.$set( 'deal.'+prop+'', fileName)
412
- HostApp.__callback__ = null
413
- HostApp.__this__ = null
414
- },
415
- takePic(prop, title) {
416
- HostApp.__callback__ = this.cameraCallBack
417
- HostApp.__this__ = this
418
- let fileName
419
- if (!this.deal[prop] || this.deal[prop].includes("nopic.png")) {
420
- fileName = Util.guid() + '-' + prop + '.jpg'
421
- } else {
422
- fileName = Util.getFileName(this.deal[prop])
423
- }
424
- //tag
425
- //tag
426
- HostApp._open_a_page({
427
- type: 'boomerang',
428
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
429
- param: {
430
- file: fileName,
431
- requestCode: 111,
432
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
433
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
434
- }
435
- })
436
- },
437
- async getDefectOption() {
438
- let res = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_GroupBy`, {
439
- data: {
440
- items: "di.f_item_name",
441
- tablename: "t_paper_devices pd left join t_devices_items di on pd.id = di.f_device_id",
442
- groupitem: "di.f_item_name",
443
- condition: `di.f_is_defect = 'true' and di.f_is_repaired is null`
444
- }
445
- }, {resolveMsg: null, rejectMsg: null})
446
- const DefectConfigs = [{label: '全部', value: ''}]
447
- res.data.forEach((item) => {
448
- DefectConfigs.push({label: item.f_item_name, value: item.f_item_name})
449
- })
450
- this.DefectConfigs = DefectConfigs
451
- },
452
- openshowModal1(val) {
453
- this.deal.paperid = val.paper_id
454
- this.deal.deviceid=val.device_id
455
- this.deal.result.f_userinfo_code = val.f_userinfo_code
456
- this.showModal1 = true
457
- },
458
- selfSearch() {
459
-
460
- let condition = "1=1 "
461
- if (this.$refs.paged.$refs.cri.model.f_user_name) {
462
- if (this.$refs.paged.$refs.cri.model.f_user_name.toString().trim()) {
463
- condition += " and tcp.f_user_name like '" + this.$refs.paged.$refs.cri.model.f_user_name + "%'"
464
- }
465
- }
466
- if (this.$refs.paged.$refs.cri.model.f_userinfo_code) {
467
- if (this.$refs.paged.$refs.cri.model.f_userinfo_code.toString().trim()) {
468
- condition += " and tcp.f_userinfo_code = '" + this.$refs.paged.$refs.cri.model.f_userinfo_code + "'"
469
- }
470
- }
471
- if (this.$refs.paged.$refs.cri.model.f_checker_name) {
472
- if (this.$refs.paged.$refs.cri.model.f_checker_name.toString().trim()) {
473
- condition += " and tcp.f_checker_name = '" + this.$refs.paged.$refs.cri.model.f_checker_name + "'"
474
- }
475
- }
476
- if (this.$refs.paged.$refs.cri.model.f_address) {
477
- if (this.$refs.paged.$refs.cri.model.f_address.toString().trim()) {
478
- condition += " and tcp.f_address like '%" + this.$refs.paged.$refs.cri.model.f_address + "%'"
479
- }
480
- }
481
- if (this.$refs.paged.$refs.cri.model.f_start_date) {
482
- if (this.$refs.paged.$refs.cri.model.f_start_date.toString().trim()) {
483
- condition += " and tdl.f_create_time > '" + this.$refs.paged.$refs.cri.model.f_start_date + "'"
484
- }
485
- }
486
- if (this.$refs.paged.$refs.cri.model.f_end_date) {
487
- if (this.$refs.paged.$refs.cri.model.f_end_date.toString().trim()) {
488
- condition += " and tdl.f_create_time < '" + this.$refs.paged.$refs.cri.model.f_end_date + "'"
489
- }
490
- }
491
- if (this.$refs.paged.$refs.cri.model.f_user_type) {
492
- if (this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()) {
493
- condition += " and f_user_type = '" + this.$refs.paged.$refs.cri.model.f_user_type + "'"
494
- }
495
- }
496
- if (this.$refs.paged.$refs.cri.model.f_item_name) {
497
- if (this.$refs.paged.$refs.cri.model.f_item_name.toString().trim()) {
498
- condition += " and f_item_name = '" + this.$refs.paged.$refs.cri.model.f_item_name + "'"
499
- }
500
- }
501
- if (this.$refs.paged.$refs.cri.model.f_repaired_state) {
502
- if (this.$refs.paged.$refs.cri.model.f_repaired_state.toString().trim()) {
503
- condition += " and f_repaired_state= '" + this.$refs.paged.$refs.cri.model.f_repaired_state + "'"
504
- }
505
- }
506
- condition +=" and tdi.f_repaired_state is null "
507
- this.model.search(condition)
508
- },
509
- delAudioFile(prop, fileName) {
510
- if (!fileName)
511
- return
512
- else {
513
- HostApp.delfile(fileName)
514
- this.deal[prop] = null
515
- }
516
- },
517
- commitDealDefect() {
518
- if ( !this.deal.f_notified_path) {
519
- this.$showMessage('隐患通知单照片必须上传')
520
- return
521
- }
522
- HostApp.__this__ = this
523
- HostApp.logicWithHint({
524
- 'logic': 'safe_notifiedPath', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
525
- 'data': this.deal, 'backresult': 1
526
- })
527
- },
528
- commitCallBack(jo) {
529
- if (jo.state == 'ok') {
530
- let ress = JSON.parse(jo.result)
531
- if (ress.code == 200) {
532
- this.$showMessage(ress.msg)
533
- this.closeshowModal1()
534
- this.selfSearch()
535
- } else {
536
- this.$showMessage(ress.msg)
537
- }
538
- } else {
539
- this.$showMessage('本地服务调用失败')
540
- }
541
- },
542
- delfile(prop, fileName) {
543
- if (fileName == Vue.nopic)
544
- return
545
- else {
546
- HostApp.delfile(fileName)
547
- this.deal[prop] = Vue.nopic
548
- }
549
- },
550
- closeshowModal1() {
551
- this.deal = {
552
- result:{
553
- f_userinfo_code: '',
554
- },
555
- paperid: '',
556
- deviceid: '',
557
- f_notified_path: '',
558
- f_dealer: Vue.user.name,
559
- f_dealer_id: Vue.user.id
560
- }
561
- this.showModal1 = false
562
- this.selfSearch()
563
- },
564
- hidden() {
565
- this.criteriaShow = !this.criteriaShow
566
- }
567
- }
568
- }
569
- </script>
1
+ <style scoped>
2
+ .bg {
3
+ background-color: blue;
4
+ height: 1px;
5
+ border: 0;
6
+ }
7
+
8
+ .app-row {
9
+ background-color: white;
10
+ padding: 10px 10px 0 10px;
11
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
12
+ }
13
+
14
+ .search_input {
15
+ border: 0;
16
+ outline: none;
17
+ }
18
+
19
+ .font {
20
+ font: 15px PingFang-SC-Medium;
21
+ color: #666666;
22
+ }
23
+
24
+ .input-font {
25
+ font: 15px PingFang-SC-Medium;
26
+ color: #333333;
27
+ }
28
+
29
+ .btn-font {
30
+ font: 600 16px PingFang-SC-Bold;
31
+ color: #499EDF;
32
+ }
33
+
34
+ .btn-color {
35
+ background-color: #FFFFFF;
36
+ border-radius: 10px;
37
+ border: 1px solid #499EDF;
38
+ }
39
+
40
+ .app-text {
41
+ font-size: 12px;
42
+ }
43
+
44
+ .panel-self {
45
+ border-radius: 10px;
46
+ border: 1px solid #499EDF;
47
+ background-color: #F8F8F8;
48
+ }
49
+
50
+ .yybtn-color {
51
+ background-color: #499edf;
52
+ border-radius: 4px;
53
+ border: 1px solid #499EDF;
54
+ color: #FFFFFF;
55
+ font: 14px PingFang-SC-Bold;
56
+ }
57
+
58
+ .qxbtn-color {
59
+ background-color: #FFFFFF;
60
+ border-radius: 4px;
61
+ color: #499edf;
62
+ font: 14px PingFang-SC-Bold;
63
+ border: 1px solid #499EDF;
64
+ }
65
+
66
+ .button_shrink_top {
67
+ width: 35px;
68
+ height: 35px;
69
+ background-size: 100%;
70
+ background-image: url("../../../../static/newStyle/stretch_top.png")
71
+ }
72
+
73
+ .button_shrink_bottom {
74
+ width: 35px;
75
+ height: 35px;
76
+ background-size: 100%;
77
+ background-image: url("../../../../static/newStyle/stretch_bottom.png")
78
+ }
79
+
80
+ .button_shrink_left {
81
+ width: 35px;
82
+ height: 35px;
83
+ background-size: 100%;
84
+ background-image: url("../../../../static/newStyle/stretch_left.png")
85
+ }
86
+
87
+ .button_shrink_right {
88
+ width: 35px;
89
+ height: 35px;
90
+ background-size: 100%;
91
+ background-image: url("../../../../static/newStyle/stretch_right.png")
92
+ }
93
+ </style>
94
+ <template>
95
+ <div style="height: auto;width: 100%">
96
+ <criteria-paged :model="model" v-ref:paged>
97
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
98
+ <div partial>
99
+ <form>
100
+ <div class="row app-row">
101
+ <div class="col-xs-4">
102
+ <img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
103
+ <label class="font text-left">用户姓名:</label>
104
+ </div>
105
+ <div class="col-xs-8">
106
+ <input class="search_input input-font" v-model=model.f_user_name
107
+ condition="tcp.f_user_name like '%{}%'"/>
108
+ </div>
109
+ </div>
110
+ <div class="row app-row">
111
+ <div class="col-xs-4">
112
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
113
+ <label for="f_userinfo_code" class="font text-left">用户编号:</label>
114
+ </div>
115
+ <div class="col-xs-8">
116
+ <input id="f_userinfo_code" class="search_input input-font"
117
+ v-model=model.f_userinfo_code condition="tcp.f_userinfo_code like '%{}%'"/>
118
+ </div>
119
+ </div>
120
+ <div class="row app-row">
121
+ <div class="col-xs-4">
122
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
123
+ <label for="f_userinfo_code" class="font text-left">安检人员:</label>
124
+ </div>
125
+ <div class="col-xs-8">
126
+ <input id="f_userinfo_code" class="search_input input-font"
127
+ v-model=model.f_checker_name condition="tcp.f_checker_name like '%{}%'"/>
128
+ </div>
129
+ </div>
130
+ <div class="row app-row">
131
+ <div class="col-xs-4">
132
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
133
+ <label class="font text-left">用户地址:</label>
134
+ </div>
135
+ <div class="col-xs-8">
136
+ <input class="search_input input-font"
137
+ v-model=model.f_address condition="tcp.f_address like '%{}%'"/>
138
+ </div>
139
+ </div>
140
+ <div class="row app-row">
141
+ <div class="col-xs-4">
142
+ <img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
143
+ <label for="f_state" class="font text-left">起始时间:</label>
144
+ </div>
145
+ <datepicker id="f_start_date"
146
+ placeholder='起始时间'
147
+ :value.sync="model.f_start_date"
148
+ :disabled-days-of-Week="[]"
149
+ v-model="model.f_start_date"
150
+ class="input-font col-xs-8"
151
+ :format="'yyyy-MM-dd 00:00:00'"
152
+ :show-reset-button="reset" readonly="readonly">
153
+ </datepicker>
154
+ </div>
155
+ <div class="row app-row">
156
+ <div class="col-xs-4">
157
+ <img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
158
+ <label for="f_state" class="font text-left">结束时间:</label>
159
+ </div>
160
+ <datepicker id="f_end_date"
161
+ placeholder='结束时间'
162
+ :value.sync="model.f_end_date"
163
+ :disabled-days-of-Week="[]"
164
+ v-model="model.f_end_date"
165
+ class="input-font col-xs-8"
166
+ :format="'yyyy-MM-dd 23:59:00'"
167
+ :show-reset-button="reset" readonly="readonly">
168
+ </datepicker>
169
+ </div>
170
+ <div class="row app-row">
171
+ <div class="col-xs-4">
172
+ <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
173
+ <label for="f_user_type" class="font text-left">用户类型:</label>
174
+ </div>
175
+ <v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
176
+ :width="'60%'"
177
+ :options='$parent.$parent.user_types' placeholder='请选择用户类型'
178
+ v-model="model.f_user_type" condition="f_user_type = '{}'" close-on-select
179
+ clear-button></v-select>
180
+ </div>
181
+ <div class="row app-row">
182
+ <div class="col-xs-4">
183
+ <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
184
+ <label for="f_user_type" class="font text-left">隐患名称:</label>
185
+ </div>
186
+ <v-select id="f_user_type" :value.sync="model.f_item_name" class="input-font"
187
+ :width="'60%'"
188
+ :align="'right'"
189
+ :options='$parent.$parent.DefectConfigs' placeholder='请选择隐患名称'
190
+ v-model="model.f_item_name" condition="f_item_name = '{}'" close-on-select
191
+ clear-button></v-select>
192
+ </div>
193
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
194
+ <div class="col-xs-4">
195
+ <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
196
+ <label for="f_user_type" class="font text-left">处理状态:</label>
197
+ </div>
198
+ <v-select id="f_user_type"
199
+ :value.sync="model.f_repaired_state" class="input-font"
200
+ :width="'60%'"
201
+ :align="'right'"
202
+ :options='$parent.$parent.repairedState' placeholder='请选择处理状态'
203
+ v-model="model.f_repaired_state"
204
+ condition="f_repaired_state = '{}'" close-on-select
205
+ clear-button></v-select>
206
+ </div>
207
+ <div class="row text-center" style="margin-top: 20px;">
208
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;"
209
+ @click="$parent.$parent.selfSearch">查询
210
+ </button>
211
+ <div style="float: right;margin-right: 3% " class="button_spacing"
212
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
213
+ @click="$parent.$parent.hidden()"></div>
214
+ </div>
215
+ <div style="height:30px;"></div>
216
+ </form>
217
+ </div>
218
+ </criteria>
219
+ <list :model="model" partial='list'>
220
+ <div partial>
221
+ <div class="auto app-text" style="margin-top: 5px;">
222
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
223
+ <div class="panel-body panel-self">
224
+ <div class="col-xs-12">
225
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
226
+ <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
227
+ </div>
228
+ <div class="col-xs-12">
229
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
230
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
231
+ </div>
232
+ <div class="col-xs-12">
233
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
234
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}</p>
235
+ </div>
236
+ <div class="col-xs-12">
237
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>安检时间:</b></p>
238
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_create_time }}</p>
239
+ </div>
240
+ <div class="col-xs-12">
241
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
242
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
243
+ </div>
244
+ <div class="col-xs-12">
245
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>所属安检:</b></p>
246
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_checker_name }}</p>
247
+ </div>
248
+ <div class="col-xs-6">
249
+ <p class="panel-title col-xs-5 text-left font"><b>检&ensp;查&ensp;项:</b></p>
250
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_device_type }}</p>
251
+ </div>
252
+ <div class="col-xs-6">
253
+ <p class="panel-title col-xs-5 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
254
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_name }}</p>
255
+ </div>
256
+ <div class="col-xs-12">
257
+ <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
258
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_comments }}</p>
259
+ </div>
260
+ <div class="col-xs-12">
261
+ <p class="panel-title col-xs-5 text-left font"><b>隐患原因:</b></p>
262
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_value }}</p>
263
+ </div>
264
+
265
+ <div class="col-xs-12">
266
+ <button type="button" name="button" class="btn btn-primary"
267
+ style="background-color:#499edf;float: right"
268
+ @click="$parent.$parent.$parent.openshowModal1(row)">上传隐患通知单
269
+ </button>
270
+ </div>
271
+ </div>
272
+ </div>
273
+ </div>
274
+ </div>
275
+ </list>
276
+ </criteria-paged>
277
+ </div>
278
+ <modal :show.sync="showModal1">
279
+ <div slot="modal-header" class="modal-header">
280
+ <h4 class="modal-title">
281
+ 隐患通知单
282
+ </h4>
283
+ </div>
284
+ <div slot="modal-body" class="modal-body">
285
+ <div class="form-group col-sm-12">
286
+ <div class="auto">
287
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
288
+ <div class="panel-body panel-self"
289
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
290
+ <img-self :src="deal.f_notified_path" alt="隐患通知单" :width="140" :height="170" capture="camera"
291
+ type="file"></img-self>
292
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
293
+ <img src="../../../assets/remove.png" @click="delfile('f_notified_path', deal.f_notified_path)"></img>
294
+ <button type="button" name="button" class="btn btn-primary btn-photo"
295
+ @click="takePic('f_notified_path','整改照片')">拍照
296
+ </button>
297
+ </div>
298
+ </div>
299
+ <div class="panel-body panel-self"
300
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
301
+ <img-self :src="deal.f_notified_path1" alt="隐患通知单" :width="140" :height="170" capture="camera"
302
+ type="file"></img-self>
303
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
304
+ <img src="../../../assets/remove.png" @click="delfile('f_notified_path1', deal.f_notified_path1)"></img>
305
+ <button type="button" name="button" class="btn btn-primary btn-photo"
306
+ @click="takePic('f_notified_path1','整改照片')">拍照
307
+ </button>
308
+ </div>
309
+ </div>
310
+ <div class="panel-body panel-self"
311
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
312
+ <img-self :src="deal.f_notified_path2" alt="隐患通知单" :width="140" :height="170" capture="camera"
313
+ type="file"></img-self>
314
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
315
+ <img src="../../../assets/remove.png" @click="delfile('f_notified_path2', deal.f_notified_path2)"></img>
316
+ <button type="button" name="button" class="btn btn-primary btn-photo"
317
+ @click="takePic('f_notified_path2','整改照片')">拍照
318
+ </button>
319
+ </div>
320
+ </div>
321
+ <div class="panel-body panel-self"
322
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
323
+ <img-self :src="deal.f_notified_path3" alt="隐患通知单" :width="140" :height="170" capture="camera"
324
+ type="file"></img-self>
325
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
326
+ <img src="../../../assets/remove.png" @click="delfile('f_notified_path3', deal.f_notified_path3)"></img>
327
+ <button type="button" name="button" class="btn btn-primary btn-photo"
328
+ @click="takePic('f_notified_path3','整改照片')">拍照
329
+ </button>
330
+ </div>
331
+ </div>
332
+ <div class="panel-body panel-self"
333
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
334
+ <img-self :src="deal.f_notified_path4" alt="隐患通知单" :width="140" :height="170" capture="camera"
335
+ type="file"></img-self>
336
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
337
+ <img src="../../../assets/remove.png" @click="delfile('f_notified_path4', deal.f_notified_path4)"></img>
338
+ <button type="button" name="button" class="btn btn-primary btn-photo"
339
+ @click="takePic('f_notified_path4','整改照片')">拍照
340
+ </button>
341
+ </div>
342
+ </div>
343
+ </div>
344
+ </div>
345
+ </div>
346
+ </div>
347
+ <div slot="modal-footer" class="modal-footer">
348
+ <button type="button" class="btn btn-default" @click="commitDealDefect">确认</button>
349
+ <button type="button" class="btn btn-default" @click="closeshowModal1">取消</button>
350
+ </div>
351
+ </modal>
352
+ </template>
353
+
354
+ <script>
355
+ import Vue from 'vue'
356
+ import {HttpResetClass, PagedList} from 'vue-client'
357
+ import * as Util from '../../../components/Util'
358
+
359
+ export default {
360
+ components: {
361
+ },
362
+ title: '无计划安检查询',
363
+ data() {
364
+ return {
365
+ row:{},
366
+ showModal: false,
367
+ showModal1: false,
368
+ showimg: '',
369
+ DefectConfigs:[],
370
+ deal: {
371
+ result:{
372
+ f_userinfo_code: '',
373
+ },
374
+ paperid: '',
375
+ deviceid: '',
376
+ f_notified_path: '',
377
+ f_notified_path1: '',
378
+ f_notified_path2: '',
379
+ f_notified_pat3: '',
380
+ f_notified_path4: '',
381
+ f_dealer: Vue.user.name,
382
+ f_dealer_id: Vue.user.id
383
+ },
384
+ user_types: [
385
+ {label: '请选择用户类型', value: ''},
386
+ {label: '民用', value: '民用'},
387
+ {label: '非民用', value: '非民用'},
388
+ ],
389
+ repairedState: [
390
+ {label: '全部', value: ''},
391
+ {label: '处理中', value: '处理中'}
392
+ ],
393
+ f_filialeids: '',
394
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/AndroidDealWith`, 20, {
395
+ condition: 'this.condition',
396
+ f_filialeids: `'${Vue.user.orgid}'`,
397
+ f_checker_id: `'${Vue.user.id}'`
398
+ }),
399
+ criteriaShow: false,
400
+ deletebacklistisselect: false,
401
+ selectdata:{},
402
+ showmaterial:false
403
+ }
404
+ },
405
+ ready() {
406
+ this.selfSearch()
407
+ this.getDefectOption()
408
+ },
409
+ methods: {
410
+ cameraCallBack(prop, fileName) {
411
+ HostApp.__this__.$set( 'deal.'+prop+'', fileName)
412
+ HostApp.__callback__ = null
413
+ HostApp.__this__ = null
414
+ },
415
+ takePic(prop, title) {
416
+ HostApp.__callback__ = this.cameraCallBack
417
+ HostApp.__this__ = this
418
+ let fileName
419
+ if (!this.deal[prop] || this.deal[prop].includes("nopic.png")) {
420
+ fileName = Util.guid() + '-' + prop + '.jpg'
421
+ } else {
422
+ fileName = Util.getFileName(this.deal[prop])
423
+ }
424
+ //tag
425
+ //tag
426
+ HostApp._open_a_page({
427
+ type: 'boomerang',
428
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
429
+ param: {
430
+ file: fileName,
431
+ requestCode: 111,
432
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
433
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
434
+ }
435
+ })
436
+ },
437
+ async getDefectOption() {
438
+ let res = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_GroupBy`, {
439
+ data: {
440
+ items: "di.f_item_name",
441
+ tablename: "t_paper_devices pd left join t_devices_items di on pd.id = di.f_device_id",
442
+ groupitem: "di.f_item_name",
443
+ condition: `di.f_is_defect = 'true' and di.f_is_repaired is null`
444
+ }
445
+ }, {resolveMsg: null, rejectMsg: null})
446
+ const DefectConfigs = [{label: '全部', value: ''}]
447
+ res.data.forEach((item) => {
448
+ DefectConfigs.push({label: item.f_item_name, value: item.f_item_name})
449
+ })
450
+ this.DefectConfigs = DefectConfigs
451
+ },
452
+ openshowModal1(val) {
453
+ this.deal.paperid = val.paper_id
454
+ this.deal.deviceid=val.device_id
455
+ this.deal.result.f_userinfo_code = val.f_userinfo_code
456
+ this.showModal1 = true
457
+ },
458
+ selfSearch() {
459
+
460
+ let condition = "1=1 "
461
+ if (this.$refs.paged.$refs.cri.model.f_user_name) {
462
+ if (this.$refs.paged.$refs.cri.model.f_user_name.toString().trim()) {
463
+ condition += " and tcp.f_user_name like '" + this.$refs.paged.$refs.cri.model.f_user_name + "%'"
464
+ }
465
+ }
466
+ if (this.$refs.paged.$refs.cri.model.f_userinfo_code) {
467
+ if (this.$refs.paged.$refs.cri.model.f_userinfo_code.toString().trim()) {
468
+ condition += " and tcp.f_userinfo_code = '" + this.$refs.paged.$refs.cri.model.f_userinfo_code + "'"
469
+ }
470
+ }
471
+ if (this.$refs.paged.$refs.cri.model.f_checker_name) {
472
+ if (this.$refs.paged.$refs.cri.model.f_checker_name.toString().trim()) {
473
+ condition += " and tcp.f_checker_name = '" + this.$refs.paged.$refs.cri.model.f_checker_name + "'"
474
+ }
475
+ }
476
+ if (this.$refs.paged.$refs.cri.model.f_address) {
477
+ if (this.$refs.paged.$refs.cri.model.f_address.toString().trim()) {
478
+ condition += " and tcp.f_address like '%" + this.$refs.paged.$refs.cri.model.f_address + "%'"
479
+ }
480
+ }
481
+ if (this.$refs.paged.$refs.cri.model.f_start_date) {
482
+ if (this.$refs.paged.$refs.cri.model.f_start_date.toString().trim()) {
483
+ condition += " and tdl.f_create_time > '" + this.$refs.paged.$refs.cri.model.f_start_date + "'"
484
+ }
485
+ }
486
+ if (this.$refs.paged.$refs.cri.model.f_end_date) {
487
+ if (this.$refs.paged.$refs.cri.model.f_end_date.toString().trim()) {
488
+ condition += " and tdl.f_create_time < '" + this.$refs.paged.$refs.cri.model.f_end_date + "'"
489
+ }
490
+ }
491
+ if (this.$refs.paged.$refs.cri.model.f_user_type) {
492
+ if (this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()) {
493
+ condition += " and f_user_type = '" + this.$refs.paged.$refs.cri.model.f_user_type + "'"
494
+ }
495
+ }
496
+ if (this.$refs.paged.$refs.cri.model.f_item_name) {
497
+ if (this.$refs.paged.$refs.cri.model.f_item_name.toString().trim()) {
498
+ condition += " and f_item_name = '" + this.$refs.paged.$refs.cri.model.f_item_name + "'"
499
+ }
500
+ }
501
+ if (this.$refs.paged.$refs.cri.model.f_repaired_state) {
502
+ if (this.$refs.paged.$refs.cri.model.f_repaired_state.toString().trim()) {
503
+ condition += " and f_repaired_state= '" + this.$refs.paged.$refs.cri.model.f_repaired_state + "'"
504
+ }
505
+ }
506
+ condition +=" and tdi.f_repaired_state is null "
507
+ this.model.search(condition)
508
+ },
509
+ delAudioFile(prop, fileName) {
510
+ if (!fileName)
511
+ return
512
+ else {
513
+ HostApp.delfile(fileName)
514
+ this.deal[prop] = null
515
+ }
516
+ },
517
+ commitDealDefect() {
518
+ if ( !this.deal.f_notified_path) {
519
+ this.$showMessage('隐患通知单照片必须上传')
520
+ return
521
+ }
522
+ HostApp.__this__ = this
523
+ HostApp.logicWithHint({
524
+ 'logic': 'safe_notifiedPath', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
525
+ 'data': this.deal, 'backresult': 1
526
+ })
527
+ },
528
+ commitCallBack(jo) {
529
+ if (jo.state == 'ok') {
530
+ let ress = JSON.parse(jo.result)
531
+ if (ress.code == 200) {
532
+ this.$showMessage(ress.msg)
533
+ this.closeshowModal1()
534
+ this.selfSearch()
535
+ } else {
536
+ this.$showMessage(ress.msg)
537
+ }
538
+ } else {
539
+ this.$showMessage('本地服务调用失败')
540
+ }
541
+ },
542
+ delfile(prop, fileName) {
543
+ if (fileName == Vue.nopic)
544
+ return
545
+ else {
546
+ HostApp.delfile(fileName)
547
+ this.deal[prop] = Vue.nopic
548
+ }
549
+ },
550
+ closeshowModal1() {
551
+ this.deal = {
552
+ result:{
553
+ f_userinfo_code: '',
554
+ },
555
+ paperid: '',
556
+ deviceid: '',
557
+ f_notified_path: '',
558
+ f_dealer: Vue.user.name,
559
+ f_dealer_id: Vue.user.id
560
+ }
561
+ this.showModal1 = false
562
+ this.selfSearch()
563
+ },
564
+ hidden() {
565
+ this.criteriaShow = !this.criteriaShow
566
+ }
567
+ }
568
+ }
569
+ </script>