safecheck-client 3.0.32 → 3.0.33-11

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 (95) hide show
  1. package/package.json +133 -133
  2. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  3. package/src/assets//345/234/260/345/235/200.png +0 -0
  4. package/src/assets//345/247/223/345/220/215.png +0 -0
  5. package/src/assets//345/260/217/345/214/272.png +0 -0
  6. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  7. package/src/assets//345/272/225/346/225/260.png +0 -0
  8. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  9. package/src/assets//346/245/274/345/217/267.png +0 -0
  10. package/src/assets//346/245/274/345/261/202.png +0 -0
  11. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  12. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  13. package/src/components/android/AndroidDefectDeal.vue +5 -5
  14. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  15. package/src/components/android/SafecheckOrderV.vue +4 -1
  16. package/src/components/map/checkScreen.vue +1 -1
  17. package/src/components/planmanage/checkPlanList.vue +3 -3
  18. package/src/components/planmanage/checkUserList.vue +34 -2
  19. package/src/components/rongcheng/AspiratedDevices.vue +34 -1
  20. package/src/components/rongcheng/DefectPaper.vue +4 -1
  21. package/src/components/rongcheng/SafecheckDevices.vue +34 -1
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
  23. package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
  24. package/src/filiale/Util.js +7 -0
  25. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  26. package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
  27. package/src/filiale/bayan/android/AddPlanItem.vue +5 -1
  28. package/src/filiale/bayan/android/SafecheckOrderV.vue +3 -0
  29. package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
  30. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  31. package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
  32. package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
  33. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  34. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  35. package/src/filiale/dexin/android.js +4 -1
  36. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  37. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  38. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  39. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  40. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  41. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  42. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  43. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  44. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  45. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  46. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  47. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  48. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  49. package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
  50. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  51. package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
  52. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  53. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  54. package/src/filiale/fugou/pc.js +60 -5
  55. package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
  56. package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
  57. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
  58. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
  59. package/src/filiale/jingyang/android.js +4 -0
  60. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  61. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
  62. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  63. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  64. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
  65. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
  66. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  67. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  68. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  69. package/src/filiale/shexian/pc.js +1 -0
  70. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
  71. package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
  72. package/src/filiale/weinan/android/SafecheckOrderV.vue +3321 -3276
  73. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  74. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  75. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  76. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  77. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  78. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  79. package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
  80. package/src/filiale/wensu/pc/checkUserList.vue +13 -9
  81. package/src/filiale/wensu/pc.js +1 -0
  82. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
  83. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  84. package/src/filiale/wuhai/pc.js +1 -0
  85. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
  86. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
  87. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  88. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
  89. package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
  90. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
  91. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
  92. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  93. package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
  94. package/static/stretch_bottom.png +0 -0
  95. package/static/stretch_top.png +0 -0
@@ -44,6 +44,17 @@
44
44
  <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
45
45
  <p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_state }}</p>
46
46
  </div>
47
+ <div class="col-xs-12" style="padding: 2px 0">
48
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>使用类型:</b></p>
49
+ <v-select
50
+ :value.sync="f_usetype"
51
+ v-model="f_usetype"
52
+ width="67%"
53
+ placeholder='请选择'
54
+ :value-single="true"
55
+ :options="f_usetypes"
56
+ clear-button></v-select>
57
+ </div>
47
58
  <div class="col-xs-12" style="margin-left: 20px">
48
59
  <!-- <p class="panel-title col-xs-7 text-left input-font"><a @click="searchDevices(userinfo.f_userinfoid)"></a></p>-->
49
60
  <a class="panel-title col-xs-8 text-left input-font" style="width: 79%;color: blue;text-decoration:underline" v-if="userinfo.f_safecheck_type=='送气类型'" @click="searchDevices(userinfo.f_userinfoid)">设备信息维护</a>
@@ -914,6 +925,12 @@
914
925
  RadioGroup,
915
926
  Radio
916
927
  },
928
+ computed: {
929
+ // 使用类型
930
+ f_usetypes() {
931
+ return this.$appdata.getParam('使用类型')
932
+ }
933
+ },
917
934
  }
918
935
  </script>
919
936
 
@@ -20,6 +20,13 @@ export function getAttendanceState(item, timeToWork, timeToGo) {
20
20
  item.f_state = '正常'
21
21
  }
22
22
 
23
+ export function dateAddDay (date, day) {
24
+ date.setDate(date.getDate() + Number.parseInt(day));
25
+ let month = date.getMonth()+1
26
+ let date2 = date.getDate()
27
+ return date.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date2<10? '0'+ date2 : date2)
28
+ }
29
+
23
30
  // 字符串进行解密
24
31
  export function uncompileStr (code) {
25
32
  code = unescape(code)
@@ -491,7 +491,7 @@
491
491
  commitDealDefect() {
492
492
  //tag
493
493
  //tag)
494
- debugger
494
+
495
495
  if(this.deal.result.f_rect_methods==''){
496
496
  this.$showMessage('请选择整改方式')
497
497
  return
@@ -862,7 +862,7 @@
862
862
 
863
863
  //tag
864
864
  this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检')) and ti.f_no_checkplan = '有计划安检'" + condition)
865
- debugger
865
+
866
866
 
867
867
  },
868
868
  getNewOrder(){
@@ -154,7 +154,8 @@
154
154
  </div>
155
155
  <div class="row">
156
156
  <p class="panel-title col-xs-4 text-left font">用户电话</p>
157
- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}</p>
157
+ <p class="panel-title col-xs-8 text-left input-font" style="width: 77%">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
158
+ <img src="../../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone)'></img></p>
158
159
  </div>
159
160
 
160
161
  <div class="row">
@@ -253,6 +254,9 @@
253
254
  }
254
255
  },
255
256
  methods:{
257
+ makeAPhoneCall(phoneNumber) {
258
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
259
+ },
256
260
  scan(){
257
261
  HostApp.__this__=this,
258
262
  HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
@@ -751,6 +751,9 @@
751
751
  if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
752
752
  return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须拍照"
753
753
  }
754
+ if (this.data[device][item].f_items[i].f_is_defect == true && !this.data[device][item].f_items[i].f_deal_dispose) {
755
+ return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须选择处理方式"
756
+ }
754
757
  }
755
758
  }
756
759
  }
@@ -1823,7 +1823,7 @@ export default {
1823
1823
  }
1824
1824
  },
1825
1825
  ready() {
1826
- debugger
1826
+
1827
1827
  if (this.item.f_check_type == '非民用'){
1828
1828
  this.config = this.config3
1829
1829
  }