safecheck-client 3.0.33-43 → 3.0.33-44
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 +133 -133
- package/src/App.vue +31 -31
- package/src/filiale/Util.js +337 -337
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +810 -810
- package/src/filiale/fugou/pc/CheckBookUser.vue +158 -158
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1400 -1400
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2692 -2692
- package/src/filiale/rongchuang/android.js +13 -13
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +61 -8
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
@@ -1,13 +1,13 @@
|
|
1
|
-
// 分公司特殊组件页面注册
|
2
|
-
import Vue from "vue";
|
3
|
-
|
4
|
-
// 手机特殊目录注册到该文件中
|
5
|
-
let specialComp = {
|
6
|
-
'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
|
7
|
-
'paper-feedback': (resolve) => { require(['./android/PaperFeedback'], resolve) },
|
8
|
-
'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices'], resolve) },
|
9
|
-
'checkpapermsg': (resolve) => { require(['./android/checkpapermsg'], resolve) },
|
10
|
-
}
|
11
|
-
|
12
|
-
exports.specialComp = specialComp
|
13
|
-
|
1
|
+
// 分公司特殊组件页面注册
|
2
|
+
import Vue from "vue";
|
3
|
+
|
4
|
+
// 手机特殊目录注册到该文件中
|
5
|
+
let specialComp = {
|
6
|
+
'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
|
7
|
+
'paper-feedback': (resolve) => { require(['./android/PaperFeedback'], resolve) },
|
8
|
+
'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices'], resolve) },
|
9
|
+
'checkpapermsg': (resolve) => { require(['./android/checkpapermsg'], resolve) },
|
10
|
+
}
|
11
|
+
|
12
|
+
exports.specialComp = specialComp
|
13
|
+
|
@@ -57,6 +57,12 @@ div {
|
|
57
57
|
<div @click="back()">
|
58
58
|
<img src="../../../assets/back.png" style="margin: 0px"/>
|
59
59
|
</div>
|
60
|
+
<div style="margin-top:20px">
|
61
|
+
<button class="button_search" @click="updateSpotCheck('合格')">合格</button>
|
62
|
+
</div>
|
63
|
+
<div style="margin-top:20px">
|
64
|
+
<button class="button_search" @click="NoSpotCheck">不合格</button>
|
65
|
+
</div>
|
60
66
|
</div>
|
61
67
|
<work-busy :is-busy="loading"></work-busy>
|
62
68
|
<div class="container-fluid" style="overflow: scroll">
|
@@ -126,14 +132,15 @@ div {
|
|
126
132
|
<tbody>
|
127
133
|
<tr>
|
128
134
|
<td style="margin: auto;text-align: center" v-if="paperdata.f_sign_path">
|
129
|
-
<div class="container" style="max-width: 500px;background: #FFFFFF"
|
135
|
+
<div class="container" style="max-width: 500px;background: #FFFFFF">
|
130
136
|
<div class="img" style="float: none">
|
131
|
-
<img-self-plus :src="'rs/image/file/'+paperdata.f_sign_path" width="200"
|
137
|
+
<img-self-plus :src="'rs/image/file/'+paperdata.f_sign_path" width="200"
|
138
|
+
height="200"></img-self-plus>
|
132
139
|
</div>
|
133
140
|
</div>
|
134
141
|
</td>
|
135
142
|
<td style="margin: auto;text-align: center" v-if="f_user_path">
|
136
|
-
<div class="container" style="max-width: 550px;background: #FFFFFF"
|
143
|
+
<div class="container" style="max-width: 550px;background: #FFFFFF">
|
137
144
|
<div class="img" style="float: none">
|
138
145
|
<img-self-plus :src="'rs/image/file/'+f_user_path"
|
139
146
|
width="200"
|
@@ -207,7 +214,7 @@ div {
|
|
207
214
|
<div class="col-md-6" style="height: 100%;overflow: scroll">
|
208
215
|
<div style="width: 95%;margin-left: 5%">
|
209
216
|
<table class="table table-striped table-bordered" v-for="config in deviceconfig2" style="margin-top: 35px">
|
210
|
-
<thead
|
217
|
+
<thead>
|
211
218
|
<tr>
|
212
219
|
<th style="text-align: center">{{ config.f_device_type }}</th>
|
213
220
|
</tr>
|
@@ -277,7 +284,8 @@ div {
|
|
277
284
|
<div class="from-group">
|
278
285
|
<div class="row">
|
279
286
|
<div class="col-md-6">
|
280
|
-
<img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer_path"
|
287
|
+
<img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer_path"
|
288
|
+
:src="showimg3"
|
281
289
|
width="282"
|
282
290
|
height="400"></img-self-plus>
|
283
291
|
</div>
|
@@ -313,6 +321,23 @@ div {
|
|
313
321
|
<button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
|
314
322
|
</footer>
|
315
323
|
</modal>
|
324
|
+
<modal :show.sync="showSpotCheckButton" v-ref:modal backdrop="false">
|
325
|
+
<header slot="modal-header" class="modal-header">
|
326
|
+
安检抽检
|
327
|
+
</header>
|
328
|
+
<article slot="modal-body" class="modal-body">
|
329
|
+
<div class="from-group">
|
330
|
+
<div class="row">
|
331
|
+
<lable>抽检不合格原因</lable>
|
332
|
+
<textarea v-model="spotCheckMessage"></textarea>
|
333
|
+
</div>
|
334
|
+
</div>
|
335
|
+
</article>
|
336
|
+
<footer slot="modal-footer" class="modal-footer">
|
337
|
+
<button type="button" class="btn btn-success" @click='SpotCheckSuccess'>确认</button>
|
338
|
+
<button type="button" class="btn btn-success" @click='SpotCheckCancel'>取消</button>
|
339
|
+
</footer>
|
340
|
+
</modal>
|
316
341
|
<modal :show.sync="showModel" :width="'50%'" :backdrop="false">
|
317
342
|
<div slot="modal-header" class="modal-header">
|
318
343
|
<h4 class="modal-title">
|
@@ -410,7 +435,7 @@ export default {
|
|
410
435
|
props: ['f_plan_id', 'item', 'role'],
|
411
436
|
data() {
|
412
437
|
return {
|
413
|
-
f_user_path:'',
|
438
|
+
f_user_path: '',
|
414
439
|
message: '',
|
415
440
|
showButton: false,
|
416
441
|
showModel: false,
|
@@ -503,6 +528,8 @@ export default {
|
|
503
528
|
}
|
504
529
|
}
|
505
530
|
},
|
531
|
+
showSpotCheckButton: false,
|
532
|
+
spotCheckMessage:''
|
506
533
|
}
|
507
534
|
},
|
508
535
|
components: {
|
@@ -538,6 +565,32 @@ export default {
|
|
538
565
|
}
|
539
566
|
},
|
540
567
|
methods: {
|
568
|
+
updateSpotCheck(value) {
|
569
|
+
var reqData = {
|
570
|
+
paperId:this.item.id,
|
571
|
+
userName: this.$login.f.name,
|
572
|
+
spotCheckState: '已抽检',
|
573
|
+
spotCheckResult: value,
|
574
|
+
spotCheckMessage:this.spotCheckMessage
|
575
|
+
}
|
576
|
+
new HttpResetClass().load('POST', 'rs/logic/updateSpotCheck', reqData).then(res => {
|
577
|
+
if (res.data = 200) {
|
578
|
+
this.$showMessage('安检抽检完成')
|
579
|
+
}
|
580
|
+
})
|
581
|
+
},
|
582
|
+
NoSpotCheck() {
|
583
|
+
this.showSpotCheckButton = true
|
584
|
+
},
|
585
|
+
SpotCheckSuccess() {
|
586
|
+
this.updateSpotCheck('不合格')
|
587
|
+
this.spotCheckMessage = ''
|
588
|
+
this.showSpotCheckButton = false
|
589
|
+
},
|
590
|
+
SpotCheckCancel() {
|
591
|
+
this.spotCheckMessage = ''
|
592
|
+
this.showSpotCheckButton = false
|
593
|
+
},
|
541
594
|
exportToPDF() {
|
542
595
|
const element = document.getElementById('toPdf') // 替换为您要导出的页面元素的ID
|
543
596
|
html2pdf(element)
|
@@ -1255,8 +1308,8 @@ export default {
|
|
1255
1308
|
this.$resetpost(`rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.id}'`}}).then((respanse) => {
|
1256
1309
|
//tag
|
1257
1310
|
this.paperdata = respanse.data[0]
|
1258
|
-
this.paperdata.f_overall_imgs.forEach(item=>{
|
1259
|
-
item.f_overall_path = 'rs/image/file/'+item.f_overall_path
|
1311
|
+
this.paperdata.f_overall_imgs.forEach(item => {
|
1312
|
+
item.f_overall_path = 'rs/image/file/' + item.f_overall_path
|
1260
1313
|
})
|
1261
1314
|
this.deviceconfig2 = Object.assign(this.data, respanse.data[0].f_devices)
|
1262
1315
|
})
|