safecheck-client 4.0.1-4 → 4.0.1-41
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 +5 -5
- package/src/assets//350/255/246/345/221/212 (3).png +0 -0
- package/src/assets//350/255/246/345/221/212 (4).png +0 -0
- package/src/assets//350/255/246/345/221/212 (5).png +0 -0
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/checkplan/CheckDetail.vue +1 -1
- package/src/components/map/SecurityCheckCoordinates.vue +348 -0
- package/src/components/pc/CheckBookUser.vue +337 -333
- package/src/filiale/jinhong/android/CurrentCreate.vue +41 -2
- package/src/filiale/jinhong/pc/CheckBookList.vue +10 -7
- package/src/filiale/jinhong/pc/DefectPaperNew.vue +10 -10
- package/src/filiale/jinhong/pc/checkUserList.vue +31 -8
- package/src/filiale/libo/android/PaperFeedback.vue +1579 -0
- package/src/filiale/libo/android/PhoneUpUserinfo.vue +1249 -0
- package/src/filiale/libo/android/SafecheckOrderV.vue +2302 -0
- package/src/filiale/libo/android.js +14 -0
- package/src/filiale/libo/pc/NewCheckpaper.vue +1987 -0
- package/src/filiale/libo/pc.js +12 -0
- package/src/filiale/meihekou/android/MeterReading.vue +9 -5
- package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +3 -2
- package/src/filiale/meihekou/android/SafecheckDevices.vue +5 -5
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +323 -310
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +2027 -2027
- package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -0
- package/src/filiale/meihekou/pc/PaperList.vue +810 -0
- package/src/filiale/meihekou/pc.js +15 -13
- package/src/filiale/minsheng/android/SwitchValve.vue +1 -1
- package/src/filiale/qianneng/android/SwitchValve.vue +1 -1
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1 -0
- package/src/filiale/qingjian/pc/checkUserList.vue +35 -0
- package/src/filiale/taiyuan/android/CurrentCreate.vue +1016 -0
- package/src/filiale/taiyuan/android/PhoneUpUserinfo.vue +1259 -0
- package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2341 -0
- package/src/filiale/taiyuan/android/SafecheckUserInfo.vue +776 -0
- package/src/filiale/taiyuan/android.js +13 -0
- package/src/filiale/taiyuan/pc/DefectDeal.vue +1033 -0
- package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -0
- package/src/filiale/taiyuan/pc/PlanManage.vue +891 -0
- package/src/filiale/taiyuan/pc/checkUserList.vue +798 -0
- package/src/filiale/taiyuan/pc.js +15 -0
- package/src/filiale/tongchuan/android/SwitchValve.vue +1 -1
- package/src/filiale/xinkang/android/AddPlanItem.vue +1 -1
- package/src/filiale/xinkang/android/SafecheckDevices.vue +29 -7
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +21 -44
- package/src/filiale/xinkang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +1474 -1498
- package/src/filiale/xinkang/pc/PaperList.vue +596 -603
- package/src/filiale/yuansheng/android/SwitchValve.vue +1 -1
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1030 -1030
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +4 -4
- package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -0
- package/src/filiale/yunchengminsheng/pc.js +1 -0
- package/src/safecheck-android.js +4 -0
- package/src/safecheck.js +3 -0
@@ -207,6 +207,17 @@
|
|
207
207
|
</v-select>
|
208
208
|
</div>
|
209
209
|
|
210
|
+
<div class="row app-row" v-if="$parent.$parent.criteriaShow">
|
211
|
+
<div class="col-xs-4">
|
212
|
+
<img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
|
213
|
+
<label for="f_plan_name" class="font text-left">安检册:</label>
|
214
|
+
</div>
|
215
|
+
<v-select id="f_plan_name" :value.sync="model.f_check_book" class="input-font"
|
216
|
+
:options='$parent.$parent.checkBooks' placeholder='安检册' :width="'60%'" v-model="model.f_check_book"
|
217
|
+
condition="f_check_book_id like '%{}%'" align="right" close-on-select clear-button>
|
218
|
+
</v-select>
|
219
|
+
</div>
|
220
|
+
|
210
221
|
<div class="row app-row" v-if="$parent.$parent.criteriaShow">
|
211
222
|
<div class="col-xs-4">
|
212
223
|
<img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
|
@@ -645,6 +656,7 @@ export default {
|
|
645
656
|
buildOptions: [],
|
646
657
|
unitOptions: [],
|
647
658
|
planNameOptions: [],
|
659
|
+
checkBooks: [],
|
648
660
|
upcomingCount: 0,
|
649
661
|
doneCount: 0,
|
650
662
|
tempSaveCount: 0,
|
@@ -657,6 +669,7 @@ export default {
|
|
657
669
|
}
|
658
670
|
},
|
659
671
|
ready() {
|
672
|
+
this.getCheckBook()
|
660
673
|
this.getAllArea()
|
661
674
|
this.getAllPlanName()
|
662
675
|
this.selfSearch()
|
@@ -675,6 +688,25 @@ export default {
|
|
675
688
|
window.removeEventListener('popstate', this.fun, false);//false阻止默认事件
|
676
689
|
},
|
677
690
|
methods: {
|
691
|
+
getCheckBook(){
|
692
|
+
this.checkBooks=[]
|
693
|
+
new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
694
|
+
data: {
|
695
|
+
items: 'id,f_check_book_name,f_check_book_type',
|
696
|
+
tablename: 't_check_book',
|
697
|
+
condition: ` 1 = 1 `,
|
698
|
+
orderitem: 'id desc'
|
699
|
+
}
|
700
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
701
|
+
this.checkBooks.push({label: '全部', value: ''})
|
702
|
+
res.data.forEach(ress => {
|
703
|
+
this.checkBooks.push({
|
704
|
+
label: ress.f_check_book_name,
|
705
|
+
value: ress.id
|
706
|
+
})
|
707
|
+
})
|
708
|
+
})
|
709
|
+
},
|
678
710
|
scan() {
|
679
711
|
HostApp.__this__ = this,
|
680
712
|
HostApp.scanCode({ callback: "javascript:HostApp.__this__.getCode();" })
|
@@ -972,7 +1004,7 @@ export default {
|
|
972
1004
|
if (this.planName) {
|
973
1005
|
condition += " and f_plan_name like '%" + this.planName + "%'"
|
974
1006
|
} else {
|
975
|
-
if (this.$refs.paged.$refs.cri.model.f_plan_name)
|
1007
|
+
if (this.$refs.paged.$refs.cri.model.f_plan_name.length > 0)
|
976
1008
|
condition += " and f_plan_name like '%" + this.$refs.paged.$refs.cri.model.f_plan_name + "%'"
|
977
1009
|
}
|
978
1010
|
// if(this.$refs.paged.$refs.cri.model.f_plan_year)
|
@@ -1000,9 +1032,16 @@ export default {
|
|
1000
1032
|
}
|
1001
1033
|
if (this.$refs.paged.$refs.cri.model.f_enter_number)
|
1002
1034
|
condition += " and ti.f_enter_number like '%" + this.$refs.paged.$refs.cri.model.f_enter_number + "%'"
|
1035
|
+
if (this.$refs.paged.$refs.cri.model.f_check_book.length > 0){
|
1036
|
+
if (this.$refs.paged.$refs.cri.model.f_plan_name.length > 0 || this.planName){
|
1037
|
+
condition += " and ti.f_check_book_id like '%" + this.$refs.paged.$refs.cri.model.f_check_book + "%'"
|
1038
|
+
}else {
|
1039
|
+
this.$showMessage("使用安检册筛选项必须选择计划名称")
|
1040
|
+
return
|
1041
|
+
}
|
1042
|
+
}
|
1003
1043
|
if (this.$refs.paged.$refs.cri.model.f_check_version)
|
1004
1044
|
condition += " and ti.f_check_version <= " + this.$refs.paged.$refs.cri.model.f_check_version
|
1005
|
-
//tag
|
1006
1045
|
this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检') or (f_last_check_state = '到访不遇' or f_last_check_state = '拒检')) and ti.f_no_checkplan = '有计划安检'" + condition)
|
1007
1046
|
|
1008
1047
|
},
|
@@ -20,11 +20,10 @@
|
|
20
20
|
<div :class="$parent.$parent.style">
|
21
21
|
<label class="font_normal_body">安检册名称</label>
|
22
22
|
<v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
|
23
|
-
:
|
23
|
+
:multiple="true" style="width: 60%"
|
24
24
|
class="select_list select"
|
25
25
|
:options='$parent.$parent.checkBooks' placeholder='安检册名称'
|
26
|
-
|
27
|
-
condition="tcb.id ='{}'"></v-select>
|
26
|
+
condition="tcb.id in {}"></v-select>
|
28
27
|
</div>
|
29
28
|
<!-- <div :class="$parent.$parent.style">-->
|
30
29
|
<!-- <label class="font_normal_body">表册类型</label>-->
|
@@ -46,6 +45,7 @@
|
|
46
45
|
<!-- </div>-->
|
47
46
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
48
47
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
48
|
+
<button type="button" class="button_search button_spacing" @click="$parent.$parent.clean()">重置</button>
|
49
49
|
<button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增安检册</button>
|
50
50
|
<button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">安检册用户管理</button>
|
51
51
|
<div style="float: right" class="button_spacing"
|
@@ -73,13 +73,12 @@
|
|
73
73
|
</div>
|
74
74
|
|
75
75
|
<div :class="$parent.$parent.style">
|
76
|
-
<label class="font_normal_body"
|
76
|
+
<label class="font_normal_body">安检册名称</label>
|
77
77
|
<v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
|
78
|
-
:
|
78
|
+
:multiple="true" style="width: 60%"
|
79
79
|
class="select_list select"
|
80
80
|
:options='$parent.$parent.checkBooks' placeholder='安检册名称'
|
81
|
-
|
82
|
-
condition="tcb.id ='{}'"></v-select>
|
81
|
+
condition="tcb.id in {}"></v-select>
|
83
82
|
</div>
|
84
83
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
85
84
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
@@ -257,6 +256,10 @@ export default {
|
|
257
256
|
bus.$off('fresh-main')
|
258
257
|
},
|
259
258
|
methods: {
|
259
|
+
clean(){
|
260
|
+
this.$refs.paged.$refs.criteria.model.f_checker_id = ''
|
261
|
+
this.$refs.paged.$refs.criteria.model.f_check_book_id = []
|
262
|
+
},
|
260
263
|
getchecker(val){
|
261
264
|
this.$refs.paged.$refs.criteria.model.f_checker_id = ''
|
262
265
|
if(val && val.length > 0){
|
@@ -331,10 +331,10 @@
|
|
331
331
|
<th><nobr>计划名</nobr></th>
|
332
332
|
<th><nobr>是否有隐患</nobr></th>
|
333
333
|
<th><nobr>隐患数</nobr></th>
|
334
|
-
<th><nobr>处理数</nobr></th
|
335
|
-
<th><nobr>完成数</nobr></th
|
336
|
-
<th><nobr>处理情况</nobr></th
|
337
|
-
<th><nobr>完成情况</nobr></th
|
334
|
+
<!-- <th><nobr>处理数</nobr></th>-->
|
335
|
+
<!-- <th><nobr>完成数</nobr></th>-->
|
336
|
+
<!-- <th><nobr>处理情况</nobr></th>-->
|
337
|
+
<!-- <th><nobr>完成情况</nobr></th>-->
|
338
338
|
<!-- <th><nobr>维修情况</nobr></th>-->
|
339
339
|
<th><nobr>维修员</nobr></th>
|
340
340
|
<th><nobr>隐患明细</nobr></th>
|
@@ -353,10 +353,10 @@
|
|
353
353
|
<td style="text-align: center;white-space:nowrap;">{{row.f_plan_name}}</td>
|
354
354
|
<td style="text-align: center;white-space:nowrap;">{{row.f_has_defect}}</td>
|
355
355
|
<td style="text-align: center;white-space:nowrap;">{{row.f_defect_count}}</td>
|
356
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_deal_count}}</td
|
357
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_repair_count}}</td
|
358
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_is_deal}}</td
|
359
|
-
<td style="text-align: center;white-space:nowrap;">{{row.f_is_repair}}</td
|
356
|
+
<!-- <td style="text-align: center;white-space:nowrap;">{{row.f_deal_count}}</td>-->
|
357
|
+
<!-- <td style="text-align: center;white-space:nowrap;">{{row.f_repair_count}}</td>-->
|
358
|
+
<!-- <td style="text-align: center;white-space:nowrap;">{{row.f_is_deal}}</td>-->
|
359
|
+
<!-- <td style="text-align: center;white-space:nowrap;">{{row.f_is_repair}}</td>-->
|
360
360
|
<!-- <td style="text-align: center;white-space:nowrap;">{{row.f_repaired}}</td>-->
|
361
361
|
<td style="text-align: center;white-space:nowrap;">{{row.f_repairman}}</td>
|
362
362
|
<td style="text-align: center;white-space:nowrap;"><span :title="$parent.$parent.$parent.trouble(row.f_defect_content)" style="display: block;max-width: 300px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{ $parent.$parent.$parent.trouble(row.f_defect_content)}}</span></td>
|
@@ -526,8 +526,8 @@ export default {
|
|
526
526
|
repairers:[],
|
527
527
|
cbcs:[],
|
528
528
|
thead: '',
|
529
|
-
headData: ['入户状态','用户编号','用户名','用户电话','用户小区','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','隐患明细','
|
530
|
-
bodyData: ['f_entry_status','f_userinfo_code','f_user_name','f_user_phone','f_residential_area','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','defecttext','
|
529
|
+
headData: ['入户状态','用户编号','用户名','用户电话','用户小区','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','隐患明细','维修员'],
|
530
|
+
bodyData: ['f_entry_status','f_userinfo_code','f_user_name','f_user_phone','f_residential_area','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','defecttext','f_repairman'],
|
531
531
|
}
|
532
532
|
},
|
533
533
|
props:{
|
@@ -11,8 +11,8 @@
|
|
11
11
|
style="width: 95%" placeholder="客户编号" condition="ui.f_userinfo_code='{}'">
|
12
12
|
</div>
|
13
13
|
<div class="form-group col-sm-1" >
|
14
|
-
<input type="text" class="input_search" v-model="model.
|
15
|
-
style="width: 95%" placeholder="
|
14
|
+
<input type="text" class="input_search" v-model="model.f_meternumber"
|
15
|
+
style="width: 95%" placeholder="表号" condition="uf.f_meternumber like '%{}%'">
|
16
16
|
</div>
|
17
17
|
<div class="form-group col-sm-1" >
|
18
18
|
<input type="text" class="input_search" v-model="model.f_address"
|
@@ -39,7 +39,6 @@
|
|
39
39
|
:multiple="true" :options='$parent.$parent.checkBooks'
|
40
40
|
:value.sync="model.f_meter_book_num"
|
41
41
|
class="select select_list"
|
42
|
-
close-on-select
|
43
42
|
@select-search="$parent.$parent.select_book"
|
44
43
|
:width="'95%'"
|
45
44
|
:timeout="500"
|
@@ -323,6 +322,7 @@
|
|
323
322
|
<th><nobr>用户类型</nobr></th>
|
324
323
|
<th><nobr>用户电话</nobr></th>
|
325
324
|
<th><nobr>表具类型</nobr></th>
|
325
|
+
<th><nobr>表号</nobr></th>
|
326
326
|
<th><nobr>小区名称</nobr></th>
|
327
327
|
<th><nobr>片区</nobr></th>
|
328
328
|
<th><nobr>安检册</nobr></th>
|
@@ -339,6 +339,7 @@
|
|
339
339
|
<td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
|
340
340
|
<td style="text-align: center"><nobr>{{row.f_user_phone}}</nobr></td>
|
341
341
|
<td style="text-align: center"><nobr>{{row.f_meter_classify}}</nobr></td>
|
342
|
+
<td style="text-align: center"><nobr>{{row.f_meternumber}}</nobr></td>
|
342
343
|
<td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
|
343
344
|
<td style="text-align: center"><nobr>{{row.f_book_slice_area}}</nobr></td>
|
344
345
|
<td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
|
@@ -354,7 +355,6 @@
|
|
354
355
|
|
355
356
|
<script>
|
356
357
|
import {HttpResetClass, PagedList} from "vue-client";
|
357
|
-
import * as Util from "../../../components/Util";
|
358
358
|
import Vue from "vue";
|
359
359
|
|
360
360
|
export default {
|
@@ -401,9 +401,32 @@
|
|
401
401
|
},
|
402
402
|
methods: {
|
403
403
|
clearcon(){
|
404
|
-
|
405
|
-
this.$refs.paged.$refs.criteria.model =
|
406
|
-
this.$refs.paged.$refs.criteria.model.
|
404
|
+
this.$refs.paged.$refs.criteria.model.f_userinfo_code = ''
|
405
|
+
this.$refs.paged.$refs.criteria.model.f_meternumber = ''
|
406
|
+
this.$refs.paged.$refs.criteria.model.f_address = ''
|
407
|
+
this.$refs.paged.$refs.criteria.model.f_area = ''
|
408
|
+
this.$refs.paged.$refs.criteria.model.f_meter_book_num = []
|
409
|
+
this.$refs.paged.$refs.criteria.model.f_user_type = ''
|
410
|
+
this.$refs.paged.$refs.criteria.model.f_user_state = ''
|
411
|
+
this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
|
412
|
+
this.$refs.paged.$refs.criteria.model.meter_classify = ''
|
413
|
+
this.$refs.paged.$refs.criteria.model.f_street = ''
|
414
|
+
this.$refs.paged.$refs.criteria.model.f_building = ''
|
415
|
+
this.$refs.paged.$refs.criteria.model.f_unit = ''
|
416
|
+
this.$refs.paged.$refs.criteria.model.f_floor = ''
|
417
|
+
this.$refs.paged.$refs.criteria.model.f_startfile_time = ''
|
418
|
+
this.$refs.paged.$refs.criteria.model.f_endfile_time = ''
|
419
|
+
this.$refs.paged.$refs.criteria.model.f_metertitles = ''
|
420
|
+
this.$refs.paged.$refs.criteria.model.f_user_phone = ''
|
421
|
+
this.$refs.paged.$refs.criteria.model.f_book_slice_area = ''
|
422
|
+
this.$refs.paged.$refs.criteria.model.yearCheck = ''
|
423
|
+
this.$refs.paged.$refs.criteria.model.f_start_time = ''
|
424
|
+
this.$refs.paged.$refs.criteria.model.f_end_time = ''
|
425
|
+
this.$refs.paged.$refs.criteria.model.f_last_check_state = ''
|
426
|
+
this.$refs.paged.$refs.criteria.model.f_startgas_time = ''
|
427
|
+
this.$refs.paged.$refs.criteria.model.f_endgas_time = ''
|
428
|
+
this.$refs.paged.$refs.criteria.model.f_last_check_state = ''
|
429
|
+
this.$refs.paged.$refs.criteria.model.f_last_check_state = ''
|
407
430
|
},
|
408
431
|
handleEnter(e) {
|
409
432
|
if (e.key === 'Enter') {
|
@@ -738,6 +761,6 @@
|
|
738
761
|
</style>
|
739
762
|
<style lang="less">
|
740
763
|
.upuserinfo_sel ul{
|
741
|
-
width:
|
764
|
+
width: 300% !important;
|
742
765
|
}
|
743
766
|
</style>
|