safecheck-client 3.0.30-7 → 3.0.30-71

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 (79) hide show
  1. package/examples/SafePlan-liaoyuan/App.vue +3 -1
  2. package/package.json +4 -3
  3. package/src/components/Util.js +15 -0
  4. package/src/components/android/AddPlanItem.vue +5 -2
  5. package/src/components/android/AreaPlan.vue +2 -2
  6. package/src/components/android/CurrentCreate.vue +3 -2
  7. package/src/components/android/CurrentCreate_new.vue +563 -559
  8. package/src/components/android/PhoneotherInfo.vue +132 -132
  9. package/src/components/android/SafecheckOrderV.vue +2 -2
  10. package/src/components/android/UploadPage.vue +13 -123
  11. package/src/components/paper/PlanChooser.vue +8 -6
  12. package/src/components/pc/Edit.vue +126 -0
  13. package/src/components/pc/LodopFuncs.js +159 -0
  14. package/src/components/pc/NewCheckpaper.vue +9 -5
  15. package/src/components/pc/PaperEdit.vue +151 -0
  16. package/src/components/pc/PrintData.vue +243 -0
  17. package/src/components/pc/PrintTable.vue +241 -0
  18. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -278
  19. package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
  20. package/src/components/report/NoCheckplanSafecheck.vue +0 -2
  21. package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
  22. package/src/filiale/bayan/android/SafecheckOrderV.vue +2850 -2850
  23. package/src/filiale/bayan/android/SafecheckUserInfo.vue +806 -806
  24. package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
  25. package/src/filiale/fugou/android.js +10 -0
  26. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
  27. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1294
  28. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  29. package/src/filiale/hanzhong/android.js +16 -16
  30. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
  31. package/src/filiale/hanzhong/pc.js +4 -1
  32. package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
  33. package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
  34. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
  35. package/src/filiale/jingyang/pc/PaperList.vue +1 -2
  36. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  37. package/src/filiale/kelai/android.js +1 -0
  38. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
  39. package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
  40. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +6 -0
  41. package/src/filiale/tianke/pc/checkScreen.vue +781 -781
  42. package/src/filiale/tianke/pc/cq.jpg +0 -0
  43. package/src/filiale/tianke/pc/qy.jpg +0 -0
  44. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
  45. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1095 -1090
  46. package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
  47. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
  48. package/src/filiale/wensu/android.js +1 -0
  49. package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
  50. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  51. package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
  52. package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
  53. package/src/filiale/wensu/pc/checkUserList.vue +50 -0
  54. package/src/filiale/wensu/pc.js +2 -1
  55. package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
  56. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
  57. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
  58. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
  59. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  60. package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
  61. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
  62. package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
  63. package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
  64. package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
  65. package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
  66. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
  67. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
  68. package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
  69. package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
  70. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +88 -29
  71. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +63 -27
  72. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
  73. package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
  74. package/src/filiale/yongzhou/pc.js +17 -12
  75. package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
  76. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
  77. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
  78. package/src/safecheck-android.js +290 -290
  79. package/src/safecheck.js +12 -0
@@ -17,6 +17,7 @@
17
17
  import Comp from "./comp"
18
18
  import TestData from "./TestData"
19
19
  import {HttpResetClass} from "vue-client";
20
+ import Vue from 'vue'
20
21
  export default {
21
22
  data(){
22
23
  return{
@@ -25,7 +26,8 @@ data(){
25
26
  },
26
27
  ready() {
27
28
  try{
28
-
29
+ Vue.mmType = 'nginx'
30
+ Vue.HWQMM = [51, 150, 231, 300, 565, 708, 721, 952, 738, 560, 935, 912, 1274, 1148, 840, 1440]
29
31
  if (this.$login) {
30
32
  //tag
31
33
  global.login=this.$login.f
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "safecheck-client",
3
3
  "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "3.0.30-7",
4
+ "version": "3.0.30-71",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -100,18 +100,19 @@
100
100
  "selenium-server": "2.52.0",
101
101
  "sinon": "^2.1.0",
102
102
  "sinon-chai": "^2.8.0",
103
+ "sketch-vue3": "^1.0.0",
103
104
  "style": "0.0.3",
104
105
  "style-loader": "^0.20.3",
105
106
  "system-clients": "3.2.76",
106
107
  "system-phone": "1.2.100",
107
- "terser-webpack-plugin-legacy": "^1.2.5",
108
108
  "telephone-clients": "1.1.27",
109
+ "terser-webpack-plugin-legacy": "^1.2.5",
109
110
  "url-loader": "^0.5.7",
111
+ "vue-amap": "0.5.10",
110
112
  "vue-client": "1.24.129",
111
113
  "vue-hot-reload-api": "^1.2.0",
112
114
  "vue-html-loader": "^1.0.0",
113
115
  "vue-loader": "^8.2.1",
114
- "vue-amap": "0.5.10",
115
116
  "vue-resource": "^1.5.0",
116
117
  "vue-router": "^0.7.13",
117
118
  "vue-strap": "^1.0.9",
@@ -394,3 +394,18 @@ export function convertToIn (val) {
394
394
  }
395
395
  return temp
396
396
  }
397
+
398
+ //获取随机uuid
399
+ export function generateUUID() {
400
+ // 'x' 代表数字与大小写字母中的任意一个
401
+ const chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
402
+ let uuid = '';
403
+ // 第一个字符是 '0'-'7' 之间的随机数字,用于版本标识
404
+ uuid += chars.charAt(Math.floor(Math.random() * 8) + Math.floor(Math.random() * 8) % 8);
405
+ for (let i = 0; i < 31; i++) {
406
+ // 随机选择字符
407
+ uuid += chars.charAt(Math.random() * chars.length | 0);
408
+ }
409
+ // 修正长度和格式,以确保它看起来像是一个标准的UUID
410
+ return uuid.substr(0, 8) + uuid.substr(8, 4) + uuid.substr(12, 4) + uuid.substr(16, 4) + uuid.substr(20, 12);
411
+ }
@@ -289,8 +289,11 @@
289
289
  HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
290
290
  },
291
291
  getCode(){
292
- var datapa = HostApp.getCode().data;
293
- //tag
292
+ let datapa = HostApp.getCode().data;
293
+ let indexnum = datapa.indexOf("]C1")
294
+ if(indexnum != -1){
295
+ datapa = datapa.substring(indexnum+3,datapa.length)
296
+ }
294
297
  this.$refs.paged.$refs.cri.model.f_meternumber=datapa
295
298
  },
296
299
  getCheckTime(){
@@ -415,8 +415,8 @@
415
415
  ],
416
416
  isends: [
417
417
  {label: '请选择完成状态', value: ''},
418
- {label: '未完成', value: 'f_check_version=1 or f_check_version=2'},
419
- {label: '已完成', value: 'f_check_version is null'},
418
+ {label: '未完成', value: '( tcp.f_check_version = 1 or tcp.f_check_version = 2 )'},
419
+ {label: '已完成', value: 'tcp.f_check_version is null'},
420
420
  ],
421
421
  check_states: [
422
422
  {label: '请选择安检状态', value: ''},
@@ -774,10 +774,11 @@
774
774
  inspect(row) {
775
775
  var _this = this
776
776
  let http = new HttpResetClass()
777
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: {
777
+ http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {
778
778
  items: 'id',
779
779
  tablename: 't_check_plan_item',
780
- condition: `id = '${row.id}'`
780
+ condition: `id = '${row.id}'`,
781
+ orderitem: ' id '
781
782
  }}, {resolveMsg: null, rejectMsg: null}).then((getcheckplan) => {
782
783
  console.log('getcheckplan=', JSON.stringify(getcheckplan))
783
784
  this.getcheckplandata = getcheckplan.data[0]