safecheck-client 3.0.33-8 → 3.0.33-81

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 (91) hide show
  1. package/index.html +6 -2
  2. package/package.json +3 -3
  3. package/src/App.vue +31 -31
  4. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  5. package/src/components/android/CurrentCreate.vue +1 -1
  6. package/src/components/android/SafecheckOrderV.vue +3 -3
  7. package/src/components/paper/PaperList.vue +5 -4
  8. package/src/components/planmanage/PlanManage.vue +3 -2
  9. package/src/components/planmanage/checkPlanList.vue +2 -1
  10. package/src/components/planmanage/checkUserList.vue +34 -2
  11. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  12. package/src/components/report/HiddenSituation.vue +3 -3
  13. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  14. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  15. package/src/components/rongcheng/DefectPaper.vue +1 -1
  16. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  17. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  18. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  19. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  20. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  21. package/src/filiale/Util.js +5 -0
  22. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  23. package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
  24. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  25. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  26. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  27. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  28. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  29. package/src/filiale/fugou/android.js +2 -1
  30. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  31. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  32. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  33. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  34. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  35. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  36. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  37. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  38. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  39. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  40. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  41. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  42. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  43. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  44. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  45. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  46. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  47. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  48. package/src/filiale/jingyang/pc.js +1 -0
  49. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  50. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  51. package/src/filiale/rongchuang/android.js +1 -0
  52. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  53. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  54. package/src/filiale/rongchuang/pc.js +1 -0
  55. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  56. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  57. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  58. package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
  59. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  60. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  61. package/src/filiale/weinan/pc.js +1 -0
  62. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  63. package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
  64. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  65. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
  66. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1 -1
  67. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1230 -0
  68. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
  69. package/src/filiale/yangchunboneng/android.js +1 -0
  70. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +28 -1
  71. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1168 -1018
  72. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  73. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  74. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  75. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  76. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  77. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  78. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  79. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  80. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +55 -125
  81. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  82. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  83. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  84. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  85. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  86. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  87. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  88. package/src/filiale/yongzhou/pc.js +4 -0
  89. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
  90. package/src/main.js +2 -2
  91. package/src/rongcheng.js +3 -1
@@ -5,6 +5,7 @@ import Vue from "vue";
5
5
  let specialComp = {
6
6
  // 计划管理用户
7
7
  'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) },
8
+ 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
8
9
  'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper'], resolve) },
9
10
  }
10
11
  exports.specialComp = specialComp
@@ -344,8 +344,8 @@
344
344
  },
345
345
  props:["selectplan","userlogin"],
346
346
  ready(){
347
- this.$refs.paged.$refs.criteria.model.f_user_state='正常'
348
- this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
347
+ // this.$refs.paged.$refs.criteria.model.f_user_state='正常'
348
+ // this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
349
349
  //this.$refs.paged.$refs.criteria.model.f_hasHousehold='未入户'
350
350
  this.setConList()
351
351
  this.loadpage()
@@ -103,14 +103,14 @@
103
103
  <label>请输入超期原因:</label><br/>
104
104
  <textarea style="width: 100%;" v-model="paper.f_exceed_reason"></textarea>
105
105
  </div>
106
- <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
107
- <div class="col-xs-6 col-sm-6">
108
- <input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label class="text-left font" >限制该用户购气</label>
109
- </div>
110
- <div class="col-xs-6 col-sm-6">
111
- <input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消该用户限制</label>
112
- </div>
113
- </div>
106
+ <!-- <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">-->
107
+ <!-- <div class="col-xs-6 col-sm-6">-->
108
+ <!-- <input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label class="text-left font" >限制该用户购气</label>-->
109
+ <!-- </div>-->
110
+ <!-- <div class="col-xs-6 col-sm-6">-->
111
+ <!-- <input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消该用户限制</label>-->
112
+ <!-- </div>-->
113
+ <!-- </div>-->
114
114
  <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__" v-if="Vue.$appdata.getParam('安检天然气安全使用须知检查')=='是'">
115
115
  <div class="col-xs-12 col-sm-12">
116
116
  <input type="checkbox" v-model="paper.f_gas_guidelines" /><label class="text-left font" >天然气安全使用须知</label>
@@ -160,7 +160,7 @@
160
160
  close-on-select
161
161
  @change="changdeal" @click="transelation(idxs)"></v-select>
162
162
  </div>
163
- <div v-if="row.f_deal_dispose == '自行处理' || row.f_deal_dispose == '限时整改'" style="display: flex;flex-wrap: wrap">
163
+ <div v-if="(row.f_deal_dispose == '自行处理' || row.f_deal_dispose == '限时整改') && row.f_is_defect != '' " style="display: flex;flex-wrap: wrap">
164
164
  <label class="fivelabel">处理时效:</label>
165
165
  <!-- <datepicker-->
166
166
  <!-- :value.sync="row.f_handle_date"-->
@@ -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,32 @@ export default {
324
371
  }
325
372
  },
326
373
  methods: {
374
+ quotaSave(type){
375
+ if (type == '取消'){
376
+ this.showModal3 = false
377
+ return
378
+ }
379
+ this.saveNoclick()
380
+ this.rowCodata.f_immediately_black = type
381
+ let param = {
382
+ f_qlchazhi: this.f_qlchazhi,
383
+ f_check_item_id: this.data.f_check_item_id,
384
+ f_checker_id: this.data.f_checker_id,
385
+ row: this.rowCodata
386
+ }
387
+ this.showModal3 = false
388
+ let paramStr = JSON.stringify(param)
389
+ let subLength = 800
390
+ for (let i = 0; i < paramStr.length; i += subLength) {
391
+ HostApp.param_cache(paramStr.substr(i, subLength))
392
+ }
393
+ HostApp.__this__ = this
394
+ HostApp.syncLogic({
395
+ 'logic': '上传安检信息',
396
+ 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
397
+ 'backresult': 1
398
+ })
399
+ },
327
400
  showmod() {
328
401
  this.saveNoclick()
329
402
  let errString = this.errorVerify()
@@ -1324,7 +1397,6 @@ export default {
1324
1397
  }
1325
1398
  }
1326
1399
 
1327
-
1328
1400
  if (Vue.android) {
1329
1401
  if (this.item.f_no_checkplan == '无计划安检' && this.item.f_no_checkplan != '打回') {
1330
1402
  if(this.data.f_safecheck_type=='复检') {
@@ -1582,31 +1654,8 @@ export default {
1582
1654
  if(this.data.f_safecheck_type=='复检') {
1583
1655
  codata.f_is_fujian = '已复检'
1584
1656
  }
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
- })
1657
+ this.showModal3 = true
1658
+ $("#savebut").removeClass("noclickbut");
1610
1659
  } else {
1611
1660
  this.$showMessage('保存成功!')
1612
1661
  if (this.clickBack) {