safecheck-client 3.0.39-6 → 3.0.39-61

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 (93) hide show
  1. package/.trae/.ignore +0 -0
  2. package/.vscode/settings.json +3 -0
  3. package/package.json +134 -134
  4. package/src/App.vue +26 -31
  5. package/src/assets//345/256/232/344/275/215.png +0 -0
  6. package/src/components/android/AndroidDefectDeal.vue +2 -2
  7. package/src/components/android/NewCheckpaperAndroid.vue +2 -2
  8. package/src/components/android/SafecheckOrderV.vue +1 -1
  9. package/src/components/pc/AddPlanItemYyChange.vue +5 -1
  10. package/src/components/pc/PaperDefectMain.vue +1 -1
  11. package/src/components/pc/RoleSelector.vue +172 -172
  12. package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +34 -0
  13. package/src/components/rongcheng/AddPlanItem.vue +344 -344
  14. package/src/components/rongcheng/CheckCurrentCreate.vue +1081 -1081
  15. package/src/components/rongcheng/PaperDefectMain.vue +828 -828
  16. package/src/components/rongcheng/PaperStatem.vue +6 -6
  17. package/src/components/rongcheng/PhoneUpUserinfo.vue +1 -0
  18. package/src/filiale/BFshiye/android/PhoneUpUserinfo.vue +3 -1
  19. package/src/filiale/BFshiye/android/SafecheckUserInfo.vue +2 -8
  20. package/src/filiale/BFshiye/pc/checkUserList.vue +772 -772
  21. package/src/filiale/baiyin/android/SafecheckUserInfo.vue +775 -0
  22. package/src/filiale/baiyin/android.js +1 -0
  23. package/src/filiale/bayan/pc/NewCheckpaper.vue +2 -2
  24. package/src/filiale/bayan/pc/SelectAreaReport.vue +1 -0
  25. package/src/filiale/bayan/pc/SummaryOfSecurityInspectionProgress.vue +7 -7
  26. package/src/filiale/dexin/android/SafecheckOrderV.vue +1 -1
  27. package/src/filiale/dexin/android/SafecheckOrderVTemp.vue +4 -1
  28. package/src/filiale/dexin/pc/PaperList.vue +840 -840
  29. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +2 -2
  30. package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +1 -1
  31. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +6 -1
  32. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +1 -1
  33. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +1 -1
  34. package/src/filiale/huatong/android/SafecheckOrderV.vue +2 -2
  35. package/src/filiale/jinhuang/android/AddPlanItem.vue +430 -0
  36. package/src/filiale/jinhuang/android/PhoneUpUserinfo.vue +182 -144
  37. package/src/filiale/jinhuang/android.js +2 -1
  38. package/src/filiale/kelai/android/PaperFeedback.vue +1384 -1370
  39. package/src/filiale/kelai/android/PhoneUpUserinfo.vue +1 -1
  40. package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
  41. package/src/filiale/kelai/android/SafecheckUserInfo.vue +1 -1
  42. package/src/filiale/kelai/pc/PaperList.vue +13 -0
  43. package/src/filiale/kelai/pc/UserInfoAudit.vue +126 -90
  44. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +4 -6
  45. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +7 -7
  46. package/src/filiale/liaoyuan/pc/checkPlanList.vue +2 -3
  47. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +125 -38
  48. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  49. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2921 -2918
  50. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +42 -19
  51. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1919 -1919
  52. package/src/filiale/rongchuang/android/AddPlanItemVisitingWithoutMeeting.vue +454 -0
  53. package/src/filiale/rongchuang/android/AddPlanItemYy.vue +498 -0
  54. package/src/filiale/rongchuang/android/PhoneUpUserinfo.vue +1262 -0
  55. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1 -1
  56. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +3 -2
  57. package/src/filiale/rongchuang/android.js +3 -0
  58. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +13 -1
  59. package/src/filiale/rongchuang/pc/checkPlanList.vue +398 -0
  60. package/src/filiale/rongchuang/pc.js +1 -0
  61. package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +57 -24
  62. package/src/filiale/tongchuan/android/SafecheckDevices.vue +909 -885
  63. package/src/filiale/tongchuan/pc/AMapTrailShowZk.vue +226 -0
  64. package/src/filiale/tongchuan/pc/CheckPlanCountChartAreaByWangGeYuan.vue +137 -0
  65. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +47 -1
  66. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +46 -0
  67. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +34 -0
  68. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +34 -0
  69. package/src/filiale/tongchuan/pc/PaperList.vue +44 -10
  70. package/src/filiale/tongchuan/pc/PersonTrack.vue +269 -0
  71. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +42 -2
  72. package/src/filiale/tongchuan/pc.js +3 -0
  73. package/src/filiale/wensu/android/SafecheckOrderV.vue +2444 -2444
  74. package/src/filiale/wensu/android/SafecheckUserInfo.vue +712 -712
  75. package/src/filiale/wensu/pc/CheckSearchUser.vue +1251 -1251
  76. package/src/filiale/wenxi/pc/PaperList.vue +9 -3
  77. package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -1
  78. package/src/filiale/wuan/android/SafecheckUserInfo.vue +12 -8
  79. package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +2 -1
  80. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1191
  81. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +913 -913
  82. package/src/filiale/yangchunboneng/android.js +21 -21
  83. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +353 -353
  84. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +677 -677
  85. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1197 -1197
  86. package/src/filiale/yangchunboneng/pc/HiddenSituation.vue +171 -171
  87. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1112 -1112
  88. package/src/filiale/yangchunboneng/pc/PaperList.vue +757 -757
  89. package/src/filiale/yangchunboneng/pc/SelectCheckPlan.vue +331 -331
  90. package/src/filiale/yangchunboneng/pc.js +29 -29
  91. package/src/main.js +33 -33
  92. package/src/rongcheng.js +319 -319
  93. package/yarn-error.log +140 -0
@@ -4,12 +4,10 @@
4
4
  <div class="panel-body panel-self">
5
5
  <div class="col-xs-12" style="padding: 2px 0">
6
6
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
7
- <!--<a class="panel-title col-xs-7 text-left input-font" style="width: 79%;color: blue;text-decoration:underline" @click="searchHistory(userinfo.f_userinfoid)">{{ userinfo.f_userinfo_code }}</a>-->
8
- <p class="panel-title col-xs-7 text-left input-font">
9
- <label @click="searchHistory(userinfo.f_userinfoid)"
10
- style="color: #00b3ee;text-decoration:none;">{{ userinfo.f_userinfo_code }}</label><label
11
- v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none;"
12
- @click="upuserinfo(userinfo.f_userinfoid)">信息变更</label>
7
+ <p class="panel-title col-xs-9 text-left input-font">
8
+ <label @click="searchHistory(userinfo.f_userinfoid)" style="color: #00b3ee;text-decoration:none;">{{ userinfo.f_userinfo_code }}</label>
9
+ <label v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none;" @click="upuserinfo(userinfo.f_userinfoid)">信息变更</label>
10
+ <label style="color: #00b3ee;text-decoration:none;" @click="navigateToMap(userinfo)">导航</label>
13
11
  </p>
14
12
  </div>
15
13
  <div class="col-xs-12" style="padding: 2px 0">
@@ -174,14 +172,14 @@
174
172
  </div>
175
173
 
176
174
  </div>
177
- <!-- <div :class="style__" class="form-group" v-show="f_usegas == '未使用'">-->
178
- <!-- <sapn class="text-left col-md-12 col-sm-12 col-xs-12">处置方式:</sapn>-->
179
- <!-- <div class="col-xs-12 col-sm-12 col-md-12">-->
180
- <!-- <input type="checkbox" v-model="f_no_gas_device">无燃气具-->
181
- <!-- <input type="checkbox" v-model="f_close_valve">关闭表前阀-->
182
- <!-- <input type="checkbox" v-model="f_unload_battery">取下表内电池-->
183
- <!-- </div>-->
184
- <!-- </div>-->
175
+ <!-- <div :class="style__" class="form-group" v-show="f_usegas == '未使用'">-->
176
+ <!-- <sapn class="text-left col-md-12 col-sm-12 col-xs-12">处置方式:</sapn>-->
177
+ <!-- <div class="col-xs-12 col-sm-12 col-md-12">-->
178
+ <!-- <input type="checkbox" v-model="f_no_gas_device">无燃气具-->
179
+ <!-- <input type="checkbox" v-model="f_close_valve">关闭表前阀-->
180
+ <!-- <input type="checkbox" v-model="f_unload_battery">取下表内电池-->
181
+ <!-- </div>-->
182
+ <!-- </div>-->
185
183
  <div class="auto app-text" style="margin-top: 5px;" v-if="this.$parent.$parent.role != 'view'">
186
184
  <div class="panel" style="padding: 10px 7px 10px 0px;">
187
185
  <div class="panel-body panel-self">
@@ -281,11 +279,20 @@ export default {
281
279
  this.$set('biaoxinghao', '')
282
280
  },
283
281
  ready () {
284
- //tag
285
- //tag)
286
- // //tag)
287
- // this.$set('userinfo.f_meter_no',this.userinfo.planmeterss.f_meter_no)
288
- // //tag)
282
+ if(this.userinfo.f_userinfoid){
283
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
284
+ data:{
285
+ items:"*",
286
+ tablename:"t_user_address",
287
+ orderitem:"id",
288
+ condition:`f_userinfo_id= '${this.userinfo.f_userinfoid}'`}
289
+ }, {resolveMsg: null, rejectMsg: null}).then((res)=>{
290
+ if(res.data.length>0){
291
+ this.$set('userinfo.f_lat', res.data[0].f_lat)
292
+ this.$set('userinfo.f_lng', res.data[0].f_lng)
293
+ }
294
+ })
295
+ }
289
296
  this.$set('beforephone', this.userinfo.f_user_phone)
290
297
  this.$set('gmlist', [])
291
298
  //tag
@@ -308,6 +315,22 @@ export default {
308
315
  this.safecheckStateReady()
309
316
  },
310
317
  methods: {
318
+ navigateToMap(userinfo) {
319
+ // 检查是否有经纬度信息
320
+ if (userinfo.f_lat && userinfo.f_lng) {
321
+ try {
322
+ HostApp.openThirdPartyMap({
323
+ lon:userinfo.f_lng,
324
+ lat:userinfo.f_lat,
325
+ address:userinfo.f_address
326
+ })
327
+ } catch (e) {
328
+ this.$showMessage('无法启动导航功能,请检查是否安装了高德地图app');
329
+ }
330
+ } else {
331
+ this.$showMessage('当前用户无坐标信息,请进行维护');
332
+ }
333
+ },
311
334
  updatebiaohao (f_meter_no, f_userinfo_id) {
312
335
  this.$showMessage('将用户 ' + this.userinfo.f_user_name + '的机表表号从' + this.userinfo.planmeterss.f_meter_no + '修改为' + f_meter_no, ['confirm', 'cancel']).then((butt) => {
313
336
  if (butt == 'confirm') {