safecheck-client 3.0.33-5 → 3.0.33-51

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 (56) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +31 -31
  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/Util.js +5 -0
  7. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  8. package/src/filiale/bayan/android/SafecheckOrderV.vue +4 -1
  9. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  10. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  11. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  12. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  13. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  14. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  15. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  16. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  17. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  18. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  19. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  20. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  21. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  22. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  23. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  24. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  25. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  26. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  27. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  28. package/src/filiale/jingyang/pc.js +1 -0
  29. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  30. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  31. package/src/filiale/rongchuang/android.js +1 -0
  32. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  33. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  34. package/src/filiale/rongchuang/pc.js +1 -0
  35. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  36. package/src/filiale/weinan/android/PaperFeedback.vue +1410 -1410
  37. package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
  38. package/src/filiale/weinan/android/SafecheckOrderV.vue +71 -26
  39. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  40. package/src/filiale/weinan/pc/DefectPaperNew.vue +1065 -1059
  41. package/src/filiale/weinan/pc.js +45 -44
  42. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  43. package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -1148
  44. package/src/filiale/wensu/pc/checkUserList.vue +650 -650
  45. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
  46. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  47. package/src/filiale/wuhai/pc.js +1 -0
  48. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2 -2
  49. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  50. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  51. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  52. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  53. package/src/filiale/yongzhou/pc/safeDetail.vue +212 -14
  54. package/src/filiale/yongzhou/pc.js +3 -0
  55. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  56. 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) {