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,735 +1,735 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div partial>
6
- <div class="row">
7
- <div class="form-group col-sm-2" >
8
- <label class="font_normal_body">用户信息</label>
9
- <input type="text" class="input_search" v-model="model.f_userinfo_code"
10
- style="width: 60%" placeholder="客户编号" condition="ui.f_userinfo_code='{}'">
11
- </div>
12
- <div class="form-group col-sm-2" >
13
- <label class="font_normal_body" title="参数名称:安检用户状态">用户状态:</label>
14
- <v-select
15
- class="select select_list"
16
- :value.sync="model.f_user_state"
17
- v-model="model.f_user_state"
18
- :options='$parent.$parent.userStates'
19
- placeholder='请选择'
20
- condition="ui.f_user_state='{}'"
21
- :search="false"
22
- close-on-select
23
- value-single
24
- >
25
- </v-select>
26
- </div>
27
- <div class="form-group col-sm-2" >
28
- <label class="font_normal_body"title="参数名称:用气性质">用气性质:</label>
29
- <v-select
30
- class="select select_list"
31
- :value.sync="model.f_gasproperties"
32
- v-model="model.f_gasproperties"
33
- :options='$parent.$parent.gasproperties'
34
- placeholder='请选择'
35
- condition="uf.f_gasproperties in {}"
36
- :search="false"
37
- :multiple="true"
38
- close-on-select
39
- >
40
- </v-select>
41
- </div>
42
- <div class="form-group col-sm-2" >
43
- <label class="font_normal_body">气表品牌:</label>
44
- <v-select
45
- class="select select_list"
46
- :value.sync="model.metergasbrand"
47
- v-model="model.metergasbrand"
48
- :options='$parent.$parent.meter_gasbrand'
49
- placeholder='气表品牌'
50
- condition="uf.f_gasbrand_id in {}"
51
- :search="false"
52
- :multiple="true"
53
- close-on-select
54
- >
55
- </v-select>
56
- </div>
57
- <div class="form-group col-sm-4" >
58
- <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
59
- <export-excel-safe :data="$parent.$parent.searchData"
60
- :field="$parent.$parent.excelHeaders"
61
- :choose-col="true"
62
- sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="FetchUserFileByOrgNoRuHuSXQ" template-name='安检筛选用户信息导出'></export-excel-safe>
63
- <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
64
- <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.createAndSend()">下发</button>
65
- </div>
66
- <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
67
- <div slot="modal-header" class="modal-header">
68
- <h4 class="modal-title">
69
- 用户查询条件
70
- </h4>
71
- </div>
72
- <div slot="modal-body" class="modal-body">
73
- <div class="row">
74
- <div class="form-group col-sm-4" >
75
- <label class="font_normal_body">楼&ensp;栋&ensp;号:</label>
76
- <input type="text" class="input_search" v-model="model.f_building"
77
- style="width: 60%" placeholder="请选择" condition="ua.f_building='{}'">
78
- </div>
79
- <div class="form-group col-sm-4" >
80
- <label class="font_normal_body">单&ensp;元&ensp;号:</label>
81
- <input type="text" class="input_search" v-model="model.f_unit"
82
- style="width: 60%" placeholder="请选择" condition="ua.f_unit='{}'">
83
- </div>
84
- <div class="form-group col-sm-4" >
85
- <label class="font_normal_body">派发情况:</label>
86
- <v-select
87
- class="select select_list"
88
- :value.sync="model.yearCheck"
89
- v-model="model.yearCheck"
90
- :options='$parent.$parent.yearCheckList'
91
- placeholder='请选择'
92
- condition="{}"
93
- :search="false"
94
- close-on-select
95
- value-single
96
- >
97
- </v-select>
98
- </div>
99
- <div class="form-group col-sm-4" >
100
- <label class="font_normal_body">安检状态:</label>
101
- <v-select
102
- class="select select_list"
103
- :multiple="true"
104
- :value.sync="model.f_last_check_state"
105
- v-model="model.f_last_check_state"
106
- :options='$parent.$parent.entry_status'
107
- placeholder='请选择'
108
- :search="false"
109
- >
110
- </v-select>
111
- </div>
112
- <div class="form-group col-sm-4" >
113
- <label class="font_normal_body">安检起始:</label>
114
- <datepicker
115
- placeholder='请选择'
116
- style="width:60%;text-align: center"
117
- :disabled-days-of-week="[]"
118
- :format="'yyyy-MM-dd 00:00:00'"
119
- :show-rest-button="reset"
120
- :value.sync="model.f_check_start"
121
- v-model="model.f_check_start">
122
- </datepicker>
123
- </div>
124
- <div class="form-group col-sm-4" >
125
- <label class="font_normal_body">安检截止:</label>
126
- <datepicker
127
- placeholder='请选择'
128
- :disabled-days-of-week="[]"
129
- style="width:60%;text-align: center"
130
- :format="'yyyy-MM-dd 23:59:59'"
131
- :show-rest-button="reset"
132
- :value.sync="model.f_check_end"
133
- v-model="model.f_check_end">
134
- </datepicker>
135
- </div>
136
- <div class="form-group col-sm-4" >
137
- <label class="font_normal_body">入户截止:</label>
138
- <datepicker
139
- placeholder='请选择'
140
- :disabled-days-of-week="[]"
141
- style="width:60%;text-align: center"
142
- :format="'yyyy-MM-dd 23:59:59'"
143
- :show-rest-button="reset"
144
- :value.sync="model.f_ruhu_end"
145
- v-model="model.f_ruhu_end">
146
- </datepicker>
147
- </div>
148
-
149
- </div>
150
- </div>
151
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
152
- <button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
153
- <button class="button_search" @click="$parent.$parent.cancel">取消</button>
154
- </div>
155
- </modal>
156
- <modal :show.sync="$parent.$parent.excelUserCondtion" width="500px" v-ref:modal1 >
157
- <div slot="modal-header" class="modal-header">
158
- <h4 class="modal-title">
159
- 导入用户编号
160
- </h4>
161
- </div>
162
- <div slot="modal-body" class="modal-body">
163
- <div class="row">
164
- <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
165
- action="rs/file/uploadFile" tagname="档案信息导入" v-ref:file :headers="headers" multiple></file-upload>
166
- <img src="../../../assets/Excelformat.png" style="width: 100%"/>
167
- </div>
168
- </div>
169
- <footer slot="modal-footer" class="modal-footer">
170
- </footer>
171
- </modal>
172
- </div>
173
- </div>
174
- </criteria>
175
- <data-grid :model="model" partial='list' class="table_sy">
176
-
177
- <template partial='head'>
178
- <tr>
179
- <th><nobr><input type="checkbox" @dblclick.stop="" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</nobr></th>
180
- <th><nobr>用户编号</nobr></th>
181
- <th><nobr>用户名称</nobr></th>
182
- <th><nobr>用户类型</nobr></th>
183
- <th><nobr>小区名称</nobr></th>
184
- <!-- <th><nobr>片区</nobr></th>-->
185
- <!-- <th><nobr>抄表册</nobr></th>-->
186
- <!-- <th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>-->
187
- <th title="最后一次安检日期"><nobr>安检日期</nobr></th>
188
- <th title="最后一次安检状态"><nobr>安检状态</nobr></th>
189
- <th><nobr>详细地址</nobr></th>
190
- </tr>
191
- </template>
192
- <template partial='body'>
193
- <td style="text-align: center;white-space:nowrap;"><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.id)" @change="$parent.$parent.$parent.setCheckes(row.id)" /></td>
194
- <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
195
- <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
196
- <td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
197
- <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
198
- <!-- <td style="text-align: center"><nobr>{{row.f_slice_area}}</nobr></td>-->
199
- <!-- <td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>-->
200
- <!-- <td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>-->
201
- <td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
202
- <td style="text-align: center"><nobr>{{row.f_last_check_state}}</nobr></td>
203
- <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
204
- </template>
205
- </data-grid>
206
- </criteria-paged>
207
- <modal :show.sync="showCreatePlan" v-ref:modal1 :width="'50%'" :backdrop="false">
208
- <div slot="modal-header" class="modal-header">
209
- <h4 class="modal-title">
210
- 新建计划
211
- </h4>
212
- </div>
213
- <div slot="modal-body" class="modal-body">
214
- <div class="row">
215
- <div class="form-group col-sm-4" >
216
- <label class="font_normal_body">计划名称:</label>
217
- <input type="text" class="input_search" v-model="createPlan.f_plan_name"
218
- style="width: 60%" placeholder="请选择" />
219
- </div>
220
- <div class="form-group col-sm-4" >
221
- <label class="font_normal_body">计划年份:</label>
222
- <v-select
223
- class="select select_list"
224
- :value.sync="createPlan.f_plan_year"
225
- v-model="createPlan.f_plan_year"
226
- :search="false"
227
- :options='yearList'
228
- close-on-select
229
- value-single
230
- >
231
- </v-select>
232
- </div>
233
- <div class="form-group col-sm-4" >
234
- <label class="font_normal_body">计划月份:</label>
235
- <v-select
236
- class="select select_list"
237
- :value.sync="createPlan.f_plan_month"
238
- v-model="createPlan.f_plan_month"
239
- :search="false"
240
- :options='monthList'
241
- close-on-select
242
- value-single>
243
- </v-select>
244
- </div>
245
- <div class="form-group col-sm-4" >
246
- <label class="font_normal_body">计划开始:</label>
247
- <datepicker
248
- placeholder='请选择'
249
- style="width:60%"
250
- :disabled-days-of-week="[]"
251
- :format="'yyyy-MM-dd'"
252
- :show-rest-button="reset"
253
- :value.sync="createPlan.f_start_time"
254
- v-model="createPlan.f_start_time">
255
- </datepicker>
256
- </div>
257
- <div class="form-group col-sm-4" >
258
- <label class="font_normal_body">计划结束:</label>
259
- <datepicker
260
- placeholder='请选择'
261
- style="width:60%"
262
- :disabled-days-of-week="[]"
263
- :format="'yyyy-MM-dd'"
264
- :show-rest-button="reset"
265
- :value.sync="createPlan.f_end_time"
266
- v-model="createPlan.f_end_time">
267
- </datepicker>
268
- </div>
269
- </div>
270
- </div>
271
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
272
- <button class="button_search" style="margin-right: 15px" @click="addNewPlan()">创建计划</button>
273
- <button class="button_search" @click="cancelCreatePlan">取消</button>
274
- </div>
275
- </modal>
276
- </div>
277
- </template>
278
-
279
- <script>
280
- import {HttpResetClass, PagedList} from "vue-client";
281
- import * as Util from "../../../components/Util";
282
- import Vue from "vue";
283
- import {toStandardDateString} from "../../../components/Util";
284
-
285
- export default {
286
- title: '计划管理',
287
- data() {
288
- let model = new PagedList('/api/af-safecheck/sql/FetchUserFileByOrgNoRuHuSXQ', 20, {
289
- "orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
290
- "f_usertype": "''",
291
- "month": "''",
292
- "SafeCheckSX": 'this.SafeCheckSX',
293
- "SafeCheckCQ": "''",
294
- "startday":"''",
295
- "endday":"''"})
296
- model.SafeCheckSX = '1 = 1'
297
- return {
298
- searchData: {
299
- condition: "1=1",
300
- orderitem: "f_residential_area,f_building,f_unit,f_floor,f_room",
301
- SafeCheckSX:""
302
- },
303
- excelHeaders: {
304
- 'f_userinfo_code': '用户编号',
305
- 'f_user_name': '用户姓名',
306
- 'f_user_type': '用户类型',
307
- 'f_residential_area': '小区名称',
308
- 'f_last_check_date': '最后一次安检日期',
309
- 'f_last_check_state': '最后一次安检状态',
310
- 'f_address': '详细地址'
311
- },
312
- model: model,
313
- createPlan:{
314
- f_safecheck_type:"年度普检",
315
- checker:"",
316
- isShare:"否",
317
- f_usertype:"",
318
- f_issued:'是',
319
- f_end_time:Util.toStandardDateString().replace(new Date().getFullYear().toString(),(new Date().getFullYear()+1).toString()),
320
- f_start_time:Util.toStandardDateString(),
321
- f_plan_month:(new Date().getMonth()+1).toString(),
322
- f_plan_year:new Date().getFullYear().toString(),
323
- f_plan_name:""
324
- },
325
- yearList:[{label:"2020",value:"2020"},{label:"2021",value:"2021"},{label:"2022",value:"2022"},{label:"2023",value:"2023"},{label:"2024",value:"2024"},{label:"2025",value:"2025"},{label:"2026",value:"2026"},{label:"2027",value:"2027"},{label:"2028",value:"2028"},{label:"2029",value:"2029"},{label:"2030",value:"2030"}],
326
- monthList:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6"},{label:"7",value:"7"},{label:"8",value:"8"},{label:"9",value:"9"},{label:"10",value:"10"},{label:"11",value:"11"},{label:"12",value:"12"}],
327
- showCreatePlan:false,
328
- a:'1',
329
- opt:[{label:"测试",value:"测试"}],
330
- showCondtion:false,
331
- userTypes:[],//用户类型
332
- entry_status:[],
333
- userStates:[],//用户状态
334
- gasproperties:[],//用气性质
335
- meter_gasbrand:[],//气表品牌
336
- hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
337
- yearCheckList:[{label:"全部",value:""},{label:"已在计划中",value:"ua.f_plan_id is not null"},{label:"未在计划中",value:"ua.f_plan_id is null"}],
338
- checkStateList:[{label:"全部",value:""},{label:"两年内已检",value:"DATEDIFF(day,isnull(ui.f_last_check_date,'2010-01-01'),GETDATE())<=730"},{label:"两年内未检",value:"DATEDIFF(day,isnull(ui.f_last_check_date,'2010-01-01'),GETDATE())>730"},{label:"从未安检",value:"从未安检"}],
339
- hasResidentialArea:[{label:"全部",value:""},{label:"有名称",value:"有名称"},{label:"无名称",value:"无名称"}],
340
- sliceArea:[],
341
- meterbooks:[],
342
- checkBooks:[{label:'sss',value:'1-用户'},{label:'ssssss',value:'1-小区'}],
343
- cbc:[],
344
- areaList:[],
345
- checkAll:false,
346
- checkes:[],
347
- areaen:[],//片区
348
- excelUserCondtion:false,
349
- uploadCodeCondition:''
350
- }
351
- },
352
- props:["userlogin","bookrow","needprops","row","bookrowsdata","addcondata"],
353
- ready(){
354
- console.log("this.bookrow",this.bookrow)
355
- console.log("this.row",this.row)
356
- console.log("this.needprops",this.needprops)
357
- this.createPlan.checker = this.needprops.checker.filter(item=>item.label == this.row.f_checker_name)[0].value
358
- this.createPlan.f_checker_id=this.createPlan.checker.id
359
- this.createPlan.f_checker=this.createPlan.checker.name
360
- this.createPlan.f_usertype = this.row.f_user_type
361
- if(this.row.f_user_type == '非民用'){
362
- this.createPlan.f_plan_name = `${this.row.f_check_book_name}${this.createPlan.f_plan_year}年${this.createPlan.f_plan_month}月`
363
- }else{
364
- this.createPlan.f_plan_name = `${this.row.f_check_book_name}${this.createPlan.f_plan_year}年`
365
- }
366
- this.$refs.paged.$refs.criteria.model.f_user_state='正常'
367
- this.meter_gasbrand=this.needprops.meter_gasbrand,
368
- this.checkBooks=this.needprops.checkBooks,
369
- this.entry_status=this.needprops.entry_status,
370
- this.userTypes=this.needprops.userTypes,
371
- this.userStates=this.needprops.userStates,
372
- this.gasproperties=this.needprops.gasproperties,
373
- this.areaList=this.needprops.areaList,
374
- this.sliceArea=this.needprops.sliceArea,
375
- this.cbc=this.needprops.cbc,
376
- this.meterbooks=this.needprops.meterbooks
377
- },
378
- methods: {
379
- async addNewPlan(){
380
- this.createPlan.f_plan_type='预约计划'
381
- this.createPlan.f_subcompany=this.userlogin.orgstr
382
- this.createPlan.f_filialeid=this.userlogin.orgid
383
- this.createPlan.f_create_operator=this.userlogin.name
384
- this.createPlan.f_create_time=Util.toStandardTimeString()
385
- this.createPlan.f_check_book_id = this.row.id
386
- console.log(this.createPlan)
387
- const addPlan = {
388
- f_operator:this.userlogin.name,
389
- f_filialeid:this.userlogin.orgid,
390
- f_subscribe_date:'',
391
- condition:this.model.condition,
392
- SafeCheckSX: this.model.SafeCheckSX,
393
- switchCheckAll:true,
394
- checkAll:this.checkAll,
395
- param:this.checkes,
396
- columnName: "ua.id"
397
- }
398
- new HttpResetClass().load("POST",'/api/af-safecheck/logic/createAndAddPlan',{createPlan:this.createPlan,addPlan}).then(res=>{
399
- if(res.data.code==200){
400
- this.$showMessage("计划下发成功!"+(res.data.result.length>0?"有"+res.data.result.length+"条用户地址已经存在于其他计划中":""))
401
- this.cancelCreatePlan()
402
- }else{
403
- this.$showMessage("计划下发失败!")
404
- }
405
- })
406
- },
407
- cancelCreatePlan(){
408
- this.showCreatePlan = false
409
- },
410
- createAndSend(){
411
- if(this.model.rows.length==0){
412
- Vue.showMessage("未检测到列表中有用户!")
413
- return
414
- }
415
- if(!this.checkAll && this.checkes.length==0){
416
- Vue.showMessage("请先勾选你要添入到上方计划中的用户!")
417
- return
418
- }
419
- this.showCreatePlan = true
420
- },
421
- cancel(){
422
- this.showCondtion=false
423
- this.excelUserCondtion=false
424
- },
425
- //清空用户编号
426
- clearUserInfoId(){
427
- this.uploadCodeCondition=''
428
- Vue.showMessage("已清空用户编号")
429
- },
430
- showUploadCodeCondition(){
431
- this.excelUserCondtion=true
432
- },
433
- selfSearch (args) {
434
- if(args.model.f_last_check_state.length == 1 && args.model.f_last_check_state[0] == '入户' && args.model.f_ruhu_end) {
435
- args.condition += `and DATEADD(YEAR, 2, CAST(ruhuend.f_offsite_time AS datetime)) < '${args.model.f_ruhu_end}'`
436
- }
437
- if(args.model.f_last_check_state.length > 0 && Util.isEmpty(args.model.f_ruhu_end) && (Util.isEmpty(args.model.f_check_start) || Util.isEmpty(args.model.f_check_end))) {
438
- this.$showMessage("选择安检状态时,需要选择安检时间区间!")
439
- return
440
- }
441
- if(args.model.f_last_check_state.length > 0 && Util.isEmpty(args.model.f_ruhu_end)) {
442
- let zzcon = ''
443
- this.model.SafeCheckSX = ` f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
444
- for (let i = 0; i < args.model.f_last_check_state.length; i++) {
445
- if (args.model.f_last_check_state[i] == '未检') {
446
- zzcon += ' tcp.ruhu is null '
447
- if (i != args.model.f_last_check_state.length - 1) {
448
- zzcon += ' or'
449
- }
450
- } else if (args.model.f_last_check_state[i] == '入户') {
451
- zzcon += `tcp.ruhu > 0`
452
- if (i != args.model.f_last_check_state.length - 1) {
453
- zzcon += ' or'
454
- }
455
- } else if (args.model.f_last_check_state[i] == '拒检') {
456
- zzcon += `(tcp.jujian > 0 and tcp.ruhu = 0 and tcp.daofang >= 0) `
457
- if (i != args.model.f_last_check_state.length - 1) {
458
- zzcon += ' or'
459
- }
460
- } else if (args.model.f_last_check_state[i] == '到访不遇') {
461
- zzcon += `(tcp.daofang > 0 and tcp.ruhu = 0 and tcp.jujian = 0) `
462
- if (i != args.model.f_last_check_state.length - 1) {
463
- zzcon += ' or'
464
- }
465
- }
466
- }
467
- args.condition += `and ( ${zzcon} )`
468
- }else{
469
- //无条件
470
- this.model.SafeCheckSX = ` 1 != 1 `
471
- }
472
- this.searchData.SafeCheckSX = this.model.SafeCheckSX
473
- let condition1=`(ui.f_last_check_date is null or ui.f_last_check_date ='')`
474
- let arge = args.condition.replace('从未安检',condition1)
475
- args.condition = arge
476
- // 上一个界面条件拼接进来
477
- if(this.addcondata){
478
- args.condition += this.addcondata
479
- }
480
- var checkallcond = ''
481
- // 判断小区或者单位是否是多选 全选
482
- if(this.bookrowsdata.checkAll){
483
- if(this.row.f_user_type === '民用'){
484
- checkallcond = ` and area.f_check_book_id = ${this.row.id} `
485
- if(this.bookrowsdata.checkallconres){
486
- checkallcond += ` and area.f_residential_area = '${this.bookrowsdata.checkallconres} '`
487
- }
488
- if(this.bookrowsdata.checkallconuse){
489
- checkallcond += ` and area.f_use_institution = '${this.bookrowsdata.checkallconuse}' `
490
- }
491
- }else{
492
- checkallcond = ` and tc.f_check_book_id = ${this.row.id} `
493
- }
494
-
495
- if(this.bookrowsdata.bookrows.length > 0){
496
- this.bookrowsdata.bookrows.forEach((item) => {
497
- if(this.row.f_user_type === '民用'){
498
- checkallcond += ` and area.id != ${item}`
499
- }else{
500
- checkallcond += ` and tc.id != ${item}`
501
- }
502
- })
503
- }
504
- }else{
505
- var nums = '('
506
- this.bookrowsdata.bookrows.forEach((item) => {
507
- if(this.bookrowsdata.bookrows[this.bookrowsdata.bookrows.length -1] == item){
508
- nums += item +')'
509
- }else{
510
- nums += item +','
511
- }
512
- })
513
- if(this.row.f_user_type === '民用'){
514
- checkallcond += ` and area.id in ${nums}`
515
- }else{
516
- checkallcond += ` and tc.id in ${nums}`
517
- }
518
- }
519
- args.condition += checkallcond
520
- args.condition += ` and ui.f_filialeid='${this.userlogin.orgid}'`
521
- if (args.model.f_residential_area == "无名称"){
522
- args.condition +=" and (ua.f_residential_area is null or ua.f_residential_area ='')"
523
- }else if (args.model.f_residential_area == "有名称"){
524
- args.condition +=" and (ua.f_residential_area is not null and ua.f_residential_area !='')"
525
- }
526
- if(this.uploadCodeCondition){
527
- args.condition +=` and ${this.uploadCodeCondition}`
528
- }
529
- this.cancel()
530
- this.checkes=[]
531
- this.checkAll=false
532
- this.searchData.condition = args.condition
533
- this.model.search(args.condition, args.model, args.condValue)
534
- },
535
- showUserCondition(){
536
- this.showCondtion=true
537
- },
538
- setConList(){
539
- this.entry_status=this.$appdata.getParam('安检状态') ? [{
540
- label: '全部',
541
- value: ''
542
- }, ...this.$appdata.getParam('安检状态')] : [{label: '全部', value: ''}]
543
-
544
- this.userTypes=this.$appdata.getParam('用户类型') ? [{
545
- label: '全部',
546
- value: ''
547
- }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
548
- this.userStates=this.$appdata.getParam('安检用户状态') ? [{
549
- label: '全部',
550
- value: ''
551
- }, ...this.$appdata.getParam('安检用户状态')] : [{label: '全部', value: ''}]
552
- this.gasproperties=this.$appdata.getParam('用气性质') ? [{
553
- label: '全部',
554
- value: ''
555
- }, ...this.$appdata.getParam('用气性质')] : [{label: '全部', value: ''}]
556
- // this.meter_classifys=this.$appdata.getParam('气表类型') ? [{
557
- // label: '全部',
558
- // value: ''
559
- // }, ...this.$appdata.getParam('气表类型')] : [{label: '全部', value: ''}]
560
- },
561
- select_search(text, type){
562
- //tag
563
- let pcdText=text?` and f_residential_area like '%${text}%'`:''
564
- if (type == 'pqId'){
565
- if(text.length==0){
566
- pcdText=text?` and 1=1`:''
567
- }else {
568
- pcdText =text?`and f_check_book_id in (${text})`:''
569
- }
570
-
571
- }
572
- new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data:{items:"*",tablename:"t_area",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}' ${pcdText} `}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
573
- //tag)
574
- this.areaList=[]
575
- this.areaList.push({label:"全部",value:""})
576
- res.data.forEach((result)=>{
577
- this.areaList.push({label:result.f_residential_area,value:result.f_residential_area})
578
- //console.log('this.areaList=', JSON.stringify(this.areaList))
579
- })
580
- //tag)
581
- })
582
-
583
-
584
- },
585
- //获取抄表册
586
- async Mreadibook(){
587
- this.cbc=[]
588
- this.sliceArea=[]
589
- let http = new HttpResetClass()
590
- let getMeterReadingBooks = await http.load('POST','api/af-safecheck/logic/getMeterBooksData',
591
- {data: {f_orgid: "('"+this.userlogin.orgid+"')"}},
592
- {resolveMsg: null, rejectMsg: '获取失败!!!'})
593
- this.cbc = [{label: '全部', value: ''}]
594
- //tag
595
- //tag)
596
- //tag
597
- this.meterbooks=[]
598
- this.meterbooks=getMeterReadingBooks.data.meterbooks
599
- this.meterbooks.forEach((res) => {
600
- this.cbc.push({label: res.f_book_name, value: res.id})
601
- /*if(res.f_book_slice_area){
602
- if(this.sliceArea.indexOf(res.f_book_slice_area)<0){
603
- this.sliceArea.push(res.f_book_slice_area)
604
- }
605
- }*/
606
- })
607
-
608
- },
609
- //片区获取
610
- async getSliceArea() {
611
- let http = new HttpResetClass()
612
- let getAllArea = await http.load('POST', '/rs/search', {
613
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
614
- userid: this.userlogin.id
615
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
616
- this.sliceArea = [{label: '全部', value: ''}]
617
- //tag
618
- //tag
619
- //tag
620
- getAllArea.data.forEach((res) => {
621
- if(res.parentid==this.userlogin.orgid){
622
- this.sliceArea.push({label:res.name,value:res.name})
623
- }
624
- })
625
- //tag
626
- },
627
- //片区改变-对应抄表册下拉重新赋值
628
- slice_areaChange(value) {
629
- //tag
630
- if(!value){
631
- this.cbc=[]
632
- this.meterbooks.forEach((res) => {
633
- this.cbc.push({label: res.f_book_name, value: res.id})
634
- })
635
- }else{
636
- this.cbc=[]
637
- this.meterbooks.forEach((res) => {
638
- if(res.f_book_slice_area==value){
639
- this.cbc.push({label: res.f_book_name, value: res.id})
640
- }
641
- })
642
- }
643
- },
644
- isChecked(v) {
645
- // 如果全选,不在的按选中算,否则,在的按选中算
646
- if (this.checkAll) {
647
- return this.checkes.indexOf(v) == -1
648
- } else {
649
- return this.checkes.indexOf(v) != -1
650
- }
651
- },
652
- setCheckAll() {
653
- this.checkAll=this.checkAll?false:true;
654
- // 全选改变后,清空选中数据
655
- this.checkes = []
656
- },
657
- setCheckes(id) {
658
- let index=this.checkes.indexOf(id)
659
- if(index<0){
660
- this.checkes.push(id)
661
- }else{
662
- this.checkes.splice(index,1)
663
- }
664
- },
665
- },
666
- watch: {
667
- 'areaen'(val) {
668
- //console.log('val=', JSON.stringify(val))
669
- this.select_search(val, 'pqId')
670
- }
671
- },
672
- events: {
673
- onFileUpload: function (file, res) {
674
- //tag)
675
- //tag)
676
- let data = {
677
- filepath: res.f_downloadpath
678
- }
679
- new HttpResetClass().load('POST','/api/af-safecheck/logic/safe_GetUserInfoFromExcel', {data: data}, {
680
- resolveMsg: '导入成功!已生成条件,若要去除导入条件请点击旁边 ‘清空用户编号’ 按钮。',
681
- rejectMsg: '导入失败'
682
- }).then((res) => {
683
- this.uploadCodeCondition=res.data.condition
684
- this.excelUserCondtion = false
685
- })
686
- },
687
-
688
- }
689
- }
690
- </script>
691
-
692
- <style scoped>
693
- .safe-planfont{
694
- font-family: MicrosoftYaHei;
695
- font-size: 15px;
696
- font-weight: normal;
697
- font-stretch: normal;
698
- letter-spacing: 2px;
699
- color: #333333;
700
- line-height: 25px;
701
- }
702
- .safe-bodyfont{
703
- font-family: MicrosoftYaHei;
704
- font-size: 14px;
705
- font-weight: normal;
706
- font-stretch: normal;
707
- letter-spacing: 0px;
708
- color: #999999;
709
- line-height: 30px;
710
- }
711
- .safe-leftplan{
712
- height:auto;
713
- border-bottom:1px solid #ececec;
714
- padding: 10px 5px
715
- }
716
- .leftplan-center{
717
- border-top:1px solid #ececec;
718
- border-bottom:1px solid #ececec;
719
- }
720
- .safe_p{
721
- white-space: nowrap;
722
- overflow: hidden;
723
- text-overflow: ellipsis;
724
- }
725
- .safe-div-p{
726
- color: #4792de;
727
- text-align: end;
728
- padding: 8px 15px;
729
- }
730
- </style>
731
- <style lang="less">
732
- .upuserinfo_sel ul{
733
- width: 150% !important;
734
- }
735
- </style>
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-2" >
8
+ <label class="font_normal_body">用户信息</label>
9
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
10
+ style="width: 60%" placeholder="客户编号" condition="ui.f_userinfo_code='{}'">
11
+ </div>
12
+ <div class="form-group col-sm-2" >
13
+ <label class="font_normal_body" title="参数名称:安检用户状态">用户状态:</label>
14
+ <v-select
15
+ class="select select_list"
16
+ :value.sync="model.f_user_state"
17
+ v-model="model.f_user_state"
18
+ :options='$parent.$parent.userStates'
19
+ placeholder='请选择'
20
+ condition="ui.f_user_state='{}'"
21
+ :search="false"
22
+ close-on-select
23
+ value-single
24
+ >
25
+ </v-select>
26
+ </div>
27
+ <div class="form-group col-sm-2" >
28
+ <label class="font_normal_body"title="参数名称:用气性质">用气性质:</label>
29
+ <v-select
30
+ class="select select_list"
31
+ :value.sync="model.f_gasproperties"
32
+ v-model="model.f_gasproperties"
33
+ :options='$parent.$parent.gasproperties'
34
+ placeholder='请选择'
35
+ condition="uf.f_gasproperties in {}"
36
+ :search="false"
37
+ :multiple="true"
38
+ close-on-select
39
+ >
40
+ </v-select>
41
+ </div>
42
+ <div class="form-group col-sm-2" >
43
+ <label class="font_normal_body">气表品牌:</label>
44
+ <v-select
45
+ class="select select_list"
46
+ :value.sync="model.metergasbrand"
47
+ v-model="model.metergasbrand"
48
+ :options='$parent.$parent.meter_gasbrand'
49
+ placeholder='气表品牌'
50
+ condition="uf.f_gasbrand_id in {}"
51
+ :search="false"
52
+ :multiple="true"
53
+ close-on-select
54
+ >
55
+ </v-select>
56
+ </div>
57
+ <div class="form-group col-sm-4" >
58
+ <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
59
+ <export-excel-safe :data="$parent.$parent.searchData"
60
+ :field="$parent.$parent.excelHeaders"
61
+ :choose-col="true"
62
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="FetchUserFileByOrgNoRuHuSXQ" template-name='安检筛选用户信息导出'></export-excel-safe>
63
+ <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
64
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.createAndSend()">下发</button>
65
+ </div>
66
+ <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
67
+ <div slot="modal-header" class="modal-header">
68
+ <h4 class="modal-title">
69
+ 用户查询条件
70
+ </h4>
71
+ </div>
72
+ <div slot="modal-body" class="modal-body">
73
+ <div class="row">
74
+ <div class="form-group col-sm-4" >
75
+ <label class="font_normal_body">楼&ensp;栋&ensp;号:</label>
76
+ <input type="text" class="input_search" v-model="model.f_building"
77
+ style="width: 60%" placeholder="请选择" condition="ua.f_building='{}'">
78
+ </div>
79
+ <div class="form-group col-sm-4" >
80
+ <label class="font_normal_body">单&ensp;元&ensp;号:</label>
81
+ <input type="text" class="input_search" v-model="model.f_unit"
82
+ style="width: 60%" placeholder="请选择" condition="ua.f_unit='{}'">
83
+ </div>
84
+ <div class="form-group col-sm-4" >
85
+ <label class="font_normal_body">派发情况:</label>
86
+ <v-select
87
+ class="select select_list"
88
+ :value.sync="model.yearCheck"
89
+ v-model="model.yearCheck"
90
+ :options='$parent.$parent.yearCheckList'
91
+ placeholder='请选择'
92
+ condition="{}"
93
+ :search="false"
94
+ close-on-select
95
+ value-single
96
+ >
97
+ </v-select>
98
+ </div>
99
+ <div class="form-group col-sm-4" >
100
+ <label class="font_normal_body">安检状态:</label>
101
+ <v-select
102
+ class="select select_list"
103
+ :multiple="true"
104
+ :value.sync="model.f_last_check_state"
105
+ v-model="model.f_last_check_state"
106
+ :options='$parent.$parent.entry_status'
107
+ placeholder='请选择'
108
+ :search="false"
109
+ >
110
+ </v-select>
111
+ </div>
112
+ <div class="form-group col-sm-4" >
113
+ <label class="font_normal_body">安检起始:</label>
114
+ <datepicker
115
+ placeholder='请选择'
116
+ style="width:60%;text-align: center"
117
+ :disabled-days-of-week="[]"
118
+ :format="'yyyy-MM-dd 00:00:00'"
119
+ :show-rest-button="reset"
120
+ :value.sync="model.f_check_start"
121
+ v-model="model.f_check_start">
122
+ </datepicker>
123
+ </div>
124
+ <div class="form-group col-sm-4" >
125
+ <label class="font_normal_body">安检截止:</label>
126
+ <datepicker
127
+ placeholder='请选择'
128
+ :disabled-days-of-week="[]"
129
+ style="width:60%;text-align: center"
130
+ :format="'yyyy-MM-dd 23:59:59'"
131
+ :show-rest-button="reset"
132
+ :value.sync="model.f_check_end"
133
+ v-model="model.f_check_end">
134
+ </datepicker>
135
+ </div>
136
+ <div class="form-group col-sm-4" >
137
+ <label class="font_normal_body">入户截止:</label>
138
+ <datepicker
139
+ placeholder='请选择'
140
+ :disabled-days-of-week="[]"
141
+ style="width:60%;text-align: center"
142
+ :format="'yyyy-MM-dd 23:59:59'"
143
+ :show-rest-button="reset"
144
+ :value.sync="model.f_ruhu_end"
145
+ v-model="model.f_ruhu_end">
146
+ </datepicker>
147
+ </div>
148
+
149
+ </div>
150
+ </div>
151
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
152
+ <button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
153
+ <button class="button_search" @click="$parent.$parent.cancel">取消</button>
154
+ </div>
155
+ </modal>
156
+ <modal :show.sync="$parent.$parent.excelUserCondtion" width="500px" v-ref:modal1 >
157
+ <div slot="modal-header" class="modal-header">
158
+ <h4 class="modal-title">
159
+ 导入用户编号
160
+ </h4>
161
+ </div>
162
+ <div slot="modal-body" class="modal-body">
163
+ <div class="row">
164
+ <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
165
+ action="rs/file/uploadFile" tagname="档案信息导入" v-ref:file :headers="headers" multiple></file-upload>
166
+ <img src="../../../assets/Excelformat.png" style="width: 100%"/>
167
+ </div>
168
+ </div>
169
+ <footer slot="modal-footer" class="modal-footer">
170
+ </footer>
171
+ </modal>
172
+ </div>
173
+ </div>
174
+ </criteria>
175
+ <data-grid :model="model" partial='list' class="table_sy">
176
+
177
+ <template partial='head'>
178
+ <tr>
179
+ <th><nobr><input type="checkbox" @dblclick.stop="" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</nobr></th>
180
+ <th><nobr>用户编号</nobr></th>
181
+ <th><nobr>用户名称</nobr></th>
182
+ <th><nobr>用户类型</nobr></th>
183
+ <th><nobr>小区名称</nobr></th>
184
+ <!-- <th><nobr>片区</nobr></th>-->
185
+ <!-- <th><nobr>抄表册</nobr></th>-->
186
+ <!-- <th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>-->
187
+ <th title="最后一次安检日期"><nobr>安检日期</nobr></th>
188
+ <th title="最后一次安检状态"><nobr>安检状态</nobr></th>
189
+ <th><nobr>详细地址</nobr></th>
190
+ </tr>
191
+ </template>
192
+ <template partial='body'>
193
+ <td style="text-align: center;white-space:nowrap;"><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.id)" @change="$parent.$parent.$parent.setCheckes(row.id)" /></td>
194
+ <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
195
+ <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
196
+ <td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
197
+ <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
198
+ <!-- <td style="text-align: center"><nobr>{{row.f_slice_area}}</nobr></td>-->
199
+ <!-- <td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>-->
200
+ <!-- <td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>-->
201
+ <td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
202
+ <td style="text-align: center"><nobr>{{row.f_last_check_state}}</nobr></td>
203
+ <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
204
+ </template>
205
+ </data-grid>
206
+ </criteria-paged>
207
+ <modal :show.sync="showCreatePlan" v-ref:modal1 :width="'50%'" :backdrop="false">
208
+ <div slot="modal-header" class="modal-header">
209
+ <h4 class="modal-title">
210
+ 新建计划
211
+ </h4>
212
+ </div>
213
+ <div slot="modal-body" class="modal-body">
214
+ <div class="row">
215
+ <div class="form-group col-sm-4" >
216
+ <label class="font_normal_body">计划名称:</label>
217
+ <input type="text" class="input_search" v-model="createPlan.f_plan_name"
218
+ style="width: 60%" placeholder="请选择" />
219
+ </div>
220
+ <div class="form-group col-sm-4" >
221
+ <label class="font_normal_body">计划年份:</label>
222
+ <v-select
223
+ class="select select_list"
224
+ :value.sync="createPlan.f_plan_year"
225
+ v-model="createPlan.f_plan_year"
226
+ :search="false"
227
+ :options='yearList'
228
+ close-on-select
229
+ value-single
230
+ >
231
+ </v-select>
232
+ </div>
233
+ <div class="form-group col-sm-4" >
234
+ <label class="font_normal_body">计划月份:</label>
235
+ <v-select
236
+ class="select select_list"
237
+ :value.sync="createPlan.f_plan_month"
238
+ v-model="createPlan.f_plan_month"
239
+ :search="false"
240
+ :options='monthList'
241
+ close-on-select
242
+ value-single>
243
+ </v-select>
244
+ </div>
245
+ <div class="form-group col-sm-4" >
246
+ <label class="font_normal_body">计划开始:</label>
247
+ <datepicker
248
+ placeholder='请选择'
249
+ style="width:60%"
250
+ :disabled-days-of-week="[]"
251
+ :format="'yyyy-MM-dd'"
252
+ :show-rest-button="reset"
253
+ :value.sync="createPlan.f_start_time"
254
+ v-model="createPlan.f_start_time">
255
+ </datepicker>
256
+ </div>
257
+ <div class="form-group col-sm-4" >
258
+ <label class="font_normal_body">计划结束:</label>
259
+ <datepicker
260
+ placeholder='请选择'
261
+ style="width:60%"
262
+ :disabled-days-of-week="[]"
263
+ :format="'yyyy-MM-dd'"
264
+ :show-rest-button="reset"
265
+ :value.sync="createPlan.f_end_time"
266
+ v-model="createPlan.f_end_time">
267
+ </datepicker>
268
+ </div>
269
+ </div>
270
+ </div>
271
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
272
+ <button class="button_search" style="margin-right: 15px" @click="addNewPlan()">创建计划</button>
273
+ <button class="button_search" @click="cancelCreatePlan">取消</button>
274
+ </div>
275
+ </modal>
276
+ </div>
277
+ </template>
278
+
279
+ <script>
280
+ import {HttpResetClass, PagedList} from "vue-client";
281
+ import * as Util from "../../../components/Util";
282
+ import Vue from "vue";
283
+ import {toStandardDateString} from "../../../components/Util";
284
+
285
+ export default {
286
+ title: '计划管理',
287
+ data() {
288
+ let model = new PagedList('/api/af-safecheck/sql/FetchUserFileByOrgNoRuHuSXQ', 20, {
289
+ "orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
290
+ "f_usertype": "''",
291
+ "month": "''",
292
+ "SafeCheckSX": 'this.SafeCheckSX',
293
+ "SafeCheckCQ": "''",
294
+ "startday":"''",
295
+ "endday":"''"})
296
+ model.SafeCheckSX = '1 = 1'
297
+ return {
298
+ searchData: {
299
+ condition: "1=1",
300
+ orderitem: "f_residential_area,f_building,f_unit,f_floor,f_room",
301
+ SafeCheckSX:""
302
+ },
303
+ excelHeaders: {
304
+ 'f_userinfo_code': '用户编号',
305
+ 'f_user_name': '用户姓名',
306
+ 'f_user_type': '用户类型',
307
+ 'f_residential_area': '小区名称',
308
+ 'f_last_check_date': '最后一次安检日期',
309
+ 'f_last_check_state': '最后一次安检状态',
310
+ 'f_address': '详细地址'
311
+ },
312
+ model: model,
313
+ createPlan:{
314
+ f_safecheck_type:"年度普检",
315
+ checker:"",
316
+ isShare:"否",
317
+ f_usertype:"",
318
+ f_issued:'是',
319
+ f_end_time:Util.toStandardDateString().replace(new Date().getFullYear().toString(),(new Date().getFullYear()+1).toString()),
320
+ f_start_time:Util.toStandardDateString(),
321
+ f_plan_month:(new Date().getMonth()+1).toString(),
322
+ f_plan_year:new Date().getFullYear().toString(),
323
+ f_plan_name:""
324
+ },
325
+ yearList:[{label:"2020",value:"2020"},{label:"2021",value:"2021"},{label:"2022",value:"2022"},{label:"2023",value:"2023"},{label:"2024",value:"2024"},{label:"2025",value:"2025"},{label:"2026",value:"2026"},{label:"2027",value:"2027"},{label:"2028",value:"2028"},{label:"2029",value:"2029"},{label:"2030",value:"2030"}],
326
+ monthList:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6"},{label:"7",value:"7"},{label:"8",value:"8"},{label:"9",value:"9"},{label:"10",value:"10"},{label:"11",value:"11"},{label:"12",value:"12"}],
327
+ showCreatePlan:false,
328
+ a:'1',
329
+ opt:[{label:"测试",value:"测试"}],
330
+ showCondtion:false,
331
+ userTypes:[],//用户类型
332
+ entry_status:[],
333
+ userStates:[],//用户状态
334
+ gasproperties:[],//用气性质
335
+ meter_gasbrand:[],//气表品牌
336
+ hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
337
+ yearCheckList:[{label:"全部",value:""},{label:"已在计划中",value:"ua.f_plan_id is not null"},{label:"未在计划中",value:"ua.f_plan_id is null"}],
338
+ checkStateList:[{label:"全部",value:""},{label:"两年内已检",value:"DATEDIFF(day,isnull(ui.f_last_check_date,'2010-01-01'),GETDATE())<=730"},{label:"两年内未检",value:"DATEDIFF(day,isnull(ui.f_last_check_date,'2010-01-01'),GETDATE())>730"},{label:"从未安检",value:"从未安检"}],
339
+ hasResidentialArea:[{label:"全部",value:""},{label:"有名称",value:"有名称"},{label:"无名称",value:"无名称"}],
340
+ sliceArea:[],
341
+ meterbooks:[],
342
+ checkBooks:[{label:'sss',value:'1-用户'},{label:'ssssss',value:'1-小区'}],
343
+ cbc:[],
344
+ areaList:[],
345
+ checkAll:false,
346
+ checkes:[],
347
+ areaen:[],//片区
348
+ excelUserCondtion:false,
349
+ uploadCodeCondition:''
350
+ }
351
+ },
352
+ props:["userlogin","bookrow","needprops","row","bookrowsdata","addcondata"],
353
+ ready(){
354
+ console.log("this.bookrow",this.bookrow)
355
+ console.log("this.row",this.row)
356
+ console.log("this.needprops",this.needprops)
357
+ this.createPlan.checker = this.needprops.checker.filter(item=>item.label == this.row.f_checker_name)[0].value
358
+ this.createPlan.f_checker_id=this.createPlan.checker.id
359
+ this.createPlan.f_checker=this.createPlan.checker.name
360
+ this.createPlan.f_usertype = this.row.f_user_type
361
+ if(this.row.f_user_type == '非民用'){
362
+ this.createPlan.f_plan_name = `${this.row.f_check_book_name}${this.createPlan.f_plan_year}年${this.createPlan.f_plan_month}月`
363
+ }else{
364
+ this.createPlan.f_plan_name = `${this.row.f_check_book_name}${this.createPlan.f_plan_year}年`
365
+ }
366
+ this.$refs.paged.$refs.criteria.model.f_user_state='正常'
367
+ this.meter_gasbrand=this.needprops.meter_gasbrand,
368
+ this.checkBooks=this.needprops.checkBooks,
369
+ this.entry_status=this.needprops.entry_status,
370
+ this.userTypes=this.needprops.userTypes,
371
+ this.userStates=this.needprops.userStates,
372
+ this.gasproperties=this.needprops.gasproperties,
373
+ this.areaList=this.needprops.areaList,
374
+ this.sliceArea=this.needprops.sliceArea,
375
+ this.cbc=this.needprops.cbc,
376
+ this.meterbooks=this.needprops.meterbooks
377
+ },
378
+ methods: {
379
+ async addNewPlan(){
380
+ this.createPlan.f_plan_type='预约计划'
381
+ this.createPlan.f_subcompany=this.userlogin.orgstr
382
+ this.createPlan.f_filialeid=this.userlogin.orgid
383
+ this.createPlan.f_create_operator=this.userlogin.name
384
+ this.createPlan.f_create_time=Util.toStandardTimeString()
385
+ this.createPlan.f_check_book_id = this.row.id
386
+ console.log(this.createPlan)
387
+ const addPlan = {
388
+ f_operator:this.userlogin.name,
389
+ f_filialeid:this.userlogin.orgid,
390
+ f_subscribe_date:'',
391
+ condition:this.model.condition,
392
+ SafeCheckSX: this.model.SafeCheckSX,
393
+ switchCheckAll:true,
394
+ checkAll:this.checkAll,
395
+ param:this.checkes,
396
+ columnName: "ua.id"
397
+ }
398
+ new HttpResetClass().load("POST",'/api/af-safecheck/logic/createAndAddPlan',{createPlan:this.createPlan,addPlan}).then(res=>{
399
+ if(res.data.code==200){
400
+ this.$showMessage("计划下发成功!"+(res.data.result.length>0?"有"+res.data.result.length+"条用户地址已经存在于其他计划中":""))
401
+ this.cancelCreatePlan()
402
+ }else{
403
+ this.$showMessage("计划下发失败!")
404
+ }
405
+ })
406
+ },
407
+ cancelCreatePlan(){
408
+ this.showCreatePlan = false
409
+ },
410
+ createAndSend(){
411
+ if(this.model.rows.length==0){
412
+ Vue.showMessage("未检测到列表中有用户!")
413
+ return
414
+ }
415
+ if(!this.checkAll && this.checkes.length==0){
416
+ Vue.showMessage("请先勾选你要添入到上方计划中的用户!")
417
+ return
418
+ }
419
+ this.showCreatePlan = true
420
+ },
421
+ cancel(){
422
+ this.showCondtion=false
423
+ this.excelUserCondtion=false
424
+ },
425
+ //清空用户编号
426
+ clearUserInfoId(){
427
+ this.uploadCodeCondition=''
428
+ Vue.showMessage("已清空用户编号")
429
+ },
430
+ showUploadCodeCondition(){
431
+ this.excelUserCondtion=true
432
+ },
433
+ selfSearch (args) {
434
+ if(args.model.f_last_check_state.length == 1 && args.model.f_last_check_state[0] == '入户' && args.model.f_ruhu_end) {
435
+ args.condition += `and DATEADD(YEAR, 2, CAST(ruhuend.f_offsite_time AS datetime)) < '${args.model.f_ruhu_end}'`
436
+ }
437
+ if(args.model.f_last_check_state.length > 0 && Util.isEmpty(args.model.f_ruhu_end) && (Util.isEmpty(args.model.f_check_start) || Util.isEmpty(args.model.f_check_end))) {
438
+ this.$showMessage("选择安检状态时,需要选择安检时间区间!")
439
+ return
440
+ }
441
+ if(args.model.f_last_check_state.length > 0 && Util.isEmpty(args.model.f_ruhu_end)) {
442
+ let zzcon = ''
443
+ this.model.SafeCheckSX = ` f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
444
+ for (let i = 0; i < args.model.f_last_check_state.length; i++) {
445
+ if (args.model.f_last_check_state[i] == '未检') {
446
+ zzcon += ' tcp.ruhu is null '
447
+ if (i != args.model.f_last_check_state.length - 1) {
448
+ zzcon += ' or'
449
+ }
450
+ } else if (args.model.f_last_check_state[i] == '入户') {
451
+ zzcon += `tcp.ruhu > 0`
452
+ if (i != args.model.f_last_check_state.length - 1) {
453
+ zzcon += ' or'
454
+ }
455
+ } else if (args.model.f_last_check_state[i] == '拒检') {
456
+ zzcon += `(tcp.jujian > 0 and tcp.ruhu = 0 and tcp.daofang >= 0) `
457
+ if (i != args.model.f_last_check_state.length - 1) {
458
+ zzcon += ' or'
459
+ }
460
+ } else if (args.model.f_last_check_state[i] == '到访不遇') {
461
+ zzcon += `(tcp.daofang > 0 and tcp.ruhu = 0 and tcp.jujian = 0) `
462
+ if (i != args.model.f_last_check_state.length - 1) {
463
+ zzcon += ' or'
464
+ }
465
+ }
466
+ }
467
+ args.condition += `and ( ${zzcon} )`
468
+ }else{
469
+ //无条件
470
+ this.model.SafeCheckSX = ` 1 != 1 `
471
+ }
472
+ this.searchData.SafeCheckSX = this.model.SafeCheckSX
473
+ let condition1=`(ui.f_last_check_date is null or ui.f_last_check_date ='')`
474
+ let arge = args.condition.replace('从未安检',condition1)
475
+ args.condition = arge
476
+ // 上一个界面条件拼接进来
477
+ if(this.addcondata){
478
+ args.condition += this.addcondata
479
+ }
480
+ var checkallcond = ''
481
+ // 判断小区或者单位是否是多选 全选
482
+ if(this.bookrowsdata.checkAll){
483
+ if(this.row.f_user_type === '民用'){
484
+ checkallcond = ` and area.f_check_book_id = ${this.row.id} `
485
+ if(this.bookrowsdata.checkallconres){
486
+ checkallcond += ` and area.f_residential_area = '${this.bookrowsdata.checkallconres} '`
487
+ }
488
+ if(this.bookrowsdata.checkallconuse){
489
+ checkallcond += ` and area.f_use_institution = '${this.bookrowsdata.checkallconuse}' `
490
+ }
491
+ }else{
492
+ checkallcond = ` and tc.f_check_book_id = ${this.row.id} `
493
+ }
494
+
495
+ if(this.bookrowsdata.bookrows.length > 0){
496
+ this.bookrowsdata.bookrows.forEach((item) => {
497
+ if(this.row.f_user_type === '民用'){
498
+ checkallcond += ` and area.id != ${item}`
499
+ }else{
500
+ checkallcond += ` and tc.id != ${item}`
501
+ }
502
+ })
503
+ }
504
+ }else{
505
+ var nums = '('
506
+ this.bookrowsdata.bookrows.forEach((item) => {
507
+ if(this.bookrowsdata.bookrows[this.bookrowsdata.bookrows.length -1] == item){
508
+ nums += item +')'
509
+ }else{
510
+ nums += item +','
511
+ }
512
+ })
513
+ if(this.row.f_user_type === '民用'){
514
+ checkallcond += ` and area.id in ${nums}`
515
+ }else{
516
+ checkallcond += ` and tc.id in ${nums}`
517
+ }
518
+ }
519
+ args.condition += checkallcond
520
+ args.condition += ` and ui.f_filialeid='${this.userlogin.orgid}'`
521
+ if (args.model.f_residential_area == "无名称"){
522
+ args.condition +=" and (ua.f_residential_area is null or ua.f_residential_area ='')"
523
+ }else if (args.model.f_residential_area == "有名称"){
524
+ args.condition +=" and (ua.f_residential_area is not null and ua.f_residential_area !='')"
525
+ }
526
+ if(this.uploadCodeCondition){
527
+ args.condition +=` and ${this.uploadCodeCondition}`
528
+ }
529
+ this.cancel()
530
+ this.checkes=[]
531
+ this.checkAll=false
532
+ this.searchData.condition = args.condition
533
+ this.model.search(args.condition, args.model, args.condValue)
534
+ },
535
+ showUserCondition(){
536
+ this.showCondtion=true
537
+ },
538
+ setConList(){
539
+ this.entry_status=this.$appdata.getParam('安检状态') ? [{
540
+ label: '全部',
541
+ value: ''
542
+ }, ...this.$appdata.getParam('安检状态')] : [{label: '全部', value: ''}]
543
+
544
+ this.userTypes=this.$appdata.getParam('用户类型') ? [{
545
+ label: '全部',
546
+ value: ''
547
+ }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
548
+ this.userStates=this.$appdata.getParam('安检用户状态') ? [{
549
+ label: '全部',
550
+ value: ''
551
+ }, ...this.$appdata.getParam('安检用户状态')] : [{label: '全部', value: ''}]
552
+ this.gasproperties=this.$appdata.getParam('用气性质') ? [{
553
+ label: '全部',
554
+ value: ''
555
+ }, ...this.$appdata.getParam('用气性质')] : [{label: '全部', value: ''}]
556
+ // this.meter_classifys=this.$appdata.getParam('气表类型') ? [{
557
+ // label: '全部',
558
+ // value: ''
559
+ // }, ...this.$appdata.getParam('气表类型')] : [{label: '全部', value: ''}]
560
+ },
561
+ select_search(text, type){
562
+ //tag
563
+ let pcdText=text?` and f_residential_area like '%${text}%'`:''
564
+ if (type == 'pqId'){
565
+ if(text.length==0){
566
+ pcdText=text?` and 1=1`:''
567
+ }else {
568
+ pcdText =text?`and f_check_book_id in (${text})`:''
569
+ }
570
+
571
+ }
572
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data:{items:"*",tablename:"t_area",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}' ${pcdText} `}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
573
+ //tag)
574
+ this.areaList=[]
575
+ this.areaList.push({label:"全部",value:""})
576
+ res.data.forEach((result)=>{
577
+ this.areaList.push({label:result.f_residential_area,value:result.f_residential_area})
578
+ //console.log('this.areaList=', JSON.stringify(this.areaList))
579
+ })
580
+ //tag)
581
+ })
582
+
583
+
584
+ },
585
+ //获取抄表册
586
+ async Mreadibook(){
587
+ this.cbc=[]
588
+ this.sliceArea=[]
589
+ let http = new HttpResetClass()
590
+ let getMeterReadingBooks = await http.load('POST','api/af-safecheck/logic/getMeterBooksData',
591
+ {data: {f_orgid: "('"+this.userlogin.orgid+"')"}},
592
+ {resolveMsg: null, rejectMsg: '获取失败!!!'})
593
+ this.cbc = [{label: '全部', value: ''}]
594
+ //tag
595
+ //tag)
596
+ //tag
597
+ this.meterbooks=[]
598
+ this.meterbooks=getMeterReadingBooks.data.meterbooks
599
+ this.meterbooks.forEach((res) => {
600
+ this.cbc.push({label: res.f_book_name, value: res.id})
601
+ /*if(res.f_book_slice_area){
602
+ if(this.sliceArea.indexOf(res.f_book_slice_area)<0){
603
+ this.sliceArea.push(res.f_book_slice_area)
604
+ }
605
+ }*/
606
+ })
607
+
608
+ },
609
+ //片区获取
610
+ async getSliceArea() {
611
+ let http = new HttpResetClass()
612
+ let getAllArea = await http.load('POST', '/rs/search', {
613
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
614
+ userid: this.userlogin.id
615
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
616
+ this.sliceArea = [{label: '全部', value: ''}]
617
+ //tag
618
+ //tag
619
+ //tag
620
+ getAllArea.data.forEach((res) => {
621
+ if(res.parentid==this.userlogin.orgid){
622
+ this.sliceArea.push({label:res.name,value:res.name})
623
+ }
624
+ })
625
+ //tag
626
+ },
627
+ //片区改变-对应抄表册下拉重新赋值
628
+ slice_areaChange(value) {
629
+ //tag
630
+ if(!value){
631
+ this.cbc=[]
632
+ this.meterbooks.forEach((res) => {
633
+ this.cbc.push({label: res.f_book_name, value: res.id})
634
+ })
635
+ }else{
636
+ this.cbc=[]
637
+ this.meterbooks.forEach((res) => {
638
+ if(res.f_book_slice_area==value){
639
+ this.cbc.push({label: res.f_book_name, value: res.id})
640
+ }
641
+ })
642
+ }
643
+ },
644
+ isChecked(v) {
645
+ // 如果全选,不在的按选中算,否则,在的按选中算
646
+ if (this.checkAll) {
647
+ return this.checkes.indexOf(v) == -1
648
+ } else {
649
+ return this.checkes.indexOf(v) != -1
650
+ }
651
+ },
652
+ setCheckAll() {
653
+ this.checkAll=this.checkAll?false:true;
654
+ // 全选改变后,清空选中数据
655
+ this.checkes = []
656
+ },
657
+ setCheckes(id) {
658
+ let index=this.checkes.indexOf(id)
659
+ if(index<0){
660
+ this.checkes.push(id)
661
+ }else{
662
+ this.checkes.splice(index,1)
663
+ }
664
+ },
665
+ },
666
+ watch: {
667
+ 'areaen'(val) {
668
+ //console.log('val=', JSON.stringify(val))
669
+ this.select_search(val, 'pqId')
670
+ }
671
+ },
672
+ events: {
673
+ onFileUpload: function (file, res) {
674
+ //tag)
675
+ //tag)
676
+ let data = {
677
+ filepath: res.f_downloadpath
678
+ }
679
+ new HttpResetClass().load('POST','/api/af-safecheck/logic/safe_GetUserInfoFromExcel', {data: data}, {
680
+ resolveMsg: '导入成功!已生成条件,若要去除导入条件请点击旁边 ‘清空用户编号’ 按钮。',
681
+ rejectMsg: '导入失败'
682
+ }).then((res) => {
683
+ this.uploadCodeCondition=res.data.condition
684
+ this.excelUserCondtion = false
685
+ })
686
+ },
687
+
688
+ }
689
+ }
690
+ </script>
691
+
692
+ <style scoped>
693
+ .safe-planfont{
694
+ font-family: MicrosoftYaHei;
695
+ font-size: 15px;
696
+ font-weight: normal;
697
+ font-stretch: normal;
698
+ letter-spacing: 2px;
699
+ color: #333333;
700
+ line-height: 25px;
701
+ }
702
+ .safe-bodyfont{
703
+ font-family: MicrosoftYaHei;
704
+ font-size: 14px;
705
+ font-weight: normal;
706
+ font-stretch: normal;
707
+ letter-spacing: 0px;
708
+ color: #999999;
709
+ line-height: 30px;
710
+ }
711
+ .safe-leftplan{
712
+ height:auto;
713
+ border-bottom:1px solid #ececec;
714
+ padding: 10px 5px
715
+ }
716
+ .leftplan-center{
717
+ border-top:1px solid #ececec;
718
+ border-bottom:1px solid #ececec;
719
+ }
720
+ .safe_p{
721
+ white-space: nowrap;
722
+ overflow: hidden;
723
+ text-overflow: ellipsis;
724
+ }
725
+ .safe-div-p{
726
+ color: #4792de;
727
+ text-align: end;
728
+ padding: 8px 15px;
729
+ }
730
+ </style>
731
+ <style lang="less">
732
+ .upuserinfo_sel ul{
733
+ width: 150% !important;
734
+ }
735
+ </style>