safecheck-client 4.0.1-8 → 4.0.1-80

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 (82) hide show
  1. package/.trae/.ignore +0 -0
  2. package/.vscode/settings.json +3 -0
  3. package/package.json +5 -5
  4. package/src/assets//350/255/246/345/221/212 (3).png +0 -0
  5. package/src/assets//350/255/246/345/221/212 (4).png +0 -0
  6. package/src/assets//350/255/246/345/221/212 (5).png +0 -0
  7. package/src/components/NewDefectList/DefectListNew.vue +22 -3
  8. package/src/components/Util/RightTreeSafeDep.vue +12 -0
  9. package/src/components/android/AndroidDefectDeal.vue +356 -323
  10. package/src/components/android/AndroidDefectDetails.vue +3 -3
  11. package/src/components/android/AppInstallationMaterial.vue +865 -0
  12. package/src/components/android/DailyworkloadQuery.vue +2 -1
  13. package/src/components/android/NewCheckpaperAndroid.vue +22 -48
  14. package/src/components/android/SafecheckOrderV.vue +6 -0
  15. package/src/components/android/SwitchValve.vue +1 -1
  16. package/src/components/checkplan/CheckDetail.vue +1 -1
  17. package/src/components/map/SecurityCheckCoordinates.vue +361 -0
  18. package/src/components/paper/PaperList.vue +5 -0
  19. package/src/components/pc/DefectDeal.vue +2 -1
  20. package/src/components/pc/DefectMaterialLook.vue +98 -0
  21. package/src/components/pc/PaperDefectMain.vue +26 -1
  22. package/src/components/pc/RoleSelectorDep.vue +9 -2
  23. package/src/components/planmanage/PlanManage.vue +1 -0
  24. package/src/components/querycheckpaper/CheckPaperList.vue +6 -4
  25. package/src/components/querycheckpaper/CheckPaperSearchUser.vue +30 -4
  26. package/src/components/querycheckpaper/CheckSearchUser.vue +6 -1
  27. package/src/filiale/jinhong/android/CurrentCreate.vue +66 -22
  28. package/src/filiale/jinhong/pc/CheckBookList.vue +12 -7
  29. package/src/filiale/jinhong/pc/DefectPaperNew.vue +10 -10
  30. package/src/filiale/jinhong/pc/PaperList.vue +56 -47
  31. package/src/filiale/jinhong/pc/PlanManage.vue +2 -0
  32. package/src/filiale/jinhong/pc/checkPlanList.vue +2 -0
  33. package/src/filiale/jinhong/pc/checkUserList.vue +766 -742
  34. package/src/filiale/libo/android/PaperFeedback.vue +1579 -0
  35. package/src/filiale/libo/android/PhoneUpUserinfo.vue +1249 -0
  36. package/src/filiale/libo/android/SafecheckOrderV.vue +2302 -0
  37. package/src/filiale/libo/android.js +14 -0
  38. package/src/filiale/libo/pc/NewCheckpaper.vue +1987 -0
  39. package/src/filiale/libo/pc.js +12 -0
  40. package/src/filiale/meihekou/android/CurrentCreate.vue +1 -1
  41. package/src/filiale/meihekou/android/MeterReading.vue +9 -5
  42. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +3 -2
  43. package/src/filiale/meihekou/android/SafecheckDevices.vue +5 -5
  44. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2446 -2427
  45. package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -2
  46. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -0
  47. package/src/filiale/meihekou/pc/PaperList.vue +1205 -0
  48. package/src/filiale/meihekou/pc.js +2 -0
  49. package/src/filiale/minsheng/android/SwitchValve.vue +1 -1
  50. package/src/filiale/qianneng/android/SwitchValve.vue +1 -1
  51. package/src/filiale/qingjian/pc/checkUserList.vue +35 -0
  52. package/src/filiale/taiyuan/android/AddPlanItem.vue +456 -0
  53. package/src/filiale/taiyuan/android/AreaPlan.vue +565 -0
  54. package/src/filiale/taiyuan/android/CurrentCreate.vue +1016 -0
  55. package/src/filiale/taiyuan/android/PhoneUpUserinfo.vue +1253 -0
  56. package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2347 -0
  57. package/src/filiale/taiyuan/android/SafecheckUserInfo.vue +784 -0
  58. package/src/filiale/taiyuan/android.js +15 -0
  59. package/src/filiale/taiyuan/pc/DefectDeal.vue +1034 -0
  60. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -0
  61. package/src/filiale/taiyuan/pc/PaperList.vue +795 -0
  62. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -0
  63. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -0
  64. package/src/filiale/taiyuan/pc.js +16 -0
  65. package/src/filiale/tianke/android/CurrentCreate.vue +3 -3
  66. package/src/filiale/tongchuan/android/SwitchValve.vue +1 -1
  67. package/src/filiale/xinkang/android/AddPlanItem.vue +244 -196
  68. package/src/filiale/xinkang/android/AndroidDefectDeal.vue +1 -0
  69. package/src/filiale/xinkang/android/SafecheckDevices.vue +52 -22
  70. package/src/filiale/xinkang/android/SafecheckOrderV.vue +24 -80
  71. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +1 -1
  72. package/src/filiale/xinkang/pc/CheckSearchUser.vue +12 -12
  73. package/src/filiale/xinkang/pc/NewCheckpaper.vue +57 -72
  74. package/src/filiale/xinkang/pc/PaperList.vue +25 -10
  75. package/src/filiale/yuansheng/android/SwitchValve.vue +1 -1
  76. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1030 -1030
  77. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +4 -4
  78. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -0
  79. package/src/filiale/yunchengminsheng/pc.js +1 -0
  80. package/src/main.js +33 -33
  81. package/src/safecheck-android.js +4 -0
  82. package/src/safecheck.js +6 -0
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="flex-row">
2
+ <div class="flex-row" v-show="showinfo1">
3
3
  <div class="basic-main">
4
4
  <criteria-paged :model="model" v-ref:paged @sort="sort">
5
5
  <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
@@ -266,6 +266,8 @@
266
266
  <check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
267
267
  </div>
268
268
  </div>
269
+ <new-check-paper v-if="showinfo2" :f_plan_id="shouinfodata.f_check_plan_id" :item="shouinfodata" :role="'view'" v-on:showback="showback1"></new-check-paper>
270
+ <new-check-paper-temp v-if="showinfo3" :f_plan_id="shouinfodata.f_check_plan_id" :item="shouinfodata" :role="'view'" v-on:showback="showback2"></new-check-paper-temp>
269
271
  </template>
270
272
 
271
273
  <script>
@@ -333,7 +335,11 @@ import BenzAMRRecorder from 'benz-amr-recorder'
333
335
  // }
334
336
  // model.f_subcompany = this.$login.f.f_fengongsi
335
337
  return {
338
+ showinfo1:true,
339
+ showinfo2:false,
340
+ showinfo3:false,
336
341
  audioshow:false,
342
+ shouinfodata:{},
337
343
  searchData: {
338
344
  condition: "1=1",
339
345
  orderitem: "f_offsite_time desc",
@@ -376,6 +382,14 @@ import BenzAMRRecorder from 'benz-amr-recorder'
376
382
  }
377
383
  },
378
384
  methods: {
385
+ showback1(){
386
+ this.showinfo1 = true
387
+ this.showinfo2 = false
388
+ },
389
+ showback2(){
390
+ this.showinfo1 = true
391
+ this.showinfo3 = false
392
+ },
379
393
  //获取省市区列表
380
394
  getPcd(val){
381
395
  this.pcds = [{label:'全部',value:''}]
@@ -484,15 +498,16 @@ import BenzAMRRecorder from 'benz-amr-recorder'
484
498
  },
485
499
 
486
500
  change(row) {
487
- // Vue.$login = {jwt: row.f_checker_id}
488
- asyncReady(this).then(() => {
489
- ////tag)
490
- row.f_upload_state = '已传'
491
- this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
492
- }).catch(
493
- (respanse) => {
494
- alert('获取配置文件失败')
495
- })
501
+ row.f_upload_state = '已传'
502
+ this.shouinfodata = JSON.parse(JSON.stringify(row))
503
+ this.showinfo1 = false
504
+ if (row.f_safe_type == '已挂表未办卡安检'){
505
+ this.showinfo2 = false
506
+ this.showinfo3 = true
507
+ return
508
+ }
509
+ this.showinfo2 = true
510
+ this.showinfo3 = false
496
511
  },
497
512
  readConfig() {
498
513
  let gen = asyncReady(this)
@@ -294,7 +294,7 @@ export default {
294
294
  meternumberf: this.thisOneData.f_meternumber, //表号
295
295
  contentData: {isOpen: msg=='开阀' ? 1 : 0}, // oper 为true 时为开阀 false 为关阀
296
296
  }
297
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/iot_saveInstruct`, {data: data}).then((row) => {
297
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/iot_saveInstruct`, {data: data}).then((row) => {
298
298
  this.$showMessage(`${msg}指令发送成功,请等候2分钟进行查询`)
299
299
  //tag
300
300
  this.thisOneData = '';