safecheck-client 3.0.30-8 → 3.0.30-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 (100) hide show
  1. package/examples/SafePlan-liaoyuan/App.vue +3 -1
  2. package/package.json +4 -3
  3. package/src/App.vue +31 -31
  4. package/src/components/Util.js +15 -0
  5. package/src/components/android/AddPlanItem.vue +5 -2
  6. package/src/components/android/AreaPlan.vue +2 -2
  7. package/src/components/android/CurrentCreate.vue +1050 -1049
  8. package/src/components/android/CurrentCreate_new.vue +563 -559
  9. package/src/components/android/PaperFeedback.vue +4 -2
  10. package/src/components/android/SafecheckOrderV.vue +2 -2
  11. package/src/components/android/UploadPage.vue +13 -123
  12. package/src/components/paper/PaperList.vue +9 -2
  13. package/src/components/paper/PlanChooser.vue +8 -6
  14. package/src/components/pc/Edit.vue +126 -0
  15. package/src/components/pc/LodopFuncs.js +159 -0
  16. package/src/components/pc/NewCheckpaper.vue +9 -5
  17. package/src/components/pc/PaperEdit.vue +151 -0
  18. package/src/components/pc/PrintData.vue +243 -0
  19. package/src/components/pc/PrintTable.vue +241 -0
  20. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -0
  21. package/src/components/report/NoCheckplanSafecheck.vue +0 -2
  22. package/src/components/rongcheng/CheckCurrentCreate.vue +8 -0
  23. package/src/components/rongcheng/PaperStatem.vue +42 -1
  24. package/src/components/rongcheng/PhoneUpUserinfo.vue +149 -199
  25. package/src/components/rongcheng/SafecheckOrderV.vue +8 -0
  26. package/src/components/rongcheng/SafecheckUserInfo.vue +419 -0
  27. package/src/components/rongcheng/report/CheckPlanAreaList.vue +21 -3
  28. package/src/filiale/bayan/android/CurrentCreate.vue +1 -1
  29. package/src/filiale/bayan/android/Edit.vue +132 -0
  30. package/src/filiale/bayan/android/SafecheckOrderV.vue +2 -2
  31. package/src/filiale/bayan/android/SafecheckUserInfo.vue +6 -1
  32. package/src/filiale/bayan/android.js +2 -1
  33. package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
  34. package/src/filiale/fugou/android.js +10 -0
  35. package/src/filiale/fugou/pc/PaperList.vue +877 -857
  36. package/src/filiale/fugou/pc/checkUserList.vue +808 -0
  37. package/src/filiale/fugou/pc.js +14 -13
  38. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1313
  39. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2 -2
  40. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
  41. package/src/filiale/hanzhong/pc.js +4 -1
  42. package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
  43. package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
  44. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -0
  45. package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -0
  46. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
  47. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -0
  48. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +780 -0
  49. package/src/filiale/jingyang/pc/PaperList.vue +793 -793
  50. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  51. package/src/filiale/kelai/android.js +1 -0
  52. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
  53. package/src/filiale/liaoyuan/android.js +1 -0
  54. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
  55. package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
  56. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +6 -0
  57. package/src/filiale/tianke/pc/checkScreen.vue +4 -4
  58. package/src/filiale/tianke/pc/cq.jpg +0 -0
  59. package/src/filiale/tianke/pc/qy.jpg +0 -0
  60. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
  61. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +371 -401
  62. package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
  63. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
  64. package/src/filiale/wensu/android.js +1 -0
  65. package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
  66. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  67. package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
  68. package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
  69. package/src/filiale/wensu/pc/checkUserList.vue +50 -0
  70. package/src/filiale/wensu/pc.js +2 -1
  71. package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
  72. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
  73. package/src/filiale/wuhai/pc/NewCheckpaper.vue +26 -24
  74. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1150 -1150
  75. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
  76. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
  77. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1077 -1077
  78. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +849 -849
  79. package/src/filiale/yangchunboneng/pc/PaperList.vue +727 -727
  80. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  81. package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
  82. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
  83. package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
  84. package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
  85. package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
  86. package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
  87. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
  88. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
  89. package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
  90. package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
  91. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +88 -29
  92. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +63 -27
  93. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
  94. package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
  95. package/src/filiale/yongzhou/pc.js +17 -12
  96. package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
  97. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
  98. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
  99. package/src/main.js +1 -1
  100. package/src/safecheck.js +12 -0
@@ -120,7 +120,10 @@ 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
- this.users.push({label: user.name, value: user.name})
123
+ if(user.state == '在职'){
124
+ this.users.push({label: user.name, value: user.name})
125
+ }
126
+
124
127
  // }
125
128
  // }
126
129
  })
@@ -206,6 +206,46 @@
206
206
  >
207
207
  </v-select>
208
208
  </div>
209
+ <div class="form-group col-sm-4" >
210
+ <label class="font_normal_body">安检起始:</label>
211
+ <datepicker
212
+ placeholder='最后一次安检时间起始'
213
+ style="width:60%"
214
+ :disabled-days-of-week="[]"
215
+ :format="'yyyy-MM-dd'"
216
+ :show-rest-button="reset"
217
+ :value.sync="model.f_start_time"
218
+ v-model="model.f_start_time"
219
+ >
220
+ </datepicker>
221
+ </div>
222
+ <div class="form-group col-sm-4" >
223
+ <label class="font_normal_body">安检截止:</label>
224
+ <datepicker
225
+ placeholder='最后一次安检时间截止'
226
+ :disabled-days-of-week="[]"
227
+ style="width:60%"
228
+ :format="'yyyy-MM-dd'"
229
+ :show-rest-button="reset"
230
+ :value.sync="model.f_end_time"
231
+ v-model="model.f_end_time"
232
+ >
233
+ </datepicker>
234
+ </div>
235
+ <div class="form-group col-sm-4">
236
+ <label class="font_normal_body">安检状态:</label>
237
+ <v-select
238
+ class="select select_list"
239
+ :value.sync="model.f_last_check_state"
240
+ v-model="model.f_last_check_state"
241
+ :options='$parent.$parent.entry_status'
242
+ placeholder='请选择'
243
+ :search="false"
244
+ close-on-select
245
+ value-single
246
+ >
247
+ </v-select>
248
+ </div>
209
249
  <!--<div class="form-group col-sm-4" >
210
250
  <label class="font_normal_body">入户情况:</label>
211
251
  <v-select
@@ -317,6 +357,7 @@
317
357
  userStates:[],//用户状态
318
358
  gasproperties:[],//用气性质
319
359
  meter_classifys:[],//气表类型
360
+ entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
320
361
  hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
321
362
  yearCheckList:[{label:"全部",value:""},{label:"已在计划中",value:"ua.f_plan_id is not null"},{label:"未在计划中",value:"ua.f_plan_id is null"}],
322
363
  sliceArea:[],
@@ -366,6 +407,15 @@
366
407
  if(this.uploadCodeCondition){
367
408
  args.condition +=` and ${this.uploadCodeCondition}`
368
409
  }
410
+ if(args.model.f_last_check_state){
411
+ args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
412
+ }
413
+ if(args.model.f_start_time){
414
+ args.condition += ` and ua.f_last_check_date >='${args.model.f_start_time} 00:00:00' `
415
+ }
416
+ if(args.model.f_end_time){
417
+ args.condition += ` and ua.f_last_check_date <='${args.model.f_end_time} 23:59:59' `
418
+ }
369
419
  this.cancel()
370
420
  this.checkes=[]
371
421
  this.checkAll=false
@@ -9,7 +9,8 @@ let specialComp = {
9
9
  'print-material-bill': (resolve) => { require(['./pc/PrintMaterialBill'], resolve) },
10
10
  'check-search-user':(resolve) => {require(['./pc/CheckSearchUser'], resolve)},
11
11
  'defect-main-new2': (resolve) => {require(['./pc/DefectMainNew'], resolve)},
12
- 'role-selector-safe': (resolve) => {require(['./pc/RoleSelector'], resolve)}
12
+ 'role-selector-safe': (resolve) => {require(['./pc/RoleSelector'], resolve)},
13
+ 'new-check-paper': (resolve) => {require(['./pc/NewCheckpaper'], resolve)}
13
14
  }
14
15
  exports.specialComp = specialComp
15
16
 
@@ -362,7 +362,7 @@
362
362
  </h4>
363
363
  </div>
364
364
  <div slot="modal-body" class="modal-body">
365
- <plan-chooser :f.sync="this.$login.f" v-ref:chooser></plan-chooser>
365
+ <plan-chooser :f.sync="$login.f" v-ref:chooser></plan-chooser>
366
366
  </div>
367
367
  <div slot="modal-footer" class="modal-footer" style="text-align: center">
368
368
  <button class="button_search" @click="ok">确认</button>