safecheck-client 3.0.33-3 → 3.0.33-31

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 (38) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +2 -2
  3. package/src/components/paper/PaperList.vue +5 -4
  4. package/src/components/planmanage/checkUserList.vue +34 -2
  5. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  6. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  7. package/src/filiale/bayan/android/SafecheckOrderV.vue +4 -1
  8. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  9. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  10. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  11. package/src/filiale/fugou/pc/CheckBook.vue +303 -301
  12. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
  13. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
  14. package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
  15. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
  16. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +809 -651
  17. package/src/filiale/fugou/pc/CheckBookUser.vue +47 -44
  18. package/src/filiale/fugou/pc/PlanManage.vue +27 -8
  19. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  20. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  21. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  22. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  23. package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
  24. package/src/filiale/weinan/android/SafecheckOrderV.vue +71 -26
  25. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  26. package/src/filiale/wensu/pc/DefectPaperNew.vue +1 -1
  27. package/src/filiale/wensu/pc/checkUserList.vue +8 -8
  28. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
  29. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  30. package/src/filiale/wuhai/pc.js +1 -0
  31. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  32. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  33. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  34. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  35. package/src/filiale/yongzhou/pc/safeDetail.vue +212 -14
  36. package/src/filiale/yongzhou/pc.js +3 -0
  37. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  38. package/src/main.js +1 -1
@@ -115,6 +115,47 @@
115
115
  <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="cancel1">取消</button>
116
116
  </div>
117
117
  </modal>
118
+ <modal :show.sync="showModal3" :backdrop="false" style="font-size: 15px">
119
+ <div slot="modal-header" class="modal-header upuserinfo_sel">
120
+ <h4 class="modal-title">
121
+ </h4>
122
+ </div>
123
+ <div slot="modal-body" class="modal-body">
124
+ <div class="row" v-for="row in rowCodata.f_devices">
125
+ <div class="row" v-for="(idxs,item) in row.f_items">
126
+ <div v-if="item.f_is_defect" style="padding: 5px;border: 1px solid black;border-radius: 10px;margin-top: 10px">
127
+ <div
128
+ class="form-group"
129
+ style="display: flex;flex-wrap: wrap">
130
+ <label class="fivelabel">{{item.f_item_name}}:{{item.f_item_lists[0].f_item_value}}</label>
131
+ </div>
132
+ <div
133
+ class="form-group"
134
+ style="display: flex;flex-wrap: wrap">
135
+ <label class="fivelabel">处理方式</label>
136
+ <v-select :options="deals"
137
+ :value.sync="item.f_deal_dispose"
138
+ v-model="item.f_deal_dispose"
139
+ :value-single="true"
140
+ clear-button
141
+ close-on-select></v-select>
142
+ </div>
143
+ <div v-if="item.f_deal_dispose == '自行处理' || item.f_deal_dispose == '限时整改'" style="display: flex;flex-wrap: wrap">
144
+ <label class="fivelabel">处理时效</label>
145
+ <div class="form-group" style="float: left;width:60%">
146
+ <input v-model="item.f_lose_efficacy" class="form-control" maxlength="100" placeholder="单位:天" :value.sync="item.f_lose_efficacy"
147
+ type="text">
148
+ </div>
149
+ </div>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ </div>
154
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
155
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" style="float: left" @click="quotaSave('即时生效')">即时限购上传</button>
156
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" style="float: right" @click="quotaSave('延期生效')">延期限购上传</button>
157
+ </div>
158
+ </modal>
118
159
  </div>
119
160
  </template>
120
161
 
@@ -151,6 +192,11 @@ export default {
151
192
  // "f_user_equipment_remarks":null,"f_plan_id":"0819ea6707ad4d9dad217c06a87f4227","f_user_name":"用户二",
152
193
  // "f_plan_meters":[{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2119035714","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":3,"f_maker":null,"f_metergasnums":0,"f_total_fee":100,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663},{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2118999901","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":1,"f_maker":null,"f_metergasnums":0,"f_total_fee":0,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663}]
153
194
  // },
195
+ deals: [{label: '现场整改', value: '现场整改'}, {label: '自行处理', value: '自行处理'}, {
196
+ label: '报修',
197
+ value: '报修'
198
+ }, {label: '限时整改', value: '限时整改'}, {label: '跟踪处置', value: '跟踪处置'}],
199
+ showModal3:false,
154
200
  data: {
155
201
  f_devices: [],
156
202
  f_defect_content: '',
@@ -313,6 +359,7 @@ export default {
313
359
  faultshow: {
314
360
  number: 8
315
361
  }, // 控制 故障汇总 在 菜单里显示与否,
362
+ selectindex: null,
316
363
  deletebacklist_status: true
317
364
  }
318
365
  },
@@ -324,6 +371,28 @@ export default {
324
371
  }
325
372
  },
326
373
  methods: {
374
+ quotaSave(type){
375
+ this.saveNoclick()
376
+ this.rowCodata.f_immediately_black = type
377
+ let param = {
378
+ f_qlchazhi: this.f_qlchazhi,
379
+ f_check_item_id: this.data.f_check_item_id,
380
+ f_checker_id: this.data.f_checker_id,
381
+ row: this.rowCodata
382
+ }
383
+ this.showModal3 = false
384
+ let paramStr = JSON.stringify(param)
385
+ let subLength = 800
386
+ for (let i = 0; i < paramStr.length; i += subLength) {
387
+ HostApp.param_cache(paramStr.substr(i, subLength))
388
+ }
389
+ HostApp.__this__ = this
390
+ HostApp.syncLogic({
391
+ 'logic': '上传安检信息',
392
+ 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
393
+ 'backresult': 1
394
+ })
395
+ },
327
396
  showmod() {
328
397
  this.saveNoclick()
329
398
  let errString = this.errorVerify()
@@ -1324,7 +1393,6 @@ export default {
1324
1393
  }
1325
1394
  }
1326
1395
 
1327
-
1328
1396
  if (Vue.android) {
1329
1397
  if (this.item.f_no_checkplan == '无计划安检' && this.item.f_no_checkplan != '打回') {
1330
1398
  if(this.data.f_safecheck_type=='复检') {
@@ -1582,31 +1650,8 @@ export default {
1582
1650
  if(this.data.f_safecheck_type=='复检') {
1583
1651
  codata.f_is_fujian = '已复检'
1584
1652
  }
1585
- let param = {
1586
- f_qlchazhi: this.f_qlchazhi,
1587
- f_check_item_id: this.data.f_check_item_id,
1588
- f_checker_id: this.data.f_checker_id,
1589
- // row: codata
1590
- row: this.rowCodata
1591
- }
1592
- //tag)
1593
- let paramStr = JSON.stringify(param)
1594
- // 多长截断一次
1595
- let subLength = 800
1596
- for (let i = 0; i < paramStr.length; i += subLength) {
1597
- HostApp.param_cache(paramStr.substr(i, subLength))
1598
- }
1599
- HostApp.__this__ = this
1600
- HostApp.syncLogic({
1601
- // logic别名,key必须为logic
1602
- 'logic': '上传安检信息',
1603
- // 回调执行方法名,key必须为callback
1604
- 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1605
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1606
- // 执行回调方法传入key为backresult
1607
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1608
- 'backresult': 1
1609
- })
1653
+ this.showModal3 = true
1654
+ $("#savebut").removeClass("noclickbut");
1610
1655
  } else {
1611
1656
  this.$showMessage('保存成功!')
1612
1657
  if (this.clickBack) {
@@ -689,6 +689,8 @@ export default {
689
689
  this.Mreadibook(`('${this.$login.f.orgid}')`)
690
690
  this.getAllMeterBook(`('${this.$login.f.orgid}')`)
691
691
  this.getAllGasproperties()
692
+ this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
693
+ this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
692
694
  // this.getAllOutlets()
693
695
  },
694
696
  methods: {
@@ -564,7 +564,7 @@ export default {
564
564
  model.f_defect_content = 'CASE WHEN CHARINDEX( \'"result":"正常"\', f_defect_content ) > 0 THEN \'无隐患\' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring(\'{}\',2,1), \'\' ), substring(\'{}\',1,1), \'\' ),\']\',\'\'),\'"\',\'\') END'
565
565
  return {
566
566
  repaired: [{label: '全部', value: ''}, {label: '未完成', value: '未完成'}, {label: '已完成', value: '已完成'}],
567
- deals: [{label: '全部', value: ''}, {label: '未处理', value: '未处理'}, {label: '已处理', value: '已处理'},{label: '处理中', value: '处理中'}],
567
+ deals: [{label: '全部', value: ''}, {label: '未处理', value: '未处理'}, {label: '已处理', value: '已处理'}],
568
568
  hasDefectOptions: [{label: '全部', value: ''}, {label: '有隐患', value: '有隐患'}, {
569
569
  label: '无隐患',
570
570
  value: '无隐患'
@@ -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
  }
@@ -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">