safecheck-client 3.0.30-61-t2 → 3.0.30-61-t4

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 (288) hide show
  1. package/package.json +1 -1
  2. package/src/components/CheckerCount/CheckCountUserList.vue +3 -3
  3. package/src/components/CheckerCount/ZhouKouCheckCount.vue +3 -3
  4. package/src/components/DefectDealMain/DefectListNew.vue +2 -2
  5. package/src/components/DefectDealMain/DefectPaperNew.vue +5 -5
  6. package/src/components/ExportExcel.vue +342 -340
  7. package/src/components/NewDefectList/DefectListNew.vue +2 -2
  8. package/src/components/NewDefectList/DefectPaperNew.vue +4 -4
  9. package/src/components/android/ClockIn.vue +1 -1
  10. package/src/components/android/DoorService.vue +1 -1
  11. package/src/components/callincheck/CallInPlan.vue +148 -148
  12. package/src/components/checkplan/CheckDetail.vue +6 -6
  13. package/src/components/checkplan/SelectCheckPlan.vue +2 -2
  14. package/src/components/createcheckplan/CreatePlan.vue +4 -4
  15. package/src/components/createcheckplan/CreatePlanWuan.vue +5 -5
  16. package/src/components/createcheckplan/DelPlanRepeat.vue +4 -4
  17. package/src/components/createcheckplan/PlanList.vue +2 -2
  18. package/src/components/createcheckplan/PlanUersList.vue +2 -2
  19. package/src/components/defect/DefectList.vue +1 -1
  20. package/src/components/defect/DefectListWeixiu.vue +1 -1
  21. package/src/components/defect/DefectPaper.vue +4 -4
  22. package/src/components/defect/DefectPaperWeiXiu.vue +4 -4
  23. package/src/components/defects/AddDefectModal.vue +120 -120
  24. package/src/components/defects/AddDevice.vue +95 -95
  25. package/src/components/defects/CheckPaperSearch.vue +349 -349
  26. package/src/components/defects/DefectSeting.vue +1 -1
  27. package/src/components/defects/DevicesSeting.vue +106 -106
  28. package/src/components/equipment/CheckRate.vue +4 -4
  29. package/src/components/equipment/CheckerRate.vue +4 -4
  30. package/src/components/equipment/MonthCheckRate.vue +4 -4
  31. package/src/components/filialCircle/AddCircleFiliale.vue +114 -114
  32. package/src/components/inspections/InspectionList.vue +2 -2
  33. package/src/components/inspections/InspectionLists.vue +2 -2
  34. package/src/components/inspections/InspectionListss.vue +2 -2
  35. package/src/components/issueplan/IssuePlanAction.vue +1 -1
  36. package/src/components/levelplan/AdjustPlan.vue +1 -1
  37. package/src/components/levelplan/CheckerLeft.vue +1 -1
  38. package/src/components/levelplan/CheckerPlanAdjust.vue +2 -2
  39. package/src/components/levelplan/CheckerRight.vue +1 -1
  40. package/src/components/map/AMapTrailShowZk.vue +185 -185
  41. package/src/components/map/FootPrintList.vue +1 -1
  42. package/src/components/map/PersonTrack.vue +1 -1
  43. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  44. package/src/components/metterfiles/MetterFiles.vue +1 -1
  45. package/src/components/metterfiles/MetterfilesChange.vue +162 -162
  46. package/src/components/metterfiles/UserFiles.vue +1 -1
  47. package/src/components/metterfiles/Userfileschange.vue +2 -2
  48. package/src/components/noplan/NoPlanSearchUser.vue +6 -6
  49. package/src/components/olddata/OldPaperList.vue +2 -2
  50. package/src/components/paper/PaperList.vue +2 -2
  51. package/src/components/paper/RepairVerifyForm.vue +76 -76
  52. package/src/components/paper/VerifyForm.vue +107 -107
  53. package/src/components/paper/filialeCheckInfo.vue +2 -2
  54. package/src/components/pc/AddToCheckBook.vue +2 -2
  55. package/src/components/pc/CheckBook.vue +1 -1
  56. package/src/components/pc/CheckBookDetails.vue +194 -194
  57. package/src/components/pc/CheckBookList.vue +3 -3
  58. package/src/components/pc/CheckBookSearchArea.vue +4 -4
  59. package/src/components/pc/CheckBookSearchUser.vue +4 -4
  60. package/src/components/pc/CheckBookSearchUserList.vue +1 -1
  61. package/src/components/pc/CheckNoDetail.vue +3 -3
  62. package/src/components/pc/DefectDeal.vue +2 -2
  63. package/src/components/pc/Edit.vue +126 -126
  64. package/src/components/pc/NewCheckpaper.vue +4 -4
  65. package/src/components/pc/PaperChazhiMain.vue +2 -2
  66. package/src/components/pc/PaperDefectMain.vue +2 -2
  67. package/src/components/pc/PaperEdit.vue +3 -3
  68. package/src/components/pc/PaperVisitMain.vue +2 -2
  69. package/src/components/pc/SafeVisitHistory.vue +3 -3
  70. package/src/components/pc/SafecheckDeviceList.vue +3 -3
  71. package/src/components/pc/SelectCheckNoPlan.vue +4 -4
  72. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +2 -2
  73. package/src/components/planmanage/checkPlanList.vue +3 -3
  74. package/src/components/planmanage/checkUserList.vue +4 -4
  75. package/src/components/querycheckpaper/CheckSearchUser.vue +7 -7
  76. package/src/components/querycheckpaper/CheckSearchUserNew.vue +7 -7
  77. package/src/components/querycheckpaper/ShebeiSearchUser.vue +6 -6
  78. package/src/components/report/CheckPlanAreaList.vue +3 -3
  79. package/src/components/report/CheckPlanUserList.vue +3 -3
  80. package/src/components/report/NoCheckplanSafecheck.vue +3 -3
  81. package/src/components/rongcheng/CheckSearchArea.vue +3 -3
  82. package/src/components/rongcheng/CheckSearchUser.vue +2 -2
  83. package/src/components/rongcheng/CheckSearchUserNo.vue +2 -2
  84. package/src/components/rongcheng/CheckUserList.vue +3 -3
  85. package/src/components/rongcheng/DefectList.vue +1 -1
  86. package/src/components/rongcheng/DefectPaper.vue +4 -4
  87. package/src/components/rongcheng/PaperListAJ.vue +2 -2
  88. package/src/components/rongcheng/PaperListNPAJ.vue +2 -2
  89. package/src/components/rongcheng/PaperListNPSQ.vue +2 -2
  90. package/src/components/rongcheng/PaperListSQ.vue +2 -2
  91. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +2 -2
  92. package/src/components/rongcheng/report/CheckPlanUserList.vue +6 -6
  93. package/src/components/shaoguan/CheckPlanUserList.vue +3 -3
  94. package/src/components/shaoguan/DefectList.vue +1 -1
  95. package/src/components/shaoguan/DefectPaper.vue +2 -2
  96. package/src/components/shaoguan/PaperList.vue +3 -3
  97. package/src/components/userfile/UserFile.vue +1 -1
  98. package/src/components/userfile/UserInfoAudit.vue +2 -2
  99. package/src/components/userfile/UserfileChange.vue +1 -1
  100. package/src/components/userfileaudit/UserfileChangeaudit.vue +1 -1
  101. package/src/filiale/ALshan/pc/CheckSearchUser.vue +6 -6
  102. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +1 -1
  103. package/src/filiale/ALshan/pc/checkUserList.vue +4 -4
  104. package/src/filiale/ancheng/pc/PaperList.vue +3 -3
  105. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +3 -3
  106. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +7 -7
  107. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +1 -1
  108. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +4 -4
  109. package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1 -1
  110. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +2 -2
  111. package/src/filiale/ankangyihua/pc/PaperList.vue +3 -3
  112. package/src/filiale/ankangyihua/pc/checkUserList.vue +4 -4
  113. package/src/filiale/bayan/pc/PaperList.vue +3 -3
  114. package/src/filiale/fugou/pc/PaperList.vue +3 -3
  115. package/src/filiale/fugu/pc/CheckSearchUser.vue +7 -7
  116. package/src/filiale/fugu/pc/SelectCheckPlan.vue +2 -2
  117. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +4 -4
  118. package/src/filiale/ganquan/pc/DefectPaperNew.vue +3 -3
  119. package/src/filiale/ganquan/pc/PaperList.vue +3 -3
  120. package/src/filiale/ganquan/pc/PaperVisitMain.vue +2 -2
  121. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +2 -2
  122. package/src/filiale/ganquan/pc/checkUserList.vue +4 -4
  123. package/src/filiale/gehua/pc/PaperList.vue +2 -2
  124. package/src/filiale/gehua/pc/checkUserList.vue +4 -4
  125. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +3 -3
  126. package/src/filiale/guangxi/pc/DefectListNew.vue +2 -2
  127. package/src/filiale/guangxi/pc/DefectPaperNew.vue +4 -4
  128. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +7 -7
  129. package/src/filiale/hanzhong/pc/CheckUserList.vue +4 -4
  130. package/src/filiale/hanzhong/pc/PaperList.vue +3 -3
  131. package/src/filiale/huatong/android/SafecheckOrderV.vue +1 -1
  132. package/src/filiale/huatong/pc/PaperDefectMain.vue +2 -2
  133. package/src/filiale/huatong/pc/PaperList.vue +3 -3
  134. package/src/filiale/huayin/pc/PaperList.vue +3 -3
  135. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +7 -7
  136. package/src/filiale/jiaocheng/pc/DefectListNew.vue +2 -2
  137. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +3 -3
  138. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +1 -1
  139. package/src/filiale/jingyang/pc/CheckSearchUser.vue +7 -7
  140. package/src/filiale/jingyang/pc/PaperList.vue +3 -3
  141. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +3 -3
  142. package/src/filiale/kelai/pc/CheckSearchUser.vue +7 -7
  143. package/src/filiale/kelai/pc/DefectListNew.vue +2 -2
  144. package/src/filiale/kelai/pc/DefectPaperNew.vue +4 -4
  145. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +2 -2
  146. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +3 -3
  147. package/src/filiale/kelai/pc/PaperList.vue +3 -3
  148. package/src/filiale/kelai/pc/checkUserList.vue +4 -4
  149. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +2 -2
  150. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +1 -1
  151. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +3 -3
  152. package/src/filiale/liaoyuan/pc/PaperList.vue +1 -1
  153. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +3 -3
  154. package/src/filiale/lixian/pc/CheckSearchUser.vue +6 -6
  155. package/src/filiale/lixian/pc/PaperChazhiMain.vue +2 -2
  156. package/src/filiale/lixian/pc/PaperDefectMain.vue +2 -2
  157. package/src/filiale/lixian/pc/PaperList.vue +3 -3
  158. package/src/filiale/lixian/pc/checkPlanList.vue +3 -3
  159. package/src/filiale/lixian/pc/checkUserList.vue +4 -4
  160. package/src/filiale/minsheng/pc/CheckSearchUser.vue +7 -7
  161. package/src/filiale/minsheng/pc/DefectListNew.vue +2 -2
  162. package/src/filiale/minsheng/pc/checkUserList.vue +4 -4
  163. package/src/filiale/pingxiang/pc/DefectListNew.vue +2 -2
  164. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +4 -4
  165. package/src/filiale/pingxiang/pc/PaperList.vue +3 -3
  166. package/src/filiale/qianneng/pc/DefectListNew.vue +2 -2
  167. package/src/filiale/qianneng/pc/DefectPaperNew.vue +4 -4
  168. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +3 -3
  169. package/src/filiale/qianneng/pc/PaperList.vue +3 -3
  170. package/src/filiale/qianneng/pc/checkPlanList.vue +6 -6
  171. package/src/filiale/qianneng/pc/checkUserList.vue +7 -7
  172. package/src/filiale/qingjian/pc/PaperDefectMain.vue +2 -2
  173. package/src/filiale/qingtongxia/pc/DefectListNew.vue +2 -2
  174. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +2 -2
  175. package/src/filiale/rizhao/pc/DefectList.vue +1 -1
  176. package/src/filiale/rizhao/pc/PaperList.vue +3 -3
  177. package/src/filiale/rongchuang/pc/checkUserList.vue +4 -4
  178. package/src/filiale/shanxian/pc/CheckDetail.vue +6 -6
  179. package/src/filiale/shanxian/pc/CheckSearchUser.vue +7 -7
  180. package/src/filiale/shanxian/pc/DefectPaperNew.vue +5 -5
  181. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +2 -2
  182. package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
  183. package/src/filiale/shaoguan/pc/PaperList.vue +2 -2
  184. package/src/filiale/shexian/pc/DefectListNew.vue +2 -2
  185. package/src/filiale/shexian/pc/DefectPaperNew.vue +4 -4
  186. package/src/filiale/shexian/pc/PaperDefectMain.vue +2 -2
  187. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +3 -3
  188. package/src/filiale/shimen/pc/CheckSearchUser.vue +6 -6
  189. package/src/filiale/shimen/pc/DefectList.vue +1 -1
  190. package/src/filiale/shimen/pc/PaperDefectMain.vue +2 -2
  191. package/src/filiale/shimen/pc/PaperList.vue +2 -2
  192. package/src/filiale/shiquan/pc/checkUserList.vue +4 -4
  193. package/src/filiale/tianke/pc/DefectListNew.vue +2 -2
  194. package/src/filiale/tianke/pc/PaperDefectMain.vue +2 -2
  195. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +1 -1
  196. package/src/filiale/tongchuan/pc/CheckBookList.vue +3 -3
  197. package/src/filiale/tongchuan/pc/CheckDetail.vue +6 -6
  198. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +3 -3
  199. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +3 -3
  200. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +6 -6
  201. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +1 -1
  202. package/src/filiale/tongchuan/pc/DefectPaper.vue +2 -2
  203. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +4 -4
  204. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +3 -3
  205. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -2
  206. package/src/filiale/tongchuan/pc/PaperList.vue +3 -3
  207. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +2 -2
  208. package/src/filiale/tongchuan/pc/checkUserList.vue +4 -4
  209. package/src/filiale/weinan/pc/CheckBook.vue +1 -1
  210. package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -194
  211. package/src/filiale/weinan/pc/CheckBookList.vue +3 -3
  212. package/src/filiale/weinan/pc/CheckBookSearchUser.vue +4 -4
  213. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +1 -1
  214. package/src/filiale/weinan/pc/CheckDetail.vue +6 -6
  215. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +6 -6
  216. package/src/filiale/weinan/pc/CheckNoDetail.vue +6 -6
  217. package/src/filiale/weinan/pc/CheckPlanUserList.vue +3 -3
  218. package/src/filiale/weinan/pc/DefectPaperNew.vue +3 -3
  219. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  220. package/src/filiale/weinan/pc/PaperDefectMain.vue +3 -3
  221. package/src/filiale/weinan/pc/PaperList.vue +3 -3
  222. package/src/filiale/weinan/pc/PersonTrack.vue +1 -1
  223. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +4 -4
  224. package/src/filiale/weinan/pc/SelectCheckPlan.vue +3 -3
  225. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +3 -3
  226. package/src/filiale/weinan/pc/checkPlanList.vue +3 -3
  227. package/src/filiale/weinan/pc/checkUserList.vue +4 -4
  228. package/src/filiale/weinanct/pc/PaperList.vue +3 -3
  229. package/src/filiale/wensu/pc/CheckDetail.vue +6 -6
  230. package/src/filiale/wensu/pc/CheckSearchUser.vue +8 -8
  231. package/src/filiale/wensu/pc/DefectListNew.vue +2 -2
  232. package/src/filiale/wensu/pc/DefectPaperNew.vue +5 -5
  233. package/src/filiale/wensu/pc/SelectCheckPlan.vue +2 -2
  234. package/src/filiale/wensu/pc/checkUserList.vue +4 -4
  235. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +3 -3
  236. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +3 -3
  237. package/src/filiale/wenxi/pc/CheckSearchUser.vue +7 -7
  238. package/src/filiale/wenxi/pc/DefectList.vue +1 -1
  239. package/src/filiale/wenxi/pc/DefectPaper.vue +4 -4
  240. package/src/filiale/wenxi/pc/PaperDefectMain.vue +3 -3
  241. package/src/filiale/wenxi/pc/PaperList.vue +5 -5
  242. package/src/filiale/wenxi/pc/checkPlanList.vue +6 -6
  243. package/src/filiale/wenxi/pc/checkUserList.vue +4 -4
  244. package/src/filiale/wuan/pc/DefectListWeixiu.vue +1 -1
  245. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +4 -4
  246. package/src/filiale/wuan/pc/PaperList.vue +2 -2
  247. package/src/filiale/wuhai/pc/CheckSearchUser.vue +6 -6
  248. package/src/filiale/wuhai/pc/checkUserList.vue +4 -4
  249. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +3 -3
  250. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +3 -3
  251. package/src/filiale/xinkang/pc/CheckSearchUser.vue +6 -6
  252. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +1 -1
  253. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +4 -4
  254. package/src/filiale/xinkang/pc/PaperDefectMain.vue +2 -2
  255. package/src/filiale/xinkang/pc/PaperList.vue +3 -3
  256. package/src/filiale/xinkang/pc/checkUserList.vue +4 -4
  257. package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +3 -3
  258. package/src/filiale/yangchunboneng/pc/CheckBook.vue +1 -1
  259. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -213
  260. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +3 -3
  261. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +4 -4
  262. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +2 -2
  263. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +3 -3
  264. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +7 -7
  265. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +2 -2
  266. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +4 -4
  267. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +2 -2
  268. package/src/filiale/yangchunboneng/pc/PaperList.vue +3 -3
  269. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +3 -3
  270. package/src/filiale/yongzhou/pc/PaperList.vue +2 -2
  271. package/src/filiale/yongzhou/pc/checkUserList.vue +4 -4
  272. package/src/filiale/yongzhou/pc/communityDetail.vue +3 -3
  273. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +3 -3
  274. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +3 -3
  275. package/src/filiale/yongzhou/pc/safeDetail.vue +3 -3
  276. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +3 -3
  277. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  278. package/src/filiale/yuansheng/pc/DefectListNew.vue +2 -2
  279. package/src/filiale/yuansheng/pc/PaperList.vue +3 -3
  280. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +4 -4
  281. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +3 -3
  282. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +1 -1
  283. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +4 -4
  284. package/src/filiale/zhongsheng/pc/PaperList.vue +3 -3
  285. package/src/filiale/zhongyi/pc/DefectListNew.vue +2 -2
  286. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +6 -6
  287. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
  288. package/src/plugins/LoadCheckParams.js +59 -59
@@ -71,7 +71,7 @@
71
71
  import co from 'co'
72
72
 
73
73
  let syncDelete = function * (self,row) {
74
- yield self.$resetpost('rs/logic/deleteCheckPlanItem',{tablename:'t_check_plan_item',id:row.id },{
74
+ yield self.$resetpost('api/af-safecheck/logic/deleteCheckPlanItem',{tablename:'t_check_plan_item',id:row.id },{
75
75
  warnMsg: '删除数据不可恢复,确认删除吗?',
76
76
  resolveMsg: '恭喜!删除成功!',
77
77
  rejectMsg: '删除失败:'
@@ -1,185 +1,185 @@
1
- <template>
2
- <div class="basic-main" style="height: 100%">
3
- <div>
4
- <div class="col-sm-9 amap-main" >
5
- <div class="form-horizontal select-overspread container-fluid auto">
6
- <div class="row">
7
- <div class="col-sm-3 form-input-group" style="width: 20%">
8
- <label class="control-label">公&emsp;&emsp;司</label>
9
- <right-tree-safe @re-res="getRes" >
10
- </right-tree-safe>
11
- </div>
12
- <div class="col-sm-3 form-input-group" style="width: 20%">
13
- <label class="control-label" >轨迹时间</label>
14
- <datepicker placeholder="轨迹时间"
15
- :value.sync="requestData.chengeDate"
16
- v-model="requestData.chengeDate"
17
- :format="'yyyy-MM-dd'">
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-3 form-input-group" style="width: 20%">
21
- <label class="control-label">安检员</label>
22
- <v-select :value.sync="selUserIds" v-model='selUserIds'
23
- :value-single="false" clear-button search multiple
24
- :options='searchUserEndOption' placeholder='安检员'
25
- ></v-select>
26
- </div>
27
- <div class="col-sm-3 form-input-group" style="width: 20%;float:right;">
28
- <button class="btn btn-primary" @click="search">查询</button>
29
- </div>
30
- </div>
31
- </div>
32
- <amap-trajectory :outerlinedata.sync="outerlinedata" :pathnavigatorstyle="pathnavigatorstyle" ></amap-trajectory>
33
- </div>
34
- <div class="col-sm-3">
35
- <div id="zzz" class="basic-main" style="flex:1;margin-left: 0px;overflow: hidden">
36
- <div class="flex">
37
- <div class="panel panel-info" style="flex: 4;margin-top:0px;height: 50%">
38
- <div class="panel-heading" style="height: auto">
39
- <h3 class="panel-title">轨迹记录</h3>
40
- </div>
41
- <div class="panel-body" style="overflow: scroll">
42
- <accordion :one-at-a-time="true" v-if="reponData.length>0">
43
- <template v-for="row in reponData">
44
- <panel is-open="false" type="primary">
45
- <strong slot="header">用户编号:{{row.f_user_id}} 用户姓名:{{row.f_user_name}}</strong>
46
- <div v-for="(idx,item) in row.result" @click="chengeLocation(item)" :class="{'alert alert-info':idx%2===0,'alert alert-success':idx%2!==0}">
47
- 轨迹时间段:{{item.f_start_date}} ~ {{item.f_end_date}}
48
- </div>
49
- </panel>
50
- </template>
51
- </accordion>
52
- <h4 class="panel-title" v-else>暂无相关数据</h4>
53
- </div>
54
- </div>
55
- </div>
56
- </div>
57
- </div>
58
- </div>
59
-
60
- </div>
61
- </template>
62
-
63
- <script>
64
- import co from 'co'
65
- import * as Util from '../Util'
66
- import {HttpResetClass} from 'vue-client'
67
-
68
- /**
69
- * 1. 首先获取当前选择的分公司下所有带定位角色的所有用户
70
- * 2. 根据查询出来的所有用户的id和选择的时间去轨迹表查询,获取具体轨迹的时间段
71
- * 3. 渲染给前台页面,前台根据选择的用户和时间端获取轨迹信息去渲染轨迹,每次只可以渲染一组轨迹
72
- */
73
-
74
-
75
- export default {
76
- title: "安检员轨迹展示",
77
- data() {
78
- return {
79
- toUserIds: '', //当前分公司下所有的用户id
80
- selUserIds:[], // 当前选择的用户Id
81
- requestData: {
82
- chengeDate: Util.toStandardDateString(),
83
- userIds: '',
84
- },
85
- searchUserEndOption: [], //当前公司的所有安检员
86
- reponData: [], // 请求到的结果集合
87
- outerlinedata: [], //点集
88
- pathnavigatorstyle: {
89
- width: 16, //图标宽度
90
- height: 32, // 图标高度
91
- iconBase64: 'https://webapi.amap.com/ui/1.1/ui/misc/PathSimplifier/examples/imgs/car.png'//图标地址(外链地址或者Base64)
92
- },
93
- f_filialeids: '', //分公司ids
94
- path: [],
95
- }
96
- },
97
- methods: {
98
- search() {
99
- if (this.selUserIds.length==0&&!this.requestData.userIds) {
100
- this.requestData.userIds = this.toUserIds
101
- }
102
- if (!this.f_filialeids) {
103
- return this.$showMessage("请选择需要查询的分公司")
104
- }
105
- if (!this.requestData.chengeDate) {
106
- return this.$showMessage("请选择需要查看的轨迹时间")
107
- }
108
- this.$resetpost('rs/logic/QueryUserTracksByCompany',this.requestData,{resolveMsg: "轨迹记录查询成功", rejectMsg: "轨迹记录查询失败"}).then((response)=>{
109
- if (response!=undefined && response.data.code == 200) {
110
- this.reponData = response.data.data
111
- }else if (response!=null && response.data.code == 404) {
112
- this.reponData = []
113
- this.$showMessage("未查询到当前用户的相关轨迹信息")
114
- } else if (response!=null && response.data.code == 555) {
115
- this.$showMessage("查询轨迹信息错误!错误原因:"+response.data.msg)
116
- }
117
- })
118
- },
119
- getRes(obj){
120
- // this.model.f_filialeids = this.$login.convertToIn(obj.resids);
121
- console.log(obj)
122
- if (obj.res != undefined && obj.res.length > 0 && obj.res[0] != undefined) {
123
- this.getNewData(obj.res[0])
124
- }
125
- this.f_filialeids = this.$login.convertToIn(obj.resids);
126
- },
127
- chengeLocation(row) {
128
- console.log(row)
129
- this.$resetpost('rs/logic/queryRemoteLocationMapData',{data:{id:row.id}},{resolveMsg: "查询渲染轨迹成功", rejectMsg:"查询渲染轨迹失败!"}).then((response)=>{
130
- if (response!=undefined && response.data!=undefined) {
131
- this.path = response.data
132
- let name = `${row.f_user_name},${row.f_start_date}~${row.f_end_date}轨迹`
133
- this.outerlinedata = [{path:this.path,speed:Math.ceil(this.path.length / 2),name:name}]
134
- }
135
- })
136
- },
137
- //获取定位人员类表
138
- async getNewData(organization){
139
- // let organization = '公司名称'
140
- // let userRolestr = '需要定位人员'
141
- let userRolestr = '安检员'
142
- let res =await new HttpResetClass().load('POST', '/rs/search', {
143
- // source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1))',
144
- source: "this.getParentByName($"+organization+"$).getAllChildrens().where(row.getAttributes().get($resourcetype$)==$user$).where(row.getAttributes().get($rolestr$)!=null).where(row.getAttributes().get($rolestr$).indexOf($"+userRolestr+"$)!=-1)",
145
- userid: this.$login.f.id
146
- }, {resolveMsg: null, rejectMsg: null})
147
- let dataEnd = [];
148
- let idsEnd = [];
149
- res.data.forEach(res=>{
150
- let h=true
151
- dataEnd.forEach(per=>{
152
- if(res.id==per.value){
153
- h=false
154
- }
155
- })
156
- if(h){
157
- dataEnd.push({label:res.name,value:res.id})
158
- idsEnd.push(res.id)
159
- }
160
- })
161
- this.toUserIds = this.$login.convertToIn(idsEnd); //所有的员工ID
162
- this.searchUserEndOption = dataEnd
163
- },
164
- },
165
- ready(){
166
-
167
- },
168
- watch: {
169
- 'selUserIds':function (val) {
170
- if (val=='') {
171
- this.requestData.userIds = ''
172
- }else {
173
- this.requestData.userIds = this.$login.convertToIn(val)
174
- }
175
- }
176
- }
177
- }
178
- </script>
179
-
180
- <style lang="less" scoped>
181
- .amap-main {
182
- height: 90%;
183
- padding-right:10px;
184
- }
185
- </style>
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <div>
4
+ <div class="col-sm-9 amap-main" >
5
+ <div class="form-horizontal select-overspread container-fluid auto">
6
+ <div class="row">
7
+ <div class="col-sm-3 form-input-group" style="width: 20%">
8
+ <label class="control-label">公&emsp;&emsp;司</label>
9
+ <right-tree-safe @re-res="getRes" >
10
+ </right-tree-safe>
11
+ </div>
12
+ <div class="col-sm-3 form-input-group" style="width: 20%">
13
+ <label class="control-label" >轨迹时间</label>
14
+ <datepicker placeholder="轨迹时间"
15
+ :value.sync="requestData.chengeDate"
16
+ v-model="requestData.chengeDate"
17
+ :format="'yyyy-MM-dd'">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-3 form-input-group" style="width: 20%">
21
+ <label class="control-label">安检员</label>
22
+ <v-select :value.sync="selUserIds" v-model='selUserIds'
23
+ :value-single="false" clear-button search multiple
24
+ :options='searchUserEndOption' placeholder='安检员'
25
+ ></v-select>
26
+ </div>
27
+ <div class="col-sm-3 form-input-group" style="width: 20%;float:right;">
28
+ <button class="btn btn-primary" @click="search">查询</button>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <amap-trajectory :outerlinedata.sync="outerlinedata" :pathnavigatorstyle="pathnavigatorstyle" ></amap-trajectory>
33
+ </div>
34
+ <div class="col-sm-3">
35
+ <div id="zzz" class="basic-main" style="flex:1;margin-left: 0px;overflow: hidden">
36
+ <div class="flex">
37
+ <div class="panel panel-info" style="flex: 4;margin-top:0px;height: 50%">
38
+ <div class="panel-heading" style="height: auto">
39
+ <h3 class="panel-title">轨迹记录</h3>
40
+ </div>
41
+ <div class="panel-body" style="overflow: scroll">
42
+ <accordion :one-at-a-time="true" v-if="reponData.length>0">
43
+ <template v-for="row in reponData">
44
+ <panel is-open="false" type="primary">
45
+ <strong slot="header">用户编号:{{row.f_user_id}} 用户姓名:{{row.f_user_name}}</strong>
46
+ <div v-for="(idx,item) in row.result" @click="chengeLocation(item)" :class="{'alert alert-info':idx%2===0,'alert alert-success':idx%2!==0}">
47
+ 轨迹时间段:{{item.f_start_date}} ~ {{item.f_end_date}}
48
+ </div>
49
+ </panel>
50
+ </template>
51
+ </accordion>
52
+ <h4 class="panel-title" v-else>暂无相关数据</h4>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ </div>
59
+
60
+ </div>
61
+ </template>
62
+
63
+ <script>
64
+ import co from 'co'
65
+ import * as Util from '../Util'
66
+ import {HttpResetClass} from 'vue-client'
67
+
68
+ /**
69
+ * 1. 首先获取当前选择的分公司下所有带定位角色的所有用户
70
+ * 2. 根据查询出来的所有用户的id和选择的时间去轨迹表查询,获取具体轨迹的时间段
71
+ * 3. 渲染给前台页面,前台根据选择的用户和时间端获取轨迹信息去渲染轨迹,每次只可以渲染一组轨迹
72
+ */
73
+
74
+
75
+ export default {
76
+ title: "安检员轨迹展示",
77
+ data() {
78
+ return {
79
+ toUserIds: '', //当前分公司下所有的用户id
80
+ selUserIds:[], // 当前选择的用户Id
81
+ requestData: {
82
+ chengeDate: Util.toStandardDateString(),
83
+ userIds: '',
84
+ },
85
+ searchUserEndOption: [], //当前公司的所有安检员
86
+ reponData: [], // 请求到的结果集合
87
+ outerlinedata: [], //点集
88
+ pathnavigatorstyle: {
89
+ width: 16, //图标宽度
90
+ height: 32, // 图标高度
91
+ iconBase64: 'https://webapi.amap.com/ui/1.1/ui/misc/PathSimplifier/examples/imgs/car.png'//图标地址(外链地址或者Base64)
92
+ },
93
+ f_filialeids: '', //分公司ids
94
+ path: [],
95
+ }
96
+ },
97
+ methods: {
98
+ search() {
99
+ if (this.selUserIds.length==0&&!this.requestData.userIds) {
100
+ this.requestData.userIds = this.toUserIds
101
+ }
102
+ if (!this.f_filialeids) {
103
+ return this.$showMessage("请选择需要查询的分公司")
104
+ }
105
+ if (!this.requestData.chengeDate) {
106
+ return this.$showMessage("请选择需要查看的轨迹时间")
107
+ }
108
+ this.$resetpost('api/af-safecheck/logic/QueryUserTracksByCompany',this.requestData,{resolveMsg: "轨迹记录查询成功", rejectMsg: "轨迹记录查询失败"}).then((response)=>{
109
+ if (response!=undefined && response.data.code == 200) {
110
+ this.reponData = response.data.data
111
+ }else if (response!=null && response.data.code == 404) {
112
+ this.reponData = []
113
+ this.$showMessage("未查询到当前用户的相关轨迹信息")
114
+ } else if (response!=null && response.data.code == 555) {
115
+ this.$showMessage("查询轨迹信息错误!错误原因:"+response.data.msg)
116
+ }
117
+ })
118
+ },
119
+ getRes(obj){
120
+ // this.model.f_filialeids = this.$login.convertToIn(obj.resids);
121
+ console.log(obj)
122
+ if (obj.res != undefined && obj.res.length > 0 && obj.res[0] != undefined) {
123
+ this.getNewData(obj.res[0])
124
+ }
125
+ this.f_filialeids = this.$login.convertToIn(obj.resids);
126
+ },
127
+ chengeLocation(row) {
128
+ console.log(row)
129
+ this.$resetpost('api/af-safecheck/logic/queryRemoteLocationMapData',{data:{id:row.id}},{resolveMsg: "查询渲染轨迹成功", rejectMsg:"查询渲染轨迹失败!"}).then((response)=>{
130
+ if (response!=undefined && response.data!=undefined) {
131
+ this.path = response.data
132
+ let name = `${row.f_user_name},${row.f_start_date}~${row.f_end_date}轨迹`
133
+ this.outerlinedata = [{path:this.path,speed:Math.ceil(this.path.length / 2),name:name}]
134
+ }
135
+ })
136
+ },
137
+ //获取定位人员类表
138
+ async getNewData(organization){
139
+ // let organization = '公司名称'
140
+ // let userRolestr = '需要定位人员'
141
+ let userRolestr = '安检员'
142
+ let res =await new HttpResetClass().load('POST', '/rs/search', {
143
+ // source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1))',
144
+ source: "this.getParentByName($"+organization+"$).getAllChildrens().where(row.getAttributes().get($resourcetype$)==$user$).where(row.getAttributes().get($rolestr$)!=null).where(row.getAttributes().get($rolestr$).indexOf($"+userRolestr+"$)!=-1)",
145
+ userid: this.$login.f.id
146
+ }, {resolveMsg: null, rejectMsg: null})
147
+ let dataEnd = [];
148
+ let idsEnd = [];
149
+ res.data.forEach(res=>{
150
+ let h=true
151
+ dataEnd.forEach(per=>{
152
+ if(res.id==per.value){
153
+ h=false
154
+ }
155
+ })
156
+ if(h){
157
+ dataEnd.push({label:res.name,value:res.id})
158
+ idsEnd.push(res.id)
159
+ }
160
+ })
161
+ this.toUserIds = this.$login.convertToIn(idsEnd); //所有的员工ID
162
+ this.searchUserEndOption = dataEnd
163
+ },
164
+ },
165
+ ready(){
166
+
167
+ },
168
+ watch: {
169
+ 'selUserIds':function (val) {
170
+ if (val=='') {
171
+ this.requestData.userIds = ''
172
+ }else {
173
+ this.requestData.userIds = this.$login.convertToIn(val)
174
+ }
175
+ }
176
+ }
177
+ }
178
+ </script>
179
+
180
+ <style lang="less" scoped>
181
+ .amap-main {
182
+ height: 90%;
183
+ padding-right:10px;
184
+ }
185
+ </style>
@@ -21,7 +21,7 @@
21
21
  points:{url:"api/af-safecheck/sql/SafeCheckGetAllCurrentPosition",data: {subcompany:this.$login.f.f_fengongsi}},
22
22
  single:{},
23
23
  data:{},
24
- url:'rs/logic/SafecheckFetchFootprint',
24
+ url:'api/af-safecheck/logic/SafecheckFetchFootprint',
25
25
  f_fengongsi:this.$login.f.f_fengongsi
26
26
  }
27
27
  },
@@ -143,7 +143,7 @@ export default {
143
143
  condition2 += ` and d.id = '${this.searchCondition.departmentId}'`
144
144
  }
145
145
  this.searchCondition.condition = condition
146
- this.$resetpost('rs/logic/getPhoneState', { condition: this.searchCondition.condition, condition2, orderTime: this.searchCondition.orderTime }, {resolveMsg: "轨迹记录查询成功", rejectMsg: "轨迹记录查询失败"}).then((response)=>{
146
+ this.$resetpost('api/af-safecheck/logic/getPhoneState', { condition: this.searchCondition.condition, condition2, orderTime: this.searchCondition.orderTime }, {resolveMsg: "轨迹记录查询成功", rejectMsg: "轨迹记录查询失败"}).then((response)=>{
147
147
  if (response.data.state === 'success') {
148
148
  this.reponData = response.data.result
149
149
  // const points = douglasPeuckerForAMap(response.data.result, 2, 'tm')