safecheck-client 4.0.1-9 → 4.0.1-91

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 (305) hide show
  1. package/package.json +5 -5
  2. package/src/App.vue +31 -31
  3. package/src/assets//350/255/246/345/221/212 (3).png +0 -0
  4. package/src/assets//350/255/246/345/221/212 (4).png +0 -0
  5. package/src/assets//350/255/246/345/221/212 (5).png +0 -0
  6. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  7. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  8. package/src/components/NewDefectList/DefectListNew.vue +682 -663
  9. package/src/components/Util/RightTreeSafeDep.vue +362 -350
  10. package/src/components/Util/SafecheckUpload.vue +3 -4
  11. package/src/components/android/AddPlanItem.vue +447 -447
  12. package/src/components/android/AddPlanItemYy.vue +451 -451
  13. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  14. package/src/components/android/AndroidDefectDeal.vue +390 -323
  15. package/src/components/android/AndroidDefectDetails.vue +3 -3
  16. package/src/components/android/AppInstallationMaterial.vue +865 -0
  17. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  18. package/src/components/android/DailyworkloadQuery.vue +473 -472
  19. package/src/components/android/Devices.vue +327 -327
  20. package/src/components/android/Devicesm.vue +327 -327
  21. package/src/components/android/NewCheckpaperAndroid.vue +1343 -1369
  22. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  23. package/src/components/android/PhoneRecordInfo.vue +113 -113
  24. package/src/components/android/PhoneSellInfo.vue +113 -113
  25. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  26. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  27. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  28. package/src/components/android/SafePlanItem.vue +509 -509
  29. package/src/components/android/SafecheckOrderV.vue +6 -0
  30. package/src/components/android/SwitchValve.vue +1 -1
  31. package/src/components/android/UploadPage.vue +232 -228
  32. package/src/components/android/examples/SafeListExamples.vue +296 -296
  33. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  34. package/src/components/android/recheck/Recheck.vue +402 -402
  35. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  36. package/src/components/checkplan/CheckDetail.vue +1 -1
  37. package/src/components/checkplan/checkmsg.vue +459 -459
  38. package/src/components/defect/DefectList.vue +507 -507
  39. package/src/components/defect/DefectListWeixiu.vue +484 -484
  40. package/src/components/filialCircle/CircleList.vue +139 -139
  41. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  42. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  43. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  44. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  45. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  46. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  47. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  48. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  49. package/src/components/map/PersonTrack.vue +226 -226
  50. package/src/components/map/SecurityCheckCoordinates.vue +361 -0
  51. package/src/components/paper/PaperList.vue +5 -0
  52. package/src/components/paper/RegionalList.vue +220 -220
  53. package/src/components/pc/AnnouncementPC.vue +524 -524
  54. package/src/components/pc/DefectDeal.vue +7 -6
  55. package/src/components/pc/DefectList.vue +742 -742
  56. package/src/components/pc/DefectMaterialLook.vue +98 -0
  57. package/src/components/pc/DeviceChange.vue +1068 -1068
  58. package/src/components/pc/PaperDefectMain.vue +905 -880
  59. package/src/components/pc/RoleSelectorDep.vue +166 -159
  60. package/src/components/pc/SafeVisitInfo.vue +261 -261
  61. package/src/components/planmanage/PlanManage.vue +1 -0
  62. package/src/components/querycheckpaper/CheckPaperList.vue +6 -4
  63. package/src/components/querycheckpaper/CheckPaperSearchUser.vue +30 -4
  64. package/src/components/querycheckpaper/CheckSearchUser.vue +6 -1
  65. package/src/components/report/HiddenSituation.vue +165 -165
  66. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  67. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  68. package/src/components/rongcheng/DefectList.vue +560 -560
  69. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  70. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  71. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  72. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  73. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  74. package/src/components/shaoguan/DefectList.vue +473 -473
  75. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  76. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  77. package/src/components/userfile/SecurityAudit.vue +243 -243
  78. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  79. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  80. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  81. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  82. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  83. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  84. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  85. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  86. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  87. package/src/filiale/bayan/android/Edit.vue +132 -132
  88. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  89. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  90. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  91. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  92. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  93. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  94. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  95. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  96. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  97. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  98. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  99. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  100. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  101. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  102. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  103. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  104. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  105. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  106. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  107. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  108. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  109. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  110. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  111. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  112. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  113. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  114. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  115. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  116. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  117. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  118. package/src/filiale/jinhong/android/CurrentCreate.vue +66 -22
  119. package/src/filiale/jinhong/pc/CheckBookList.vue +393 -388
  120. package/src/filiale/jinhong/pc/DefectPaperNew.vue +10 -10
  121. package/src/filiale/jinhong/pc/PaperList.vue +853 -844
  122. package/src/filiale/jinhong/pc/PlanManage.vue +927 -925
  123. package/src/filiale/jinhong/pc/checkPlanList.vue +420 -418
  124. package/src/filiale/jinhong/pc/checkUserList.vue +30 -6
  125. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  126. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  127. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  128. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  129. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  130. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  131. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  132. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  133. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  134. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  135. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  136. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  137. package/src/filiale/libo/android/CurrentCreate.vue +1091 -0
  138. package/src/filiale/libo/android/PaperFeedback.vue +1579 -0
  139. package/src/filiale/libo/android/PhoneUpUserinfo.vue +1249 -0
  140. package/src/filiale/libo/android/SafecheckOrderV.vue +2302 -0
  141. package/src/filiale/libo/android.js +15 -0
  142. package/src/filiale/libo/pc/NewCheckpaper.vue +1987 -0
  143. package/src/filiale/libo/pc.js +12 -0
  144. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  145. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  146. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  147. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  148. package/src/filiale/meihekou/android/CurrentCreate.vue +1 -1
  149. package/src/filiale/meihekou/android/MeterReading.vue +110 -106
  150. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1306
  151. package/src/filiale/meihekou/android/SafecheckDevices.vue +5 -5
  152. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2446 -2431
  153. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  154. package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -2
  155. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -0
  156. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  157. package/src/filiale/meihekou/pc/PaperList.vue +1205 -0
  158. package/src/filiale/meihekou/pc.js +2 -0
  159. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  160. package/src/filiale/minsheng/android/SwitchValve.vue +1 -1
  161. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  162. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  163. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  164. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  165. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  166. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  167. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  168. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  169. package/src/filiale/qianneng/android/SwitchValve.vue +1 -1
  170. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  171. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  172. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  173. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  174. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  175. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +359 -0
  176. package/src/filiale/qingjian/pc/checkUserList.vue +35 -0
  177. package/src/filiale/qingjian/pc.js +15 -15
  178. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  179. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  180. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  181. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  182. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  183. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  184. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  185. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  186. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  187. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  188. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  189. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  190. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  191. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  192. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  193. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  194. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  195. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  196. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  197. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  198. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  199. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  200. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  201. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  202. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  203. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  204. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  205. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  206. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  207. package/src/filiale/taiyuan/android/AddPlanItem.vue +456 -0
  208. package/src/filiale/taiyuan/android/AreaPlan.vue +565 -0
  209. package/src/filiale/taiyuan/android/CurrentCreate.vue +1016 -0
  210. package/src/filiale/taiyuan/android/PhoneUpUserinfo.vue +1253 -0
  211. package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2347 -0
  212. package/src/filiale/taiyuan/android/SafecheckUserInfo.vue +784 -0
  213. package/src/filiale/taiyuan/android.js +15 -0
  214. package/src/filiale/taiyuan/pc/DefectDeal.vue +1034 -0
  215. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -0
  216. package/src/filiale/taiyuan/pc/PaperList.vue +795 -0
  217. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -0
  218. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -0
  219. package/src/filiale/taiyuan/pc.js +16 -0
  220. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  221. package/src/filiale/tianke/android/CurrentCreate.vue +3 -3
  222. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  223. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  224. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  225. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  226. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  227. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  228. package/src/filiale/tongchuan/android/SwitchValve.vue +1 -1
  229. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  230. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  231. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  232. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  233. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  234. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  235. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  236. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  237. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  238. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  239. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  240. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  241. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  242. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  243. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  244. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  245. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  246. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  247. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  248. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  249. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  250. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  251. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  252. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  253. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  254. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  255. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  256. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  257. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  258. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  259. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  260. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  261. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  262. package/src/filiale/xinkang/android/AddPlanItem.vue +244 -196
  263. package/src/filiale/xinkang/android/AndroidDefectDeal.vue +1 -0
  264. package/src/filiale/xinkang/android/SafecheckDevices.vue +52 -22
  265. package/src/filiale/xinkang/android/SafecheckOrderV.vue +24 -80
  266. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +1 -1
  267. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  268. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  269. package/src/filiale/xinkang/pc/NewCheckpaper.vue +57 -72
  270. package/src/filiale/xinkang/pc/PaperList.vue +25 -10
  271. package/src/filiale/xinliansihui/android/AndroidDefectDeal.vue +701 -0
  272. package/src/filiale/xinliansihui/android/AppInstallationMaterial.vue +866 -0
  273. package/src/filiale/xinliansihui/android.js +9 -0
  274. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  275. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  276. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  277. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  278. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  279. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  280. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  281. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  282. package/src/filiale/yuansheng/android/SwitchValve.vue +1 -1
  283. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  284. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  285. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  286. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  287. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  288. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  289. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  290. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  291. package/src/filiale/yunchengminsheng/android.js +15 -15
  292. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -0
  293. package/src/filiale/yunchengminsheng/pc.js +15 -14
  294. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  295. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  296. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  297. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  298. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  299. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  300. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  301. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  302. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  303. package/src/main.js +32 -33
  304. package/src/safecheck-android.js +4 -0
  305. package/src/safecheck.js +924 -918
@@ -1,418 +1,420 @@
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
- <label class="form-group font_normal_body"><b>计划信息</b></label>
8
- <div class="form-group col-sm-1" v-show="false">
9
- <!--隐藏条件-->
10
- <input type="text" class="input_search" v-model="model.f_plan_id"
11
- style="width: 95%" placeholder="计划id" condition=" i.f_plan_id='{}'">
12
- </div>
13
- <div class="form-group col-sm-1" >
14
- <input type="text" class="input_search" v-model="model.f_userinfo_code"
15
- style="width: 95%" placeholder="客户编号" condition="i.f_userinfo_code='{}'">
16
- </div>
17
- <div class="form-group col-sm-1" >
18
- <input type="text" class="input_search" v-model="model.f_user_name"
19
- style="width: 95%" placeholder="客户名称" condition="i.f_user_name like '%{}%'">
20
- </div>
21
- <div class="form-group col-sm-1" >
22
- <input type="text" class="input_search" v-model="model.f_address"
23
- style="width: 95%" placeholder="客户地址" condition="i.f_address like '%{}%'">
24
- </div>
25
- <div class="form-group col-sm-1" >
26
- <datepicker
27
- placeholder='创建起始'
28
- style="width:100%"
29
- :disabled-days-of-week="[]"
30
- :format="'yyyy-MM-dd'"
31
- :show-rest-button="reset"
32
- :value.sync="model.f_starcreate_time"
33
- v-model="model.f_starcreate_time"
34
- condition="i.f_create_time >='{} 00:00:00'">
35
- </datepicker>
36
- </div>
37
- <div class="form-group col-sm-1" style="margin-left: 6px;margin-right: 6px;">
38
- <datepicker
39
- placeholder='创建结束'
40
- :disabled-days-of-week="[]"
41
- style="width:100%"
42
- :format="'yyyy-MM-dd'"
43
- :show-rest-button="reset"
44
- :value.sync="model.f_endcreate_time"
45
- v-model="model.f_endcreate_time"
46
- condition="i.f_create_time <='{} 00:00:00'">
47
- </datepicker>
48
- </div>
49
- <!--<div class="form-group col-sm-1" >
50
- <v-select :width="'95%'"
51
- class="select select_list"
52
- :value.sync="$parent.$parent.f_state"
53
- v-model="$parent.$parent.f_state"
54
- :options='$parent.$parent.checkState'
55
- placeholder='安检状态'
56
- close-on-select
57
- value-single
58
- >
59
- </v-select>
60
- </div>-->
61
- <div class="form-group col-sm-3" style="width: 20%;">
62
- <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
63
- <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
64
- <!-- <button class="button_search" style="margin-right: 10px" @click="clear()">清除</button>-->
65
- <export-excel :data="$parent.$parent.exportParameter"
66
- :field="$parent.$parent.exportExcelField"
67
- style="margin-left: 0px"
68
- sqlurl="api/af-safecheck/logic/exportfile" sql-name="planItem"
69
- :template-name="'安检计划导出'" :choose-col="true">
70
- </export-excel>
71
- </div>
72
- <div class="form-group col-sm-2 safe_p" style="width: 30%;">
73
- <label class="font_normal_body" style="margin-right: 10px" :title="$parent.$parent.selectplan.f_plan_name">{{$parent.$parent.selectplan.f_plan_name?'当前选中 : '+$parent.$parent.selectplan.f_plan_name:''}}</label>
74
- <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
75
- <button class="button_search" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
76
- </div>
77
- <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
78
- <div slot="modal-header" class="modal-header">
79
- <h4 class="modal-title">
80
- 计划内用户查询条件
81
- </h4>
82
- </div>
83
- <div slot="modal-body" class="modal-body">
84
- <div class="row">
85
- <div class="form-group col-sm-4" >
86
- <label class="font_normal_body">是否已检:</label>
87
- <v-select
88
- class="select select_list"
89
- :value.sync="model.f_state"
90
- v-model="model.f_state"
91
- :options='$parent.$parent.checkState'
92
- @change="$parent.$parent.checkStateChange(model.f_state)"
93
- placeholder='请选择'
94
- condition="i.f_state='{}'"
95
- close-on-select
96
- value-single
97
- >
98
- </v-select>
99
- </div>
100
- <div class="form-group col-sm-4" >
101
- <label class="font_normal_body">安检结果:</label>
102
- <v-select
103
- class="select select_list"
104
- :value.sync="model.f_check_state"
105
- v-model="model.f_check_state"
106
- :options='$parent.$parent.checkResults'
107
- placeholder='请选择'
108
- condition="i.f_last_check_state='{}'"
109
- close-on-select
110
- value-single
111
- >
112
- </v-select>
113
- </div>
114
- <div class="form-group col-sm-4" >
115
- <label class="font_normal_body">安检起始:</label>
116
- <datepicker
117
- placeholder='请选择'
118
- style="width:60%"
119
- :disabled-days-of-week="[]"
120
- :format="'yyyy-MM-dd'"
121
- :show-rest-button="reset"
122
- :value.sync="model.f_startfile_time"
123
- v-model="model.f_startfile_time"
124
- condition="i.f_last_check_date >='{} 00:00:00'">
125
- </datepicker>
126
- </div>
127
- <div class="form-group col-sm-4" >
128
- <label class="font_normal_body">安检截止:</label>
129
- <datepicker
130
- placeholder='请选择'
131
- :disabled-days-of-week="[]"
132
- style="width:60%"
133
- :format="'yyyy-MM-dd'"
134
- :show-rest-button="reset"
135
- :value.sync="model.f_endfile_time"
136
- v-model="model.f_endfile_time"
137
- condition="i.f_last_check_date <='{} 00:00:00'">
138
- </datepicker>
139
- </div>
140
- <!-- <div class="form-group col-sm-4" >-->
141
- <!-- <label class="font_normal_body">创建起始:</label>-->
142
- <!-- <datepicker-->
143
- <!-- placeholder='请选择'-->
144
- <!-- style="width:60%"-->
145
- <!-- :disabled-days-of-week="[]"-->
146
- <!-- :format="'yyyy-MM-dd'"-->
147
- <!-- :show-rest-button="reset"-->
148
- <!-- :value.sync="model.f_starcreate_time"-->
149
- <!-- v-model="model.f_starcreate_time"-->
150
- <!-- condition="i.f_create_time >='{} 00:00:00'">-->
151
- <!-- </datepicker>-->
152
- <!-- </div>-->
153
- <!-- <div class="form-group col-sm-4" >-->
154
- <!-- <label class="font_normal_body">创建截止:</label>-->
155
- <!-- <datepicker-->
156
- <!-- placeholder='请选择'-->
157
- <!-- :disabled-days-of-week="[]"-->
158
- <!-- style="width:60%"-->
159
- <!-- :format="'yyyy-MM-dd'"-->
160
- <!-- :show-rest-button="reset"-->
161
- <!-- :value.sync="model.f_endcreate_time"-->
162
- <!-- v-model="model.f_endcreate_time"-->
163
- <!-- condition="i.f_create_time <='{} 00:00:00'">-->
164
- <!-- </datepicker>-->
165
- <!-- </div>-->
166
- </div>
167
- </div>
168
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
169
- <button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
170
- <button class="button_search" @click="$parent.$parent.cancel">取消</button>
171
- </div>
172
- </modal>
173
- </div>
174
- </div>
175
- </criteria>
176
- <data-grid :model="model" partial='list' class="table_sy">
177
-
178
- <template partial='head'>
179
- <tr>
180
- <th><nobr><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</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><nobr>安检状态</nobr></th>
187
- <th><nobr>地址</nobr></th>
188
- <th><nobr>创建时间</nobr></th>
189
- </tr>
190
- </template>
191
- <template partial='body'>
192
- <td style="text-align: center;white-space:nowrap;"><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.f_check_item_id)" @change="$parent.$parent.$parent.setCheckes(row.f_check_item_id)" /></td>
193
- <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
194
- <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
195
- <td style="text-align: center"><nobr>{{row.f_user_phone}}</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_state==='已检'?row.f_last_check_state:'未检'}}</nobr></td>
199
- <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
200
- <td style="text-align: center"><nobr>{{row.f_create_time}}</nobr></td>
201
- </template>
202
- </data-grid>
203
- </criteria-paged>
204
- <modal :show.sync="showPlanModal" v-ref:modalp>
205
- <div slot="modal-header" class="modal-header">
206
- <h4 class="modal-title">
207
- 计划内用户调整
208
- </h4>
209
- </div>
210
- <div slot="modal-body" class="modal-body">
211
- <plan-chooser :f.sync="userlogin.orgid" v-ref:chooser></plan-chooser>
212
- </div>
213
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
214
- <button class="button_search" style="margin-right: 15px" @click="dragtoOtherPlanIteem">确认</button>
215
- <button class="button_search" @click="cancel">取消</button>
216
- </div>
217
- </modal>
218
- </div>
219
- </template>
220
-
221
- <script>
222
- import {HttpResetClass, PagedList} from "vue-client";
223
- import Vue from "vue";
224
-
225
- export default {
226
- name: "PlanManage",
227
- title: '计划管理',
228
- data() {
229
- return {
230
- model:new PagedList('/api/af-safecheck/sql/planItem', 100, {}),
231
- isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
232
- a:'1',
233
- opt:[{label:"测试",value:"测试"}],
234
- showCondtion:false,
235
- checkAll:false,
236
- checkes:[],
237
- checkResults:[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}],
238
- checkState:[{label:'全部',value:''},{label:'未检',value:'未检'},{label:'已检',value:'已检'}],
239
- showPlanModal:false,
240
- exportExcelField: {
241
- 'f_userinfo_code':'用户编号',
242
- 'f_user_name':'用户名称',
243
- 'f_user_type':'用户类型',
244
- 'f_residential_area':'小区名称',
245
- 'f_state':'安检状态',
246
- 'f_address':'地址',
247
- 'f_user_phone':'用户电话',
248
- 'f_newfile_date':'建档日期'
249
- }
250
- }
251
- },
252
- props:["selectplan","userlogin"],
253
- ready(){
254
-
255
- },
256
- computed:{
257
- exportParameter(){
258
- // excel 导出条件拼接
259
- return {
260
- condition: this.$refs.paged.model.condition,
261
- groupName: this.groupNameForSql
262
- }
263
- }
264
- },
265
- methods:{
266
- clear(){
267
- this.model.f_plan_id = '';
268
- this.model.f_userinfo_code = '';
269
- this.model.f_user_name = '';
270
- this.model.f_address='';
271
- },
272
- //将某个计划下的一项拖到另一个计划
273
- async dragtoOtherPlanIteem() {
274
- //tag)
275
-
276
- if (!this.$refs.modalp.$children[0].selectedRow.id) {
277
- this.$showMessage("请选择需要调整到那个计划中!")
278
- return
279
- }
280
- this.$parent.isSend=true
281
- try{
282
- let res=await new HttpResetClass().load("POST", "/api/af-safecheck/logic/UpCheckPlanItem", {
283
- data:{
284
- f_operator:this.userlogin.name,
285
- f_plan_id:this.$refs.modalp.$children[0].selectedRow.id,
286
- condition:this.model.condition,
287
- switchCheckAll:true,
288
- checkAll:this.checkAll,
289
- param:this.checkes,
290
- columnName: "i.id"
291
- }
292
- }, {resolveMsg: null, rejectMsg: null})
293
- this.$parent.isSend=false
294
- if(res.data.code==200){
295
- this.$showMessage("更换安检计划成功!")
296
- this.$parent.refreshPlan()
297
- }else{
298
- this.$showMessage("更换安检计划失败!")
299
- }
300
- }catch (e) {
301
- this.$parent.isSend=false
302
- this.$showMessage("更换安检计划失败!")
303
- }
304
- },
305
- showplanModal(){
306
- if(!this.selectplan || !this.selectplan.id){
307
- this.$showMessage("请先打开一个计划再进行操作")
308
- return
309
- }
310
- if(!this.checkAll && this.checkes.length==0){
311
- this.$showMessage("请先在计划中勾选你要调整的用户!")
312
- return
313
- }
314
- this.showPlanModal=true
315
- },
316
- showUserCondition(){
317
- this.showCondtion=true
318
- },
319
- isChecked(v) {
320
- // 如果全选,不在的按选中算,否则,在的按选中算
321
- if (this.checkAll) {
322
- return this.checkes.indexOf(v) == -1
323
- } else {
324
- return this.checkes.indexOf(v) != -1
325
- }
326
- },
327
- setCheckAll() {
328
- this.checkAll=this.checkAll?false:true;
329
- // 全选改变后,清空选中数据
330
- this.checkes = []
331
- },
332
- setCheckes(id) {
333
- let index=this.checkes.indexOf(id)
334
- if(index<0){
335
- this.checkes.push(id)
336
- }else{
337
- this.checkes.splice(index,1)
338
- }
339
- },
340
- cancel(){
341
- this.showCondtion=false
342
- this.showPlanModal=false
343
- },
344
- selfSearch (args) {
345
- if(!this.selectplan.id){
346
- this.$showMessage("请先选择一个计划!")
347
- return
348
- }
349
- this.cancel()
350
- this.checkes=[]
351
- this.checkAll=false
352
- args.condition+= ` and i.f_state!= '作废'`
353
- this.model.search(args.condition, args.model, args.condValue)
354
- },
355
- checkStateChange(val){
356
- if(val=='未检'){
357
- this.checkResults=[]
358
- this.$refs.paged.$refs.criteria.model.f_check_state=''
359
- }else{
360
- this.checkResults=[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}]
361
- }
362
- },
363
- //修改计划项状态为作废
364
- async delPlanItem() {
365
- if(!this.selectplan || !this.selectplan.id){
366
- this.$showMessage("请先打开一个计划再进行操作")
367
- return
368
- }
369
- if(!this.checkAll && this.checkes.length==0){
370
- this.$showMessage("请先在计划中勾选你要作废的用户!")
371
- return
372
- }
373
- this.$showMessage("此操作无法撤回,确定要执行作废安检单操作吗?",['confirm','cancel']).then((button)=>{
374
- if(button=='confirm'){
375
- let resu=new HttpResetClass().load("POST", "/api/af-safecheck/logic/UpCheckPlanItemState", {
376
- data: {
377
- f_operator:this.userlogin.name,
378
- condition:this.model.condition,
379
- switchCheckAll:true,
380
- checkAll:this.checkAll,
381
- param:this.checkes,
382
- columnName: "i.id"
383
- }
384
- }, {resolveMsg: null, rejectMsg: null}).then((resu)=>{
385
-
386
- //tag)
387
- if(resu.data.code==200){
388
- this.$showMessage("移除安检单成功! 成功移除:"+resu.data.res.up+"条"+(resu.data.res.noup>0?"有"+resu.data.res.noup+"条已经不是 ‘未检’ 状态!":""))
389
- //this.checkes=[]
390
- //this.checkAll=false
391
- this.$parent.refresh()
392
- }else{
393
- this.$showMessage("取消安检计划失败!")
394
- }
395
- })
396
- }
397
- })
398
- }
399
- },
400
- watch:{
401
- 'selectplan.id' (){
402
- //tag
403
- if(this.selectplan.id){
404
- this.$refs.paged.$refs.criteria.model.f_plan_id=this.selectplan.id
405
- this.$refs.paged.$refs.criteria.search()
406
- }
407
- }
408
- }
409
- }
410
- </script>
411
-
412
- <style scoped>
413
- .safe_p{
414
- white-space: nowrap;
415
- overflow: hidden;
416
- text-overflow: ellipsis;
417
- }
418
- </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
+ <label class="form-group font_normal_body"><b>计划信息</b></label>
8
+ <div class="form-group col-sm-1" v-show="false">
9
+ <!--隐藏条件-->
10
+ <input type="text" class="input_search" v-model="model.f_plan_id"
11
+ style="width: 95%" placeholder="计划id" condition=" i.f_plan_id='{}'">
12
+ </div>
13
+ <div class="form-group col-sm-1" >
14
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
15
+ style="width: 95%" placeholder="客户编号" condition="i.f_userinfo_code='{}'">
16
+ </div>
17
+ <div class="form-group col-sm-1" >
18
+ <input type="text" class="input_search" v-model="model.f_user_name"
19
+ style="width: 95%" placeholder="客户名称" condition="i.f_user_name like '%{}%'">
20
+ </div>
21
+ <div class="form-group col-sm-1" >
22
+ <input type="text" class="input_search" v-model="model.f_address"
23
+ style="width: 95%" placeholder="客户地址" condition="i.f_address like '%{}%'">
24
+ </div>
25
+ <div class="form-group col-sm-1" >
26
+ <datepicker
27
+ placeholder='创建起始'
28
+ style="width:100%"
29
+ :disabled-days-of-week="[]"
30
+ :format="'yyyy-MM-dd'"
31
+ :show-rest-button="reset"
32
+ :value.sync="model.f_starcreate_time"
33
+ v-model="model.f_starcreate_time"
34
+ condition="i.f_create_time >='{} 00:00:00'">
35
+ </datepicker>
36
+ </div>
37
+ <div class="form-group col-sm-1" style="margin-left: 6px;margin-right: 6px;">
38
+ <datepicker
39
+ placeholder='创建结束'
40
+ :disabled-days-of-week="[]"
41
+ style="width:100%"
42
+ :format="'yyyy-MM-dd'"
43
+ :show-rest-button="reset"
44
+ :value.sync="model.f_endcreate_time"
45
+ v-model="model.f_endcreate_time"
46
+ condition="i.f_create_time <='{} 00:00:00'">
47
+ </datepicker>
48
+ </div>
49
+ <!--<div class="form-group col-sm-1" >
50
+ <v-select :width="'95%'"
51
+ class="select select_list"
52
+ :value.sync="$parent.$parent.f_state"
53
+ v-model="$parent.$parent.f_state"
54
+ :options='$parent.$parent.checkState'
55
+ placeholder='安检状态'
56
+ close-on-select
57
+ value-single
58
+ >
59
+ </v-select>
60
+ </div>-->
61
+ <div class="form-group col-sm-3" style="width: 20%;">
62
+ <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
63
+ <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
64
+ <!-- <button class="button_search" style="margin-right: 10px" @click="clear()">清除</button>-->
65
+ <export-excel :data="$parent.$parent.exportParameter"
66
+ :field="$parent.$parent.exportExcelField"
67
+ style="margin-left: 0px"
68
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="planItem"
69
+ :template-name="'安检计划导出'" :choose-col="true">
70
+ </export-excel>
71
+ </div>
72
+ <div class="form-group col-sm-2 safe_p" style="width: 30%;">
73
+ <label class="font_normal_body" style="margin-right: 10px" :title="$parent.$parent.selectplan.f_plan_name">{{$parent.$parent.selectplan.f_plan_name?'当前选中 : '+$parent.$parent.selectplan.f_plan_name:''}}</label>
74
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
75
+ <button class="button_search" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
76
+ </div>
77
+ <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
78
+ <div slot="modal-header" class="modal-header">
79
+ <h4 class="modal-title">
80
+ 计划内用户查询条件
81
+ </h4>
82
+ </div>
83
+ <div slot="modal-body" class="modal-body">
84
+ <div class="row">
85
+ <div class="form-group col-sm-4" >
86
+ <label class="font_normal_body">是否已检:</label>
87
+ <v-select
88
+ class="select select_list"
89
+ :value.sync="model.f_state"
90
+ v-model="model.f_state"
91
+ :options='$parent.$parent.checkState'
92
+ @change="$parent.$parent.checkStateChange(model.f_state)"
93
+ placeholder='请选择'
94
+ condition="i.f_state='{}'"
95
+ close-on-select
96
+ value-single
97
+ >
98
+ </v-select>
99
+ </div>
100
+ <div class="form-group col-sm-4" >
101
+ <label class="font_normal_body">安检结果:</label>
102
+ <v-select
103
+ class="select select_list"
104
+ :value.sync="model.f_check_state"
105
+ v-model="model.f_check_state"
106
+ :options='$parent.$parent.checkResults'
107
+ placeholder='请选择'
108
+ condition="i.f_last_check_state='{}'"
109
+ close-on-select
110
+ value-single
111
+ >
112
+ </v-select>
113
+ </div>
114
+ <div class="form-group col-sm-4" >
115
+ <label class="font_normal_body">安检起始:</label>
116
+ <datepicker
117
+ placeholder='请选择'
118
+ style="width:60%"
119
+ :disabled-days-of-week="[]"
120
+ :format="'yyyy-MM-dd'"
121
+ :show-rest-button="reset"
122
+ :value.sync="model.f_startfile_time"
123
+ v-model="model.f_startfile_time"
124
+ condition="i.f_last_check_date >='{} 00:00:00'">
125
+ </datepicker>
126
+ </div>
127
+ <div class="form-group col-sm-4" >
128
+ <label class="font_normal_body">安检截止:</label>
129
+ <datepicker
130
+ placeholder='请选择'
131
+ :disabled-days-of-week="[]"
132
+ style="width:60%"
133
+ :format="'yyyy-MM-dd'"
134
+ :show-rest-button="reset"
135
+ :value.sync="model.f_endfile_time"
136
+ v-model="model.f_endfile_time"
137
+ condition="i.f_last_check_date <='{} 00:00:00'">
138
+ </datepicker>
139
+ </div>
140
+ <!-- <div class="form-group col-sm-4" >-->
141
+ <!-- <label class="font_normal_body">创建起始:</label>-->
142
+ <!-- <datepicker-->
143
+ <!-- placeholder='请选择'-->
144
+ <!-- style="width:60%"-->
145
+ <!-- :disabled-days-of-week="[]"-->
146
+ <!-- :format="'yyyy-MM-dd'"-->
147
+ <!-- :show-rest-button="reset"-->
148
+ <!-- :value.sync="model.f_starcreate_time"-->
149
+ <!-- v-model="model.f_starcreate_time"-->
150
+ <!-- condition="i.f_create_time >='{} 00:00:00'">-->
151
+ <!-- </datepicker>-->
152
+ <!-- </div>-->
153
+ <!-- <div class="form-group col-sm-4" >-->
154
+ <!-- <label class="font_normal_body">创建截止:</label>-->
155
+ <!-- <datepicker-->
156
+ <!-- placeholder='请选择'-->
157
+ <!-- :disabled-days-of-week="[]"-->
158
+ <!-- style="width:60%"-->
159
+ <!-- :format="'yyyy-MM-dd'"-->
160
+ <!-- :show-rest-button="reset"-->
161
+ <!-- :value.sync="model.f_endcreate_time"-->
162
+ <!-- v-model="model.f_endcreate_time"-->
163
+ <!-- condition="i.f_create_time <='{} 00:00:00'">-->
164
+ <!-- </datepicker>-->
165
+ <!-- </div>-->
166
+ </div>
167
+ </div>
168
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
169
+ <button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
170
+ <button class="button_search" @click="$parent.$parent.cancel">取消</button>
171
+ </div>
172
+ </modal>
173
+ </div>
174
+ </div>
175
+ </criteria>
176
+ <data-grid :model="model" partial='list' class="table_sy">
177
+
178
+ <template partial='head'>
179
+ <tr>
180
+ <th><nobr><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</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><nobr>安检状态</nobr></th>
187
+ <th><nobr>地址</nobr></th>
188
+ <th><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.f_check_item_id)" @change="$parent.$parent.$parent.setCheckes(row.f_check_item_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_phone}}</nobr></td>
197
+ <td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
198
+ <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
199
+ <td style="text-align: center"><nobr>{{row.f_state==='已检'?row.f_last_check_state:'未检'}}</nobr></td>
200
+ <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
201
+ <td style="text-align: center"><nobr>{{row.f_last_check_date_old}}</nobr></td>
202
+ <td style="text-align: center"><nobr>{{row.f_create_time}}</nobr></td>
203
+ </template>
204
+ </data-grid>
205
+ </criteria-paged>
206
+ <modal :show.sync="showPlanModal" v-ref:modalp>
207
+ <div slot="modal-header" class="modal-header">
208
+ <h4 class="modal-title">
209
+ 计划内用户调整
210
+ </h4>
211
+ </div>
212
+ <div slot="modal-body" class="modal-body">
213
+ <plan-chooser :f.sync="userlogin.orgid" v-ref:chooser></plan-chooser>
214
+ </div>
215
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
216
+ <button class="button_search" style="margin-right: 15px" @click="dragtoOtherPlanIteem">确认</button>
217
+ <button class="button_search" @click="cancel">取消</button>
218
+ </div>
219
+ </modal>
220
+ </div>
221
+ </template>
222
+
223
+ <script>
224
+ import {HttpResetClass, PagedList} from "vue-client";
225
+ import Vue from "vue";
226
+
227
+ export default {
228
+ name: "PlanManage",
229
+ title: '计划管理',
230
+ data() {
231
+ return {
232
+ model:new PagedList('/api/af-safecheck/sql/planItem', 100, {}),
233
+ isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
234
+ a:'1',
235
+ opt:[{label:"测试",value:"测试"}],
236
+ showCondtion:false,
237
+ checkAll:false,
238
+ checkes:[],
239
+ checkResults:[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}],
240
+ checkState:[{label:'全部',value:''},{label:'未检',value:'未检'},{label:'已检',value:'已检'}],
241
+ showPlanModal:false,
242
+ exportExcelField: {
243
+ 'f_userinfo_code':'用户编号',
244
+ 'f_user_name':'用户名称',
245
+ 'f_user_type':'用户类型',
246
+ 'f_residential_area':'小区名称',
247
+ 'f_state':'安检状态',
248
+ 'f_address':'地址',
249
+ 'f_user_phone':'用户电话',
250
+ 'f_newfile_date':'建档日期'
251
+ }
252
+ }
253
+ },
254
+ props:["selectplan","userlogin"],
255
+ ready(){
256
+
257
+ },
258
+ computed:{
259
+ exportParameter(){
260
+ // excel 导出条件拼接
261
+ return {
262
+ condition: this.$refs.paged.model.condition,
263
+ groupName: this.groupNameForSql
264
+ }
265
+ }
266
+ },
267
+ methods:{
268
+ clear(){
269
+ this.model.f_plan_id = '';
270
+ this.model.f_userinfo_code = '';
271
+ this.model.f_user_name = '';
272
+ this.model.f_address='';
273
+ },
274
+ //将某个计划下的一项拖到另一个计划
275
+ async dragtoOtherPlanIteem() {
276
+ //tag)
277
+
278
+ if (!this.$refs.modalp.$children[0].selectedRow.id) {
279
+ this.$showMessage("请选择需要调整到那个计划中!")
280
+ return
281
+ }
282
+ this.$parent.isSend=true
283
+ try{
284
+ let res=await new HttpResetClass().load("POST", "/api/af-safecheck/logic/UpCheckPlanItem", {
285
+ data:{
286
+ f_operator:this.userlogin.name,
287
+ f_plan_id:this.$refs.modalp.$children[0].selectedRow.id,
288
+ condition:this.model.condition,
289
+ switchCheckAll:true,
290
+ checkAll:this.checkAll,
291
+ param:this.checkes,
292
+ columnName: "i.id"
293
+ }
294
+ }, {resolveMsg: null, rejectMsg: null})
295
+ this.$parent.isSend=false
296
+ if(res.data.code==200){
297
+ this.$showMessage("更换安检计划成功!")
298
+ this.$parent.refreshPlan()
299
+ }else{
300
+ this.$showMessage("更换安检计划失败!")
301
+ }
302
+ }catch (e) {
303
+ this.$parent.isSend=false
304
+ this.$showMessage("更换安检计划失败!")
305
+ }
306
+ },
307
+ showplanModal(){
308
+ if(!this.selectplan || !this.selectplan.id){
309
+ this.$showMessage("请先打开一个计划再进行操作")
310
+ return
311
+ }
312
+ if(!this.checkAll && this.checkes.length==0){
313
+ this.$showMessage("请先在计划中勾选你要调整的用户!")
314
+ return
315
+ }
316
+ this.showPlanModal=true
317
+ },
318
+ showUserCondition(){
319
+ this.showCondtion=true
320
+ },
321
+ isChecked(v) {
322
+ // 如果全选,不在的按选中算,否则,在的按选中算
323
+ if (this.checkAll) {
324
+ return this.checkes.indexOf(v) == -1
325
+ } else {
326
+ return this.checkes.indexOf(v) != -1
327
+ }
328
+ },
329
+ setCheckAll() {
330
+ this.checkAll=this.checkAll?false:true;
331
+ // 全选改变后,清空选中数据
332
+ this.checkes = []
333
+ },
334
+ setCheckes(id) {
335
+ let index=this.checkes.indexOf(id)
336
+ if(index<0){
337
+ this.checkes.push(id)
338
+ }else{
339
+ this.checkes.splice(index,1)
340
+ }
341
+ },
342
+ cancel(){
343
+ this.showCondtion=false
344
+ this.showPlanModal=false
345
+ },
346
+ selfSearch (args) {
347
+ if(!this.selectplan.id){
348
+ this.$showMessage("请先选择一个计划!")
349
+ return
350
+ }
351
+ this.cancel()
352
+ this.checkes=[]
353
+ this.checkAll=false
354
+ args.condition+= ` and i.f_state!= '作废'`
355
+ this.model.search(args.condition, args.model, args.condValue)
356
+ },
357
+ checkStateChange(val){
358
+ if(val=='未检'){
359
+ this.checkResults=[]
360
+ this.$refs.paged.$refs.criteria.model.f_check_state=''
361
+ }else{
362
+ this.checkResults=[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}]
363
+ }
364
+ },
365
+ //修改计划项状态为作废
366
+ async delPlanItem() {
367
+ if(!this.selectplan || !this.selectplan.id){
368
+ this.$showMessage("请先打开一个计划再进行操作")
369
+ return
370
+ }
371
+ if(!this.checkAll && this.checkes.length==0){
372
+ this.$showMessage("请先在计划中勾选你要作废的用户!")
373
+ return
374
+ }
375
+ this.$showMessage("此操作无法撤回,确定要执行作废安检单操作吗?",['confirm','cancel']).then((button)=>{
376
+ if(button=='confirm'){
377
+ let resu=new HttpResetClass().load("POST", "/api/af-safecheck/logic/UpCheckPlanItemState", {
378
+ data: {
379
+ f_operator:this.userlogin.name,
380
+ condition:this.model.condition,
381
+ switchCheckAll:true,
382
+ checkAll:this.checkAll,
383
+ param:this.checkes,
384
+ columnName: "i.id"
385
+ }
386
+ }, {resolveMsg: null, rejectMsg: null}).then((resu)=>{
387
+
388
+ //tag)
389
+ if(resu.data.code==200){
390
+ this.$showMessage("移除安检单成功! 成功移除:"+resu.data.res.up+"条"+(resu.data.res.noup>0?"有"+resu.data.res.noup+"条已经不是 ‘未检’ 状态!":""))
391
+ //this.checkes=[]
392
+ //this.checkAll=false
393
+ this.$parent.refresh()
394
+ }else{
395
+ this.$showMessage("取消安检计划失败!")
396
+ }
397
+ })
398
+ }
399
+ })
400
+ }
401
+ },
402
+ watch:{
403
+ 'selectplan.id' (){
404
+ //tag
405
+ if(this.selectplan.id){
406
+ this.$refs.paged.$refs.criteria.model.f_plan_id=this.selectplan.id
407
+ this.$refs.paged.$refs.criteria.search()
408
+ }
409
+ }
410
+ }
411
+ }
412
+ </script>
413
+
414
+ <style scoped>
415
+ .safe_p{
416
+ white-space: nowrap;
417
+ overflow: hidden;
418
+ text-overflow: ellipsis;
419
+ }
420
+ </style>