safecheck-client 3.0.33-14 → 3.0.33-140

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 (152) hide show
  1. package/index.html +6 -2
  2. package/package.json +133 -133
  3. package/src/App.vue +2 -2
  4. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/CurrentCreate.vue +1 -1
  7. package/src/components/android/SafecheckDevices.vue +5 -1
  8. package/src/components/android/SafecheckOrderV.vue +18 -12
  9. package/src/components/android/SwitchValve.vue +1 -1
  10. package/src/components/map/checkScreen.vue +27 -21
  11. package/src/components/paper/PlanChooser.vue +4 -2
  12. package/src/components/planmanage/PlanManage.vue +14 -4
  13. package/src/components/planmanage/checkPlanList.vue +2 -1
  14. package/src/components/planmanage/checkUserList.vue +2 -0
  15. package/src/components/report/HiddenSituation.vue +3 -3
  16. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1046 -1019
  17. package/src/components/rongcheng/AspiratedPaperMessage.vue +1378 -1378
  18. package/src/components/rongcheng/DefectPaper.vue +1 -1
  19. package/src/components/rongcheng/PaperListNPSQ.vue +455 -420
  20. package/src/components/rongcheng/PaperListSQ.vue +444 -423
  21. package/src/components/rongcheng/PhoneUpUserinfo.vue +1328 -1191
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  23. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  24. package/src/components/safecheckNew/PaperList.vue +785 -0
  25. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  26. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  27. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  28. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  29. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  30. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  31. package/src/filiale/Util.js +5 -0
  32. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  33. package/src/filiale/baiyin/android.js +10 -0
  34. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  35. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  36. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  37. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  38. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  39. package/src/filiale/baiyin/pc.js +17 -0
  40. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  41. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  42. package/src/filiale/bayan/android/SafecheckOrderV.vue +8 -6
  43. package/src/filiale/bayan/android/SafecheckUserInfo.vue +560 -508
  44. package/src/filiale/bayan/android.js +1 -0
  45. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  46. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  47. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  48. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  49. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  50. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  51. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  52. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  53. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  54. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  55. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  56. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  57. package/src/filiale/bayan/pc.js +6 -0
  58. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  59. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +1 -0
  60. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  61. package/src/filiale/fugou/android.js +2 -1
  62. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  63. package/src/filiale/fugou/pc/CheckBook.vue +303 -301
  64. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
  65. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
  66. package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
  67. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
  68. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +810 -651
  69. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  70. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  71. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  72. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  73. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  74. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  75. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  76. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  77. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  78. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  79. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  80. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  81. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  82. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  83. package/src/filiale/jingyang/pc.js +1 -0
  84. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  85. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  86. package/src/filiale/liaoyuan/pc.js +2 -1
  87. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  88. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  89. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  90. package/src/filiale/rongchuang/android.js +1 -0
  91. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  92. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  93. package/src/filiale/rongchuang/pc.js +1 -0
  94. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  95. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  96. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  97. package/src/filiale/siyang/android.js +11 -0
  98. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  99. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  100. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  101. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  102. package/src/filiale/siyang/pc.js +15 -0
  103. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  104. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  105. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
  106. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  107. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  108. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  109. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  110. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  111. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  112. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  113. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  114. package/src/filiale/weinan/pc.js +1 -0
  115. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  116. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
  117. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  118. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  119. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
  120. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  121. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
  122. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
  123. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
  124. package/src/filiale/yangchunboneng/android.js +1 -0
  125. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  126. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  127. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  128. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
  129. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  130. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  131. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  132. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  133. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  134. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  135. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  136. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  137. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  138. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  139. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  140. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  141. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  142. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  143. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  144. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  145. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  146. package/src/filiale/yongzhou/pc.js +4 -0
  147. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  148. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  149. package/src/main.js +33 -33
  150. package/src/rongcheng.js +316 -314
  151. package/src/safecheck-android.js +6 -0
  152. package/src/safecheck.js +3 -0
@@ -79,8 +79,10 @@
79
79
  let selectnew = function * (self) {
80
80
  let http = new HttpResetClass()
81
81
  http.load('POST', '/rs/search', {
82
- source: `root.getResourceById($${self.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
83
- userid: self.$login.f.id
82
+ data:{
83
+ source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
84
+ userid: self.$login.f.orgid
85
+ }
84
86
  }, {resolveMsg: null, rejectMsg: null}).then((res) => {
85
87
  self.checkers = []
86
88
  let arr = []
@@ -16,7 +16,7 @@
16
16
  close-on-select value-single >
17
17
  </v-select>
18
18
  </div>
19
- <div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
19
+ <div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default" v-if="isdelete">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
20
20
  </div>
21
21
  <div class="leftplan-center safe_plan_list">
22
22
  <div class="row safe-leftplan safe_list_li" :class="{'safe-selectplan':selectPlan.id==row.id}" v-for="row in checkplan.list.data" @click="selectPlanChange(row)">
@@ -399,6 +399,7 @@
399
399
  a:'1',
400
400
  opt:[{label:"按时间降序",value:"按时间降序"},{label:"按时间升序",value:"按时间升序"}],
401
401
  currentorder:'按时间降序',
402
+ isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
402
403
  checkplan : new SearchList(true),
403
404
  selectPlan:{id:''},
404
405
  upCheckPlan:{
@@ -451,6 +452,13 @@
451
452
  },
452
453
  async ready(){
453
454
  await this.loadpage()
455
+ if (!this.userlogin.orgid){
456
+ if (this.$login.f.f_orgids){
457
+ this.userlogin.orgid = this.$login.f.f_orgids.endsWith('.')?this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1):this.$login.f.f_orgids
458
+ }else {
459
+ this.userlogin.orgid = ''
460
+ }
461
+ }
454
462
  },
455
463
  computed: {
456
464
  ntoway() {
@@ -575,8 +583,10 @@
575
583
  //查询安检员selectChanged
576
584
  async searchChecker(id){
577
585
  let res=await new HttpResetClass().load('POST', '/rs/search', {
578
- source: `root.getResourceById($${this.userlogin.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
579
- userid: this.$login.f.id
586
+ data:{
587
+ source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
588
+ userid: this.userlogin.orgid
589
+ }
580
590
  }, {resolveMsg: null, rejectMsg: null})
581
591
  let arr = []
582
592
  res.data.forEach((resRow) => {
@@ -727,7 +737,7 @@
727
737
  this.isSend=true
728
738
  let res=await new HttpResetClass().load("POST", "/rs/logic/deleteCheckPlan", {
729
739
  data:{
730
- f_operator:this.userlogin.orgstr,//global.login.name,
740
+ f_operator:this.userlogin.name,//global.login.name,
731
741
  condition:"",
732
742
  switchCheckAll:true,
733
743
  checkAll:false,
@@ -50,7 +50,7 @@
50
50
  </div>
51
51
  <div class="form-group col-sm-2" style="float: right">
52
52
  <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
53
- <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()">移出计划</button>
53
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
54
54
  </div>
55
55
  <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
56
56
  <div slot="modal-header" class="modal-header">
@@ -178,6 +178,7 @@
178
178
  data() {
179
179
  return {
180
180
  model:new PagedList('/rs/sql/planItem', 100, {}),
181
+ isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
181
182
  a:'1',
182
183
  opt:[{label:"测试",value:"测试"}],
183
184
  showCondtion:false,
@@ -371,6 +371,7 @@
371
371
  <th><nobr>抄表册</nobr></th>
372
372
  <th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>
373
373
  <th title="最后一次安检日期"><nobr>安检日期</nobr></th>
374
+ <th><nobr>首次通气时间</nobr></th>
374
375
  <th><nobr>详细地址</nobr></th>
375
376
  </tr>
376
377
  </template>
@@ -386,6 +387,7 @@
386
387
  <td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
387
388
  <td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
388
389
  <td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
390
+ <td style="text-align: center"><nobr>{{row.f_uservent_date}}</nobr></td>
389
391
  <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
390
392
  </template>
391
393
  </data-grid>
@@ -51,9 +51,9 @@
51
51
  v-model='model.userType'
52
52
  :value.sync="model.userType"
53
53
  :options='$parent.$parent.userTypes'
54
- condition="tuf.f_gasproperties = '{}'"
55
- :value-single="true"
56
- close-on-select clear-button></v-select>
54
+ condition="tuf.f_gasproperties in {} "
55
+ :multiple="true"
56
+ ></v-select>
57
57
  </div>
58
58
  <div class="col-sm-2 form-group" >
59
59
  <label class="font_normal_body">气表类型</label>