safecheck-client 4.0.0-1 → 4.0.0-100

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 (136) hide show
  1. package/package.json +2 -2
  2. package/src/App.vue +2 -2
  3. package/src/components/NewDefectList/DefectListNew.vue +660 -663
  4. package/src/components/NewDefectList/DefectPaperNew.vue +44 -44
  5. package/src/components/Util/ImgSelfSafePlus.vue +13 -3
  6. package/src/components/Util/SafecheckUpload.vue +281 -281
  7. package/src/components/android/AndroidDefectDeal.vue +1 -1
  8. package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
  9. package/src/components/android/AndroidDefectDetails.vue +769 -0
  10. package/src/components/android/BlackUserOnLine.vue +2 -2
  11. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +175 -165
  12. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +108 -116
  13. package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +1 -1
  14. package/src/components/android/NewCheckpaperAndroid.vue +28 -21
  15. package/src/components/android/PaperFeedback.vue +15 -13
  16. package/src/components/android/PaperFeedbackTemp.vue +2 -2
  17. package/src/components/android/PhoneUpUserinfo.vue +20 -0
  18. package/src/components/android/RelieveRestrict.vue +1 -1
  19. package/src/components/android/Restriction.vue +1 -1
  20. package/src/components/android/SafecheckDevices.vue +48 -6
  21. package/src/components/android/SafecheckOrderV.vue +3 -3
  22. package/src/components/android/SealBind.vue +392 -0
  23. package/src/components/android/SealManage.vue +250 -0
  24. package/src/components/inspections/inspectionFeedback.vue +2 -2
  25. package/src/components/paper/PaperList.vue +360 -332
  26. package/src/components/paper/RegionalList.vue +217 -0
  27. package/src/components/pc/AddToCheckBook.vue +100 -23
  28. package/src/components/pc/CheckBook.vue +2 -0
  29. package/src/components/pc/CheckBookDetails.vue +6 -39
  30. package/src/components/pc/CheckBookEntry.vue +6 -7
  31. package/src/components/pc/CheckBookList.vue +60 -69
  32. package/src/components/pc/CheckBookSearchArea.vue +20 -24
  33. package/src/components/pc/CheckBookSearchUser.vue +139 -84
  34. package/src/components/pc/CheckBookSearchUserList.vue +1 -2
  35. package/src/components/pc/CheckBookUser.vue +276 -44
  36. package/src/components/pc/DefectDeal.vue +1007 -1007
  37. package/src/components/pc/NewCheckpaper.vue +22 -14
  38. package/src/components/pc/NewCheckpaperTemp.vue +5 -5
  39. package/src/components/pc/PaperDefectMain.vue +1 -0
  40. package/src/components/pc/RoleSelectorDep.vue +2 -1
  41. package/src/components/planmanage/PlanManage.vue +825 -821
  42. package/src/components/planmanage/checkPlanList.vue +28 -0
  43. package/src/components/planmanage/checkUserList.vue +346 -346
  44. package/src/components/querycheckpaper/CheckSearchUser.vue +68 -68
  45. package/src/components/report/CheckPlanAreaList.vue +266 -266
  46. package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
  47. package/src/components/rongcheng/PaperFeedback.vue +2 -2
  48. package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
  49. package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
  50. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  51. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
  52. package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
  53. package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
  54. package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
  55. package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
  56. package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
  57. package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
  58. package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
  59. package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
  60. package/src/filiale/jinhong/android/CurrentCreate.vue +1240 -0
  61. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +438 -0
  62. package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +339 -0
  63. package/src/filiale/jinhong/android.js +11 -0
  64. package/src/filiale/jinhong/pc/CheckBookList.vue +388 -0
  65. package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +528 -0
  66. package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
  67. package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
  68. package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
  69. package/src/filiale/jinhong/pc/PaperList.vue +844 -0
  70. package/src/filiale/jinhong/pc/PlanManage.vue +925 -0
  71. package/src/filiale/jinhong/pc/SelectCheckPlan.vue +308 -0
  72. package/src/filiale/jinhong/pc/checkUserList.vue +745 -0
  73. package/src/filiale/jinhong/pc.js +13 -0
  74. package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
  75. package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
  76. package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
  77. package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
  78. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
  79. package/src/filiale/meihekou/android/AreaPlan.vue +577 -0
  80. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
  81. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
  82. package/src/filiale/meihekou/android/CurrentCreate.vue +1108 -0
  83. package/src/filiale/meihekou/android/MeterReading.vue +106 -0
  84. package/src/filiale/meihekou/android/PaperFeedback.vue +1538 -0
  85. package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -0
  86. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1306 -0
  87. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2414 -0
  88. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -0
  89. package/src/filiale/meihekou/android.js +21 -0
  90. package/src/filiale/meihekou/pc/NewCheckpaper.vue +1959 -0
  91. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -0
  92. package/src/filiale/meihekou/pc.js +13 -0
  93. package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
  94. package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
  95. package/src/filiale/qingjian/pc/NewCheckpaper.vue +5 -11
  96. package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
  97. package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
  98. package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
  99. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
  100. package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
  101. package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
  102. package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
  103. package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
  104. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
  105. package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
  106. package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
  107. package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
  108. package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
  109. package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
  110. package/src/filiale/xiangyuanzhongai/android/AndroidDefectDeal.vue +634 -0
  111. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -0
  112. package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
  113. package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
  114. package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
  115. package/src/filiale/xiangyuanzhongai/android.js +4 -0
  116. package/src/filiale/xiangyuanzhongai/pc/DefectDeal.vue +1007 -0
  117. package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +791 -0
  118. package/src/filiale/xiangyuanzhongai/pc.js +2 -0
  119. package/src/filiale/xinkang/android/AddPlanItem.vue +413 -0
  120. package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
  121. package/src/filiale/xinkang/android.js +1 -0
  122. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
  123. package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
  124. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
  125. package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
  126. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
  127. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
  128. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +4 -2
  129. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  130. package/src/filiale/yunchengminsheng/android.js +1 -0
  131. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +16 -5
  132. package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
  133. package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
  134. package/src/main.js +1 -1
  135. package/src/safecheck-android.js +3 -0
  136. package/src/safecheck.js +3 -1
@@ -65,9 +65,9 @@
65
65
  <button style="float: right" v-if="$parent.$parent.transfer=='是'" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
66
66
  <div style="float: right">
67
67
  <export-excel :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
68
- :field="$parent.$parent.getfield"
69
- progress="safeGetExportProgress"
70
- sqlurl="api/af-safecheck/logic/exportfile" sql-name="GetCheckPaperByDefectNew" template-name='安检隐患明细' :choose-col="true"></export-excel>
68
+ :field="$parent.$parent.getfield"
69
+ progress="safeGetExportProgress"
70
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="GetCheckPaperByDefectNew" template-name='安检隐患明细' :choose-col="true"></export-excel>
71
71
  </div>
72
72
  </div>
73
73
  </div>
@@ -151,8 +151,8 @@
151
151
  style="width: 60%" placeholder="用户名称">
152
152
  </div>
153
153
  <div :class="$parent.$parent.style">
154
- <label class="font_normal_body">小区名称:</label>
155
- <input style="width: 60%" class="input_search" v-model="model.f_residential_area" placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
154
+ <label class="font_normal_body">小区名称:</label>
155
+ <input style="width: 60%" class="input_search" v-model="model.f_residential_area" placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
156
156
  </div>
157
157
 
158
158
  </div>
@@ -186,26 +186,26 @@
186
186
  style="width: 60%" placeholder="用户编号">
187
187
  </div>
188
188
 
189
- <div class=" col-sm-4 form-group button-range">
190
- <div class="span" style="float: right;margin-top: 8px;margin-right: 50px">
191
- <div style="float: right" class="button_spacing"
192
- :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
193
- @click="$parent.$parent.hiddenr()"></div>
194
- <div style="float: right" class="button_spacing"
195
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
196
- @click="$parent.$parent.hidden()"></div>
197
- <button style="float: right" class="button_search button_spacing" @click="search">查询</button>
198
- <button style="float: right" v-if="$parent.$parent.transfer=='是'" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
199
- <div style="float: right">
200
- <export-excel-old :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
201
- :field="$parent.$parent.getfield"
202
- progress="safeGetExportProgress"
203
- sqlurl="api/af-safecheck/logic/exportfile" sql-name="GetCheckPaperByDefectNew" template-name='安检计划明细' :choose-col="true"></export-excel-old>
189
+ <div class=" col-sm-4 form-group button-range">
190
+ <div class="span" style="float: right;margin-top: 8px;margin-right: 50px">
191
+ <div style="float: right" class="button_spacing"
192
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
193
+ @click="$parent.$parent.hiddenr()"></div>
194
+ <div style="float: right" class="button_spacing"
195
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
196
+ @click="$parent.$parent.hidden()"></div>
197
+ <button style="float: right" class="button_search button_spacing" @click="search">查询</button>
198
+ <button style="float: right" v-if="$parent.$parent.transfer=='是'" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
199
+ <div style="float: right">
200
+ <export-excel-old :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
201
+ :field="$parent.$parent.getfield"
202
+ progress="safeGetExportProgress"
203
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="GetCheckPaperByDefectNew" template-name='安检计划明细' :choose-col="true"></export-excel-old>
204
+ </div>
204
205
  </div>
205
206
  </div>
206
- </div>
207
207
 
208
- </div>
208
+ </div>
209
209
 
210
210
  <div :class="$parent.$parent.style">
211
211
  <label class="font_normal_body">完成情况</label>
@@ -308,10 +308,10 @@
308
308
  style="width: 60%" placeholder="用户名称">
309
309
  </div>
310
310
  <div :class="$parent.$parent.style">
311
- <label class="font_normal_body">小区名称:</label>
312
- <div class="col-xs-8" >
313
- <input style="width: 60%" class="input_search" v-model="model.f_residential_area" placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
314
- </div>
311
+ <label class="font_normal_body">小区名称:</label>
312
+ <div class="col-xs-8" >
313
+ <input style="width: 60%" class="input_search" v-model="model.f_residential_area" placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
314
+ </div>
315
315
  </div>
316
316
  </div>
317
317
  </div>
@@ -335,7 +335,7 @@
335
335
  <th><nobr>完成数</nobr></th>
336
336
  <th><nobr>处理情况</nobr></th>
337
337
  <th><nobr>完成情况</nobr></th>
338
- <!-- <th><nobr>维修情况</nobr></th>-->
338
+ <!-- <th><nobr>维修情况</nobr></th>-->
339
339
  <th><nobr>维修员</nobr></th>
340
340
  <th><nobr>隐患明细</nobr></th>
341
341
  </tr>
@@ -357,7 +357,7 @@
357
357
  <td style="text-align: center;white-space:nowrap;">{{row.f_repair_count}}</td>
358
358
  <td style="text-align: center;white-space:nowrap;">{{row.f_is_deal}}</td>
359
359
  <td style="text-align: center;white-space:nowrap;">{{row.f_is_repair}}</td>
360
- <!-- <td style="text-align: center;white-space:nowrap;">{{row.f_repaired}}</td>-->
360
+ <!-- <td style="text-align: center;white-space:nowrap;">{{row.f_repaired}}</td>-->
361
361
  <td style="text-align: center;white-space:nowrap;">{{row.f_repairman}}</td>
362
362
  <td style="text-align: center;white-space:nowrap;"><span :title="$parent.$parent.$parent.trouble(row.f_defect_content)" style="display: block;max-width: 300px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{ $parent.$parent.$parent.trouble(row.f_defect_content)}}</span></td>
363
363
  </template>
@@ -575,8 +575,8 @@ export default {
575
575
  for (const itemdata of jsonData) {
576
576
  const keys = Object.keys(itemdata)
577
577
  for (const itm of keys) {
578
- const value = itemdata[itm]
579
- result += itm + ':' + value
578
+ const value = itemdata[itm]
579
+ result += itm + ':' + value
580
580
  }
581
581
  }
582
582
  }
@@ -680,21 +680,21 @@ export default {
680
680
  activity:act
681
681
  }
682
682
  for(let i=0; i<this.checkes.length; i++){
683
- try {
684
- let result =await new HttpResetClass().load('post','/api/af-safecheck/logic/phoneUploadRectification', {
685
- id:this.checkes[i],
686
- repData:rep,
687
- source:'pc'
688
- }, {resolveMsg: null, rejectMsg: null})
689
- if (result.data.code==200) {
690
- successCount += result.data.successcon
691
- this.progressbarWidth=Math.ceil((i+1)*100/(this.checkes.length))
692
- }
693
- }catch (e) {
694
- this.showModal3=false
695
- this.$showMessage('网络异常,请稍后再试!')
696
- return
683
+ try {
684
+ let result =await new HttpResetClass().load('post','/api/af-safecheck/logic/phoneUploadRectification', {
685
+ id:this.checkes[i],
686
+ repData:rep,
687
+ source:'pc'
688
+ }, {resolveMsg: null, rejectMsg: null})
689
+ if (result.data.code==200) {
690
+ successCount += result.data.successcon
691
+ this.progressbarWidth=Math.ceil((i+1)*100/(this.checkes.length))
697
692
  }
693
+ }catch (e) {
694
+ this.showModal3=false
695
+ this.$showMessage('网络异常,请稍后再试!')
696
+ return
697
+ }
698
698
  }
699
699
  this.showModal3=false
700
700
  this.cancel1()
@@ -143,14 +143,24 @@
143
143
  },
144
144
  open() {
145
145
  this.deg = 0
146
- this.powerw = 0.7
147
- this.powerh = 0.8
146
+ this.powerw = 0.55 // Initial scale X for the image
147
+ this.powerh = 0.65 // Initial scale Y for the image
148
+
149
+ // Make the .full-img (black background) full size by setting its scale to 1,1
150
+ // It will still rotate with the image.
148
151
  $('.full-img').css({
149
- 'transform': 'rotate(' + this.deg + 'deg) scale(' + this.powerh + ' ,' + this.powerw + ')'
152
+ 'transform': 'rotate(' + this.deg + 'deg) scale(1, 1)'
150
153
  })
154
+
155
+ // Apply the initial rotation and scale (this.powerw, this.powerh) to the image itself
156
+ this.imgState()
157
+
158
+ // This line was in the original code, related to a '.container' element.
159
+ // Leaving it as is, as it's not directly tied to the black box scale.
151
160
  $('.container').css({
152
161
  'opacity': '1'
153
162
  })
163
+
154
164
  this.show = true
155
165
  },
156
166
  close() {