safecheck-client 3.0.39-3 → 3.0.39-30
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.
- package/package.json +6 -6
- package/src/App.vue +26 -26
- package/src/assets//345/256/232/344/275/215.png +0 -0
- package/src/components/android/AndroidDefectDeal.vue +2 -2
- package/src/components/android/AreaPlan.vue +567 -567
- package/src/components/android/SafecheckOrderV.vue +1 -1
- package/src/components/pc/AddPlanItemYyChange.vue +5 -1
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +34 -0
- package/src/filiale/BFshiye/android/PhoneUpUserinfo.vue +3 -1
- package/src/filiale/BFshiye/android/SafecheckUserInfo.vue +2 -8
- package/src/filiale/bayan/pc/NewCheckpaper.vue +2 -2
- package/src/filiale/bayan/pc/SummaryOfSecurityInspectionProgress.vue +7 -7
- package/src/filiale/dexin/android/AreaPlan.vue +567 -567
- package/src/filiale/dexin/android.js +21 -21
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +2 -2
- package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +6 -1
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +1 -1
- package/src/filiale/huatong/android/SafecheckOrderV.vue +2 -2
- package/src/filiale/jinhuang/android/AddPlanItem.vue +430 -0
- package/src/filiale/jinhuang/android/PhoneUpUserinfo.vue +1278 -1252
- package/src/filiale/jinhuang/android.js +2 -1
- package/src/filiale/kelai/android/PaperFeedback.vue +1384 -1370
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/UserInfoAudit.vue +126 -90
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +7 -7
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +104 -38
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +3 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +42 -19
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1 -0
- package/src/filiale/rongchuang/android/PhoneUpUserinfo.vue +1262 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1 -1
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/checkPlanList.vue +398 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +57 -24
- package/src/filiale/siyang/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +8 -2
- package/src/filiale/tongchuan/pc/AMapTrailShowZk.vue +226 -0
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +47 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +46 -0
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperList.vue +44 -10
- package/src/filiale/tongchuan/pc/PersonTrack.vue +269 -0
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +42 -2
- package/src/filiale/tongchuan/pc.js +2 -0
- package/src/filiale/wenxi/android/SafecheckOrderV.vue +2682 -2682
- package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +79 -16
- package/src/filiale/wuan/pc/NewCheckpaper.vue +16 -1
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +3 -3
- package/src/main.js +33 -33
|
@@ -1530,6 +1530,7 @@ export default {
|
|
|
1530
1530
|
//tag
|
|
1531
1531
|
// this.data.f_noplan_item_id = this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()
|
|
1532
1532
|
this.data.ename = Vue.user.ename
|
|
1533
|
+
// this.data.f_noanswers_path = []
|
|
1533
1534
|
this.data.f_outlets = Vue.user.f_parentname
|
|
1534
1535
|
this.data.f_meetunit = Vue.user.orgpathnames
|
|
1535
1536
|
this.data.orgpathstr = Vue.user.orgpathstr
|
|
@@ -105,15 +105,23 @@
|
|
|
105
105
|
<label class="text-left font">到访不遇照片:</label>
|
|
106
106
|
<div class="auto">
|
|
107
107
|
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
|
108
|
-
<div class="panel-body panel-self"
|
|
108
|
+
<div class="panel-body panel-self"
|
|
109
|
+
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
|
109
110
|
<div class="row" style="height: 240px;overflow: scroll;top: 1px">
|
|
110
|
-
<div class="col-sm-
|
|
111
|
-
|
|
111
|
+
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px"
|
|
112
|
+
v-for="(index,img) in f_noanswers_path">
|
|
113
|
+
<img-self :src="img.f_noanswer_path" alt="到访不遇照片" :width="130" :height="160"></img-self>
|
|
114
|
+
<img src="../../../assets/删除.png" @click="delfile('f_noanswers_path', img.f_noanswer_path,index)"
|
|
115
|
+
style="width: 15px;margin-top: -80px" alt="">
|
|
112
116
|
</div>
|
|
113
117
|
</div>
|
|
114
118
|
<div class="row text-right div-photo" :class="style__">
|
|
115
|
-
<button type="button" name="button" class="btn btn-primary btn-photo"
|
|
116
|
-
|
|
119
|
+
<button type="button" name="button" class="btn btn-primary btn-photo"
|
|
120
|
+
@click="takePic('f_noanswers_path', '到访不遇照片')">拍照
|
|
121
|
+
</button>
|
|
122
|
+
<!-- <button type="button" name="button" class="btn btn-primary btn-photo"-->
|
|
123
|
+
<!-- @click="takePic('相册','f_noanswers_path', '到访不遇照片')">相册-->
|
|
124
|
+
<!-- </button>-->
|
|
117
125
|
</div>
|
|
118
126
|
</div>
|
|
119
127
|
</div>
|
|
@@ -356,8 +364,13 @@ export default {
|
|
|
356
364
|
this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
|
|
357
365
|
},
|
|
358
366
|
cameraCallBack(prop, fileName) {
|
|
359
|
-
|
|
360
|
-
|
|
367
|
+
if (prop == 'f_noanswers_path') {
|
|
368
|
+
HostApp.__this__.f_noanswers_path.push({
|
|
369
|
+
f_noanswer_path: fileName
|
|
370
|
+
})
|
|
371
|
+
} else {
|
|
372
|
+
HostApp.__this__.$set(prop, fileName + '?' + Math.random())
|
|
373
|
+
}
|
|
361
374
|
HostApp.__callback__ = null
|
|
362
375
|
HostApp.__this__ = null
|
|
363
376
|
},
|
|
@@ -366,10 +379,18 @@ export default {
|
|
|
366
379
|
HostApp.__this__ = this
|
|
367
380
|
//tag
|
|
368
381
|
let fileName
|
|
369
|
-
if (
|
|
382
|
+
if (prop == 'f_noanswers_path') {
|
|
383
|
+
//tag
|
|
384
|
+
if (this.f_noanswers_path.length == 2) {
|
|
385
|
+
return
|
|
386
|
+
}
|
|
370
387
|
fileName = Util.guid() + '-' + prop + '.jpg'
|
|
371
388
|
} else {
|
|
372
|
-
|
|
389
|
+
if (!this[prop] || this[prop].includes('nopic.png')) {
|
|
390
|
+
fileName = Util.guid() + '-' + prop + '.jpg'
|
|
391
|
+
} else {
|
|
392
|
+
fileName = Util.getFileName(this[prop])
|
|
393
|
+
}
|
|
373
394
|
}
|
|
374
395
|
HostApp._open_a_page({
|
|
375
396
|
type: 'boomerang',
|
|
@@ -382,12 +403,17 @@ export default {
|
|
|
382
403
|
}
|
|
383
404
|
})
|
|
384
405
|
},
|
|
385
|
-
delfile(prop, fileName) {
|
|
386
|
-
if (fileName == Vue.nopic)
|
|
406
|
+
delfile (prop, fileName, index) {
|
|
407
|
+
if (fileName == Vue.nopic) {
|
|
387
408
|
return
|
|
388
|
-
else {
|
|
389
|
-
|
|
390
|
-
|
|
409
|
+
} else {
|
|
410
|
+
if (prop == 'f_noanswers_path') {
|
|
411
|
+
this.f_noanswers_path.splice(index, 1)
|
|
412
|
+
HostApp.delfile(fileName)
|
|
413
|
+
} else {
|
|
414
|
+
HostApp.delfile(fileName)
|
|
415
|
+
this[prop] = Vue.nopic
|
|
416
|
+
}
|
|
391
417
|
}
|
|
392
418
|
},
|
|
393
419
|
setEntryClass(val) {
|
|
@@ -459,13 +485,47 @@ export default {
|
|
|
459
485
|
this.$set('style__', '')
|
|
460
486
|
this.$set('style_view_', '')
|
|
461
487
|
}
|
|
462
|
-
|
|
463
|
-
|
|
488
|
+
this.$set('f_noanswers_path', [])
|
|
489
|
+
if (this.f_noanswer_path) {
|
|
490
|
+
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer_path})
|
|
491
|
+
} else {
|
|
492
|
+
this.$set('f_noanswer_path', '')
|
|
493
|
+
}
|
|
494
|
+
if (this.f_noanswer1_path) {
|
|
495
|
+
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer1_path})
|
|
496
|
+
} else {
|
|
497
|
+
this.$set('f_noanswer1_path', '')
|
|
498
|
+
}
|
|
499
|
+
if (this.f_noanswer2_path) {
|
|
500
|
+
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer2_path})
|
|
501
|
+
} else {
|
|
502
|
+
this.$set('f_noanswer2_path', '')
|
|
503
|
+
}
|
|
464
504
|
if (!this.f_noanswer_path)
|
|
465
505
|
this.$set('f_noanswer_path', '')
|
|
466
506
|
if (!this.f_rejectcheck_path)
|
|
467
507
|
this.$set('f_rejectcheck_path', '')
|
|
468
508
|
|
|
509
|
+
this.$watch('f_noanswers_path.length', () => {
|
|
510
|
+
for (let i = 0; i < 2; i++) {
|
|
511
|
+
if (this.f_noanswers_path[i] && this.f_noanswers_path[i].f_noanswer_path) {
|
|
512
|
+
//tag)
|
|
513
|
+
if (i == 0) {
|
|
514
|
+
this.f_noanswer_path = this.f_noanswers_path[i].f_noanswer_path
|
|
515
|
+
} else {
|
|
516
|
+
this['f_noanswer' + i + '_path'] = this.f_noanswers_path[i].f_noanswer_path
|
|
517
|
+
}
|
|
518
|
+
} else {
|
|
519
|
+
//tag)
|
|
520
|
+
if (i == 0) {
|
|
521
|
+
this.f_noanswer_path = null
|
|
522
|
+
} else {
|
|
523
|
+
this['f_noanswer' + i + '_path'] = null
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
//tag
|
|
528
|
+
})
|
|
469
529
|
|
|
470
530
|
this.$watch('f_usegas', (val) => {
|
|
471
531
|
this.setUsegas(val)
|
|
@@ -480,6 +540,9 @@ export default {
|
|
|
480
540
|
}
|
|
481
541
|
if (val == '拒检') {
|
|
482
542
|
this.f_noanswer_path = Vue.nopic
|
|
543
|
+
this.f_noanswer1_path = Vue.nopic
|
|
544
|
+
this.f_noanswer2_path = Vue.nopic
|
|
545
|
+
this.f_noanswers_path = []
|
|
483
546
|
}
|
|
484
547
|
|
|
485
548
|
if (val != '入户') {
|
|
@@ -287,7 +287,18 @@ overflow: -moz-scrollbars-none;
|
|
|
287
287
|
<div class="row">
|
|
288
288
|
<div class="col-md-6">
|
|
289
289
|
<img-self-safe v-if="this.paperdata.f_entry_status=='到访不遇'" :src="showimg3" width="300" height="400"></img-self-safe>
|
|
290
|
-
</div
|
|
290
|
+
</div>
|
|
291
|
+
<div class="col-md-6">
|
|
292
|
+
<img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer1_path"
|
|
293
|
+
:src="showimg5" width="282"
|
|
294
|
+
height="400"></img-self-plus>
|
|
295
|
+
</div>
|
|
296
|
+
<div class="col-md-6">
|
|
297
|
+
<img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer2_path"
|
|
298
|
+
:src="showimg6" width="282"
|
|
299
|
+
height="400"></img-self-plus>
|
|
300
|
+
</div>
|
|
301
|
+
<div class="col-md-6">
|
|
291
302
|
<img-self-safe v-if="this.paperdata.f_entry_status=='拒检'" :src="showimg4" width="300" height="400"></img-self-safe>
|
|
292
303
|
</div>
|
|
293
304
|
</div>
|
|
@@ -376,6 +387,8 @@ export default {
|
|
|
376
387
|
showimg2:'',
|
|
377
388
|
showimg3:'',
|
|
378
389
|
showimg4:'',
|
|
390
|
+
showimg5: '',
|
|
391
|
+
showimg6: '',
|
|
379
392
|
startClick:false, //开始安检按钮是否可点击
|
|
380
393
|
isStrat: false, //是否开始安检
|
|
381
394
|
checkResult:{},//查询结果
|
|
@@ -571,6 +584,8 @@ export default {
|
|
|
571
584
|
}
|
|
572
585
|
this.ajresult=JSON.parse(this.data.f_defect_content).result
|
|
573
586
|
this.showimg3=this.data.f_noanswer_path
|
|
587
|
+
this.showimg5 = this.data.f_noanswer1_path
|
|
588
|
+
this.showimg6 = this.data.f_noanswer2_path
|
|
574
589
|
this.showimg4=this.data.f_rejectcheck_path
|
|
575
590
|
this.paperdata=this.data
|
|
576
591
|
this.loading=false
|
|
@@ -518,13 +518,13 @@
|
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
if(this.f_safe_start && this.f_safe_end){
|
|
521
|
-
args.condition += `and
|
|
521
|
+
args.condition += `and f_offsite_time >= '${this.f_safe_start}' and f_offsite_time <= '${this.f_safe_end}' `
|
|
522
522
|
} else {
|
|
523
523
|
if(this.f_safe_start){
|
|
524
|
-
args.condition += ` and
|
|
524
|
+
args.condition += ` and f_offsite_time >='${this.f_safe_start}'`
|
|
525
525
|
}
|
|
526
526
|
if(this.f_safe_end){
|
|
527
|
-
args.condition += ` and
|
|
527
|
+
args.condition += ` and f_offsite_time <='${this.f_safe_end}'`
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
530
|
this.$refs.paged.$refs.grid.$el.scrollTop = 0
|
package/src/main.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
import { system } from 'system-clients'
|
|
5
|
-
import safecheck from './safecheck'
|
|
6
|
-
import echarts from 'echarts'
|
|
7
|
-
// import safecheck from './rongcheng'
|
|
8
|
-
|
|
9
|
-
all()
|
|
10
|
-
// 验证码开关赋值
|
|
11
|
-
var Verificationfalg = false
|
|
12
|
-
system(Verificationfalg)
|
|
13
|
-
// system()
|
|
14
|
-
safecheck('
|
|
15
|
-
// safecheck('rizhao')
|
|
16
|
-
require('./bootstrap/less/bootstrap.less')
|
|
17
|
-
require('./expandcss.less')
|
|
18
|
-
|
|
19
|
-
Vue.prototype.$echarts = echarts
|
|
20
|
-
Vue.android = false
|
|
21
|
-
|
|
22
|
-
Vue.url = '/SafeCheck/rs/'
|
|
23
|
-
if(Vue.android)
|
|
24
|
-
Vue.url = Vue.staticUrl
|
|
25
|
-
Vue.interval = 1*60*1000
|
|
26
|
-
Vue.nopic = 'file:///android_asset/nopic.png'
|
|
27
|
-
Vue.mapSetup = false
|
|
28
|
-
|
|
29
|
-
/* eslint-disable no-new */
|
|
30
|
-
new Vue({
|
|
31
|
-
el: 'body',
|
|
32
|
-
components: { App }
|
|
33
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
import { system } from 'system-clients'
|
|
5
|
+
import safecheck from './safecheck'
|
|
6
|
+
import echarts from 'echarts'
|
|
7
|
+
// import safecheck from './rongcheng'
|
|
8
|
+
|
|
9
|
+
all()
|
|
10
|
+
// 验证码开关赋值
|
|
11
|
+
var Verificationfalg = false
|
|
12
|
+
system(Verificationfalg)
|
|
13
|
+
// system()
|
|
14
|
+
safecheck('siyang')
|
|
15
|
+
// safecheck('rizhao')
|
|
16
|
+
require('./bootstrap/less/bootstrap.less')
|
|
17
|
+
require('./expandcss.less')
|
|
18
|
+
|
|
19
|
+
Vue.prototype.$echarts = echarts
|
|
20
|
+
Vue.android = false
|
|
21
|
+
|
|
22
|
+
Vue.url = '/SafeCheck/rs/'
|
|
23
|
+
if(Vue.android)
|
|
24
|
+
Vue.url = Vue.staticUrl
|
|
25
|
+
Vue.interval = 1*60*1000
|
|
26
|
+
Vue.nopic = 'file:///android_asset/nopic.png'
|
|
27
|
+
Vue.mapSetup = false
|
|
28
|
+
|
|
29
|
+
/* eslint-disable no-new */
|
|
30
|
+
new Vue({
|
|
31
|
+
el: 'body',
|
|
32
|
+
components: { App }
|
|
33
|
+
})
|