safecheck-client 3.0.33-3 → 3.0.33-6

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.
@@ -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,11 +399,11 @@
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
  }