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
package/.trae/.ignore ADDED
File without changes
@@ -0,0 +1,3 @@
1
+ {
2
+ "common-intellisense.translate": false
3
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "safecheck-client",
3
3
  "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "4.0.1-8",
4
+ "version": "4.0.1-80",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -31,9 +31,9 @@
31
31
  "benz-amr-recorder": "^1.1.3",
32
32
  "browserslist": "^4.21.4",
33
33
  "crypto-js": "^4.2.0",
34
- "html2canvas": "^1.1.4",
35
- "html2pdf.js": "^0.10.1",
36
- "jspdf": "^2.3.1",
34
+ "html2canvas": "1.1.4",
35
+ "html2pdf.js": "0.10.1",
36
+ "jspdf": "2.3.1",
37
37
  "less": "^4.2.0",
38
38
  "mint-ui": "^1.0.2",
39
39
  "node-libs-browser": "^2.2.1",
@@ -108,7 +108,7 @@
108
108
  "terser-webpack-plugin-legacy": "^1.2.5",
109
109
  "url-loader": "^0.5.7",
110
110
  "vue-amap": "0.5.10",
111
- "vue-client": "1.25.30",
111
+ "vue-client": "1.25.41",
112
112
  "vue-hot-reload-api": "^1.2.0",
113
113
  "vue-html-loader": "^1.0.0",
114
114
  "vue-loader": "^8.2.1",
@@ -56,10 +56,9 @@
56
56
  </td>
57
57
  <td style="text-align: center">
58
58
  <div>
59
- <!-- <img-button v-if="row.f_repaire_type != '无隐患' && row.f_repaire_type != '维修已处理' && row.f_path" :src="'/rs/image/file/'+row.f_path" :value="'隐患图片'"></img-button>-->
60
- <!-- <button style="margin-top: 3px" v-if="row.f_repaire_type == '维修已处理'" class="button_new-1 button_spacing" @click="$parent.$parent.$parent.solveDefect( row, 'view')">处理详情</button>-->
61
59
  <button style="margin-top: 3px" class="button_new-1 button_spacing" @click="$parent.$parent.$parent.solveDefect(row, row.f_repaire_type)">处理详情</button>
62
60
  <button style="margin-top: 3px" v-if="row.f_repaire_type == '隐患未处理' && $parent.$parent.$parent.showHandleDefectButton === '是'" class="button_spacing button_search-1" @click="$parent.$parent.$parent.solveDefect(row, 'solve')">处理隐患</button>
61
+ <button style="margin-top: 3px" v-if="$parent.$parent.$parent.canlook" class="button_new-1 button_spacing" @click="$parent.$parent.$parent.lookMateril(row)">查看材料</button>
63
62
  </div>
64
63
  </td>
65
64
  </template>
@@ -236,7 +235,16 @@
236
235
  <button class="button_search" @click="cancel">取消</button>
237
236
  </div>
238
237
  </modal>
239
-
238
+ <modal :show.sync="showmaterial" backdrop="false" style="overflow: scroll;height: 100%">
239
+ <header slot="modal-header" class="modal-header text-center">
240
+ <button type="button" class="close" @click="close2"><span>&times;</span></button>
241
+ <h4 class="modal-title">材料查看</h4>
242
+ </header>
243
+ <article slot="modal-body">
244
+ <defect-material-look v-if="showmaterial" :selectdata = "selectdata" ></defect-material-look>
245
+ </article>
246
+ <footer slot="modal-footer"></footer>
247
+ </modal>
240
248
  </div>
241
249
  </template>
242
250
 
@@ -388,6 +396,8 @@ export default {
388
396
  valid: false,
389
397
  checkDefect:null,
390
398
  needRepair: false,
399
+ showmaterial: false,
400
+ selectdata: {},
391
401
  solveModal: {
392
402
  preData: {
393
403
  type: '',
@@ -470,6 +480,7 @@ export default {
470
480
  callObj: null
471
481
  }
472
482
  },
483
+ canlook: this.$appdata.getSingleValue('隐患明细查看材料')?true:false,
473
484
  showHandleDefectButton: null
474
485
  }
475
486
  },
@@ -485,6 +496,14 @@ export default {
485
496
  this.getEmp()
486
497
  },
487
498
  methods: {
499
+ lookMateril(row){
500
+ this.selectdata=row
501
+ this.selectdata.f_defect_id=row.id
502
+ this.showmaterial=true
503
+ },
504
+ close2(){
505
+ this.showmaterial=false
506
+ },
488
507
  getfile(res){
489
508
  this.solveModal.uploadData.filename=res.f_filename
490
509
  },
@@ -156,6 +156,18 @@ export default {
156
156
  }
157
157
  },
158
158
  methods: {
159
+ clear(){
160
+ //取消点击
161
+ this.orgnames="请选择"
162
+ this.orgids=null
163
+ this.orgobj=null
164
+ let newobj={
165
+ "res": [],
166
+ "resids": [],
167
+ "orgobj": [],
168
+ }
169
+ this.$emit('re-res', newobj)
170
+ },
159
171
  selectRes () {
160
172
  let newobj={
161
173
  "res": [this.resname],