safecheck-client 3.0.30-8 → 3.0.30-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 (87) 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 +1050 -1049
  7. package/src/components/android/CurrentCreate_new.vue +563 -559
  8. package/src/components/android/PaperFeedback.vue +1481 -1479
  9. package/src/components/android/SafecheckOrderV.vue +2 -2
  10. package/src/components/android/UploadPage.vue +13 -123
  11. package/src/components/paper/PaperList.vue +9 -2
  12. package/src/components/paper/PlanChooser.vue +8 -6
  13. package/src/components/pc/Edit.vue +126 -0
  14. package/src/components/pc/LodopFuncs.js +159 -0
  15. package/src/components/pc/NewCheckpaper.vue +9 -5
  16. package/src/components/pc/PaperEdit.vue +151 -0
  17. package/src/components/pc/PrintData.vue +243 -0
  18. package/src/components/pc/PrintTable.vue +241 -0
  19. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -0
  20. package/src/components/report/NoCheckplanSafecheck.vue +0 -2
  21. package/src/components/rongcheng/CheckCurrentCreate.vue +1070 -1062
  22. package/src/components/rongcheng/PaperStatem.vue +414 -373
  23. package/src/components/rongcheng/PhoneUpUserinfo.vue +1191 -1241
  24. package/src/components/rongcheng/SafecheckOrderV.vue +8 -0
  25. package/src/components/rongcheng/SafecheckUserInfo.vue +988 -569
  26. package/src/components/rongcheng/report/CheckPlanAreaList.vue +21 -3
  27. package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
  28. package/src/filiale/fugou/android.js +10 -0
  29. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1313
  30. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2 -2
  31. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
  32. package/src/filiale/hanzhong/pc.js +4 -1
  33. package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
  34. package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
  35. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
  36. package/src/filiale/jingyang/pc/PaperList.vue +793 -793
  37. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  38. package/src/filiale/kelai/android.js +1 -0
  39. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
  40. package/src/filiale/liaoyuan/android.js +1 -0
  41. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
  42. package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
  43. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +6 -0
  44. package/src/filiale/tianke/pc/checkScreen.vue +4 -4
  45. package/src/filiale/tianke/pc/cq.jpg +0 -0
  46. package/src/filiale/tianke/pc/qy.jpg +0 -0
  47. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
  48. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1090
  49. package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
  50. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
  51. package/src/filiale/wensu/android.js +1 -0
  52. package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
  53. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  54. package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
  55. package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
  56. package/src/filiale/wensu/pc/checkUserList.vue +50 -0
  57. package/src/filiale/wensu/pc.js +2 -1
  58. package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
  59. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
  60. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1279
  61. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1150 -1150
  62. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
  63. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
  64. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1077 -1077
  65. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +849 -849
  66. package/src/filiale/yangchunboneng/pc/PaperList.vue +727 -727
  67. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  68. package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
  69. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
  70. package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
  71. package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
  72. package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
  73. package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
  74. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
  75. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
  76. package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
  77. package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
  78. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +88 -29
  79. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +63 -27
  80. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
  81. package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
  82. package/src/filiale/yongzhou/pc.js +17 -12
  83. package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
  84. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
  85. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
  86. package/src/main.js +1 -1
  87. package/src/safecheck.js +12 -0
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
 
3
3
  <div class="no-close row android-repair-order" style="background-color: #f9f9f9">
4
+ <work-busy :is-busy="isSend"></work-busy>
4
5
  <div class="col-sm-12 col-xs-12" >
5
6
  <ul class="nav nav-tabs" style="background:#ffffff;overflow-y: hidden">
6
7
  <li v-for="row in tabs" @click="tabSelect(row,$index)" :class="{active1: row.complete === componentName}"
@@ -106,6 +107,7 @@ export default {
106
107
  // props: ['f_plan_id', 'role'],
107
108
  data() {
108
109
  return {
110
+ isSend:false,
109
111
  //测试数据
110
112
  // f_plan_id:'',
111
113
  // role:'inspect',
@@ -851,6 +853,7 @@ export default {
851
853
  return codata
852
854
  },
853
855
  uploadCheckPaper(){
856
+ this.isSend = true
854
857
  this.saveNoclick()
855
858
  //tag
856
859
  //tag
@@ -863,6 +866,7 @@ export default {
863
866
  // if(this.isUpload){
864
867
  // this.isUpload = false
865
868
  // }
869
+ this.isSend = false
866
870
  this.$showMessage(errString)
867
871
  }
868
872
  return
@@ -1035,6 +1039,7 @@ export default {
1035
1039
  if (Vue.android){
1036
1040
  this.$showMessage(errString)
1037
1041
  }
1042
+ this.isSend = false
1038
1043
  return
1039
1044
  } else {
1040
1045
  this.data.f_complete = '已完成'
@@ -1329,6 +1334,7 @@ export default {
1329
1334
  })
1330
1335
  },
1331
1336
  saveCallBack(jo){
1337
+ this.isSend = false
1332
1338
  //tag)
1333
1339
  if(jo.state == 'ok'){
1334
1340
  let res = JSON.parse(jo.result)
@@ -1336,6 +1342,7 @@ export default {
1336
1342
  if(res.code == 200){
1337
1343
  //tag
1338
1344
  if(!this.onlySave){
1345
+ this.isSend = true
1339
1346
  let codata = this.getAllDefect()
1340
1347
  //获取微信推送内容
1341
1348
  // let WxResult = this.getWeixin(codata)
@@ -1425,6 +1432,7 @@ export default {
1425
1432
  }
1426
1433
  },
1427
1434
  uploadCallBack(jo){
1435
+ this.isSend = false
1428
1436
  //获取微信推送路径
1429
1437
  let url = ""
1430
1438
  if(Vue.config.safecheck != undefined) {
@@ -15,27 +15,27 @@
15
15
  </div>
16
16
  <div class="row auto" style="margin: 5px 0">
17
17
  <label class="righttxt">用户名称:</label><input type="text" class="form-control rightipt"
18
- v-model="userinfo.baseinfo.base.f_user_name" readonly/>
18
+ v-model="userinfo.baseinfo.base.f_user_name" readonly/>
19
19
  </div>
20
20
  <div class="row auto" style="margin: 5px 0">
21
21
  <label class="righttxt">用户状态:</label><input type="text" class="form-control rightipt" readonly
22
- v-model="userinfo.baseinfo.base.f_user_state"/>
22
+ v-model="userinfo.baseinfo.base.f_user_state"/>
23
23
  </div>
24
24
  <div class="row auto" style="margin: 5px 0">
25
25
  <label class="righttxt">用户电话:</label><input type="text" class="form-control rightipt"
26
- v-model="userinfo.baseinfo.base.f_user_phone"/>
26
+ v-model="userinfo.baseinfo.base.f_user_phone"/>
27
27
  </div>
28
28
  <div class="row auto" style="margin: 5px 0">
29
29
  <label class="righttxt">租户姓名:</label><input type="text" class="form-control rightipt"
30
- v-model="userinfo.baseinfo.base.f_rent_name"/>
30
+ v-model="userinfo.baseinfo.base.f_rent_name"/>
31
31
  </div>
32
32
  <div class="row auto" style="margin: 5px 0">
33
33
  <label class="righttxt">租户电话:</label><input type="text" class="form-control rightipt"
34
- v-model="userinfo.baseinfo.base.f_zuhu_phone"/>
34
+ v-model="userinfo.baseinfo.base.f_zuhu_phone"/>
35
35
  </div>
36
36
  <div class="row auto" style="margin: 5px 0">
37
37
  <label class="righttxt">建档日期:</label><input type="text" class="form-control rightipt"
38
- v-model="userinfo.baseinfo.base.f_createfile_date" readonly/>
38
+ v-model="userinfo.baseinfo.base.f_createfile_date" readonly/>
39
39
  </div>
40
40
  <!-- <div class="row auto" style="margin: 5px 0">
41
41
  <label class="righttxt">开户日期:</label><input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_open_date" readonly />
@@ -45,10 +45,10 @@
45
45
  <div class="rightipt" style="display: flex;justify-content: space-around;margin-top: 5px">
46
46
  <div><input type="radio" v-model="addressType" name="addressType" @change="changeAddressType"
47
47
  id="phone_addressType1" value="普通地址"/><label style="font-weight: normal;padding-left: 2px"
48
- for="phone_addressType1">普通地址</label></div>
48
+ for="phone_addressType1">普通地址</label></div>
49
49
  <div><input type="radio" v-model="addressType" name="addressType" @change="changeAddressType"
50
50
  id="phone_addressType2" value="特殊地址"/><label style="font-weight: normal;padding-left: 2px"
51
- for="phone_addressType2">特殊地址</label></div>
51
+ for="phone_addressType2">特殊地址</label></div>
52
52
  </div>
53
53
  <!--<input type="text" style="width: 75%;float:right" class="form-control" v-model="row.f_devices_type" />-->
54
54
  <!--<input type="text" class="form-control rightipt" readonly v-model="userinfo.addressinfo.f_pcd" />-->
@@ -108,27 +108,27 @@
108
108
  </div>-->
109
109
  <div class="row auto" style="margin: 5px 0" v-show="addressType=='普通地址'">
110
110
  <label class="righttxt">楼&ensp;&ensp;&ensp;&ensp;号:</label><input type="text" @change="changeNewAddress"
111
- class="form-control rightipt"
112
- v-model="userinfo.addressinfo.f_building"/>
111
+ class="form-control rightipt"
112
+ v-model="userinfo.addressinfo.f_building"/>
113
113
  </div>
114
114
  <div class="row auto" style="margin: 5px 0" v-show="addressType=='普通地址'">
115
115
  <label class="righttxt">单&ensp;&ensp;&ensp;&ensp;元:</label><input type="text" @change="changeNewAddress"
116
- class="form-control rightipt"
117
- v-model="userinfo.addressinfo.f_unit"/>
116
+ class="form-control rightipt"
117
+ v-model="userinfo.addressinfo.f_unit"/>
118
118
  </div>
119
119
  <div class="row auto" style="margin: 5px 0" v-show="addressType=='普通地址'">
120
120
  <label class="righttxt">楼&ensp;&ensp;&ensp;&ensp;层:</label><input type="text" @change="changeNewAddress"
121
- class="form-control rightipt"
122
- v-model="userinfo.addressinfo.f_floor"/>
121
+ class="form-control rightipt"
122
+ v-model="userinfo.addressinfo.f_floor"/>
123
123
  </div>
124
124
  <div class="row auto" style="margin: 5px 0" v-show="addressType=='普通地址'">
125
125
  <label class="righttxt">门&ensp;牌&ensp;号:</label><input type="text" @change="changeNewAddress"
126
- class="form-control rightipt"
127
- v-model="userinfo.addressinfo.f_room"/>
126
+ class="form-control rightipt"
127
+ v-model="userinfo.addressinfo.f_room"/>
128
128
  </div>
129
129
  <div class="row auto" style="margin: 5px 0">
130
130
  <label class="righttxt">详细地址:</label><input type="text" class="form-control rightipt" readonly
131
- v-model="userinfo_old.addressinfo.f_address"/>
131
+ v-model="userinfo_old.addressinfo.f_address"/>
132
132
  </div>
133
133
  <div class="row auto" style="margin: 5px 0">
134
134
  <label class="righttxt">新&ensp;地&ensp;址:</label>
@@ -144,8 +144,8 @@
144
144
 
145
145
  <div class="row auto" style="margin: 5px 0">
146
146
  <label class="righttxt">备&ensp;&ensp;&ensp;&ensp;注:</label><textarea class="form-control rightipt"
147
- style="height: 150px"
148
- v-model="userinfo.baseinfo.base.f_remark"></textarea>
147
+ style="height: 150px"
148
+ v-model="userinfo.baseinfo.base.f_remark"></textarea>
149
149
  <!--<input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_remark" />-->
150
150
  </div>
151
151
  </div>
@@ -297,7 +297,7 @@
297
297
  </div>
298
298
  <div class="row auto" style="margin: 5px 0">
299
299
  <label class="righttxt">设备型号:</label><input type="text" class="form-control rightipt"
300
- v-model="row.f_devices_model"/>
300
+ v-model="row.f_devices_model"/>
301
301
  </div>
302
302
  <div class="row auto" style="margin: 5px 0">
303
303
  <label class="righttxt">生产日期:</label>
@@ -312,22 +312,22 @@
312
312
  </div>
313
313
  <div class="row auto" style="margin: 5px 0">
314
314
  <label class="righttxt">使用年限:</label><input type="number" class="form-control rightipt"
315
- v-model="row.f_service_life"/>
315
+ v-model="row.f_service_life"/>
316
316
  </div>
317
- <!-- <div class="row auto" style="margin: 5px 0">
318
- <label class="righttxt">到期日期:</label>
319
- &lt;!&ndash;<input type="text" class="form-control rightipt" v-model="row.f_expire_date" />&ndash;&gt;
320
- <datepicker class="rightipt"
321
- :value.sync="row.f_expire_date"
322
- v-model="row.f_expire_date"
323
- :disabled-days-of-Week="[]"
324
- :format="'yyyy-MM-dd'"
325
- :show-reset-button="reset" readonly="readonly">
326
- </datepicker>
327
- </div>-->
317
+ <!-- <div class="row auto" style="margin: 5px 0">
318
+ <label class="righttxt">到期日期:</label>
319
+ &lt;!&ndash;<input type="text" class="form-control rightipt" v-model="row.f_expire_date" />&ndash;&gt;
320
+ <datepicker class="rightipt"
321
+ :value.sync="row.f_expire_date"
322
+ v-model="row.f_expire_date"
323
+ :disabled-days-of-Week="[]"
324
+ :format="'yyyy-MM-dd'"
325
+ :show-reset-button="reset" readonly="readonly">
326
+ </datepicker>
327
+ </div>-->
328
328
  <div class="row auto" style="margin: 5px 0">
329
329
  <label class="righttxt">安&ensp;装&ensp;人:</label><input type="text" class="form-control rightipt"
330
- v-model="row.f_input_person"/>
330
+ v-model="row.f_input_person"/>
331
331
  </div>
332
332
  <div class="row auto" style="margin: 5px 0">
333
333
  <label class="righttxt">安装日期:</label>
@@ -342,7 +342,7 @@
342
342
  </div>
343
343
  <div class="row auto" style="margin: 5px 0">
344
344
  <label class="righttxt">设备数量:</label><input type="number" class="form-control rightipt"
345
- v-model="row.f_devices_num"/>
345
+ v-model="row.f_devices_num"/>
346
346
  </div>
347
347
  <!--<div class="row auto" style="margin: 5px 0">
348
348
  <label class="righttxt">管道类型:</label><input type="text" class="form-control rightipt" readonly v-model="row.f_pipe_type" />