safecheck-client 4.0.0-10 → 4.0.0-101

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 (342) hide show
  1. package/package.json +2 -2
  2. package/src/App.vue +2 -2
  3. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  4. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  5. package/src/components/NewDefectList/DefectListNew.vue +11 -14
  6. package/src/components/NewDefectList/DefectPaperNew.vue +44 -44
  7. package/src/components/Util/ImgSelfSafePlus.vue +13 -3
  8. package/src/components/android/AddPlanItem.vue +447 -447
  9. package/src/components/android/AddPlanItemYy.vue +451 -451
  10. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  11. package/src/components/android/AndroidDefectDeal.vue +1 -1
  12. package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
  13. package/src/components/android/AndroidDefectDetails.vue +769 -0
  14. package/src/components/android/BlackUserOnLine.vue +2 -2
  15. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  16. package/src/components/android/Devices.vue +327 -327
  17. package/src/components/android/Devicesm.vue +327 -327
  18. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +1 -1
  19. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +5 -5
  20. package/src/components/android/NewCheckpaperAndroid.vue +28 -21
  21. package/src/components/android/PaperFeedback.vue +15 -13
  22. package/src/components/android/PaperFeedbackTemp.vue +2 -2
  23. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  24. package/src/components/android/PhoneRecordInfo.vue +113 -113
  25. package/src/components/android/PhoneSellInfo.vue +113 -113
  26. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  27. package/src/components/android/PhoneUpUserinfo.vue +20 -0
  28. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  29. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  30. package/src/components/android/RelieveRestrict.vue +1 -1
  31. package/src/components/android/Restriction.vue +1 -1
  32. package/src/components/android/SafePlanItem.vue +509 -509
  33. package/src/components/android/SafeRightTree.vue +217 -0
  34. package/src/components/android/SafecheckDevices.vue +47 -2
  35. package/src/components/android/SafecheckOrderV.vue +3 -3
  36. package/src/components/android/SealBind.vue +392 -0
  37. package/src/components/android/SealManage.vue +250 -0
  38. package/src/components/android/examples/SafeListExamples.vue +296 -296
  39. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  40. package/src/components/android/recheck/Recheck.vue +402 -402
  41. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  42. package/src/components/checkplan/checkmsg.vue +459 -459
  43. package/src/components/defect/DefectList.vue +507 -507
  44. package/src/components/defect/DefectListWeixiu.vue +484 -484
  45. package/src/components/filialCircle/CircleList.vue +139 -139
  46. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  47. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  48. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  49. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  50. package/src/components/inspections/inspectionFeedback.vue +2 -2
  51. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  52. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  53. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  54. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  55. package/src/components/paper/PaperList.vue +349 -332
  56. package/src/components/paper/RegionalList.vue +217 -0
  57. package/src/components/pc/AddToCheckBook.vue +100 -23
  58. package/src/components/pc/AnnouncementPC.vue +524 -524
  59. package/src/components/pc/CheckBook.vue +2 -0
  60. package/src/components/pc/CheckBookDetails.vue +6 -39
  61. package/src/components/pc/CheckBookEntry.vue +6 -7
  62. package/src/components/pc/CheckBookList.vue +61 -72
  63. package/src/components/pc/CheckBookSearchArea.vue +20 -24
  64. package/src/components/pc/CheckBookSearchUser.vue +139 -84
  65. package/src/components/pc/CheckBookSearchUserList.vue +1 -2
  66. package/src/components/pc/CheckBookUser.vue +276 -44
  67. package/src/components/pc/DefectDeal.vue +1 -1
  68. package/src/components/pc/DefectList.vue +742 -742
  69. package/src/components/pc/DeviceChange.vue +1068 -1068
  70. package/src/components/pc/NewCheckpaper.vue +16 -10
  71. package/src/components/pc/NewCheckpaperTemp.vue +5 -5
  72. package/src/components/pc/PaperDefectMain.vue +1 -0
  73. package/src/components/pc/RoleSelectorDep.vue +2 -1
  74. package/src/components/pc/SafeVisitInfo.vue +261 -261
  75. package/src/components/planmanage/PlanManage.vue +825 -821
  76. package/src/components/planmanage/checkPlanList.vue +28 -0
  77. package/src/components/planmanage/checkUserList.vue +346 -346
  78. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  79. package/src/components/querycheckpaper/CheckSearchUser.vue +68 -68
  80. package/src/components/report/CheckPlanAreaList.vue +266 -266
  81. package/src/components/report/HiddenSituation.vue +165 -165
  82. package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
  83. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  84. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  85. package/src/components/rongcheng/DefectList.vue +560 -560
  86. package/src/components/rongcheng/PaperFeedback.vue +2 -2
  87. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  88. package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
  89. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  90. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  91. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  92. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  93. package/src/components/shaoguan/DefectList.vue +473 -473
  94. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  95. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  96. package/src/components/userfile/SecurityAudit.vue +243 -243
  97. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  98. package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
  99. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  100. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  101. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  102. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  103. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  104. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  105. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  106. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
  107. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  108. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  109. package/src/filiale/bayan/android/Edit.vue +132 -132
  110. package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
  111. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  112. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  113. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  114. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  115. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  116. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  117. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  118. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  119. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  120. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  121. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  122. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  123. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  124. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  125. package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
  126. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  127. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  128. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  129. package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
  130. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  131. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  132. package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
  133. package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
  134. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  135. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  136. package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
  137. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  138. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  139. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  140. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  141. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  142. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  143. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  144. package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
  145. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  146. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  147. package/src/filiale/jinhong/android/CurrentCreate.vue +1240 -0
  148. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +438 -448
  149. package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +339 -0
  150. package/src/filiale/jinhong/android.js +3 -1
  151. package/src/filiale/jinhong/pc/CheckBookList.vue +388 -0
  152. package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +528 -0
  153. package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
  154. package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
  155. package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
  156. package/src/filiale/jinhong/pc/PaperList.vue +844 -0
  157. package/src/filiale/jinhong/pc/PlanManage.vue +925 -0
  158. package/src/filiale/jinhong/pc/SelectCheckPlan.vue +308 -0
  159. package/src/filiale/jinhong/pc/checkUserList.vue +745 -0
  160. package/src/filiale/jinhong/pc.js +13 -0
  161. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  162. package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
  163. package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
  164. package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
  165. package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
  166. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  167. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  168. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  169. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  170. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
  171. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  172. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  173. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  174. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  175. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  176. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  177. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  178. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  179. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  180. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  181. package/src/filiale/meihekou/android/AreaPlan.vue +577 -0
  182. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
  183. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
  184. package/src/filiale/meihekou/android/CurrentCreate.vue +1034 -0
  185. package/src/filiale/meihekou/android/MeterReading.vue +106 -0
  186. package/src/filiale/meihekou/android/PaperFeedback.vue +1538 -0
  187. package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -0
  188. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1306 -0
  189. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2421 -0
  190. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -0
  191. package/src/filiale/meihekou/android.js +21 -0
  192. package/src/filiale/meihekou/pc/NewCheckpaper.vue +1959 -0
  193. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -0
  194. package/src/filiale/meihekou/pc.js +13 -0
  195. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  196. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  197. package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
  198. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  199. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  200. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  201. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  202. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  203. package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
  204. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  205. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  206. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  207. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  208. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  209. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  210. package/src/filiale/qingjian/pc/NewCheckpaper.vue +5 -11
  211. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  212. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  213. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  214. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  215. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  216. package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
  217. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  218. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  219. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  220. package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
  221. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  222. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  223. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  224. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  225. package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
  226. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  227. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
  228. package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
  229. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  230. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  231. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  232. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  233. package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
  234. package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
  235. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  236. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  237. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  238. package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
  239. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  240. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  241. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  242. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  243. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  244. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  245. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  246. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  247. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  248. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  249. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  250. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  251. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  252. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
  253. package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
  254. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  255. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  256. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  257. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  258. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  259. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  260. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  261. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  262. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  263. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  264. package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
  265. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  266. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  267. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  268. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  269. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  270. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  271. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  272. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  273. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  274. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  275. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  276. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  277. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  278. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  279. package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
  280. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  281. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  282. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  283. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  284. package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
  285. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  286. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  287. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  288. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  289. package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
  290. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  291. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  292. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  293. package/src/filiale/xiangyuanzhongai/android/AndroidDefectDeal.vue +634 -0
  294. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -0
  295. package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
  296. package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
  297. package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
  298. package/src/filiale/xiangyuanzhongai/android.js +4 -0
  299. package/src/filiale/xiangyuanzhongai/pc/DefectDeal.vue +1007 -0
  300. package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +791 -0
  301. package/src/filiale/xiangyuanzhongai/pc.js +2 -0
  302. package/src/filiale/xinkang/android/AddPlanItem.vue +413 -0
  303. package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
  304. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  305. package/src/filiale/xinkang/android.js +1 -0
  306. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  307. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  308. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  309. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
  310. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  311. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  312. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  313. package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
  314. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  315. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  316. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
  317. package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
  318. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  319. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  320. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  321. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  322. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  323. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  324. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
  325. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +4 -2
  326. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  327. package/src/filiale/yunchengminsheng/android.js +15 -14
  328. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +13 -5
  329. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  330. package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
  331. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  332. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  333. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  334. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  335. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  336. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  337. package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
  338. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  339. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  340. package/src/main.js +1 -2
  341. package/src/safecheck-android.js +312 -308
  342. package/src/safecheck.js +912 -910
@@ -0,0 +1,1094 @@
1
+ <template>
2
+ <div class="flex">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row" v-show="!$parent.$parent.$parent.showItem">
7
+ <div :class="$parent.$parent.style">
8
+ <label class="font_normal_body">用户编号</label>
9
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_userinfo_code"
10
+ id="f_userinfo_code"
11
+ placeholder="用户编号" condition="f_userinfo_code like '%{}%'">
12
+ </div>
13
+ <div :class="$parent.$parent.style">
14
+ <label class="font_normal_body">用户姓名</label>
15
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_user_name" id="f_user_name"
16
+ placeholder="用户姓名" condition="f_user_name like '%{}%'">
17
+ </div>
18
+ <div :class="$parent.$parent.style">
19
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
20
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_residential_area"
21
+ id="f_residential_area"
22
+ placeholder="小区" condition="f_residential_area like '%{}%'">
23
+ </div>
24
+ <div :class="$parent.$parent.style">
25
+ <label class="font_normal_body">地&emsp;&emsp;址</label>
26
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_address" id="f_address"
27
+ placeholder="地址" condition="f_address like '%{}%'">
28
+ </div>
29
+ <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
30
+ <export-excel :data="$parent.$parent.searchData"
31
+ :field="$parent.$parent.excelHeaders"
32
+ :choose-col="true"
33
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="根据安检员查询用户档案"
34
+ template-name='用户安检情况'></export-excel>
35
+ <button type="button" class="button_search button_spacing" @click="search()">查询</button>
36
+ <div style="float: right" class="button_spacing"
37
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
38
+ @click="$parent.$parent.hiddenr()"></div>
39
+ <div style="float: right" class="button_spacing"
40
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
41
+ @click="$parent.$parent.hidden()">
42
+
43
+ </div>
44
+ </div>
45
+
46
+
47
+ </div>
48
+ <div class="row" v-show="!$parent.$parent.$parent.showItem">
49
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
50
+ <label class="font_normal_body">用户类型</label>
51
+ <v-select id="f_usertype"
52
+ placeholder='用户类型'
53
+ class="select select_list"
54
+ :value.sync="model.f_usertype"
55
+ :value-single="true"
56
+ :options='$parent.$parent.usertypes'
57
+ v-model="model.f_usertype"
58
+ condition="f_user_type = '{}'"
59
+ close-on-select clear-button></v-select>
60
+ </div>
61
+ <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
62
+
63
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
64
+ <label class="font_normal_body" style="color: red;">安检筛选</label>
65
+ <v-select
66
+ placeholder='安检筛选'
67
+ :value-single="true"
68
+ class="select select_list"
69
+ :value.sync="$parent.$parent.SafeCheckXZ"
70
+ :options='$parent.$parent.SafeCheckXZs'
71
+ v-model="$parent.$parent.SafeCheckXZ"
72
+ close-on-select clear-button></v-select>
73
+ </div>
74
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
75
+ <label class="font_normal_body">安检起始</label>
76
+ <datepicker
77
+ :value.sync="model.f_check_start"
78
+ placeholder='最后安检时间起始'
79
+ style="width: 60%"
80
+ :format="'yyyy-MM-dd 00:00:00'"
81
+ :show-rest-button="reset"
82
+ v-model="model.f_check_start">
83
+ </datepicker>
84
+ </div>
85
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
86
+ <label class="font_normal_body">安检结束</label>
87
+ <datepicker
88
+ :value.sync="model.f_check_end"
89
+ placeholder='最后安检时间结束'
90
+ style="width: 60%"
91
+ :format="'yyyy-MM-dd 23:59:59'"
92
+ :show-rest-button="reset"
93
+ v-model="model.f_check_end">
94
+ </datepicker>
95
+ </div>
96
+
97
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
98
+ <label class="font_normal_body">安检状态</label>
99
+ <v-select id="f_entry"
100
+ placeholder='安检状态'
101
+ :multiple="true"
102
+ class="select select_list"
103
+ :value.sync="$parent.$parent.checkStates"
104
+ :options='$parent.$parent.checkstatus'
105
+ ></v-select>
106
+ </div>
107
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
108
+ <label class="font_normal_body">隐患情况</label>
109
+ <v-select
110
+ placeholder='隐患情况'
111
+ class="select select_list"
112
+ :value-single="true"
113
+ v-model='model.f_check_result'
114
+ :value.sync="model.f_check_result"
115
+ :options='$parent.$parent.f_check_results'
116
+ condition="f_defect_content like '%{}%'"
117
+ close-on-select clear-button></v-select>
118
+ </div>
119
+ <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
120
+ </div>
121
+ <div class="row" v-show="!$parent.$parent.$parent.showItem">
122
+
123
+ <div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
124
+ <role-selector-safe
125
+ role-name="安检员"
126
+ role-lable="安&nbsp;检&nbsp;员&nbsp;"
127
+ @re-res="$parent.$parent.getRes"
128
+ :value.sync="model.f_checker_id"
129
+ v-model="model.f_checker_id"
130
+ :value-multiple="true"
131
+ condition=" f_checker_name in {}">
132
+ </role-selector-safe>
133
+ </div>
134
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
135
+ <label class="font_normal_body">片&emsp;&emsp;区</label>
136
+ <v-select class="select_list select"
137
+ placeholder='片区/管理站' style="width: 60%"
138
+ :value.sync="model.f_slice_area" v-model="model.f_slice_area"
139
+ :options='$parent.$parent.sliceArea'
140
+ filer-key="name"
141
+ close-on-select clear-button
142
+ condition="f_slice_area='{}'"
143
+ @change="$parent.$parent.getmeterbook(model.f_slice_area)"
144
+ :value-single="true">
145
+ </v-select>
146
+ </div>
147
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
148
+ <label class="font_normal_body">安检册</label>
149
+ <v-select class="select_list select"
150
+ placeholder='安检册' style="width: 60%"
151
+ :value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
152
+ :options='$parent.$parent.checkBooks'
153
+ filer-key="name"
154
+ close-on-select clear-button
155
+ condition="f_check_book_name like '%{}%'"
156
+ :value-single="true">
157
+ </v-select>
158
+ </div>
159
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
160
+ <label class="font_normal_body">省&ensp;市&ensp;区</label>
161
+ <v-select class="select_list select"
162
+ placeholder='请选择' style="width: 60%"
163
+ :value.sync="model.f_pcd" v-model="model.f_pcd"
164
+ :options='$parent.$parent.pcds'
165
+ filer-key="name"
166
+ close-on-select clear-button
167
+ condition="f_pcd='{}'"
168
+ :value-single="true">
169
+ </v-select>
170
+ </div>
171
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
172
+ <label class="font_normal_body">用户状态</label>
173
+ <v-select class="select_list select"
174
+ placeholder='用户状态' style="width: 60%"
175
+ :value.sync="model.f_user_state" v-model="model.f_user_state"
176
+ :options='$parent.$parent.userstates'
177
+ close-on-select clear-button
178
+ condition="f_user_state = '{}'"
179
+ :value-single="true">
180
+ </v-select>
181
+ </div>
182
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
183
+ <label class="font_normal_body">距上次安检天数</label>
184
+ <input type="number" class="input_search" v-model="model.f_check_date"
185
+ style="width: 60%" placeholder="距上次安检天数" >
186
+ </div>
187
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
188
+ <label class="font_normal_body">到访不遇次数</label>
189
+ <input type="number" class="input_search" v-model="model.f_check_version"
190
+ style="width: 60%" placeholder="到访不遇次数">
191
+ </div>
192
+ </div>
193
+
194
+ <div class="row" v-show="$parent.$parent.$parent.showItem">
195
+ <div :class="$parent.$parent.style">
196
+ <label class="font_normal_body">用户编号</label>
197
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_userinfo_code"
198
+
199
+ placeholder="用户编号" condition="f_userinfo_code like '%{}%'">
200
+ </div>
201
+ <div :class="$parent.$parent.style">
202
+ <label class="font_normal_body">用户姓名</label>
203
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_user_name"
204
+ placeholder="用户姓名" condition="f_user_name like '%{}%'">
205
+ </div>
206
+ <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
207
+ <export-excel :data="$parent.$parent.searchData"
208
+ :field="$parent.$parent.excelHeaders"
209
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="根据安检员查询用户档案"
210
+ template-name='用户安检情况'></export-excel>
211
+ <button type="button" class="button_search button_spacing" @click="search()">查询</button>
212
+ <div style="float: right" class="button_spacing"
213
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
214
+ @click="$parent.$parent.hiddenr()"></div>
215
+ <div style="float: right" class="button_spacing"
216
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
217
+ @click="$parent.$parent.hidden()">
218
+
219
+ </div>
220
+ </div>
221
+
222
+ </div>
223
+ <div class="row" v-show="$parent.$parent.$parent.showItem">
224
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
225
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
226
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_residential_area"
227
+
228
+ placeholder="小区" condition="f_residential_area like '%{}%'">
229
+ </div>
230
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
231
+ <label class="font_normal_body">地&emsp;&emsp;址</label>
232
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_address"
233
+
234
+ placeholder="地址" condition="f_address like '%{}%'">
235
+ </div>
236
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
237
+ <label class="font_normal_body">用户类型</label>
238
+ <v-select
239
+ placeholder='用户类型'
240
+ class="select select_list"
241
+
242
+ :value.sync="model.f_usertype"
243
+ :value-single="true"
244
+ :options='$parent.$parent.usertypes'
245
+ v-model="model.f_usertype"
246
+ condition="f_user_type = '{}'"
247
+ close-on-select clear-button></v-select>
248
+ </div>
249
+ <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
250
+
251
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
252
+ <label class="font_normal_body" style="color: red;">安检筛选</label>
253
+ <v-select
254
+ placeholder='安检筛选'
255
+ :value-single="true"
256
+
257
+ class="select select_list"
258
+ :value.sync="$parent.$parent.SafeCheckXZ"
259
+ :options='$parent.$parent.SafeCheckXZs'
260
+ v-model="$parent.$parent.SafeCheckXZ"
261
+ close-on-select clear-button></v-select>
262
+ </div>
263
+
264
+ </div>
265
+ <div class="row" v-show="$parent.$parent.$parent.showItem">
266
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
267
+ <label class="font_normal_body">安检起始</label>
268
+ <datepicker
269
+ :value.sync="model.f_check_start"
270
+ placeholder='最后安检时间起始'
271
+ :disabled-days-of-week="[]"
272
+ style="width: 60%"
273
+ :format="'yyyy-MM-dd'"
274
+ :show-rest-button="reset"
275
+ v-model="model.f_check_start">
276
+ </datepicker>
277
+ </div>
278
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
279
+ <label class="font_normal_body">安检结束</label>
280
+ <datepicker
281
+ :value.sync="model.f_check_end"
282
+ placeholder='最后安检时间结束'
283
+ style="width: 60%"
284
+ :disabled-days-of-week="[]"
285
+ :format="'yyyy-MM-dd'"
286
+ :show-rest-button="reset"
287
+ v-model="model.f_check_end">
288
+ </datepicker>
289
+ </div>
290
+
291
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
292
+ <label class="font_normal_body">安检状态</label>
293
+ <v-select
294
+ placeholder='安检状态'
295
+ class="select select_list"
296
+ :value.sync="$parent.$parent.checkStates"
297
+ :options='$parent.$parent.checkstatus'
298
+ :multiple="true"
299
+ close-on-select clear-button></v-select>
300
+ </div>
301
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
302
+ <label class="font_normal_body">隐患情况</label>
303
+ <v-select
304
+ placeholder='隐患情况'
305
+ class="select select_list"
306
+ :value-single="true"
307
+ v-model='model.f_check_result'
308
+ :value.sync="model.f_check_result"
309
+ :options='$parent.$parent.f_check_results'
310
+ condition="f_defect_content like '%{}%'"
311
+ close-on-select clear-button></v-select>
312
+ </div>
313
+ </div>
314
+ <!--<div class="row" v-show="$parent.$parent.$parent.showItem">
315
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
316
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
317
+ <right-tree @re-res="$parent.$parent.getRes" :initresid="$parent.$parent.$login.f.orgid">
318
+ </right-tree>
319
+ </div>
320
+
321
+ </div>-->
322
+ </div>
323
+ </criteria>
324
+ <data-grid :model="model" partial="list" class="list_area table_sy" v-ref:grid>
325
+ <template partial='head'>
326
+ <tr>
327
+ <th>
328
+ <nobr>用户编号</nobr>
329
+ </th>
330
+ <th>
331
+ <nobr>用户名称</nobr>
332
+ </th>
333
+ <th>
334
+ <nobr>已安检天数</nobr>
335
+ </th>
336
+ <th>
337
+ <nobr>用户电话</nobr>
338
+ </th>
339
+ <th>
340
+ <nobr>用户表号</nobr>
341
+ </th>
342
+ <!-- <th>-->
343
+ <!-- <nobr>气表品牌</nobr>-->
344
+ <!-- </th>-->
345
+ <th>
346
+ <nobr>用户类型</nobr>
347
+ </th>
348
+ <!-- <th>-->
349
+ <!-- <nobr>壁挂炉</nobr>-->
350
+ <!-- </th>-->
351
+ <!-- <th>-->
352
+ <!-- <nobr>灶具</nobr>-->
353
+ <!-- </th>-->
354
+ <th>
355
+ <nobr>小区名称</nobr>
356
+ </th>
357
+ <th style="padding: 0 40px">
358
+ <nobr>地址</nobr>
359
+ </th>
360
+ <th>
361
+ <nobr>安检员</nobr>
362
+ </th>
363
+ <!-- <th>-->
364
+ <!-- <nobr>安检员备注</nobr>-->
365
+ <!-- </th>-->
366
+ <th>
367
+ <nobr>安检日期</nobr>
368
+ </th>
369
+ <th>
370
+ <nobr>安检状态</nobr>
371
+ </th>
372
+ <th>
373
+ <nobr>安检结果</nobr>
374
+ </th>
375
+ <th>
376
+ <nobr>建档日期</nobr>
377
+ </th>
378
+ <th>
379
+ <nobr>通气日期</nobr>
380
+ </th>
381
+ <th v-show="$parent.$parent.$parent.showcode">
382
+ <nobr>二维码</nobr>
383
+ </th>
384
+ </tr>
385
+ </template>
386
+ <template partial='body'>
387
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_userinfo_code }}</td>
388
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_name }}</td>
389
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{$parent.$parent.$parent.dateDiff(row.f_last_check_date)}}</td>
390
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_phone }}</td>
391
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meternumber}}</td>
392
+ <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meter_brand}}</td>-->
393
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_user_type }}</td>
394
+ <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
395
+ <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
396
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
397
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_address }}</td>
398
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_checker_name }}</td>
399
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_last_check_date }}</td>
400
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_last_check_state }}</td>
401
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">
402
+ {{row.f_last_check_state!='入户' ? '': (row.f_last_check_result == '无隐患' ? '无问题' : row.f_last_check_result) }}
403
+ </td>
404
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_createfile_date }}</td>
405
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gas_date }}</td>
406
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center" v-show="$parent.$parent.$parent.showcode">
407
+ <button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.searchInfo(row.f_userinfo_code)' >点击</button>
408
+ </td>
409
+ </template>
410
+ </data-grid>
411
+ </criteria-paged>
412
+ <modal :show.sync="dialogVisible" style="text-align: center" destroyOnClose={true} v-ref:modal v-if="dialogVisible">
413
+ <div slot="modal-header" class="modal-header">
414
+ <h4 class="modal-title">
415
+ 二维码
416
+ </h4>
417
+ </div>
418
+ <div slot="modal-body" class="modal-body" >
419
+ <div id="dd" ></div>
420
+ </div>
421
+ <div slot="modal-footer" class="modal-footer">
422
+ <print-element class="btn btn-success width-80" id="dd" styleid='style1' top='40' left='60' width='100%' height='100%' v-ref:printelement>打印</print-element>
423
+ <button type="button" class="btn btn-success width-80" @click="dialogVisible = false">确认</button>
424
+ <button type="button" class="btn btn-success width-80" @click="dialogVisible = false" >取消</button>
425
+ </div>
426
+ </modal>
427
+ </div>
428
+
429
+ </template>
430
+
431
+ <script>
432
+ import {PagedList} from 'vue-client'
433
+ import {HttpResetClass} from 'vue-client'
434
+ import co from 'co'
435
+ import * as Util from '../../../components/Util'
436
+ import Vue from 'vue'
437
+
438
+ // let select = function * (self,userid) {
439
+ // let http = new HttpResetClass()
440
+ // let getGasman = yield http.load('POST','/rs/search', {
441
+ // source: 'this.getChildByName($安检员$).getUsers()',
442
+ // userid: userid
443
+ // }, {resolveMsg: null, rejectMsg: null})
444
+ // //tag
445
+ // getGasman.data.forEach((checker)=>{
446
+ // self.checkersid.push({label:checker.name,value:checker.id})
447
+ // })
448
+ // self.checkersid.push({label:'全部',value:''})
449
+ // }
450
+
451
+
452
+ export default {
453
+ title: '用户安检情况',
454
+ data() {
455
+ let options = []
456
+ let year = (new Date()).getFullYear()
457
+ for (let i = year; i <= year + 3; i++)
458
+ options.push({label: i + '', value: i + ''})
459
+ let moptions = []
460
+ for (let i = 1; i <= 12; i++)
461
+ moptions.push({label: i + '', value: i + ''})
462
+
463
+ return {
464
+ dialogVisible: false,
465
+ searchData: {
466
+ condition: '1=1',
467
+ orderitem: "f_last_check_date",
468
+ timetype: "dd",
469
+ f_defect_content: "CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '正常' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
470
+ },
471
+ excelHeaders: {
472
+ //用户编号 用户名称 用户电话 安检次数 用户类型 小区名称 地址 安检日期 安检状态 安检结果
473
+
474
+ 'f_userinfo_code': '用户编号',
475
+ 'f_user_name': '用户名称',
476
+ 'f_user_phone': '用户电话',
477
+ 'f_meternumber': '用户表号',
478
+ 'f_user_type': '用户类型',
479
+ 'f_checker_name': '安检员',
480
+ 'f_residential_area': '小区名称',
481
+ 'f_address': '地址',
482
+ 'f_last_check_date': '安检日期',
483
+ 'f_last_check_state': '安检状态',
484
+ 'f_last_check_result': '安检结果',
485
+ 'f_createfile_date': '建档日期',
486
+ 'f_gas_date': '通气日期'
487
+ },
488
+ model: new PagedList('api/af-safecheck/sql/根据安检员查询用户档案', 20, {
489
+ orderitem: "'f_last_check_date'",
490
+ timetype: "'dd'",
491
+ f_defect_content: 'this.f_defect_content'
492
+ }),
493
+ f_defect_content:"CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END",
494
+ orgstrs: [{label: '全部', value: ''}],
495
+ checkersid: [],
496
+ checkStates:[],
497
+ SafeCheckXZ: '',
498
+ civil: '', //民用安检周期
499
+ civilian: '', //非民用安检周期
500
+ SafeCheckXZs: [{label: '全部', value: ''}, {label: '未安检', value: '未安检'}, {label: '已安检', value: '已安检'}], // 安检筛选选项
501
+ SafeCheckSXs: [{label: '是', value: '是'}, {label: '否', value: '否'}, {label: '全部', value: ''}],
502
+ // user_states:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')],
503
+ IsShares: [{label: '是', value: '是'}, {label: '否', value: '否'}],
504
+ IsShare: '否',
505
+ checker: {},
506
+ NoBuys: [{label: '是', value: '是'}, {label: '否', value: '否'}],
507
+ criteriaShow: false,
508
+ checkers: [],
509
+ showcode:false,
510
+ chosenOrg: {id: 0},
511
+ showModal: false,
512
+ checkedAll: false,
513
+ checkrows: [],
514
+ adjustables: [],
515
+ f_plan_year: year + '',
516
+ f_plan_month: moptions[new Date().getMonth()].value,
517
+ f_effective_start_time: '', //计划有效起始时间
518
+ f_effective_end_time: '', //计划有效结束时间
519
+ checkboxModel: {},
520
+ c_year_list: options,
521
+ c_month_list: moptions,
522
+ // areas: this.areas(),
523
+ checkstatus: this.checkstatus(),
524
+ usertypes: this.usertypes(),
525
+ userstates: this.userstates(),
526
+ sqlname: '',
527
+ f_check_results: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '有隐患', value: '有隐患'}],
528
+ creatPlanWay: '',
529
+ sliceArea: [],
530
+ cbcs:[],
531
+ cbc:[],
532
+ pcds:[],
533
+ checkBooks:[]
534
+ }
535
+ },
536
+ props: {
537
+ style: {
538
+ type: String,
539
+ default: 'col-sm-2 form-group'
540
+ },
541
+ style2: {
542
+ type: String,
543
+ default: 'col-sm-4 form-group'
544
+ },
545
+ checkplan: { // 传入一条安检计划信息
546
+ type: Object
547
+ },
548
+ additemshow: {
549
+ type: Boolean,
550
+ default: false
551
+ }
552
+ },
553
+ ready() {
554
+ // 获取分公司信息
555
+ this.model.f_defect_content=this.f_defect_content
556
+ this.showcode=this.$appdata.getSingleValue('用户安检情况二维码')
557
+ //this.getfengongsi()
558
+ this.model.chosenOrg = {id: 0}
559
+ this.model.f_filialeids = this.$login.f.f_orgids
560
+ this.model.f_filiale = this.$login.f.f_fengongsi
561
+ this.model.f_OrgStr = this.$login.f.orgpathstr
562
+ this.Mreadibook(`('${this.$login.f.orgid}')`)
563
+ this.getAllMeterBook(`('${this.$login.f.orgid}')`)
564
+ document.addEventListener('keydown', this.handleEnter, true);
565
+ this.getCheckBook()
566
+ },
567
+ methods: {
568
+ handleEnter(e) {
569
+ if (e.key === 'Enter') {
570
+ this.$refs.paged.$refs.criteria.search()
571
+ }
572
+ },
573
+ getCheckBook(){
574
+ this.checkBooks=[]
575
+ new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
576
+ data: {
577
+ items: 'id,f_check_book_name,f_check_book_type',
578
+ tablename: 't_check_book',
579
+ condition: `f_orgid = '${this.$login.f.orgid}'`,
580
+ orderitem: 'id desc'
581
+ }
582
+ }, {resolveMsg: null, rejectMsg: null}).then(res => {
583
+ this.checkBooks.push({label: '全部', value: ''})
584
+ res.data.forEach(ress => {
585
+ this.checkBooks.push({
586
+ label: ress.f_check_book_name,
587
+ value: ress.f_check_book_name
588
+ })
589
+ })
590
+ })
591
+ },
592
+
593
+ dateDiff(date1Str) {
594
+ // 确保传入的date1Str是有效的字符串格式
595
+ if (typeof date1Str !== 'string' || !/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(date1Str)) {
596
+ throw new Error('Invalid date format. Expected format: yyyy-mm-dd hh:mm:ss');
597
+ }
598
+ // 将date1Str格式化为Date对象,并提取日期部分
599
+ const date1 = new Date(date1Str);
600
+ const year = date1.getFullYear();
601
+ const month = String(date1.getMonth() + 1).padStart(2, '0'); // 月份从0开始,所以需要加1
602
+ const day = String(date1.getDate()).padStart(2, '0');
603
+ const formattedDate1 = `${year}-${month}-${day}`;
604
+ // 获取当前日期,并同样格式化为yyyy-mm-dd
605
+ const date2 = new Date();
606
+ const currentYear = date2.getFullYear();
607
+ const currentMonth = String(date2.getMonth() + 1).padStart(2, '0');
608
+ const currentDay = String(date2.getDate()).padStart(2, '0');
609
+ const formattedDate2 = `${currentYear}-${currentMonth}-${currentDay}`;
610
+ // 将格式化后的日期字符串转换为Date对象,以便比较
611
+ const formattedDate1Obj = new Date(`${formattedDate1}T00:00:00`); // 添加时间部分以确保比较准确
612
+ const formattedDate2Obj = new Date(`${formattedDate2}T00:00:00`);
613
+ // 计算两个日期之间的差值(以毫秒为单位),然后转换为天数
614
+ const diffInMilliseconds = Math.abs(formattedDate2Obj - formattedDate1Obj);
615
+ const diffInDays = Math.ceil(diffInMilliseconds / (1000 * 60 * 60 * 24));
616
+ // 返回天数差
617
+ return diffInDays;
618
+ },
619
+ //查询二维码
620
+ searchInfo(val){
621
+ this.dialogVisible = true
622
+ //tag
623
+ new HttpResetClass().load('POST','api/af-safecheck/logic/QrcodeUtil', {
624
+ data: {
625
+ id:val
626
+ }
627
+ },{resolveMsg: null, rejectMsg: null}).then(res=>{
628
+ //tag
629
+ //tag
630
+ let imageer=new Image()
631
+ imageer.src="data:image/jpg;base64,"+res.data.result
632
+ document.getElementById("dd").appendChild(imageer);
633
+ //tag
634
+ })
635
+
636
+ },
637
+ //获取省市区列表
638
+ getPcd(val){
639
+ this.pcds = [{label:'全部',value:''}]
640
+ new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
641
+ {data:{items:"*",tablename:"t_pcd",orderitem:"id",condition:`f_orgid in ${val}`}},
642
+ {resolveMsg: null, rejectMsg: null}).then((pcdlist)=>{
643
+ pcdlist.data.forEach((result)=>{
644
+ this.pcds.push({label:result.f_pcd,value:result.f_pcd})
645
+ })
646
+ })
647
+ },
648
+ getmeterbook(val){
649
+
650
+ //tag
651
+ this.cbc=[]
652
+ this.cbc.push({
653
+ label:'全部',
654
+ value:''
655
+ })
656
+ if (val==''){
657
+
658
+ this.cbcs.forEach(res=>{
659
+ this.cbc.push({
660
+ label:res.f_book_name,
661
+ value:res.id
662
+ })
663
+ })
664
+ }else{
665
+ this.cbcs.forEach(res=>{
666
+ if (res.f_book_slice_area==val){
667
+ this.cbc.push({
668
+ label:res.f_book_name,
669
+ value:res.id
670
+ })
671
+ }
672
+ })
673
+ }
674
+ },
675
+ Mreadibook(val){
676
+ ////tag
677
+ ////tag
678
+ if (val){
679
+ new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
680
+ items: 'name',
681
+ tablename: 't_zone',
682
+ condition: `parentid in ${val}`,
683
+ orderitem: 'id'
684
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
685
+ this.sliceArea=[]
686
+ this.sliceArea.push({
687
+ label:'全部',
688
+ value:''
689
+ })
690
+ res.data.forEach(ress=>{
691
+ this.sliceArea.push({
692
+ label:ress.name,
693
+ value:ress.name
694
+ })
695
+ })
696
+
697
+ })
698
+ }
699
+ },
700
+ // 获取县域分公司内容
701
+ getfengongsi() {
702
+ let val = {
703
+ source: 'this.getParentByType($organization$).getSpecialResByType($organization$)',
704
+ userid: `${this.$login.f.id}`
705
+ }
706
+ let http = new HttpResetClass()
707
+ http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
708
+ res.data.forEach((item) => {
709
+ this.orgstrs.push({label: item.name, value: item.id})
710
+ })
711
+ //tag
712
+ })
713
+ },
714
+ // 县域分公司发生改变
715
+ // orgstrchange(val){
716
+ // if(val == undefined || val == ''){
717
+ // return
718
+ // }else {
719
+ // this.checkersid = []
720
+ // let gen = select(this,val)
721
+ // return co(gen)
722
+ // }
723
+ // },
724
+ getDefect(val) {
725
+ if (val) {
726
+ try {
727
+ var defect = JSON.parse(val)
728
+ return defect.result
729
+ } catch (e) {
730
+ //tag
731
+ return '正常'
732
+ }
733
+ }
734
+ return '正常'
735
+ },
736
+ checkerchange(val) {
737
+ this.checkboxModel.f_checker = val.name
738
+ this.checkboxModel.f_checker_id = val.id
739
+ },
740
+ search(args) {
741
+ if (this.SafeCheckXZ && (args.model.f_check_start == '' || args.model.f_check_end == '')) {
742
+ this.$showMessage('如果选择 已安检/未安检 选项,需要选择 安检起始时间!')
743
+ return
744
+ }
745
+ if ((args.model.f_check_start || args.model.f_check_end ) && !this.SafeCheckXZ) {
746
+ this.$showMessage('如果录入 安检起始时间,需要选择 安检筛选条件!')
747
+ return
748
+ }
749
+ /*if (this.SafeCheckXZ == '未安检') {
750
+ args.condition += " and ( f_last_check_date >= '" + args.model.f_check_start + "' or f_last_check_date <= '" + args.model.f_check_end + "' or f_last_check_date is null)"
751
+ } else {
752
+ if (args.model.f_check_start) {
753
+ args.condition += " and f_last_check_date >= '" + args.model.f_check_start + "'"
754
+ }
755
+ if (args.model.f_check_end) {
756
+ args.condition += " and f_last_check_date <= '" + args.model.f_check_end + "'"
757
+ }
758
+ }*/
759
+ args.condition += " and f_filialeid in " + (this.model.f_filialeids ? this.model.f_filialeids : `(${this.$login.f.orgid})`)
760
+ let con = ' f_filialeid in ' + (this.model.f_filialeids ? this.model.f_filialeids : `(${this.$login.f.orgid})`)
761
+ con += args.model.f_userinfo_code ? ` and f_userinfo_code like '%${args.model.f_userinfo_code}%'`:''
762
+ /*con += args.model.f_user_name ? ` and f_user_name like '%${args.model.f_user_name}%'` : ''
763
+ con += args.model.f_residential_area ? ` and f_residential_area like '%${args.model.f_residential_area}%'` : ''
764
+ con += args.model.f_address ? ` and f_address like '%${args.model.f_address}%'` : ''
765
+ con += args.model.f_usertype ? ` and f_check_type = '${args.model.f_usertype}'` : ''*/
766
+ if (this.SafeCheckXZ) {
767
+ con += ` and f_offsite_time >= '${args.model.f_check_start}' and f_offsite_time <= '${args.model.f_check_end}' `
768
+ if (this.SafeCheckXZ == '未安检'){
769
+ args.condition += ' and ruhuid is null'
770
+ }else{
771
+ args.condition += ' and ruhuid is not null'
772
+ }
773
+ }
774
+ let states = ` (`
775
+ if (this.checkStates.length > 0 ){
776
+ for (let i = 0; i < this.checkStates.length; i++) {
777
+ if (this.checkStates[i]){
778
+ states += `'${this.checkStates[i]}',`
779
+ }else {
780
+ states = ''
781
+ break
782
+ }
783
+ }
784
+ if (states){
785
+ states=states.substring(0,states.length-1)
786
+ states += `) `
787
+ args.condition += ` and f_last_check_state in ${states}`
788
+ }
789
+ }else {
790
+ states = ''
791
+ }
792
+ if(args.model.f_check_date){
793
+ const daysBefore = Number(args.model.f_check_date);
794
+ if ( daysBefore > 0) {
795
+ // 获取当前日期
796
+ const now = new Date();
797
+ // 计算三天前的日期
798
+ const threeDaysBefore = new Date(now.getTime() - (daysBefore * 24 * 60 * 60 * 1000));
799
+ // 如果需要格式化日期,可以使用Date对象的方法
800
+ var formattedDate = threeDaysBefore.toISOString().split('T')[0];
801
+ args.condition += ` and f_last_check_date<='${formattedDate} 23:59:59'`;
802
+ } else {
803
+ console.error('f_check_date不是一个有效的正整数');
804
+ }
805
+ }
806
+ if (args.model.f_check_version){
807
+ con+= ` and f_check_version = '${args.model.f_check_version}'`
808
+ }
809
+ con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
810
+ let condition = {
811
+ condition1: args.condition,
812
+ condition2: con
813
+ }
814
+ this.searchData.condition = condition
815
+ return this.model.search(condition, args.model)
816
+ },
817
+ checkstatus() {
818
+ return this.$appdata.getParam('安检状态') ? [{
819
+ label: '全部',
820
+ value: ''
821
+ }, ...this.$appdata.getParam('安检状态')] : [{label: '全部', value: ''}]
822
+ },
823
+ usertypes() {
824
+ return this.$appdata.getParam('用户类型') ? [{
825
+ label: '全部',
826
+ value: ''
827
+ }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
828
+ },
829
+ userstates() {
830
+ return this.$appdata.getParam('用户状态') ? [{
831
+ label: '全部',
832
+ value: ''
833
+ }, ...this.$appdata.getParam('用户状态')] : [{label: '全部', value: ''}]
834
+ },
835
+ hiddenr() {
836
+ this.$parent.showItem = !this.$parent.showItem
837
+ },
838
+ hidden() {
839
+ this.criteriaShow = !this.criteriaShow
840
+ },
841
+ confirm() {
842
+ if (!this.checkboxModel.f_plan_name) {
843
+ this.$showMessage('请填写安检计划名称!')
844
+ return
845
+ }
846
+ // if(this.f_effective_start_time == ''){
847
+ // this.$showMessage('请选择有效起始日期!')
848
+ // return
849
+ // }
850
+ // if(this.f_effective_end_time == ''){
851
+ // this.$showMessage('请选择有效结束日期!')
852
+ // return
853
+ // }
854
+ if (this.IsShare == '否') {
855
+ if (!this.checkboxModel.f_checker_id) {
856
+ this.$showMessage('请选择安检员!')
857
+ return
858
+ }
859
+ }
860
+ let gen = saveGen(this)
861
+ return co(gen)
862
+ },
863
+ changeStates() {
864
+ if (this.checkedAll) {//实现反选/
865
+ this.checkrows = [];
866
+ for (let i = 0; i < c.rows.length; i++) {
867
+ this.$set('$refs.paged.model.rows[' + i + '].checked', false)
868
+ }
869
+ } else {//实现全选
870
+ for (let i = 0; i < this.$refs.paged.model.rows.length; i++) {
871
+ this.$set('$refs.paged.model.rows[' + i + '].checked', true)
872
+ }
873
+ let _this = this
874
+ let condition = this.$refs.paged.$refs.criteria.condition
875
+ let url = this.model.url
876
+ this.$resetpost(`${url}?pageSize=9999999`, {
877
+ data: {
878
+ condition: condition,
879
+ groupitem: '',
880
+ orderitem: 'f_residential_area',
881
+ f_usertype: this.model.f_usertype,
882
+ f_filialeids: this.model.f_filialeids,
883
+ month: this.model.month,
884
+ safeCycle: this.model.safeCycle,
885
+ f_checktime_start: this.model.f_checktime_start,
886
+ f_checktime_end: this.model.f_checktime_end,
887
+ SafeCheckSX: this.model.SafeCheckSX,
888
+ f_last_check_state: this.model.f_last_check_state
889
+ },
890
+ }, {resolveMsg: null, rejectMsg: null}, -1).then(
891
+ (respanse) => {
892
+ if (respanse.data.length >= 5000) {
893
+ this.$showMessage("数据量太大,请重新选择")
894
+ } else {
895
+ _this.checkrows = []
896
+ for (let j = 0; j < respanse.data.length; j++) {
897
+ _this.checkrows.push(respanse.data[j])
898
+ }
899
+ //tag;
900
+ }
901
+ })
902
+ }
903
+ },
904
+ addChecked(item) {
905
+ //tag;
906
+ if (!item.checked) {
907
+ this.checkrows.push(item);
908
+ //tag;
909
+ } else {
910
+ for (let i = 0; i < this.checkrows.length; i++) {
911
+ if (item.f_userinfo_id == this.checkrows[i].f_userinfo_id) {
912
+ this.checkrows.splice(i, 1)
913
+ }
914
+ }
915
+ }
916
+ },
917
+ ToshowModal() {
918
+ this.creatPlanWay = 'single'
919
+ if (this.checkrows.length > 0) {
920
+ this.showModal = true
921
+ } else {
922
+ this.$showMessage("请选择需要安检的用户!")
923
+ }
924
+ },
925
+ FiltrationPlan() {
926
+ if (this.model.rows.length == 0) {
927
+ this.$showMessage("暂无可生成的计划!")
928
+ return
929
+ }
930
+ this.creatPlanWay = 'filtration'
931
+ this.showModal = true
932
+ },
933
+ AllPlan() {
934
+ if (this.model.rows.length == 0) {
935
+ this.$showMessage("暂无可生成的计划!")
936
+ return
937
+ }
938
+ this.creatPlanWay = 'all'
939
+ this.showModal = true
940
+ },
941
+ cancel() {
942
+ this.showModal = false
943
+ },
944
+ /*areas() {
945
+ let rs = []
946
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
947
+ let temp = {
948
+ label: this.$login.f.f_allArea[i].label,
949
+ value: this.$login.f.f_allArea[i].label
950
+ }
951
+ rs.push(temp)
952
+ }
953
+ return [{label: '全部', value: ''}, ...rs]
954
+ },*/
955
+ initAdjustables() {
956
+ //tag
957
+ let arr = []
958
+ let filter = this.$login.f.f_orgids
959
+ this.$GetSaleParam.getAdjustable(filter).forEach((item) => {
960
+ let temp = {}
961
+ temp.label = `[${item.value.f_adjustable_id}]-${item.label}`
962
+ temp.value = `${item.value.id}`
963
+ arr.push(temp)
964
+ })
965
+ this.adjustables = [{label: '全部', value: ''}, ...arr]
966
+ },
967
+ getAllMeterBook(val){
968
+ ////tag
969
+ ////tag
970
+ this.cbcs=[]
971
+ if (val){
972
+ new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
973
+ items: 'f_book_name,f_book_slice_area,id',
974
+ tablename: 't_meter_book',
975
+ condition: `f_filiale_id in ${val}`,
976
+ orderitem: 'id'
977
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
978
+ res.data.forEach(ress=>{
979
+ this.cbcs.push({
980
+ id:ress.id,
981
+ f_book_name:ress.f_book_name,
982
+ f_book_slice_area:ress.f_book_slice_area
983
+ })
984
+ })
985
+ this.cbc=[]
986
+ this.cbc.push({
987
+ label:'全部',
988
+ value:''
989
+ })
990
+ this.cbcs.forEach(res=>{
991
+ this.cbc.push({
992
+ label:res.f_book_name,
993
+ value:res.id
994
+ })
995
+ })
996
+ })
997
+ }
998
+ },
999
+ getRes(obj) {
1000
+ this.model.f_filialeids = this.$login.convertToIn(obj.resids);
1001
+ this.Mreadibook(this.model.f_filialeids)
1002
+ this.getAllMeterBook(this.model.f_filialeids)
1003
+ this.getPcd(this.model.f_filialeids)
1004
+ }
1005
+ },
1006
+
1007
+ watch: {
1008
+ 'model.f_usertype'(val) {
1009
+ if (val == '民用') {
1010
+ this.model.safeCycle = this.civil
1011
+ } else if (val == '非民用') {
1012
+ this.model.safeCycle = this.civilian
1013
+ }
1014
+ },
1015
+ 'model.SafeCheckXZ'(val) {
1016
+ this.model.SafeCheckSC = ''
1017
+ if (val == '已安检') {
1018
+ this.model.SafeCheckCQ = ''
1019
+ this.model.SafeCheckSX = {
1020
+ f_check_end: '', // 安检时间 查询起始条件
1021
+ f_check_start: ''// 安检时间 查询终止条件
1022
+ }
1023
+ } else {
1024
+ // 当使用筛选条件时,清空不需要的条件选项
1025
+ this.model.f_issue_start = ''
1026
+ this.model.f_issue_end = ''
1027
+ this.$refs.paged.$refs.criteria.model.f_check_start = ''
1028
+ this.$refs.paged.$refs.criteria.model.f_check_end = ''
1029
+ this.$refs.paged.$refs.criteria.model.f_last_check_state = ''
1030
+ this.model.month = ''
1031
+ if (val == '应安检') {
1032
+ this.model.SafeCheckSC = '否'
1033
+
1034
+ this.model.f_issue_start = Util.toStartDateString()
1035
+ this.model.f_issue_end = Util.toStandardDateString()
1036
+ }
1037
+ // this.model.f_checktime_start = ''
1038
+ // this.model.f_checktime_end = ''
1039
+ }
1040
+ },
1041
+ 'model.SafeCheckSC'(val) {
1042
+ if (val == '') {
1043
+ this.model.f_issue_start = ''
1044
+ this.model.f_issue_end = ''
1045
+ }
1046
+ },
1047
+ // 'checker'(val){
1048
+ // //tag
1049
+ // if(val){
1050
+ // this.checkboxModel.f_checker = this.checker[0].name
1051
+ // this.checkboxModel.f_checker_id = this.checker[0].id
1052
+ // }
1053
+ // },
1054
+ 'model.rows'() {
1055
+ // if (!this.checkedAll) {//实现反选/
1056
+ // this.checkrows = [];
1057
+ for (let i = 0; i < this.$refs.paged.model.rows.length; i++) {
1058
+ var k = false
1059
+ for (let j = 0; j < this.checkrows.length; j++) {
1060
+ if (this.$refs.paged.model.rows[i].f_userinfo_id == this.checkrows[j].f_userinfo_id) {
1061
+ this.$set('$refs.paged.model.rows[' + i + '].checked', true)
1062
+ k = true
1063
+ continue
1064
+ }
1065
+ }
1066
+ if (!k) {
1067
+ this.$set('$refs.paged.model.rows[' + i + '].checked', false)
1068
+ }
1069
+ }
1070
+ // } else {//实现全选
1071
+ // // this.checkboxModel = {};
1072
+ // for (let i = 0; i < this.$refs.paged.model.rows.length; i++) {
1073
+ // this.$set('$refs.paged.model.rows[' + i + '].checked', true)
1074
+ // }
1075
+ // }
1076
+ }
1077
+ },
1078
+ computed: {
1079
+ selected() {
1080
+ return this.$refs.paged.$refs.grid.selected
1081
+ }
1082
+ }
1083
+ }
1084
+ </script>
1085
+ <style scoped>
1086
+ .newcolor {
1087
+ color: red;
1088
+ }
1089
+
1090
+ .table th {
1091
+ background-color: #f2f6fa;
1092
+ color: black;
1093
+ }
1094
+ </style>