safecheck-client 3.0.32 → 3.0.33-11

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.
Files changed (95) hide show
  1. package/package.json +133 -133
  2. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  3. package/src/assets//345/234/260/345/235/200.png +0 -0
  4. package/src/assets//345/247/223/345/220/215.png +0 -0
  5. package/src/assets//345/260/217/345/214/272.png +0 -0
  6. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  7. package/src/assets//345/272/225/346/225/260.png +0 -0
  8. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  9. package/src/assets//346/245/274/345/217/267.png +0 -0
  10. package/src/assets//346/245/274/345/261/202.png +0 -0
  11. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  12. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  13. package/src/components/android/AndroidDefectDeal.vue +5 -5
  14. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  15. package/src/components/android/SafecheckOrderV.vue +4 -1
  16. package/src/components/map/checkScreen.vue +1 -1
  17. package/src/components/planmanage/checkPlanList.vue +3 -3
  18. package/src/components/planmanage/checkUserList.vue +34 -2
  19. package/src/components/rongcheng/AspiratedDevices.vue +34 -1
  20. package/src/components/rongcheng/DefectPaper.vue +4 -1
  21. package/src/components/rongcheng/SafecheckDevices.vue +34 -1
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
  23. package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
  24. package/src/filiale/Util.js +7 -0
  25. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  26. package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
  27. package/src/filiale/bayan/android/AddPlanItem.vue +5 -1
  28. package/src/filiale/bayan/android/SafecheckOrderV.vue +3 -0
  29. package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
  30. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  31. package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
  32. package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
  33. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  34. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  35. package/src/filiale/dexin/android.js +4 -1
  36. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  37. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  38. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  39. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  40. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  41. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  42. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  43. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  44. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  45. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  46. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  47. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  48. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  49. package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
  50. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  51. package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
  52. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  53. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  54. package/src/filiale/fugou/pc.js +60 -5
  55. package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
  56. package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
  57. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
  58. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
  59. package/src/filiale/jingyang/android.js +4 -0
  60. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  61. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
  62. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  63. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  64. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
  65. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
  66. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  67. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  68. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  69. package/src/filiale/shexian/pc.js +1 -0
  70. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
  71. package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
  72. package/src/filiale/weinan/android/SafecheckOrderV.vue +3321 -3276
  73. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  74. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  75. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  76. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  77. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  78. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  79. package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
  80. package/src/filiale/wensu/pc/checkUserList.vue +13 -9
  81. package/src/filiale/wensu/pc.js +1 -0
  82. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
  83. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  84. package/src/filiale/wuhai/pc.js +1 -0
  85. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
  86. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
  87. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  88. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
  89. package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
  90. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
  91. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
  92. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  93. package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
  94. package/static/stretch_bottom.png +0 -0
  95. package/static/stretch_top.png +0 -0
@@ -35,21 +35,33 @@
35
35
  </tr>
36
36
  <tr>
37
37
  <td>安检员</td>
38
+ <td>总入户量</td>
39
+ <td>总到访不遇量</td>
40
+ <td>总拒检量</td>
41
+ <td>安检总量</td>
38
42
  <td>计划总数</td>
39
- <td>已检总数</td>
40
- <td>计划中已入户</td>
41
- <td>计划中未入户</td>
42
- <td>拒检</td>
43
+ <td>入户</td>
43
44
  <td>到访不遇</td>
45
+ <td>拒检</td>
46
+ <td>无计划总数</td>
47
+ <td>无计划入户</td>
48
+ <td>无计划到访不遇</td>
49
+ <td>无计划拒检</td>
44
50
  </tr>
45
51
  <tr v-for="item in data">
46
- <td>{{ item.f_checker }}</td>
47
- <td>{{ item.plannum }}</td>
48
- <td>{{ item.yijiansum }}</td>
49
- <td>{{ item.yrj }}</td>
50
- <td>{{ item.wrj }}</td>
51
- <td>{{ item.jujian }}</td>
52
- <td>{{ item.daofang }}</td>
52
+ <td style="text-align: center">{{item.f_checker}}</td>
53
+ <td style="text-align: center">{{item.ruhu_total}}</td>
54
+ <td style="text-align: center">{{item.daofang_total}}</td>
55
+ <td style="text-align: center">{{item.jujian_total}}</td>
56
+ <td style="text-align: center">{{item.total_sum}}</td>
57
+ <td style="text-align: center">{{item.plannum}}</td>
58
+ <td style="text-align: center">{{item.ruhu}}</td>
59
+ <td style="text-align: center">{{item.daofang}}</td>
60
+ <td style="text-align: center">{{item.jujian}}</td>
61
+ <td style="text-align: center">{{item.no_plan_num}}</td>
62
+ <td style="text-align: center">{{item.noruhu}}</td>
63
+ <td style="text-align: center">{{item.nodaofang}}</td>
64
+ <td style="text-align: center">{{item.nojujian}}</td>
53
65
  </tr>
54
66
  <tr >
55
67
  <td></td>
@@ -60,6 +72,11 @@
60
72
  <td></td>
61
73
  <td></td>
62
74
  <td></td>
75
+ <td></td>
76
+ <td></td>
77
+ <td></td>
78
+ <td></td>
79
+ <td></td>
63
80
  </tr>
64
81
  <tr>
65
82
  </tr>
@@ -120,9 +120,9 @@ import {HttpResetClass} from 'vue-client'
120
120
  this.allUsers.forEach(user => {
121
121
  // if (resids.indexOf(user.orgid) != -1) {
122
122
  // if (typeof user.name == "string"){
123
- if(user.state == '在职'){
123
+
124
124
  this.users.push({label: user.name, value: user.name})
125
- }
125
+
126
126
 
127
127
  // }
128
128
  // }
@@ -10,8 +10,7 @@
10
10
  role-lable="安&ensp;检&ensp;员"
11
11
  @re-res="$parent.$parent.getRes"
12
12
  :value.sync="model.f_checker_id"
13
- v-model="model.f_checker_id"
14
- condition="tcp.f_checker = '{}'">
13
+ v-model="model.f_checker_id">
15
14
  </role-selector-safe>
16
15
  </div>
17
16
  <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
@@ -59,39 +58,39 @@
59
58
  </datepicker>
60
59
  </div>
61
60
  <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
62
- <!--<label class="font_normal_body">安检起始</label>-->
63
- <!--<datepicker-->
64
- <!--:value.sync="$parent.$parent.f_start_time"-->
65
- <!--placeholder='起始时间' style="width:60%"-->
66
- <!--:disabled-days-of-week="[]"-->
67
- <!--:format="'yyyy-MM-dd'"-->
68
- <!--:show-rest-button="reset">-->
69
- <!--</datepicker>-->
61
+ <!--<label class="font_normal_body">安检起始</label>-->
62
+ <!--<datepicker-->
63
+ <!--:value.sync="$parent.$parent.f_start_time"-->
64
+ <!--placeholder='起始时间' style="width:60%"-->
65
+ <!--:disabled-days-of-week="[]"-->
66
+ <!--:format="'yyyy-MM-dd'"-->
67
+ <!--:show-rest-button="reset">-->
68
+ <!--</datepicker>-->
70
69
  <!--</div>-->
71
70
  <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
72
- <!--<label class="font_normal_body">安检结束</label>-->
73
- <!--<datepicker-->
74
- <!--:value.sync="$parent.$parent.f_end_time"-->
75
- <!--placeholder='结束时间' style="width:60%"-->
76
- <!--:disabled-days-of-week="[]"-->
77
- <!--:format="'yyyy-MM-dd'"-->
78
- <!--:show-rest-button="reset">-->
79
- <!--</datepicker>-->
71
+ <!--<label class="font_normal_body">安检结束</label>-->
72
+ <!--<datepicker-->
73
+ <!--:value.sync="$parent.$parent.f_end_time"-->
74
+ <!--placeholder='结束时间' style="width:60%"-->
75
+ <!--:disabled-days-of-week="[]"-->
76
+ <!--:format="'yyyy-MM-dd'"-->
77
+ <!--:show-rest-button="reset">-->
78
+ <!--</datepicker>-->
80
79
  <!--</div>-->
81
80
  <div style="width: auto;margin-top:8px;float: right" :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
82
- <export-excel-safe :data="$parent.$parent.searchData"
83
- :field="$parent.$parent.excelHeaders"
84
- progress="safeGetExportProgress"
85
- sqlurl="rs/logic/SafeExportExcel" sql-name="planCount" template-name='安检计划明细' ></export-excel-safe>
81
+ <export-excel-safe :data="$parent.$parent.searchData"
82
+ :field="$parent.$parent.excelHeaders"
83
+ progress="safeGetExportProgress"
84
+ sqlurl="rs/logic/SafeExportExcel" sql-name="planCount" template-name='安检计划明细' ></export-excel-safe>
86
85
  <button type="button" class="button_search button_spacing" @click="search()">查询</button>
87
86
  <button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
88
87
  @click="$parent.$parent.print($parent.model.rows)">
89
88
  打印
90
89
  </button>
91
90
  <!--<div class="button_spacing"-->
92
- <!--:class="{'button_shrink_top':$parent.criteriaShow,'button_shrink_bottom':!$parent.criteriaShow}"-->
93
- <!--@click="$parent.$parent.hidden()">-->
94
- <!--</div>-->
91
+ <!--:class="{'button_shrink_top':$parent.criteriaShow,'button_shrink_bottom':!$parent.criteriaShow}"-->
92
+ <!--@click="$parent.$parent.hidden()">-->
93
+ <!--</div>-->
95
94
  <div class="button_spacing"
96
95
  :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
97
96
  @click="$parent.$parent.hiddenr()"></div>
@@ -103,36 +102,52 @@
103
102
  <template partial='head'>
104
103
  <tr>
105
104
  <th>安检员</th>
105
+ <th>总入户量</th>
106
+ <th>总到访不遇量</th>
107
+ <th>总拒检量</th>
108
+ <th>安检总量</th>
106
109
  <th>计划总数</th>
107
- <th>已检总数</th>
108
- <th>计划中未入户</th>
109
- <th>计划中已入户</th>
110
+ <th>入户</th>
110
111
  <th>到访不遇</th>
111
112
  <th>拒检</th>
113
+ <th>无计划总数</th>
114
+ <th>无计划入户</th>
115
+ <th>无计划到访不遇</th>
116
+ <th>无计划拒检</th>
112
117
  </tr>
113
118
  </template>
114
119
  <template partial='body'>
115
120
  <td style="text-align: center">{{row.f_checker}}</td>
121
+ <td style="text-align: center">{{row.ruhu_total}}</td>
122
+ <td style="text-align: center">{{row.daofang_total}}</td>
123
+ <td style="text-align: center">{{row.jujian_total}}</td>
124
+ <td style="text-align: center">{{row.total_sum}}</td>
116
125
  <td style="text-align: center">{{row.plannum}}</td>
117
- <td style="text-align: center">{{row.yijiansum}}</td>
118
- <td style="text-align: center">{{row.wrj}}</td>
119
- <td style="text-align: center">{{row.yrj}}</td>
126
+ <td style="text-align: center">{{row.ruhu}}</td>
120
127
  <td style="text-align: center">{{row.daofang}}</td>
121
128
  <td style="text-align: center">{{row.jujian}}</td>
122
-
129
+ <td style="text-align: center">{{row.no_plan_num}}</td>
130
+ <td style="text-align: center">{{row.noruhu}}</td>
131
+ <td style="text-align: center">{{row.nodaofang}}</td>
132
+ <td style="text-align: center">{{row.nojujian}}</td>
123
133
  </template>
124
134
  <template partial="foot">
125
135
  <td style="text-align: center"><span><b>合计:</b></span></td>
136
+ <td style="text-align: center">{{model.sums.ruhu_total}}</td>
137
+ <td style="text-align: center">{{model.sums.daofang_total}}</td>
138
+ <td style="text-align: center">{{model.sums.jujian_total}}</td>
139
+ <td style="text-align: center">{{model.sums.total_sum}}</td>
126
140
  <td style="text-align: center">{{model.sums.plannum}}</td>
127
- <td style="text-align: center">{{model.sums.yijiansum}}</td>
128
- <td style="text-align: center">{{model.sums.wrj}}</td>
129
- <td style="text-align: center">{{model.sums.yrj}}</td>
141
+ <td style="text-align: center">{{model.sums.ruhu}}</td>
130
142
  <td style="text-align: center">{{model.sums.daofang}}</td>
131
143
  <td style="text-align: center">{{model.sums.jujian}}</td>
144
+ <td style="text-align: center">{{model.sums.no_plan_num}}</td>
145
+ <td style="text-align: center">{{model.sums.noruhu}}</td>
146
+ <td style="text-align: center">{{model.sums.nodaofang}}</td>
147
+ <td style="text-align: center">{{model.sums.nojujian}}</td>
132
148
  </template>
133
149
  </data-grid>
134
150
  </criteria-paged>
135
-
136
151
  <modal :show.sync="showcheckmsg">
137
152
  <div slot="modal-header" class="modal-header">
138
153
  <span class="modal-title font">
@@ -150,153 +165,178 @@
150
165
 
151
166
  </div>
152
167
  </modal>
153
-
154
168
  </div>
155
-
156
169
  </template>
157
170
  <script>
158
- import {PagedList} from 'vue-client'
159
- import co from 'co'
160
- import Vue from 'vue'
161
- import * as Util from "../../../components/Util";
171
+ import {PagedList} from 'vue-client'
162
172
 
163
173
 
164
- export default {
165
- title: '安检计划查询',
166
- data() {
167
- let options = []
168
- let year = (new Date()).getFullYear()
169
- for (let i = year - 8; i <= year + 1; i++)
170
- options.push({label: i + '', value: i + ''})
171
- let model = new PagedList('rs/sql/planCount', 20, {
172
- f_filialeids: 'this.f_filialeids',
173
- f_start_time: 'this.f_start_time',
174
- f_end_time: 'this.f_end_time'
175
- }, {plannum: '', yrj: '', wrj: '',yijiansum: '', jujian: '', daofang: ''})
176
- model.f_filialeids = '('+this.$login.f.orgid+')'
177
- return {
178
- excelHeaders:{
179
- 'f_checker': '安检员',
180
- 'plannum': '计划总数',
181
- 'yrj': '计划中已入户',
182
- 'wrj': '计划中未入户',
183
- 'yijiansum': '已检总数',
184
- 'jujian': '拒检',
185
- 'daofang': '到访不遇'
186
- },
187
- searchData:{
188
- condition:"1=1",
189
- f_plan_year:year[0],
190
- f_checker:'',
191
- f_filialeids:'('+this.$login.f.orgid+')',
192
- f_start_time:'',
193
- f_end_time:''
194
- }
195
- ,
196
- checker: this.$login.f,
197
- checkers: [],
198
- checkersname: [],
199
- showcheckmsg: false,
200
- checkInfo: {},
201
- checkStates: this.$appdata.getParam('安检状态'),
202
- f: this.$login.f,
203
- criteriaShow: false,
204
- model: model,
205
- c_year_list: options,
206
- f_check_start:'',
207
- f_check_end: '',
174
+ export default {
175
+ title: '安检计划查询',
176
+ data() {
177
+ let options = []
178
+ let year = (new Date()).getFullYear()
179
+ for (let i = year - 8; i <= year + 1; i++)
180
+ options.push({label: i + '', value: i + ''})
181
+ let model = new PagedList('rs/sql/planCount', 20, {
182
+ f_filialeids: 'this.f_filialeids',
183
+ f_start_time: 'this.f_start_time',
184
+ condition1:'this.condition1',
185
+ condition2:'this.condition2',
186
+ condition3:'this.condition3',
187
+ f_end_time: 'this.f_end_time'
188
+ }, {plannum: '', ruhu: '', jujian: '', daofang: '',no_plan_num:'',noruhu:'',nodaofang:'',nojujian:'',ruhu_total:'',daofang_total:'',jujian_total:'',total_sum:''})
189
+ model.f_filialeids = '('+this.$login.f.orgid+')'
190
+ return {
191
+ excelHeaders:{
192
+ 'f_checker': '安检员',
193
+ 'plannum': '计划总数',
194
+ // 'yrj': '计划中已入户',
195
+ // 'wrj': '计划中未入户',
196
+ 'ruhu': '入户',
197
+ 'jujian': '拒检',
198
+ 'daofang': '到访不遇',
199
+ 'no_plan_num': '无计划总数',
200
+ 'noruhu': '无计划入户',
201
+ 'nojujian': '无计划拒检',
202
+ 'nodaofang': '无计划到访不遇'
203
+ },
204
+ searchData:{
205
+ condition:"1=1",
206
+ condition1:"1=1",
207
+ condition2:"1=1",
208
+ condition3:"and 1=1",
209
+ f_plan_year:year[0],
210
+ f_checker:'',
211
+ f_filialeids:'('+this.$login.f.orgid+')',
208
212
  f_start_time:'',
209
213
  f_end_time:''
214
+ },
215
+ checker: this.$login.f,
216
+ checkers: [],
217
+ checkersname: [],
218
+ checkStates: this.$appdata.getParam('安检状态'),
219
+ f: this.$login.f,
220
+ criteriaShow: false,
221
+ model: model,
222
+ c_year_list: options,
223
+ f_check_start:'',
224
+ f_check_end: '',
225
+ f_start_time:'',
226
+ f_end_time:'',
227
+ checkInfo: {},
228
+ showcheckmsg:false
229
+ }
230
+ },
231
+ methods: {
232
+ cancel(){
233
+ this.showcheckmsg = false
234
+ },
235
+ print(model) {
236
+ console.log("传给打印的数据" + JSON.stringify(model))
237
+ this.showcheckmsg = true
238
+ this.checkInfo = model
239
+ },
240
+ hidden() {
241
+ this.criteriaShow = !this.criteriaShow
242
+ },
243
+ hiddenr() {
244
+ this.$parent.showItem = !this.$parent.showItem
245
+ },
246
+ search(args) {
247
+ let tempStr = args.condition
248
+ let condition1 =tempStr
249
+ let condition2 =tempStr
250
+ let condition3 = ' and 1=1 '
251
+ if (this.f_check_start) {
252
+ condition1 += ` AND f_plan_year >= ${this.f_check_start.substr(0,4)} `
253
+ condition1 += ` AND f_plan_month >= ${this.f_check_start.substr(5,2)} `
254
+ }
255
+ if (this.f_check_end) {
256
+ condition1 += ` AND f_plan_year <= ${this.f_check_end.substr(0,4)} `
257
+ condition1 += ` AND f_plan_month <= ${this.f_check_end.substr(5,2)} `
258
+ }
259
+ if(this.f_start_time){
260
+ condition2 += ` AND f_offsite_time >= '${this.f_start_time} 00:00:00'`
261
+ }
262
+ if (this.f_end_time){
263
+ condition2 += ` AND f_offsite_time <= '${this.f_end_time} 23:59:59'`
210
264
  }
265
+ if (this.$refs.paged.$refs.cri.model.f_checker_id){
266
+ condition3 += ` AND f_checker = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
267
+ condition2 += ` AND f_checker_name = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
268
+ }
269
+ this.model.f_start_time=this.f_start_time
270
+ this.model.f_end_time=this.f_end_time
271
+ this.model.condition1=condition1
272
+ this.model.condition2=condition2
273
+ this.model.condition3=condition3
274
+
275
+ this.searchData.condition1=condition1
276
+ this.searchData.condition2=condition2
277
+ this.searchData.condition3=condition3
278
+
279
+ this.model.search(args.condition, args.model)
211
280
  },
212
- methods: {
213
- cancel(){
214
- this.showcheckmsg = false
215
- },
216
- print(model) {
217
- console.log("传给打印的数据" + JSON.stringify(model))
218
- this.showcheckmsg = true
219
- this.checkInfo = model
220
- },
221
- hidden() {
222
- this.criteriaShow = !this.criteriaShow
223
- },
224
- hiddenr() {
225
- this.$parent.showItem = !this.$parent.showItem
226
- },
227
- search(args) {
228
- if (this.f_check_start) {
229
- args.condition += ` AND f_plan_year >= ${this.f_check_start.substr(0,4)} `
230
- args.condition += ` AND f_plan_month >= ${this.f_check_start.substr(5,2)} `
231
- }
232
- if (this.f_check_end) {
233
- args.condition += ` AND f_plan_year <= ${this.f_check_end.substr(0,4)} `
234
- args.condition += ` AND f_plan_month <= ${this.f_check_end.substr(5,2)} `
235
- }
236
- //this.$dispatch('checkstatus-changed', this.$refs.paged.$refs.cri.model.f_last_check_state[0])
237
- //tag
238
- this.model.f_start_time=this.f_start_time
239
- this.model.f_end_time=this.f_end_time
240
- //tag
241
- this.model.search(args.condition, args.model)
242
- //tag
243
- //tag
244
- },
245
- getRes(obj){
246
- this.model.f_filialeids = this.$login.convertToIn(obj.resids);
247
- //tag
281
+ getRes(obj){
282
+ this.model.f_filialeids = this.$login.convertToIn(obj.resids);
283
+ //tag
284
+ }
285
+ },
286
+ ready() {
287
+ this.model.id = this.$login.f.id
288
+ this.model.f_subcompany = this.$login.f.f_fengongsi
289
+ this.model.f_filialeid = this.$login.f.orgid
290
+ },
291
+
292
+ watch: {
293
+ 'model.condition'(val) {
294
+ if(val){
295
+ this.searchData.condition = val
248
296
  }
249
297
  },
250
- ready() {
251
- this.model.id = this.$login.f.id
252
- this.model.f_subcompany = this.$login.f.f_fengongsi
253
- this.model.f_filialeid = this.$login.f.orgid
298
+ 'model.f_checker'(val) {
299
+ if(val){
300
+ this.searchData.f_checker = val
301
+ }
254
302
  },
255
-
256
- watch: {
257
- 'model.condition'(val) {
258
- if(val){
259
- this.searchData.condition = val
260
- }
261
- },
262
- 'model.f_checker'(val) {
263
- if(val){
264
- this.searchData.f_checker = val
265
- }
266
- },
267
- 'f_start_time'(val) {
268
- if(val){
269
- this.searchData.f_start_time = val
270
- }
271
- },
272
- 'f_end_time'(val) {
273
- if(val){
274
- this.searchData.f_end_time = val
275
- }
276
- },
277
- 'checker'() {
278
- // //tag
279
- //tag
280
- this.model.chosenOrg = this.checker[0]
281
- },
282
- 'model.rows.length'() {
283
- // 如果查询无结果,将合计置为0
284
- if(this.model.rows.length < 1 &&this. model.sums){
285
- this.model.sums.yrj = 0
286
- this.model.sums.wrj = 0
287
- this.model.sums.unchecked = 0
288
- this.model.sums.yijiansum = 0
289
- this.model.sums.jujian = 0
290
- this.model.sums.daofang = 0
291
- }
303
+ 'f_start_time'(val) {
304
+ if(val){
305
+ this.searchData.f_start_time = val
292
306
  }
293
307
  },
294
- computed: {
295
- selected() {
296
- // //tag
297
- // this.$parent.showItem=!this.$parent.showItem
298
- return this.$refs.paged.$refs.grid.selected
308
+ 'f_end_time'(val) {
309
+ if(val){
310
+ this.searchData.f_end_time = val
299
311
  }
312
+ },
313
+ 'checker'() {
314
+ // //tag
315
+ //tag
316
+ this.model.chosenOrg = this.checker[0]
317
+ },
318
+ 'model.rows.length'() {
319
+ // 如果查询无结果,将合计置为0
320
+ if(this.model.rows.length < 1 &&this. model.sums){
321
+ this.model.sums.yrj = 0
322
+ this.model.sums.no_plan_num = 0
323
+ this.model.sums.wrj = 0
324
+ this.model.sums.ruhu = 0
325
+ this.model.sums.jujian = 0
326
+ this.model.sums.daofang = 0
327
+ this.model.sums.ruhu_total=0
328
+ this.model.sums.daofang_total=0
329
+ this.model.sums.jujian_total=0
330
+ this.model.sums.total_sum=0
331
+ }
332
+ }
333
+ },
334
+ computed: {
335
+ selected() {
336
+ // //tag
337
+ // this.$parent.showItem=!this.$parent.showItem
338
+ return this.$refs.paged.$refs.grid.selected
300
339
  }
301
340
  }
341
+ }
302
342
  </script>
@@ -246,8 +246,8 @@
246
246
  >
247
247
  </v-select>
248
248
  </div>
249
- <!--<div class="form-group col-sm-4" >
250
- <label class="font_normal_body">入户情况:</label>
249
+ <div class="form-group col-sm-4" >
250
+ <label class="font_normal_body">安检筛选:</label>
251
251
  <v-select
252
252
  class="select select_list"
253
253
  :value.sync="model.f_hasHousehold"
@@ -259,7 +259,7 @@
259
259
  value-single
260
260
  >
261
261
  </v-select>
262
- </div>-->
262
+ </div>
263
263
 
264
264
  </div>
265
265
  </div>
@@ -358,7 +358,7 @@
358
358
  gasproperties:[],//用气性质
359
359
  meter_classifys:[],//气表类型
360
360
  entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
361
- hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
361
+ hasHousehold:[{label:"全部",value:""},{label:"入户",value:"入户"},{label:"未入户",value:"未入户"}],
362
362
  yearCheckList:[{label:"全部",value:""},{label:"已在计划中",value:"ua.f_plan_id is not null"},{label:"未在计划中",value:"ua.f_plan_id is null"}],
363
363
  sliceArea:[],
364
364
  meterbooks:[],
@@ -399,16 +399,20 @@
399
399
  selfSearch (args) {
400
400
  //tag)
401
401
  args.condition += ` and ui.f_filialeid='${this.userlogin.orgid}'`
402
- /*if(args.model.f_hasHousehold=='已入户'){
403
- args.condition +=` and Extract(year from TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'))=2021 and ua.F_LAST_CHECK_STATE='入户'`
402
+ if(args.model.f_hasHousehold=='入户'){
403
+ args.condition +=` and ua.F_LAST_CHECK_STATE='入户'`
404
404
  }else if(args.model.f_hasHousehold=='未入户'){
405
- args.condition +=` and (Extract(year from nvl(TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'),'1990-01-01 00:00:00'))!=2021 or nvl(ua.F_LAST_CHECK_STATE,'未入户')!='入户')`
406
- }*/
405
+ args.condition +=` and (ua.F_LAST_CHECK_STATE !='入户' or ua.F_LAST_CHECK_STATE is null)`
406
+ }
407
407
  if(this.uploadCodeCondition){
408
408
  args.condition +=` and ${this.uploadCodeCondition}`
409
409
  }
410
410
  if(args.model.f_last_check_state){
411
- args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
411
+ if (args.model.f_last_check_state == '未检'){
412
+ args.condition += ` and (ua.f_last_check_date is null or ua.f_last_check_date is null) `
413
+ }else {
414
+ args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
415
+ }
412
416
  }
413
417
  if(args.model.f_start_time){
414
418
  args.condition += ` and ua.f_last_check_date >='${args.model.f_start_time} 00:00:00' `
@@ -4,6 +4,7 @@ import Vue from "vue";
4
4
  //手机特殊目录注册到该文件中
5
5
  let specialComp = {
6
6
  'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) },
7
+ 'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
7
8
  'select-check-plan': (resolve) => { require(['./pc/SelectCheckPlan'], resolve) },
8
9
  'check-detail': (resolve) => { require(['./pc/CheckDetail'], resolve) },
9
10
  'print-material-bill': (resolve) => { require(['./pc/PrintMaterialBill'], resolve) },
@@ -63,7 +63,7 @@
63
63
  <p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_ht_date }}</p>
64
64
  </div>
65
65
  <div class="col-xs-12" style="padding: 2px 0">
66
- <p class="panel-title col-xs-5 text-left font" style="width: 36%;float: left"><b>上期保费截至日期:</b></p>
66
+ <p class="panel-title col-xs-5 text-left font" style="width: 36%;float: left"><b>保费截至日期:</b></p>
67
67
  <p class="panel-title text-left input-font" style="width: 100%">{{ userinfo.f_ins_stop_date }}</p>
68
68
  </div>
69
69
  <div class="col-xs-12" style="padding: 2px 0">