safecheck-client 3.0.35-4 → 3.0.35-41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/package.json +1 -1
  2. package/src/bootstrap/less/pager.less +76 -76
  3. package/src/components/NewDefectList/DefectListNew.vue +617 -617
  4. package/src/components/Util/SafecheckUpload.vue +4 -0
  5. package/src/components/android/CheckPlanDown.vue +1 -1
  6. package/src/components/android/CivilCurrentCreate.vue +56 -41
  7. package/src/components/android/NoCivilCurrentCreate.vue +10 -0
  8. package/src/components/android/PhoneUpUserinfo.vue +25 -6
  9. package/src/components/android/SafecheckDevices.vue +1298 -1298
  10. package/src/components/android/SafecheckOrderV.vue +2 -529
  11. package/src/components/pc/AddPlanItemYyChange.vue +743 -0
  12. package/src/components/pc/NewCheckpaper.vue +1998 -1943
  13. package/src/components/pc/SecurityCheckLedger.vue +133 -0
  14. package/src/components/pc/SecurityCheckList.vue +144 -0
  15. package/src/components/pc/SecurityCheckManage.vue +106 -0
  16. package/src/components/planmanage/PlanManage.vue +47 -2
  17. package/src/components/report/CheckPlanAreaList.vue +25 -5
  18. package/src/components/rongcheng/AddPlanItem.vue +1 -1
  19. package/src/components/rongcheng/AspiratedAreaPlan.vue +1 -0
  20. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
  21. package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
  22. package/src/components/rongcheng/CheckSearchUser.vue +1 -1
  23. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  24. package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
  25. package/src/filiale/bayan/android/AddPlanItem.vue +22 -2
  26. package/src/filiale/bayan/android/CheckPlanDown.vue +2 -2
  27. package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
  28. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +908 -905
  29. package/src/filiale/bayan/android/SafecheckOrderV.vue +76 -20
  30. package/src/filiale/bayan/android/SafecheckUserInfo.vue +4 -0
  31. package/src/filiale/bayan/pc/PlanManage.vue +2 -0
  32. package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
  33. package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
  34. package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
  35. package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
  36. package/src/filiale/dexin/pc.js +1 -0
  37. package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
  38. package/src/filiale/huaran/android.js +1 -0
  39. package/src/filiale/huaran/pc/PaperList.vue +22 -1
  40. package/src/filiale/huaran/pc/PlanManage.vue +53 -6
  41. package/src/filiale/huaran/pc/checkUserList.vue +55 -22
  42. package/src/filiale/huaran/pc.js +1 -0
  43. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  44. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  45. package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
  46. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -447
  47. package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -2979
  48. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  49. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
  50. package/src/filiale/siyang/pc/checkUserList.vue +108 -133
  51. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
  52. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
  53. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  54. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
  55. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  56. package/src/filiale/weinan/pc/checkUserList.vue +712 -712
  57. package/src/filiale/xilan/android/CurrentCreate.vue +1053 -1067
  58. package/src/filiale/xilan/android.js +0 -1
  59. package/src/filiale/xilan/pc/PaperList.vue +795 -0
  60. package/src/filiale/xilan/pc.js +13 -12
  61. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
  62. package/src/safecheck.js +12 -0
  63. package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
@@ -0,0 +1,133 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2" >
9
+ <label class="font_normal_body">小区名称</label>
10
+ <input type="text" class="input_search" v-model="model.f_residential_area"
11
+ style="width: 60%" placeholder="小区名称" condition="ta.f_residential_area = '{}'">
12
+ </div>
13
+ <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
14
+ <div style="float: right" class="button_spacing"
15
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
16
+ @click="$parent.$parent.hiddenr()"></div>
17
+ <export-excel-safe :data="$parent.$parent.searchData"
18
+ :field="$parent.$parent.excelHeaders"
19
+ :choose-col="true"
20
+ sqlurl="rs/logic/SafeExportExcel" sql-name="securityCheckLedger" template-name='安检台账'></export-excel-safe>
21
+ <button class="button_spacing button_search" @click="search()">查询</button>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </criteria>
26
+ <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
27
+ <template partial='head'>
28
+ <tr>
29
+ <th>
30
+ <nobr>小区名称</nobr>
31
+ </th>
32
+ <th>
33
+ <nobr>小区用户数</nobr>
34
+ </th>
35
+ <th>
36
+ <nobr>所属计划</nobr>
37
+ </th>
38
+ <th>
39
+ <nobr>计划内用户数</nobr>
40
+ </th>
41
+ <th>
42
+ <nobr>计划下发时间</nobr>
43
+ </th>
44
+ <th>
45
+ <nobr>计划结束时间</nobr>
46
+ </th>
47
+ <th>
48
+ <nobr>执行时间</nobr>
49
+ </th>
50
+ <th>
51
+ <nobr>执行周期</nobr>
52
+ </th>
53
+ <th>
54
+ <nobr>周期单位</nobr>
55
+ </th>
56
+ <th>
57
+ <nobr>距离下周期时间(天)</nobr>
58
+ </th>
59
+ </tr>
60
+ </template>
61
+ <template partial='body'>
62
+ <td style="text-align: center">{{row.f_residential_area}}</td>
63
+ <td style="text-align: center">{{row.area_num}}</td>
64
+ <td style="text-align: center">{{row.f_plan_name}}</td>
65
+ <td style="text-align: center">{{row.plan_num}}</td>
66
+ <td style="text-align: center">{{row.f_issue_time}}</td>
67
+ <td style="text-align: center">{{row.f_use_end_time}}</td>
68
+ <td style="text-align: center">{{row.first_check_date}}</td>
69
+ <td style="text-align: center">{{row.zq_value}}</td>
70
+ <td style="text-align: center">{{row.dw_value}}</td>
71
+ <td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }">{{ row.difference_day }}</td>
72
+ </template>
73
+ </data-grid>
74
+ </criteria-paged>
75
+ </div>
76
+ </div>
77
+ </template>
78
+
79
+ <script>
80
+ import {PagedList} from 'vue-client'
81
+
82
+ export default {
83
+ title: '安检台账',
84
+ data() {
85
+ return {
86
+ model: new PagedList('rs/sql/securityCheckLedger', 20),
87
+ searchData: {
88
+ condition: "1=1"
89
+ },
90
+ excelHeaders: {
91
+ 'f_residential_area': '小区名称',
92
+ 'area_num': '小区用户数',
93
+ 'f_plan_name': '所属计划',
94
+ 'plan_num': '计划内用户数',
95
+ 'f_issue_time': '计划下发时间',
96
+ 'f_use_end_time': '计划下发时间',
97
+ 'first_check_date': '执行时间',
98
+ 'zq_value': '执行周期',
99
+ 'dw_value': '周期单位',
100
+ 'difference_day': '距离下周期时间(天)'
101
+ }
102
+ }
103
+ },
104
+ methods: {
105
+ hiddenr() {
106
+ this.$parent.isdetail = !this.$parent.isdetail
107
+ },
108
+ showList(row){
109
+ row.val = row
110
+ this.$parent.selected(row)
111
+ },
112
+ selfSearch(args) {
113
+ this.model.search(args.condition, args.model, args.condValue)
114
+ }
115
+ },
116
+ ready() {
117
+
118
+ },
119
+ watch: {
120
+ 'model.condition'(val) {
121
+ if (val) {
122
+ this.searchData.condition = val
123
+ }
124
+ }
125
+ },
126
+ computed: {
127
+ selected() {
128
+ return this.$refs.paged.$refs.grid.selected
129
+ }
130
+ }
131
+
132
+ }
133
+ </script>
@@ -0,0 +1,144 @@
1
+ <template>
2
+ <div class="flex">
3
+ <criteria-paged :model="model" v-ref:paged :pager="false">
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-4" >
8
+ <label class="font_normal_body">计划名称</label>
9
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_plan_name" placeholder='计划名称'
10
+ condition="f_plan_name = '{}'" @keyup.enter="search()">
11
+ </div>
12
+ <!-- <div class="form-group col-sm-4" >-->
13
+ <!-- <label class="font_normal_body">用户类型</label>-->
14
+ <!-- <v-select style="width:60% "-->
15
+ <!-- class="select select_list"-->
16
+ <!-- :value.sync="model.f_user_type"-->
17
+ <!-- v-model="model.f_user_type"-->
18
+ <!-- :options='$parent.$parent.userType'-->
19
+ <!-- placeholder='用户类型'-->
20
+ <!-- condition="f_user_type = '{}'"-->
21
+ <!-- close-on-select>-->
22
+ <!-- </v-select>-->
23
+ <!-- </div>-->
24
+ <!-- <div class="form-group col-sm-4" >-->
25
+ <!-- <label class="font_normal_body">是否已检</label>-->
26
+ <!-- <v-select style="width:60% "-->
27
+ <!-- class="select select_list"-->
28
+ <!-- :value.sync="model.f_state"-->
29
+ <!-- v-model="model.f_state"-->
30
+ <!-- :options='$parent.$parent.checkState'-->
31
+ <!-- placeholder='是否已检'-->
32
+ <!-- condition="f_state = '{}'"-->
33
+ <!-- close-on-select>-->
34
+ <!-- </v-select>-->
35
+ <!-- </div>-->
36
+ <!-- <div class="form-group col-sm-4" >-->
37
+ <!-- <label class="font_normal_body">安检状态</label>-->
38
+ <!-- <v-select style="width:60% "-->
39
+ <!-- class="select select_list"-->
40
+ <!-- :value.sync="model.f_entry_status"-->
41
+ <!-- v-model="model.f_entry_status"-->
42
+ <!-- :options='$parent.$parent.entry_status'-->
43
+ <!-- placeholder='安检状态'-->
44
+ <!-- condition="f_entry_status = '{}'"-->
45
+ <!-- close-on-select>-->
46
+ <!-- </v-select>-->
47
+ <!-- </div>-->
48
+ </div>
49
+ <!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
50
+ <!-- <div class="form-group col-sm-4" >-->
51
+ <!-- <label class="font_normal_body">气表编号</label>-->
52
+ <!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meternumber" placeholder='气表编号'-->
53
+ <!-- condition="f_meternumber = '{}'" @keyup.enter="search()">-->
54
+ <!-- </div>-->
55
+ <!-- <div class="form-group col-sm-4" >-->
56
+ <!-- <label class="font_normal_body">气表品牌</label>-->
57
+ <!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meter_brand" placeholder='气表品牌'-->
58
+ <!-- condition="f_meter_brand like '%{}%'" @keyup.enter="search()">-->
59
+ <!-- </div>-->
60
+ <!-- </div>-->
61
+ <div class="row">
62
+ <div class="form-group col-sm-2 button-range" >
63
+ <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
64
+ <!-- <export-excel-safe :data="$parent.$parent.exportParameter"-->
65
+ <!-- :field="$parent.$parent.excelHeaders"-->
66
+ <!-- sqlurl="rs/logic/SafeExportExcel" sql-name="getCheckPlanUserList"-->
67
+ <!-- template-name='安检情况明细' :choose-col="true">-->
68
+ <!-- </export-excel-safe>-->
69
+ <!-- &lt;!&ndash;展示下方条件或隐藏&ndash;&gt;-->
70
+ <!-- <div class="span" style="float:right;">-->
71
+ <!-- <div class="button_spacing" style="float: right;margin-left:10px"-->
72
+ <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
73
+ <!-- @click="$parent.$parent.hidden()">-->
74
+ <!-- </div>-->
75
+ <!-- </div>-->
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </criteria>
80
+ <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
81
+ <template partial='head' >
82
+ <tr>
83
+ <th><nobr>计划名称</nobr></th>
84
+ <th><nobr>入户数</nobr></th>
85
+ <th><nobr>到访不遇数</nobr></th>
86
+ <th><nobr>拒检数</nobr></th>
87
+ <th><nobr>安检率</nobr></th>
88
+ <th><nobr>入户率</nobr></th>
89
+ </tr>
90
+ </template>
91
+ <template partial='body' >
92
+ <tr >
93
+ <td style="text-align:center"><span>{{row.f_plan_name}}</span></td>
94
+ <td style="text-align:center">{{row.f_ruhu}}</td>
95
+ <td style="text-align:center">{{row.f_buyu}}</td>
96
+ <td style="text-align:center">{{row.f_jujian}}</td>
97
+ <td style="text-align:center">{{row.f_check_bv}}</td>
98
+ <td style="text-align:center">{{row.f_ruhu_bv}}</td>
99
+ </tr>
100
+ </template>
101
+ <template partial='foot'></template>
102
+ </data-grid>
103
+ </criteria-paged>
104
+ </div>
105
+ </template>
106
+
107
+ <script>
108
+ import {HttpResetClass, PagedList} from 'vue-client'
109
+ export default {
110
+ title: '安检情况明细',
111
+ data () {
112
+ return {
113
+ model: new PagedList('rs/sql/securityCheckList', 50, {}),
114
+ }
115
+ },
116
+ props: ['checkrow'],
117
+ ready () {
118
+ this.search()
119
+ // this.getfield = this.config.excelHeaders
120
+ },
121
+ methods: {
122
+ search () {
123
+ this.$refs.paged.$refs.criteria.search()
124
+ },
125
+ async selfSearch (args) {
126
+ if(!this.checkrow){
127
+ return
128
+ }
129
+ let condition = {
130
+ condition1: `f_residential_area = '${this.checkrow.f_residential_area}'`,
131
+ condition2: args.condition
132
+ }
133
+ const res = await new HttpResetClass().load('post','/rs/sql/securityCheckList',{data:{condition: condition}})
134
+ this.model.rows = res.data
135
+ // this.model.search(condition, args.model)
136
+ },
137
+ },
138
+ watch: {
139
+ 'checkrow' () {
140
+ this.search()
141
+ }
142
+ }
143
+ }
144
+ </script>
@@ -0,0 +1,106 @@
1
+ <template>
2
+ <div id="unit" class="flex-row" v-if="listpage" >
3
+ <div :class="{'basic-main':((!isdetail) && (!usershow)),'binary-left':isdetail||usershow}" >
4
+ <security-check-ledger1 v-ref:list :row="row" @select-changed="selected"></security-check-ledger1>
5
+ </div>
6
+ <div class="binary-right" style="overflow-y: scroll" v-if="isdetail">
7
+ <security-check-ledger2 :checkrow="checkrow" ></security-check-ledger2>
8
+ </div>
9
+ </div>
10
+ </template>
11
+ <script>
12
+ import Vue from 'vue'
13
+
14
+ export default {
15
+ title: '安检情况汇总',
16
+ data () {
17
+ return {
18
+ f_userinfo_id: '',
19
+ f_filialeid: this.$login.f.orgid,
20
+ config: {
21
+ isLimit: false, // 限购
22
+ audit: false, // 启用审核
23
+ heatingSeason: false, // 采暖季
24
+ deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
25
+ },
26
+ listpage: true,
27
+ row: null,
28
+ checkrow: null,
29
+ parentData: '',
30
+ isdetail: false,
31
+ gasPriceShow: false,
32
+ usershow: false,
33
+ // 控制气价信息界面和变更操作记录界面的展示
34
+ changeView: false,
35
+ nocivilshow:true,
36
+ modalshow:false,
37
+ }
38
+ },
39
+ ready () {
40
+ },
41
+ methods: {
42
+ cancel(obj) {
43
+ this.listpage = true
44
+ },
45
+ dealMsg(val) {
46
+ this.listpage = false
47
+ this.f_userinfo_id = val.f_userinfo_id
48
+ },
49
+ selected (obj) {
50
+ //tag)
51
+ //tag)
52
+ this.checkrow = obj.val
53
+ this.isdetail = true
54
+ this.usershow = false
55
+ this.listpage = true
56
+ },
57
+ selected2 (obj) {
58
+
59
+ },
60
+ refresh () {
61
+ this.row = null
62
+ this.gasPriceShow = false
63
+ this.isdetail = false
64
+ this.usershow =false
65
+ this.listpage=true
66
+ this.$refs.list.search()
67
+ }
68
+ },
69
+ events: {
70
+ 'success' (name, row, res) {
71
+ this.row = row
72
+ this.gasPriceShow = false
73
+ this.isdetail = false
74
+ this.usershow =false
75
+ this.listpage=true
76
+ this.$refs.list.search()
77
+ },
78
+ 'error' (name, row, res) {
79
+ this.row = row
80
+ this.gasPriceShow = false
81
+ this.isdetail = false
82
+ this.usershow =false
83
+ this.listpage=true
84
+ this.$refs.list.search()
85
+ },
86
+ 'close' (res) {
87
+ this.row = null
88
+ this.gasPriceShow = false
89
+ this.isdetail = false
90
+ this.usershow =false
91
+ this.listpage=true
92
+ },
93
+ 'search' () {
94
+ this.row = null
95
+ this.gasPriceShow = false
96
+ this.isdetail = false
97
+ this.usershow =false
98
+ this.listpage=true
99
+ // this.$refs.list.search()
100
+ }
101
+ }
102
+ }
103
+ </script>
104
+ <style>
105
+
106
+ </style>
@@ -251,6 +251,18 @@
251
251
  >
252
252
  </v-select>
253
253
  </div>
254
+ <div class="form-group col-sm-4" v-show="createPlan.isShare=='是' && ismulchecker">
255
+ <label class="font_normal_body">安&ensp;检&ensp;员:</label>
256
+ <v-select
257
+ class="select select_list"
258
+ :value.sync="createPlan.checkers"
259
+ v-model="createPlan.checkers"
260
+ :options='checker'
261
+ placeholder='请选择'
262
+ :multiple="true"
263
+ >
264
+ </v-select>
265
+ </div>
254
266
  <div class="form-group col-sm-4" v-show="createPlan.isShare=='否'">
255
267
  <label class="font_normal_body">安&ensp;检&ensp;员:</label>
256
268
  <v-select
@@ -350,6 +362,18 @@
350
362
  >
351
363
  </v-select>
352
364
  </div>
365
+ <div class="form-group col-sm-4" v-show="upCheckPlan.isShare=='是' && ismulchecker">
366
+ <label class="font_normal_body">安&ensp;检&ensp;员:</label>
367
+ <v-select
368
+ class="select select_list"
369
+ :value.sync="upCheckPlan.checkers"
370
+ v-model="upCheckPlan.checkers"
371
+ :options='checker'
372
+ placeholder='请选择'
373
+ :multiple="true"
374
+ >
375
+ </v-select>
376
+ </div>
353
377
  <div class="form-group col-sm-4" v-show="upCheckPlan.isShare=='否'">
354
378
  <label class="font_normal_body">安&ensp;检&ensp;员:</label>
355
379
  <v-select
@@ -396,6 +420,7 @@
396
420
  title: '计划管理',
397
421
  data() {
398
422
  return {
423
+ ismulchecker:this.$appdata.getSingleValue('计划安检员多选')?true:false,
399
424
  a:'1',
400
425
  opt:[{label:"按时间降序",value:"按时间降序"},{label:"按时间升序",value:"按时间升序"}],
401
426
  currentorder:'按时间降序',
@@ -410,7 +435,9 @@
410
435
  f_checker_id:'',
411
436
  isShare:'',
412
437
  f_checker:'',
413
- checker:{}
438
+ f_checkerstr:'',
439
+ checker:{},
440
+ checkers:[]
414
441
  },
415
442
  isSend:false,
416
443
  createPlan:{
@@ -421,7 +448,9 @@
421
448
  f_issued:'否',
422
449
  f_checker_id:null,
423
450
  checker:{},
451
+ checkers:[],
424
452
  f_checker:null,
453
+ f_checkerstr:null,
425
454
  f_safecheck_type:'',
426
455
  },
427
456
  planCondition:{},
@@ -523,6 +552,12 @@
523
552
  return
524
553
  }
525
554
  if(this.createPlan.isShare=="是"){
555
+ if(this.ismulchecker && this.createPlan.checkers.length > 0){
556
+ this.createPlan.checkers.forEach((value) => {
557
+ this.createPlan.f_checkerstr += `${value.name},`
558
+ })
559
+ this.createPlan.f_checkerstr = this.createPlan.f_checkerstr.slice(0, -1)
560
+ }
526
561
  this.createPlan.f_checker_id=null
527
562
  this.createPlan.f_checker=null
528
563
  }else{
@@ -545,7 +580,9 @@
545
580
  f_issued:'否',
546
581
  f_checker_id:null,
547
582
  checker:{},
583
+ checkers:[],
548
584
  f_checker:null,
585
+ f_checkerstr:null,
549
586
  f_safecheck_type:'',
550
587
  f_create_operator:''
551
588
  }
@@ -608,7 +645,7 @@
608
645
  //按条件查询所有安检计划
609
646
  async loadCheckPlan() {
610
647
  this.isSend=true
611
- this.checkplan.check.checkes=[]
648
+ this.checkplan.check.checkescheckes=[]
612
649
  let fieldValue=''
613
650
  switch(this.currentorder){
614
651
  case "按时间降序":
@@ -677,6 +714,12 @@
677
714
  console.log(this.upCheckPlan)
678
715
 
679
716
  if(this.upCheckPlan.isShare=="是"){
717
+ if(this.ismulchecker && this.upCheckPlan.checkers.length > 0){
718
+ this.upCheckPlan.checkers.forEach((value) => {
719
+ this.upCheckPlan.f_checkerstr += `${value.name},`
720
+ })
721
+ this.upCheckPlan.f_checkerstr = this.upCheckPlan.f_checkerstr.slice(0, -1)
722
+ }
680
723
  this.upCheckPlan.f_checker_id=null
681
724
  this.upCheckPlan.f_checker=null
682
725
  }else{
@@ -686,6 +729,8 @@
686
729
  this.isSend=true
687
730
  let res=await new HttpResetClass().load("POST", "/rs/logic/updateCheckPlan", {
688
731
  data:{
732
+ checkers:this.createPlan.checkers,
733
+ f_checkerstr:this.createPlan.f_checkerstr,
689
734
  f_checker:this.upCheckPlan.f_checker,
690
735
  f_safecheck_type:this.upCheckPlan.f_safecheck_type,
691
736
  f_checker_id:this.upCheckPlan.f_checker_id,
@@ -172,12 +172,21 @@
172
172
  <td style="text-align:center">{{row.f_buyu}}</td>
173
173
  <td style="text-align:center"><nobr>{{row.f_jujian}}</nobr></td>
174
174
  <td style="text-align:center"><nobr>{{row.f_check_bv}}</nobr></td>
175
- <!--<td style="text-align: center;">-->
176
- <!--<button class="btn btn-link" @click.stop="$parent.$parent.$parent.showhistory(row)">查看</button>-->
177
- <!--</td>-->
178
175
  </tr>
179
176
  </template>
180
- <template partial='foot'></template>
177
+ <template partial="foot">
178
+ <tr>
179
+ <td style="text-align:center"><strong>合计:</strong></td>
180
+ <td style="text-align:center" :colspan="$parent.$parent.$parent.nameForSql.length"></td>
181
+ <td style="text-align:center"><strong>{{model.sums.f_plan_total}}</strong></td>
182
+ <td style="text-align:center"><strong>{{model.sums.f_weijian}}</strong></td>
183
+ <td style="text-align:center"><nobr><strong>{{model.sums.f_yijian}}</strong></nobr></td>
184
+ <td style="text-align:center"><nobr><strong>{{model.sums.f_ruhu}}</strong></nobr></td>
185
+ <td style="text-align:center"><nobr><strong>{{model.sums.f_buyu}}</strong></nobr></td>
186
+ <td style="text-align:center"><nobr><strong>{{model.sums.f_jujian}}</strong></nobr></td>
187
+ <td style="text-align:center"><strong>{{model.sums.f_plan_total>0?(model.sums.f_yijian/model.sums.f_plan_total*100).toFixed(2)+'%':0}}</strong></td>
188
+ </tr >
189
+ </template>
181
190
  </data-grid>
182
191
  </criteria-paged>
183
192
  </div>
@@ -194,7 +203,7 @@
194
203
  export default {
195
204
  data () {
196
205
  return {
197
- model: new PagedList('rs/sql/getCheckPlanAreaList', 99999),
206
+ model: new PagedList('rs/sql/getCheckPlanAreaList', 99999,{},{f_plan_total:'',f_weijian:'',f_yijian:'',f_ruhu:'',f_buyu:'',f_jujian:''}),
198
207
  // 公司下拉
199
208
  curorgid: [this.$login.f.orgid],
200
209
  row: {},
@@ -437,7 +446,18 @@
437
446
  }
438
447
  //tag
439
448
  this.model.rows=JSON.parse(JSON.stringify(temp))
449
+ },
450
+ 'model.rows.length'() {
451
+ // 如果查询无结果,将合计置为0
452
+ if(this.model.rows.length < 1){
453
+ this.model.sums.f_plan_total = 0
454
+ this.model.sums.f_weijian = 0
455
+ this.model.sums.f_yijian = 0
456
+ this.model.sums.f_ruhu = 0
457
+ this.model.sums.f_buyu = 0
458
+ this.model.sums.f_jujian = 0
440
459
  }
460
+ }
441
461
  },
442
462
  computed:{
443
463
  exportParameter(){
@@ -168,7 +168,7 @@
168
168
  </div>
169
169
  <div class="col-xs-12">
170
170
  <p class="panel-title col-xs-5 text-left font"><b>隐患情况:</b></p>
171
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_last_check_result }}</p>
171
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_defect_text }}</p>
172
172
  </div>
173
173
  </div>
174
174
  </div>
@@ -334,6 +334,7 @@
334
334
  </div>
335
335
  <div slot="modal-footer" class="modal-footer">
336
336
  <button type="button" class="btn btn-default" @click="uploadPic">上传</button>
337
+ <button type="button" class="btn btn-default" @click="imgUpModalShow = false">取消</button>
337
338
  </div>
338
339
  </modal>
339
340
  <!--<back-page :need-back='true' @flag="$back()"></back-page>-->
@@ -456,6 +456,10 @@
456
456
  let temp = getFile.data[i].f_downloadpath
457
457
  if (temp) {
458
458
  let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
459
+ if (temp.startsWith('E:')){
460
+ URL = `rs/image/file/${getFile.data[i].f_filename}`
461
+ }
462
+ console.log(URL)
459
463
  getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
460
464
  }
461
465
  }
@@ -32,7 +32,7 @@
32
32
  <p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_address }}</p>
33
33
  </div>
34
34
  <div class="col-xs-12" style="margin-left: 20px">
35
- <p class="panel-title col-xs-7 text-left input-font"><a @click="searchDevices(userinfo.f_userinfoid)">设备信息维护</a></p>
35
+ <p class="panel-title col-xs-7 text-left input-font"><a @click="upuserinfo(userinfo.f_userinfoid)">设备信息维护</a></p>
36
36
  </div>
37
37
  <!--<div class="col-xs-12">
38
38
  <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
@@ -157,13 +157,21 @@
157
157
  })
158
158
  this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
159
159
  },
160
- searchDevices(f_userinfo_id) {
160
+ // searchDevices(f_userinfo_id) {
161
+ // this.$dispatch('gotoson', {
162
+ // _this: this.$parent.$parent,
163
+ // title: '设备查看',
164
+ // safe: false
165
+ // })
166
+ // this.$parent.$parent.$goto('PhoneDevicesInfo', {f_userinfo_id: f_userinfo_id,f_user_type:this.userinfo.f_check_type})
167
+ // },
168
+ upuserinfo (f_userinfo_id) {
161
169
  this.$dispatch('gotoson', {
162
170
  _this: this.$parent.$parent,
163
- title: '设备查看',
171
+ title: '档案信息变更',
164
172
  safe: false
165
173
  })
166
- this.$parent.$parent.$goto('PhoneDevicesInfo', {f_userinfo_id: f_userinfo_id,f_user_type:this.userinfo.f_check_type})
174
+ this.$parent.$parent.$goto('PhoneUpUserinfo', {f_userinfo_id: f_userinfo_id, f_source: '安检'})
167
175
  },
168
176
  cameraCallBack(prop, fileName) {
169
177
  HostApp.__this__.$set(prop, fileName + '?' + Math.random())
@@ -644,7 +644,7 @@ export default {
644
644
  //args.condition += " and ( f_last_check_date > '"+ args.model.f_check_end + " 23:59:00' or f_last_check_date < '"+ args.model.f_check_start + " 00:00:00' or f_last_check_date is null)"
645
645
  } else if(this.SafeCheckXZ == '未入户') {
646
646
  args.condition += " and r < 1"
647
- args.condition += " and f_last_check_state != '入户'"
647
+ // args.condition += " and f_last_check_state != '入户'"
648
648
  con1 += ` and f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
649
649
  con2 += ` and f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
650
650
  if(args.model.f_check_state=='到访不遇'){
@@ -1786,7 +1786,7 @@ export default {
1786
1786
  this.$set('data.f_user_name', this.item.f_user_name)
1787
1787
  this.$set('data.f_user_phone', this.item.f_user_phone)
1788
1788
  this.$set('data.f_used_name', this.item.f_plan_meters[0].f_used_name)
1789
- this.$set('data.f_rent_phone',this.item.f_plan_meters[0].f_rent_phone)
1789
+ this.$set('data.f_rent_phone',this.item.f_rent_phone)
1790
1790
  this.$set('data.f_remark', '')
1791
1791
  this.$set('data.f_user_phone2',this.item.f_plan_meters[0].f_user_phone2)
1792
1792
  this.$set('data.f_userinfoid', this.item.f_userinfoid)