safecheck-client 4.0.1-9 → 4.0.1-90

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 (304) hide show
  1. package/package.json +5 -5
  2. package/src/App.vue +31 -31
  3. package/src/assets//350/255/246/345/221/212 (3).png +0 -0
  4. package/src/assets//350/255/246/345/221/212 (4).png +0 -0
  5. package/src/assets//350/255/246/345/221/212 (5).png +0 -0
  6. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  7. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  8. package/src/components/NewDefectList/DefectListNew.vue +682 -663
  9. package/src/components/Util/RightTreeSafeDep.vue +362 -350
  10. package/src/components/Util/SafecheckUpload.vue +3 -4
  11. package/src/components/android/AddPlanItem.vue +447 -447
  12. package/src/components/android/AddPlanItemYy.vue +451 -451
  13. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  14. package/src/components/android/AndroidDefectDeal.vue +390 -323
  15. package/src/components/android/AndroidDefectDetails.vue +3 -3
  16. package/src/components/android/AppInstallationMaterial.vue +865 -0
  17. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  18. package/src/components/android/DailyworkloadQuery.vue +473 -472
  19. package/src/components/android/Devices.vue +327 -327
  20. package/src/components/android/Devicesm.vue +327 -327
  21. package/src/components/android/NewCheckpaperAndroid.vue +1343 -1369
  22. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  23. package/src/components/android/PhoneRecordInfo.vue +113 -113
  24. package/src/components/android/PhoneSellInfo.vue +113 -113
  25. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  26. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  27. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  28. package/src/components/android/SafePlanItem.vue +509 -509
  29. package/src/components/android/SafecheckOrderV.vue +6 -0
  30. package/src/components/android/SwitchValve.vue +1 -1
  31. package/src/components/android/examples/SafeListExamples.vue +296 -296
  32. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  33. package/src/components/android/recheck/Recheck.vue +402 -402
  34. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  35. package/src/components/checkplan/CheckDetail.vue +1 -1
  36. package/src/components/checkplan/checkmsg.vue +459 -459
  37. package/src/components/defect/DefectList.vue +507 -507
  38. package/src/components/defect/DefectListWeixiu.vue +484 -484
  39. package/src/components/filialCircle/CircleList.vue +139 -139
  40. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  41. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  42. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  43. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  44. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  45. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  46. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  47. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  48. package/src/components/map/PersonTrack.vue +226 -226
  49. package/src/components/map/SecurityCheckCoordinates.vue +361 -0
  50. package/src/components/paper/PaperList.vue +5 -0
  51. package/src/components/paper/RegionalList.vue +220 -220
  52. package/src/components/pc/AnnouncementPC.vue +524 -524
  53. package/src/components/pc/DefectDeal.vue +7 -6
  54. package/src/components/pc/DefectList.vue +742 -742
  55. package/src/components/pc/DefectMaterialLook.vue +98 -0
  56. package/src/components/pc/DeviceChange.vue +1068 -1068
  57. package/src/components/pc/PaperDefectMain.vue +905 -880
  58. package/src/components/pc/RoleSelectorDep.vue +166 -159
  59. package/src/components/pc/SafeVisitInfo.vue +261 -261
  60. package/src/components/planmanage/PlanManage.vue +1 -0
  61. package/src/components/querycheckpaper/CheckPaperList.vue +6 -4
  62. package/src/components/querycheckpaper/CheckPaperSearchUser.vue +30 -4
  63. package/src/components/querycheckpaper/CheckSearchUser.vue +6 -1
  64. package/src/components/report/HiddenSituation.vue +165 -165
  65. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  66. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  67. package/src/components/rongcheng/DefectList.vue +560 -560
  68. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  69. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  70. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  71. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  72. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  73. package/src/components/shaoguan/DefectList.vue +473 -473
  74. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  75. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  76. package/src/components/userfile/SecurityAudit.vue +243 -243
  77. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  78. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  79. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  80. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  81. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  82. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  83. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  84. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  85. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  86. package/src/filiale/bayan/android/Edit.vue +132 -132
  87. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  88. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  89. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  90. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  91. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  92. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  93. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  94. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  95. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  96. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  97. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  98. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  99. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  100. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  101. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  102. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  103. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  104. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  105. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  106. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  107. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  108. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  109. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  110. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  111. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  112. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  113. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  114. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  115. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  116. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  117. package/src/filiale/jinhong/android/CurrentCreate.vue +66 -22
  118. package/src/filiale/jinhong/pc/CheckBookList.vue +393 -388
  119. package/src/filiale/jinhong/pc/DefectPaperNew.vue +10 -10
  120. package/src/filiale/jinhong/pc/PaperList.vue +853 -844
  121. package/src/filiale/jinhong/pc/PlanManage.vue +927 -925
  122. package/src/filiale/jinhong/pc/checkPlanList.vue +420 -418
  123. package/src/filiale/jinhong/pc/checkUserList.vue +30 -6
  124. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  125. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  126. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  127. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  128. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  129. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  130. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  131. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  132. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  133. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  134. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  135. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  136. package/src/filiale/libo/android/CurrentCreate.vue +1091 -0
  137. package/src/filiale/libo/android/PaperFeedback.vue +1579 -0
  138. package/src/filiale/libo/android/PhoneUpUserinfo.vue +1249 -0
  139. package/src/filiale/libo/android/SafecheckOrderV.vue +2302 -0
  140. package/src/filiale/libo/android.js +15 -0
  141. package/src/filiale/libo/pc/NewCheckpaper.vue +1987 -0
  142. package/src/filiale/libo/pc.js +12 -0
  143. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  144. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  145. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  146. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  147. package/src/filiale/meihekou/android/CurrentCreate.vue +1 -1
  148. package/src/filiale/meihekou/android/MeterReading.vue +110 -106
  149. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1306
  150. package/src/filiale/meihekou/android/SafecheckDevices.vue +5 -5
  151. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2446 -2431
  152. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  153. package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -2
  154. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -0
  155. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  156. package/src/filiale/meihekou/pc/PaperList.vue +1205 -0
  157. package/src/filiale/meihekou/pc.js +2 -0
  158. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  159. package/src/filiale/minsheng/android/SwitchValve.vue +1 -1
  160. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  161. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  162. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  163. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  164. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  165. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  166. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  167. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  168. package/src/filiale/qianneng/android/SwitchValve.vue +1 -1
  169. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  170. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  171. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  172. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  173. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  174. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +359 -0
  175. package/src/filiale/qingjian/pc/checkUserList.vue +35 -0
  176. package/src/filiale/qingjian/pc.js +15 -15
  177. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  178. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  179. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  180. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  181. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  182. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  183. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  184. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  185. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  186. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  187. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  188. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  189. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  190. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  191. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  192. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  193. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  194. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  195. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  196. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  197. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  198. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  199. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  200. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  201. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  202. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  203. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  204. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  205. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  206. package/src/filiale/taiyuan/android/AddPlanItem.vue +456 -0
  207. package/src/filiale/taiyuan/android/AreaPlan.vue +565 -0
  208. package/src/filiale/taiyuan/android/CurrentCreate.vue +1016 -0
  209. package/src/filiale/taiyuan/android/PhoneUpUserinfo.vue +1253 -0
  210. package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2347 -0
  211. package/src/filiale/taiyuan/android/SafecheckUserInfo.vue +784 -0
  212. package/src/filiale/taiyuan/android.js +15 -0
  213. package/src/filiale/taiyuan/pc/DefectDeal.vue +1034 -0
  214. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -0
  215. package/src/filiale/taiyuan/pc/PaperList.vue +795 -0
  216. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -0
  217. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -0
  218. package/src/filiale/taiyuan/pc.js +16 -0
  219. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  220. package/src/filiale/tianke/android/CurrentCreate.vue +3 -3
  221. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  222. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  223. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  224. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  225. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  226. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  227. package/src/filiale/tongchuan/android/SwitchValve.vue +1 -1
  228. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  229. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  230. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  231. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  232. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  233. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  234. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  235. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  236. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  237. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  238. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  239. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  240. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  241. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  242. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  243. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  244. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  245. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  246. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  247. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  248. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  249. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  250. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  251. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  252. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  253. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  254. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  255. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  256. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  257. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  258. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  259. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  260. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  261. package/src/filiale/xinkang/android/AddPlanItem.vue +244 -196
  262. package/src/filiale/xinkang/android/AndroidDefectDeal.vue +1 -0
  263. package/src/filiale/xinkang/android/SafecheckDevices.vue +52 -22
  264. package/src/filiale/xinkang/android/SafecheckOrderV.vue +24 -80
  265. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +1 -1
  266. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  267. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  268. package/src/filiale/xinkang/pc/NewCheckpaper.vue +57 -72
  269. package/src/filiale/xinkang/pc/PaperList.vue +25 -10
  270. package/src/filiale/xinliansihui/android/AndroidDefectDeal.vue +701 -0
  271. package/src/filiale/xinliansihui/android/AppInstallationMaterial.vue +866 -0
  272. package/src/filiale/xinliansihui/android.js +9 -0
  273. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  274. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  275. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  276. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  277. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  278. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  279. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  280. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  281. package/src/filiale/yuansheng/android/SwitchValve.vue +1 -1
  282. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  283. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  284. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  285. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  286. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  287. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  288. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  289. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  290. package/src/filiale/yunchengminsheng/android.js +15 -15
  291. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -0
  292. package/src/filiale/yunchengminsheng/pc.js +15 -14
  293. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  294. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  295. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  296. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  297. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  298. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  299. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  300. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  301. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  302. package/src/main.js +32 -33
  303. package/src/safecheck-android.js +4 -0
  304. package/src/safecheck.js +924 -918
@@ -0,0 +1,1016 @@
1
+ <style scoped>
2
+ .bg {
3
+ background-color: blue;
4
+ height: 1px;
5
+ border: 0;
6
+ }
7
+ .app-row {
8
+ background-color: white;
9
+ padding: 10px 10px 0 10px;
10
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
11
+ }
12
+ .search_input {
13
+ border: 0;
14
+ outline: none;
15
+ }
16
+ .font{
17
+ font: 15px PingFang-SC-Medium;
18
+ color: #666666;
19
+ }
20
+ .input-font{
21
+ font: 15px PingFang-SC-Medium;
22
+ color: #333333;
23
+ }
24
+ .btn-font{
25
+ font:600 16px PingFang-SC-Bold;
26
+ color: #499EDF;
27
+ }
28
+ .btn-color{
29
+ background-color: #FFFFFF;
30
+ border-radius: 10px ;
31
+ border: 1px solid #499EDF;
32
+ }
33
+ .app-text {
34
+ font-size: 12px;
35
+ }
36
+ .panel-self{
37
+ border-radius: 10px;
38
+ border:1px solid #499EDF;
39
+ background-color: #F8F8F8;
40
+ }
41
+ .yybtn-color{
42
+ background-color:#499edf;
43
+ border-radius: 4px ;
44
+ border: 1px solid #499EDF;
45
+ color: #FFFFFF;
46
+ font: 14px PingFang-SC-Bold;
47
+ }
48
+ .qxbtn-color{
49
+ background-color: #FFFFFF;
50
+ border-radius: 4px ;
51
+ color: #499edf;
52
+ font: 14px PingFang-SC-Bold;
53
+ border: 1px solid #499EDF;
54
+ }
55
+
56
+ .button_shrink_top {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_top.png")}
57
+ .button_shrink_bottom {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_bottom.png")}
58
+ .button_shrink_left {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_left.png")}
59
+ .button_shrink_right {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_right.png")}
60
+ </style>
61
+ <style>
62
+ .clear-select-with .dropdown-menu{
63
+ left: 0px !important;
64
+ width: 200% !important;
65
+ }
66
+ </style>
67
+ <template>
68
+ <div style="height: auto;width: 100%">
69
+ <criteria-paged :model="model" v-ref:paged>
70
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
71
+ <div partial>
72
+ <form>
73
+ <div class="row app-row" v-if="!$parent.$parent.planName">
74
+ <div class="col-xs-4">
75
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
76
+ <label for="f_plan_name" class="font text-left">计划名称:</label>
77
+ </div>
78
+ <v-select
79
+ id="f_plan_name"
80
+ :value.sync="model.f_plan_name"
81
+ class="input-font"
82
+ :options='$parent.$parent.planNameOptions'
83
+ placeholder='计划名称'
84
+ :width="'60%'"
85
+ v-model="model.f_plan_name"
86
+ condition="f_plan_name like '%{}%'"
87
+ close-on-select clear-button>
88
+ </v-select>
89
+ </div>
90
+ <div class="row app-row">
91
+ <div class="col-xs-4">
92
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
93
+ <label for="f_userinfo_code" class="font text-left">用户编号:</label>
94
+ </div>
95
+ <div class="col-xs-8" >
96
+ <input id="f_userinfo_code" class="search_input input-font"
97
+ v-model=model.f_userinfo_code condition="f_userinfo_code like '%{}%'" />
98
+ </div>
99
+ </div>
100
+ <div class="row app-row">
101
+ <div class="col-xs-4">
102
+ <img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
103
+ <label class="font text-left">用户姓名:</label>
104
+ </div>
105
+ <div class="col-xs-8" >
106
+ <input class="search_input input-font" v-model=model.f_user_name condition="f_user_name like '%{}%'" />
107
+ </div>
108
+ </div>
109
+
110
+ <div class="row app-row">
111
+ <div class="col-xs-4">
112
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
113
+ <label class="font text-left">用户证号:</label>
114
+ </div>
115
+ <div class="col-xs-8" >
116
+ <input class="search_input input-font" v-model=model.f_enter_number condition="f_enter_number like '%{}%'" />
117
+ </div>
118
+ </div>
119
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
120
+ <div class="col-xs-4">
121
+ <img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
122
+ <label for="f_state" class="font text-left">是否已检:</label>
123
+ </div>
124
+ <v-select id="f_state"
125
+ :value.sync="model.f_state"
126
+ class="input-font"
127
+ :options='$parent.$parent.check_states'
128
+ placeholder='是否已检'
129
+ :width="'60%'"
130
+ v-model="model.f_state"
131
+ condition="f_state='{}'"
132
+ close-on-select clear-button>
133
+ </v-select>
134
+ </div>
135
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
136
+ <div class="col-xs-4">
137
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
138
+ <label class="font text-left">表&emsp;&emsp;号:</label>
139
+ </div>
140
+ <div class="col-xs-5" >
141
+ <input class="search_input input-font"
142
+ v-model=model.f_meter_no condition="f_meter_no like '%{}%'" />
143
+ </div>
144
+ <div class="col-xs-3">
145
+ <button type="button" class="btn btn-lg btn-font btn-color" @click="$parent.$parent.scan()">扫码</button>
146
+ </div>
147
+ </div>
148
+ <div class="row app-row">
149
+ <!--小区名称-->
150
+ <v-select :value.sync="model.f_residential_area"
151
+ class="input-font clear-select-with"
152
+ :options='$parent.$parent.residentialAreaOptions'
153
+ placeholder='小区名称'
154
+ :width="'32.5%'"
155
+ v-model="model.f_residential_area"
156
+ condition="ti.f_residential_area = '{}'"
157
+ @change="$parent.$parent.getbuilds"
158
+ close-on-select clear-button>
159
+ </v-select>
160
+ <!--楼栋-->
161
+ <v-select :value.sync="model.f_building"
162
+ class="input-font"
163
+ :options='$parent.$parent.buildOptions'
164
+ placeholder='楼栋'
165
+ :width="'32.5%'"
166
+ v-model="model.f_building"
167
+ condition="ti.f_building = '{}'"
168
+ @change="$parent.$parent.getUnits"
169
+ close-on-select clear-button>
170
+ </v-select>
171
+ <!--单元-->
172
+ <v-select :value.sync="model.f_unit"
173
+ class="input-font"
174
+ :options='$parent.$parent.unitOptions'
175
+ placeholder='单元'
176
+ :width="'32.5%'"
177
+ v-model="model.f_unit"
178
+ condition="ti.f_unit = '{}'"
179
+ close-on-select clear-button>
180
+ </v-select>
181
+ </div>
182
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
183
+ <div class="col-xs-4">
184
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
185
+ <label class="font text-left">客户电话:</label>
186
+ </div>
187
+ <div class="col-xs-8" >
188
+ <input class="search_input input-font"
189
+ v-model=model.f_user_phone condition="f_user_phone like '%{}%'" />
190
+ </div>
191
+ </div>
192
+
193
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
194
+ <div class="col-xs-4">
195
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
196
+ <label class="font text-left">用户地址:</label>
197
+ </div>
198
+ <div class="col-xs-8" >
199
+ <input class="search_input input-font"
200
+ v-model=model.f_keyword condition="f_address like '%{}%'" />
201
+ </div>
202
+ </div>
203
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
204
+ <div class="col-xs-4">
205
+ <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
206
+ <label for="f_user_type" class="font text-left">用户类型:</label>
207
+ </div>
208
+ <v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
209
+ :width="'60%'"
210
+ :options='$parent.$parent.user_types' placeholder='请选择用户类型'
211
+ v-model="model.f_user_type" condition="f_user_type='{}'" close-on-select clear-button></v-select>
212
+ </div>
213
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
214
+ <div class="col-xs-6">
215
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
216
+ <label class="font text-left">到访不遇:</label>
217
+ </div>
218
+ <div class="col-xs-8" >
219
+ <input class="search_input input-font" type="number"
220
+ v-model=model.f_check_version condition="f_check_version <= '{}'" />
221
+ </div>
222
+ </div>
223
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
224
+ <div class="col-xs-6" style="text-align: center">
225
+ <span class="font text-left">待办{{$parent.$parent.upcomingCount}}条</span>
226
+ </div>
227
+ <div class="col-xs-6" style="text-align: center">
228
+ <span class="font text-left">已办{{$parent.$parent.doneCount}}条</span>
229
+ </div>
230
+ <div class="col-xs-6" style="text-align: center">
231
+ <span class="font text-left">临时保存{{$parent.$parent.tempSaveCount}}条</span>
232
+ </div>
233
+ <div class="col-xs-6" style="text-align: center">
234
+ <span class="font text-left">总共{{$parent.$parent.allPlanCount}}条</span>
235
+ </div>
236
+ </div>
237
+
238
+ <div class="row text-center" style="margin-top: 20px;">
239
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;" @click="$parent.$parent.selfSearch">查询</button>
240
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%; margin-left: 10px" @click="$parent.$parent.queryplanmany">转发</button>
241
+ <div style="float: right;margin-right: 3% " class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
242
+ <img v-if="!$parent.$parent.planName" style="float: right;margin-right: 3% " @click="$parent.$parent.getNewOrder" src="../../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
243
+ </div>
244
+ <div class="col-sm-12">
245
+
246
+ </div>
247
+ <div style="height:30px;"></div>
248
+ </form>
249
+ </div>
250
+ </criteria>
251
+ <list :model="model" partial='list'>
252
+ <div partial>
253
+ <div class="auto app-text" style="margin-top: 5px;">
254
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
255
+ <div class="panel-body panel-self">
256
+
257
+ <div class="col-xs-12">
258
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
259
+ <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
260
+ <p class="panel-title col-xs-2 text-left input-font" style="width: 5%;float:right">
261
+ <input type="checkbox" @click="$parent.$parent.$parent.setPlanParam(row.id, $event)"/>
262
+ </p>
263
+ </div>
264
+ <div class="col-xs-12">
265
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
266
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
267
+ </div>
268
+ <div class="col-xs-6">
269
+ <p class="panel-title col-xs-5 text-left font"><b>用户类型:</b></p>
270
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_type }}
271
+ </p>
272
+ </div>
273
+ <div class="col-xs-6">
274
+ <p class="panel-title col-xs-5 text-left font"><b>计划名称:</b></p>
275
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_plan_name }}</p>
276
+ </div>
277
+ <div class="col-xs-12">
278
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
279
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}
280
+ <img src="../../../assets/phone.png" style="width: 6%"
281
+ v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone)'/>
282
+ </p>
283
+ </div>
284
+ <div class="col-xs-12">
285
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户表号:</b></p>
286
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_meter_no }}</p>
287
+ </div>
288
+ <div class="col-xs-12">
289
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
290
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
291
+ </div>
292
+ <div class="col-xs-6">
293
+ <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
294
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_state == '已检'?'临时保存':row.f_state }}</p>
295
+ </div>
296
+ <div class="col-xs-6">
297
+ <p class="panel-title col-xs-5 text-left font"><b>上传状态:</b></p>
298
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_upload_state }}</p>
299
+ </div>
300
+ <div class="col-xs-12" v-if="row.f_prearranged_date !=null">
301
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>预约时间:</b></p>
302
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_prearranged_date }}</p>
303
+ </div>
304
+ <div class="col-xs-6">
305
+ <p class="panel-title col-xs-5 text-left font"><b>安检类型:</b></p>
306
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_safecheck_type }}</p>
307
+ </div>
308
+ <div class="col-xs-12">
309
+ <p class="panel-title col-xs-5 text-left font"><b>到访不遇次数:</b></p>
310
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_check_version }}</p>
311
+ </div>
312
+ <div class="col-xs-12">
313
+ <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" @click="$parent.$parent.$parent.inspect(row)">处理</button>
314
+ <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right;margin-right:10px;" @click="$parent.$parent.$parent.queryplan(row.id)">转发</button>
315
+ </div>
316
+ </div>
317
+ </div>
318
+ </div>
319
+ </div>
320
+ </list>
321
+ </criteria-paged>
322
+ <modal :show.sync="showModal">
323
+ <div slot="modal-header" class="modal-header">
324
+ <h4 class="modal-title">
325
+ 选择预约时间
326
+ </h4>
327
+ </div>
328
+ <div slot="modal-body" class="modal-body">
329
+ <input type="datetime-local" v-model="f_preset_dt">
330
+ </div>
331
+ <div slot="modal-footer" class="modal-footer">
332
+ <button type="button" class="btn btn-default" @click="genuineReserve">确认</button>
333
+ </div>
334
+ </modal>
335
+ <!--<back-page :need-back='true' @flag="$back()"></back-page>-->
336
+ <modal :show.sync="showModal2" v-ref:modal>
337
+ <div slot="modal-header" class="modal-header">
338
+ <h4 class="modal-title">
339
+ 选择计划
340
+ </h4>
341
+ </div>
342
+ <div slot="modal-body" class="modal-body">
343
+ <div class="col-xs-12">
344
+
345
+ <div class="col-xs-4">
346
+ <v-select :value.sync="check" v-model='check'
347
+ :value-single="true"
348
+ class="select_list select"
349
+ :options='checkers' placeholder='安检员'
350
+ close-on-select width="100%"></v-select>
351
+ </div>
352
+
353
+ <div class="col-xs-1">
354
+ <!--<label style="font-size:20px;line-height: 35px">人员 </label>-->
355
+ </div>
356
+ <div class="col-xs-4" style="padding-left: 2px">
357
+ <input class="select-style" placeholder="计划名称" type="text" v-model="plan" style="border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 35px"/>
358
+ </div>
359
+ <div class="col-xs-1" >
360
+ <!--<label style="font-size: 20px;line-height: 35px">计划</label>-->
361
+ </div>
362
+ <!--<input placeholder="安检员" type="text" v-model="check" style="height:30px;width: 100px"/>-->
363
+ <div class="col-xs-2" style="float: right">
364
+ <button type="button" class="btn btn-primary" @click="plansearch" style="background-color:#499edf;float: right;margin-right:10px;border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 1px;padding-left: 12px">查询</button>
365
+ </div>
366
+ </div>
367
+ <table class="table table_sy">
368
+ <thead>
369
+ <tr>
370
+ <th style="width: 30px"></th>
371
+ <th style="font-family: 'Adobe 黑体 Std R'">计划名称</th>
372
+ </tr>
373
+ </thead>
374
+ <tbody>
375
+ <tr v-for="row in planoption">
376
+ <td @click="select(row, $index)" >{{row.selected==true ? '☆' : '&nbsp;&nbsp;&nbsp;&nbsp;'}}</td>
377
+ <td @click="select(row, $index)" style="text-align: center">{{row.label}}</td>
378
+
379
+
380
+ </tr>
381
+ </tbody>
382
+ </table>
383
+ </div>
384
+ <div slot="modal-footer" class="modal-footer">
385
+ <button class="btn btn-default" @click="isok()">确认</button>
386
+ <button class="btn btn-default" @click="iscancel()">取消</button>
387
+ </div>
388
+ </modal>
389
+ <modal :show.sync="showModal3" v-ref:modal>
390
+ <div slot="modal-header" class="modal-header">
391
+ <h4 class="modal-title">
392
+ 选择计划
393
+ </h4>
394
+ </div>
395
+ <div slot="modal-body" class="modal-body">
396
+ <div class="col-xs-12">
397
+
398
+ <div class="col-xs-4">
399
+ <v-select :value.sync="check" v-model='check'
400
+ :value-single="true"
401
+ class="select_list select"
402
+ :options='checkers' placeholder='安检员'
403
+ close-on-select width="100%"></v-select>
404
+ </div>
405
+
406
+ <div class="col-xs-1">
407
+ <!--<label style="font-size:20px;line-height: 35px">人员 </label>-->
408
+ </div>
409
+ <div class="col-xs-4" style="padding-left: 2px">
410
+ <input class="select-style" placeholder="计划名称" type="text" v-model="plan" style="border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 35px"/>
411
+ </div>
412
+ <div class="col-xs-1" >
413
+ <!--<label style="font-size: 20px;line-height: 35px">计划</label>-->
414
+ </div>
415
+ <!--<input placeholder="安检员" type="text" v-model="check" style="height:30px;width: 100px"/>-->
416
+ <div class="col-xs-2" style="float: right">
417
+ <button type="button" class="btn btn-primary" @click="plansearch" style="background-color:#499edf;float: right;margin-right:10px;border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 1px;padding-left: 12px">查询</button>
418
+ </div>
419
+ </div>
420
+ <table class="table table_sy">
421
+ <thead>
422
+ <tr>
423
+ <th style="width: 30px"></th>
424
+ <th style="font-family: 'Adobe 黑体 Std R'">计划名称</th>
425
+ </tr>
426
+ </thead>
427
+ <tbody>
428
+ <tr v-for="row in planoption">
429
+ <td @click="select(row, $index)" >{{row.selected==true ? '☆' : '&nbsp;&nbsp;&nbsp;&nbsp;'}}</td>
430
+ <td @click="select(row, $index)" style="text-align: center">{{row.label}}</td>
431
+
432
+
433
+ </tr>
434
+ </tbody>
435
+ </table>
436
+ </div>
437
+ <div slot="modal-footer" class="modal-footer">
438
+ <button class="btn btn-default" @click="manyisok()">确认</button>
439
+ <button class="btn btn-default" @click="iscancel()">取消</button>
440
+ </div>
441
+ </modal>
442
+ </div>
443
+
444
+ </template>
445
+
446
+ <script>
447
+ import LocalPagedList from '../../../plugins/LocalPagedList'
448
+ import Vue from 'vue'
449
+ import { PagedList,HttpResetClass } from 'vue-client'
450
+ import * as Util from '../../Util'
451
+ import co from 'co'
452
+ let select = function * (self) {
453
+ let http = new HttpResetClass()
454
+ http.load('POST', `${self.$androidUtil.getProxyUrl()}/rs/search`, {
455
+ source: 'this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)',
456
+ userid: Vue.user.orgid
457
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
458
+ //tag
459
+ self.checkers.push({label:'全部',value:''})
460
+ res.data.forEach((checker)=>{
461
+ self.checkers.push({label:checker.name,value:checker.id})
462
+ })
463
+ })
464
+ }
465
+ export default {
466
+ title: '无计划安检查询',
467
+ props: ['planName'],
468
+ data() {
469
+ return {
470
+ f_filialeids:'('+Vue.user.orgid+')',
471
+ //f_filialeids:'(305)',
472
+ planparam:[],
473
+ check:'',
474
+ plan:'',
475
+ planid:'',
476
+ model:Vue.android? new LocalPagedList('androidGetuserinfo',20,{condition:'this.condition'}): new PagedList( 'AndroidRest/api/af-safecheck/sql/androidGetuserinfo',20,{condition:'this.condition'}),
477
+ showModal: false,
478
+ showModal2:false,
479
+ showModal3:false,
480
+ needid:'',
481
+ criteriaShow: false,
482
+ planoption:[],
483
+ condition:'',
484
+ checkers:[],
485
+ param: null,
486
+ f_preset_dt : Util.to3339TimeString(),
487
+ flow_direction:[
488
+ {label: '请选择挂表方式', value: ''},
489
+ {label: '左表', value: '左表'},
490
+ {label: '右表', value: '右表'}
491
+ ],
492
+ check_states: [
493
+ {label: '请选择安检状态', value: ''},
494
+ {label: '未检', value: '未检'},
495
+ {label: '临时保存', value: '已检'},
496
+ ],
497
+ last_check_states: [
498
+ {label: '请选择上次安检状态', value: ''},
499
+ {label: '入户', value: '入户'},
500
+ {label: '拒检', value: '拒检'},
501
+ {label: '到访不遇', value: '到访不遇'},
502
+ {label: '未使用天然气', value: '未使用天然气'}
503
+ ],
504
+ upload_states: [
505
+ {label: '请选择上传状态', value: ''},
506
+ {label: '未传', value: '未传'},
507
+ {label: '已传', value: '已传'}
508
+ ],
509
+ user_types: [
510
+ {label: '请选择用户类型', value: ''},
511
+ {label: '民用', value: '民用'},
512
+ {label: '非民用', value: '非民用'},
513
+ ],
514
+ verify_state: [
515
+ {label: '请选择审核状态', value: ''},
516
+ {label: '未审核', value: '未审核'},
517
+ {label: '打回', value: '打回'}
518
+ ],
519
+ residentialAreaOptions: [],
520
+ buildOptions: [],
521
+ unitOptions: [],
522
+ planNameOptions: [],
523
+ upcomingCount: 0,
524
+ doneCount: 0,
525
+ tempSaveCount: 0,
526
+ allPlanCount: 0
527
+ }
528
+ },
529
+ ready(){
530
+ this.getAllArea()
531
+ this.getAllPlanName()
532
+ this.selfSearch()
533
+ let gen = select(this)
534
+ co(gen)
535
+ },
536
+ mounted(){
537
+ //tag
538
+ if (window.history && window.history.pushState) {
539
+ history.pushState(null, null, document.URL);
540
+ window.addEventListener('popstate', this.fun, false);//false阻止默认事件
541
+ }
542
+ },
543
+ destroyed(){
544
+ //tag
545
+ window.removeEventListener('popstate', this.fun, false);//false阻止默认事件
546
+ },
547
+ methods: {
548
+ scan(){
549
+ HostApp.__this__=this,
550
+ HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
551
+ },
552
+ getCode(){
553
+ const datapa = HostApp.getCode().data;
554
+ //tag
555
+ this.$refs.paged.$refs.cri.model.f_meter_no = datapa
556
+
557
+ },
558
+ fun () {
559
+ //tag
560
+ //tag
561
+ },
562
+ iscancel(){
563
+ this.showModal2=false
564
+ this.showModal3=false
565
+ this.planoption=[]
566
+ },
567
+ timeSet(val){
568
+ return val
569
+ },
570
+ async isok(){
571
+ if(this.planoption.length==0){
572
+ this.$showMessage("请选择计划")
573
+ return false
574
+ }
575
+ for (let i = 0; i <this.planoption.length ; i++) {
576
+ if (this.planoption[i]["selected"]==true){
577
+ this.planid=this.planoption[i].value
578
+ break
579
+ }
580
+ }
581
+ if(this.planid==''){
582
+ this.$showMessage("请选择计划")
583
+ return false
584
+ }
585
+ await this.okput()
586
+ },
587
+ async manyisok(){
588
+ if(this.planoption.length==0){
589
+ this.$showMessage("请选择计划")
590
+ return false
591
+ }
592
+ for (let i = 0; i <this.planoption.length ; i++) {
593
+ if (this.planoption[i]["selected"]==true){
594
+ this.planid=this.planoption[i].value
595
+ break
596
+ }
597
+ }
598
+ if(this.planid==''){
599
+ this.$showMessage("请选择计划")
600
+ return false
601
+ }
602
+ await this.manyokput()
603
+ },
604
+ changenull(){
605
+ this.showModal2=false
606
+ this.showModal3=false
607
+ this.planoption=[]
608
+ this.plan=''
609
+ this.check=''
610
+ },
611
+ async okput(){
612
+ let result = this.$androidUtil.bzLogic('UpCheckPlanItemAndroid', {condition:`id='`+this.needid+`'`,f_plan_id:this.planid})
613
+ if (result.code == 200) {
614
+ let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/UpCheckPlanItem`, {data:{
615
+ condition:`i.id='`+this.needid+`'`,
616
+ f_plan_id:this.planid,
617
+ switchCheckAll:false,
618
+ checkAll:false,
619
+ f_operator:Vue.user.name
620
+ }
621
+ })
622
+ await this.changenull()
623
+ }
624
+ },
625
+ async manyokput(){
626
+ let condition = `1=1`
627
+ let criteria = {
628
+ items: 'id',
629
+ tablename: 't_check_plan',
630
+ condition: `f_checker_id = '${Vue.user.id}'`,
631
+ groupitem: 'id'
632
+ }
633
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
634
+ if (result.code==200){
635
+ condition = `1=1 and i.f_plan_id in (${result.data.rows.map(row => { return `'${row.id}'` }).join()})`
636
+ }
637
+ let result2 = this.$androidUtil.bzLogic('UpCheckPlanItemAndroid', {condition:`f_plan_id in (${result.data.rows.map(row => { return `'${row.id}'` }).join()})`,f_plan_id:this.planid})
638
+ if (result2.code == 200) {
639
+ let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/UpCheckPlanItem`, {data:{
640
+ columnName:"i.id",
641
+ condition:condition,
642
+ f_plan_id:this.planid,
643
+ switchCheckAll:true,
644
+ param:this.planparam,
645
+ checkAll:true,
646
+ f_operator:Vue.user.name
647
+ }
648
+ })
649
+ await this.changenull()
650
+ }
651
+ },
652
+ async plansearch(){
653
+ this.planoption=[]
654
+ let condition= ` f_plan_year=${new Date().getFullYear()}`
655
+ if(this.check){
656
+ condition += ` and f_checker_id= '${this.check}'`
657
+ }
658
+ if(this.plan){
659
+ condition += ` and f_plan_name like '%${this.plan}%'`
660
+ }
661
+ let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/预约计划下发`, {data:{
662
+ condition:condition,
663
+ f_filialeids:this.f_filialeids,
664
+ groupitem:'',
665
+ orderitem:'id'
666
+ }})
667
+ let resoult=res.data
668
+ for (let i = 0; i < resoult.length; i++) {
669
+ this.planoption.push({label: resoult[i].f_plan_name,selected:false, value: resoult[i].id})
670
+ }
671
+ },
672
+
673
+ select(row, idx) {
674
+ this.$set('planoption[' + idx + '].selected', true)
675
+ for (let i = 0; i <this.planoption.length ; i++) {
676
+ if (i!=idx){
677
+ this.planoption[i]["selected"]=false
678
+ }
679
+ }
680
+ },
681
+ planclose(){
682
+ this.showModal2=false
683
+ this.showModal3=false
684
+ },
685
+ queryplan(val){
686
+ this.needid=val
687
+ this.showModal2 = true
688
+ },
689
+ queryplanmany(){
690
+
691
+ this.showModal3 = true
692
+ },
693
+ reload(){
694
+ // this.getAllArea()
695
+ // this.getAllPlanName()
696
+ this.selfSearch()
697
+ },
698
+ cancelReserve (idx, id) {
699
+ if(Vue.android){
700
+ let res = this.$androidUtil.bzLogic('BookingCheck', {dt: '', id: id})
701
+ this.$set('model.rows[' + idx + '].f_prearranged_date', null)
702
+ if (res.code == 200) {
703
+ this.$showMessage("取消预约成功")
704
+ }
705
+ }else {
706
+ this.$androidUtil.bzLogic('PCbookingCheck', {dt: '', id: id}).then((repanse) => {
707
+ this.$set('model.rows[' + idx + '].f_prearranged_date', null)
708
+ if (repanse.data.code == 200) {
709
+ alert("取消预约成功!")
710
+ }
711
+ })
712
+ }},
713
+ genuineReserve () {
714
+ if(Vue.android){
715
+ if (!this.f_preset_dt) {
716
+ this.$showMessage('请选择一个日期')
717
+ return
718
+ }
719
+ let pdt = this.f_preset_dt.replace('T', ' ')
720
+ let respanse = this.$androidUtil.bzLogic('BookingCheck', {id: this.model.rows[this.param].id, dt: pdt})
721
+ this.$set('model.rows[' + this.param + '].f_prearranged_date', pdt)
722
+ if(respanse.code == 200) {
723
+ this.$showMessage("预约成功!")
724
+ }
725
+ this.showModal = false
726
+ }else {
727
+ if (!this.f_preset_dt) {
728
+ alert('请选择一个日期')
729
+ return
730
+ }
731
+ let pdt = this.f_preset_dt.replace('T', ' ')
732
+ this.$androidUtil.bzLogic('PCbookingCheck', {id: this.model.rows[this.param].id, dt: pdt}).then((res) => {
733
+ this.$set('model.rows[' + this.param + '].f_prearranged_date', pdt)
734
+ if(res.data.code == 200) {
735
+ alert("预约成功!")
736
+ }
737
+ this.showModal = false
738
+ })
739
+ }
740
+ },
741
+ inspect(row) {
742
+ var _this = this
743
+ let http = new HttpResetClass()
744
+ http.load('POST',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
745
+ items: 'id',
746
+ tablename: 't_check_plan_item',
747
+ condition: `id = '${row.id}'`,
748
+ orderitem: ' id '
749
+ }}, {resolveMsg: null, rejectMsg: null}).then((getcheckplan) => {
750
+ this.getcheckplandata = getcheckplan.data[0]
751
+ if(this.getcheckplandata){
752
+ if (row.f_upload_state == '未传' || (row.f_upload_state == '已传' && row.f_state == '未检' && row.f_no_checkplan != '无计划安检' ) ) {
753
+ _this.$resetpost(`${_this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/查询计划项表信息`, {data: {f_userid: row.f_userinfoid}},{resolveMsg: null,rejectMsg: null}).then((response) => {
754
+ row['f_plan_meters'] = response.data
755
+ var pardate = {
756
+ _this:_this,
757
+ title:'安全检查',
758
+ safe:true
759
+ }
760
+ _this.$dispatch('gotoson',pardate)
761
+ //tag
762
+ _this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',parentPage:'CurrentCreate'}, 'self', _this.reload)
763
+ }).catch ((msg)=>{
764
+ this.$showMessage("网络异常,请检查网络后再试!")
765
+ })
766
+ }else{
767
+ this.$showMessage("该安检单已被上传!")
768
+ }
769
+ }else {
770
+ this.$showMessage("该用户安检单已被移除,请联系管理员确认!")
771
+ }
772
+ })
773
+ },
774
+ makeAPhoneCall(phoneNumber) {
775
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
776
+ },
777
+ reserve (idx) {
778
+ this.param = idx
779
+ this.showModal = true
780
+ },
781
+ search(args) {
782
+ this.model.rows = []
783
+ this.model.search(args.condition, args.model)
784
+ },
785
+ selfSearch () {
786
+ this.getPlanCount()
787
+ let condition = ""
788
+ if (Array.isArray(this.$refs.paged.$refs.cri.model.f_residential_area) && this.$refs.paged.$refs.cri.model.f_residential_area.length >0){
789
+ condition += " and ti.f_residential_area = '"+this.$refs.paged.$refs.cri.model.f_residential_area[0]+"'"
790
+ }else if(this.$refs.paged.$refs.cri.model.f_residential_area instanceof String && this.$refs.paged.$refs.cri.model.f_residential_area){
791
+ condition += " and ti.f_residential_area = '"+this.$refs.paged.$refs.cri.model.f_residential_area+"'"
792
+ }
793
+ if(this.$refs.paged.$refs.cri.model.f_building)
794
+ condition += ` and ti.f_building = '${this.$refs.paged.$refs.cri.model.f_building}'`
795
+ if(this.$refs.paged.$refs.cri.model.f_unit)
796
+ condition += ` and ti.f_unit = '${this.$refs.paged.$refs.cri.model.f_unit}'`
797
+ if (this.planName){
798
+ condition += " and f_plan_name like '%"+this.planName +"%'"
799
+ }else {
800
+ if(this.$refs.paged.$refs.cri.model.f_plan_name)
801
+ condition += " and f_plan_name like '%"+this.$refs.paged.$refs.cri.model.f_plan_name +"%'"
802
+ }
803
+ // if(this.$refs.paged.$refs.cri.model.f_plan_year)
804
+ // condition += " and f_plan_year = '"+this.$refs.paged.$refs.cri.model.f_plan_year +"'"
805
+ // if(this.$refs.paged.$refs.cri.model.f_plan_month)
806
+ // condition += " and f_plan_month = '"+this.$refs.paged.$refs.cri.model.f_plan_month +"'"
807
+ if(this.$refs.paged.$refs.cri.model.f_userinfo_code)
808
+ condition += " and ti.f_userinfo_code like '%"+this.$refs.paged.$refs.cri.model.f_userinfo_code+"%'"
809
+ if(this.$refs.paged.$refs.cri.model.f_keyword)
810
+ condition += " and ti.f_address like '%"+this.$refs.paged.$refs.cri.model.f_keyword+"%'"
811
+ if(this.$refs.paged.$refs.cri.model.f_user_name)
812
+ condition += " and ti.f_user_name like '%"+this.$refs.paged.$refs.cri.model.f_user_name+"%'"
813
+ if(this.$refs.paged.$refs.cri.model.f_state[0])
814
+ condition += " and ti.f_state='"+this.$refs.paged.$refs.cri.model.f_state[0]+"'"
815
+ // if(this.$refs.paged.$refs.cri.model.f_last_state[0])
816
+ // condition += " and ti.f_last_check_state='"+this.$refs.paged.$refs.cri.model.f_last_state[0]+"'"
817
+ if(this.$refs.paged.$refs.cri.model.f_user_type[0])
818
+ condition += " and ti.f_user_type='"+this.$refs.paged.$refs.cri.model.f_user_type[0]+"'"
819
+ if(this.$refs.paged.$refs.cri.model.f_meter_no)
820
+ condition += " and tm.f_meter_no like '%"+this.$refs.paged.$refs.cri.model.f_meter_no+"%'"
821
+ // if(this.$refs.paged.$refs.cri.model.f_flow_direction[0])
822
+ // condition += " and tm.f_flow_direction = '"+this.$refs.paged.$refs.cri.model.f_flow_direction[0]+"'"
823
+ if(this.$refs.paged.$refs.cri.model.f_user_phone){
824
+ condition += `and ti.f_user_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%'`
825
+ }
826
+ if(this.$refs.paged.$refs.cri.model.f_enter_number)
827
+ condition += " and ti.f_enter_number like '%"+this.$refs.paged.$refs.cri.model.f_enter_number+"%'"
828
+ if(this.$refs.paged.$refs.cri.model.f_check_version)
829
+ condition += " and ti.f_check_version <= "+this.$refs.paged.$refs.cri.model.f_check_version
830
+ //tag
831
+ this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检')) and ti.f_no_checkplan = '有计划安检'" + condition)
832
+ },
833
+ getNewOrder(){
834
+ HostApp.__this__ = this
835
+ HostApp.logicWithHint({
836
+ // logic别名,key必须为logic
837
+ 'logic': 'SafeCheckServiceTimeOut',
838
+ // 回调执行方法名,key必须为callback
839
+ 'callback': 'javascript:HostApp.__this__.getNewOrderCallBack()',
840
+ // logic执行需要的业务参数
841
+ 'data': {params: ''},
842
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
843
+ // 执行回调方法传入key为backresult
844
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
845
+ 'backresult': 1
846
+ })
847
+ HostApp.logicWithHint({
848
+ // logic别名,key必须为logic
849
+ 'logic': 'FreshPlanItem',
850
+ // 回调执行方法名,key必须为callback
851
+ 'callback': 'javascript:HostApp.__this__.getNewOrderCallBack()',
852
+ // logic执行需要的业务参数
853
+ 'data': {params: ''},
854
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
855
+ // 执行回调方法传入key为backresult
856
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
857
+ 'backresult': 1
858
+ })
859
+ },
860
+ getNewOrderCallBack() {
861
+ this.selfSearch()
862
+ this.getAllArea()
863
+ this.getAllPlanName()
864
+ },
865
+ hidden() {
866
+ this.criteriaShow = !this.criteriaShow
867
+ },
868
+ getAllArea(){
869
+ this.residentialAreaOptions = []
870
+ this.buildOptions = []
871
+ this.unitOptions = []
872
+ this.$refs.paged.$refs.cri.model.f_residential_area = ''
873
+ this.$refs.paged.$refs.cri.model.f_building = ''
874
+ this.$refs.paged.$refs.cri.model.f_unit = ''
875
+ let criteria = {
876
+ items: 'f_residential_area',
877
+ tablename: 't_check_plan_item',
878
+ condition: `f_residential_area IS NOT NULL AND f_residential_area != '' AND f_state <> '已检'`,
879
+ groupitem: 'f_residential_area'
880
+ }
881
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
882
+ //tag)
883
+ if(result.code == 200){
884
+ result.data.rows.forEach(item => this.residentialAreaOptions.push({label:item.f_residential_area,value:item.f_residential_area}))
885
+ }
886
+ //tag)
887
+ },
888
+ getbuilds(f_residential_area){
889
+ //tag)
890
+ this.buildOptions = []
891
+ this.unitOptions = []
892
+ this.$refs.paged.$refs.cri.model.f_building = ''
893
+ this.$refs.paged.$refs.cri.model.f_unit = ''
894
+ if(!f_residential_area){
895
+ return
896
+ }
897
+ let criteria = {
898
+ items: 'f_building',
899
+ tablename: 't_check_plan_item',
900
+ condition: `f_building IS NOT NULL AND f_building != '' AND f_state <> '已检' AND f_residential_area = '${f_residential_area}'`,
901
+ groupitem: 'f_building order by f_building+0'
902
+ }
903
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
904
+ if(result.code == 200){
905
+ result.data.rows.forEach(item => this.buildOptions.push({label:item.f_building,value:item.f_building}))
906
+ }
907
+ this.buildOptions.sort((a,b)=>{
908
+ return Number(a.label)- Number(b.label)
909
+ })
910
+ //tag)
911
+ },
912
+ getUnits(f_building){
913
+ f_building = f_building[0]
914
+ //tag)
915
+ this.unitOptions = []
916
+ this.$refs.paged.$refs.cri.model.f_unit = ''
917
+ if(!f_building){
918
+ return
919
+ }
920
+ let criteria = {
921
+ items: 'f_unit',
922
+ tablename: 't_check_plan_item',
923
+ condition: `f_unit IS NOT NULL AND f_unit != '' AND f_state <> '已检' AND f_residential_area = '${this.$refs.paged.$refs.cri.model.f_residential_area}' AND f_building = '${f_building}'`,
924
+ groupitem: 'f_unit'
925
+ }
926
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
927
+ if(result.code == 200){
928
+ result.data.rows.forEach(item => this.unitOptions.push({label:item.f_unit,value:item.f_unit}))
929
+ }
930
+ this.unitOptions.sort((a,b)=>{
931
+ return Number(a.label)- Number(b.label)
932
+ })
933
+ },
934
+ getPlanCount(){
935
+ this.upcomingCount = 0
936
+ this.tempSaveCount = 0
937
+ this.doneCount = 0
938
+ this.allPlanCount = 0
939
+ let criteria = {
940
+ items: 'count(id) count',
941
+ tablename: 't_check_plan_item',
942
+ condition: `f_state = '未检'`,
943
+ groupitem: 'f_state'
944
+ }
945
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
946
+ if(result.code && result.code == 200){
947
+ if(result.data.rows[0] && !isNaN(result.data.rows[0].count)) {
948
+ this.upcomingCount = result.data.rows[0].count
949
+ }
950
+ }
951
+ criteria = {
952
+ items: 'count(id) count',
953
+ tablename: 't_check_plan_item',
954
+ condition: `(f_complete = '' or f_complete is null or f_complete = '未完成') AND f_state = '已检'`,
955
+ groupitem: 'f_state'
956
+ }
957
+ result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
958
+ if(result.code && result.code == 200){
959
+ if(result.data.rows[0] && !isNaN(result.data.rows[0].count)){
960
+ this.tempSaveCount = result.data.rows[0].count
961
+ }
962
+ }
963
+ criteria = {
964
+ items: 'count(id) count',
965
+ tablename: 't_check_plan_item',
966
+ condition: `f_complete = '已完成' AND f_state = '已检'`,
967
+ groupitem: 'f_state'
968
+ }
969
+ result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
970
+ if(result.code && result.code == 200){
971
+ if(result.data.rows[0] && !isNaN(result.data.rows[0].count)){
972
+ this.doneCount = result.data.rows[0].count
973
+ }
974
+ }
975
+ this.allPlanCount = this.upcomingCount + this.tempSaveCount + this.doneCount
976
+
977
+ //tag
978
+ //tag
979
+ //tag
980
+ //tag
981
+ },
982
+ getAllPlanName(){
983
+ this.planNameOptions = []
984
+ this.$refs.paged.$refs.cri.model.f_plan_name = ''
985
+ let criteria = {
986
+ items: 'f_plan_name',
987
+ tablename: 't_check_plan',
988
+ condition: `f_plan_name IS NOT NULL AND f_plan_name != ''`,
989
+ groupitem: 'f_plan_name'
990
+ }
991
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
992
+ //tag)
993
+ if(result.code == 200){
994
+ result.data.rows.forEach(item => this.planNameOptions.push({label:item.f_plan_name,value:item.f_plan_name}))
995
+ }
996
+ //tag)
997
+ },
998
+ setPlanParam(detailsType, event) {
999
+ if (event.srcElement.checked) {
1000
+ this.planparam.push(detailsType)
1001
+ //tag
1002
+ } else {
1003
+ if(this.planparam.length>0){
1004
+ let planid= this.planparam.findIndex((value) => {
1005
+ return value === detailsType
1006
+ })
1007
+ this.planparam.splice(planid, 1)
1008
+ //tag
1009
+
1010
+ }
1011
+
1012
+ }
1013
+ }
1014
+ }
1015
+ }
1016
+ </script>