safecheck-client 3.0.30-62-t4 → 3.0.30-62-t6

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