safecheck-client 4.0.1-6 → 4.0.1-61

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 (286) 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/android/AddPlanItem.vue +447 -447
  10. package/src/components/android/AddPlanItemYy.vue +451 -451
  11. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  12. package/src/components/android/AndroidDefectDeal.vue +667 -634
  13. package/src/components/android/AndroidDefectDetails.vue +3 -3
  14. package/src/components/android/AppInstallationMaterial.vue +865 -0
  15. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  16. package/src/components/android/DailyworkloadQuery.vue +473 -472
  17. package/src/components/android/Devices.vue +327 -327
  18. package/src/components/android/Devicesm.vue +327 -327
  19. package/src/components/android/NewCheckpaperAndroid.vue +1343 -1369
  20. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  21. package/src/components/android/PhoneRecordInfo.vue +113 -113
  22. package/src/components/android/PhoneSellInfo.vue +113 -113
  23. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  24. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  25. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  26. package/src/components/android/SafePlanItem.vue +509 -509
  27. package/src/components/android/SwitchValve.vue +1 -1
  28. package/src/components/android/examples/SafeListExamples.vue +296 -296
  29. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  30. package/src/components/android/recheck/Recheck.vue +402 -402
  31. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  32. package/src/components/checkplan/CheckDetail.vue +1 -1
  33. package/src/components/checkplan/checkmsg.vue +459 -459
  34. package/src/components/defect/DefectList.vue +507 -507
  35. package/src/components/defect/DefectListWeixiu.vue +484 -484
  36. package/src/components/filialCircle/CircleList.vue +139 -139
  37. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  38. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  39. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  40. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  41. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  42. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  43. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  44. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  45. package/src/components/map/PersonTrack.vue +226 -226
  46. package/src/components/map/SecurityCheckCoordinates.vue +350 -0
  47. package/src/components/paper/RegionalList.vue +220 -220
  48. package/src/components/pc/AnnouncementPC.vue +524 -524
  49. package/src/components/pc/CheckBookUser.vue +8 -4
  50. package/src/components/pc/DefectList.vue +742 -742
  51. package/src/components/pc/DefectMaterialLook.vue +98 -0
  52. package/src/components/pc/DeviceChange.vue +1068 -1068
  53. package/src/components/pc/PaperDefectMain.vue +905 -880
  54. package/src/components/pc/SafeVisitInfo.vue +261 -261
  55. package/src/components/planmanage/PlanManage.vue +1 -0
  56. package/src/components/querycheckpaper/CheckPaperList.vue +6 -4
  57. package/src/components/querycheckpaper/CheckPaperSearchUser.vue +30 -4
  58. package/src/components/querycheckpaper/CheckSearchUser.vue +5 -0
  59. package/src/components/report/HiddenSituation.vue +165 -165
  60. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  61. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  62. package/src/components/rongcheng/DefectList.vue +560 -560
  63. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  64. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  65. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  66. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  67. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  68. package/src/components/shaoguan/DefectList.vue +473 -473
  69. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  70. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  71. package/src/components/userfile/SecurityAudit.vue +243 -243
  72. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  73. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  74. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  75. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  76. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  77. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  78. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  79. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  80. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  81. package/src/filiale/bayan/android/Edit.vue +132 -132
  82. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  83. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  84. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  85. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  86. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  87. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  88. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  89. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  90. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  91. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  92. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  93. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  94. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  95. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  96. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  97. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  98. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  99. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  100. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  101. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  102. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  103. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  104. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  105. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  106. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  107. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  108. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  109. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  110. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  111. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  112. package/src/filiale/jinhong/android/CurrentCreate.vue +66 -22
  113. package/src/filiale/jinhong/pc/CheckBookList.vue +10 -7
  114. package/src/filiale/jinhong/pc/DefectPaperNew.vue +10 -10
  115. package/src/filiale/jinhong/pc/checkUserList.vue +766 -742
  116. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  117. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  118. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  119. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  120. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  121. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  122. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  123. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  124. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  125. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  126. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  127. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  128. package/src/filiale/libo/android/PaperFeedback.vue +1579 -0
  129. package/src/filiale/libo/android/PhoneUpUserinfo.vue +1249 -0
  130. package/src/filiale/libo/android/SafecheckOrderV.vue +2302 -0
  131. package/src/filiale/libo/android.js +14 -0
  132. package/src/filiale/libo/pc/NewCheckpaper.vue +1987 -0
  133. package/src/filiale/libo/pc.js +12 -0
  134. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  135. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  136. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  137. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  138. package/src/filiale/meihekou/android/CurrentCreate.vue +1 -1
  139. package/src/filiale/meihekou/android/MeterReading.vue +110 -106
  140. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1306
  141. package/src/filiale/meihekou/android/SafecheckDevices.vue +5 -5
  142. package/src/filiale/meihekou/android/SafecheckOrderV.vue +324 -311
  143. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  144. package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -2
  145. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -0
  146. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  147. package/src/filiale/meihekou/pc/PaperList.vue +1136 -0
  148. package/src/filiale/meihekou/pc.js +2 -0
  149. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  150. package/src/filiale/minsheng/android/SwitchValve.vue +1 -1
  151. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  152. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  153. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  154. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  155. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  156. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  157. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  158. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  159. package/src/filiale/qianneng/android/SwitchValve.vue +1 -1
  160. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  161. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  162. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  163. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  164. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  165. package/src/filiale/qingjian/pc/checkUserList.vue +35 -0
  166. package/src/filiale/qingjian/pc.js +15 -15
  167. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  168. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  169. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  170. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  171. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  172. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  173. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  174. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  175. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  176. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  177. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  178. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  179. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  180. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  181. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  182. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  183. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  184. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  185. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  186. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  187. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  188. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  189. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  190. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  191. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  192. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  193. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  194. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  195. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  196. package/src/filiale/taiyuan/android/CurrentCreate.vue +1016 -0
  197. package/src/filiale/taiyuan/android/PhoneUpUserinfo.vue +1259 -0
  198. package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2341 -0
  199. package/src/filiale/taiyuan/android/SafecheckUserInfo.vue +776 -0
  200. package/src/filiale/taiyuan/android.js +13 -0
  201. package/src/filiale/taiyuan/pc/DefectDeal.vue +1033 -0
  202. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -0
  203. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -0
  204. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -0
  205. package/src/filiale/taiyuan/pc.js +15 -0
  206. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  207. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  208. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  209. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  210. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  211. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  212. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  213. package/src/filiale/tongchuan/android/SwitchValve.vue +1 -1
  214. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  215. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  216. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  217. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  218. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  219. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  220. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  221. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  222. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  223. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  224. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  225. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  226. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  227. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  228. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  229. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  230. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  231. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  232. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  233. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  234. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  235. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  236. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  237. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  238. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  239. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  240. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  241. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  242. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  243. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  244. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  245. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  246. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  247. package/src/filiale/xinkang/android/AddPlanItem.vue +447 -413
  248. package/src/filiale/xinkang/android/SafecheckDevices.vue +29 -7
  249. package/src/filiale/xinkang/android/SafecheckOrderV.vue +24 -80
  250. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +1 -1
  251. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  252. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  253. package/src/filiale/xinkang/pc/NewCheckpaper.vue +20 -44
  254. package/src/filiale/xinkang/pc/PaperList.vue +2 -9
  255. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  256. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  257. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  258. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  259. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  260. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  261. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  262. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  263. package/src/filiale/yuansheng/android/SwitchValve.vue +1 -1
  264. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  265. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  266. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  267. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  268. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  269. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  270. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  271. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  272. package/src/filiale/yunchengminsheng/android.js +15 -15
  273. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -0
  274. package/src/filiale/yunchengminsheng/pc.js +15 -14
  275. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  276. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  277. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  278. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  279. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  280. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  281. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  282. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  283. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  284. package/src/main.js +32 -33
  285. package/src/safecheck-android.js +4 -0
  286. package/src/safecheck.js +924 -918
@@ -1,634 +1,667 @@
1
- <style scoped>
2
- .bg {
3
- background-color: blue;
4
- height: 1px;
5
- border: 0;
6
- }
7
-
8
- .app-row {
9
- background-color: white;
10
- padding: 10px 10px 0 10px;
11
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
12
- }
13
-
14
- .search_input {
15
- border: 0;
16
- outline: none;
17
- }
18
-
19
- .font {
20
- font: 15px PingFang-SC-Medium;
21
- color: #666666;
22
- }
23
-
24
- .input-font {
25
- font: 15px PingFang-SC-Medium;
26
- color: #333333;
27
- }
28
-
29
- .btn-font {
30
- font: 600 16px PingFang-SC-Bold;
31
- color: #499EDF;
32
- }
33
-
34
- .btn-color {
35
- background-color: #FFFFFF;
36
- border-radius: 10px;
37
- border: 1px solid #499EDF;
38
- }
39
-
40
- .app-text {
41
- font-size: 12px;
42
- }
43
-
44
- .panel-self {
45
- border-radius: 10px;
46
- border: 1px solid #499EDF;
47
- background-color: #F8F8F8;
48
- }
49
-
50
- .yybtn-color {
51
- background-color: #499edf;
52
- border-radius: 4px;
53
- border: 1px solid #499EDF;
54
- color: #FFFFFF;
55
- font: 14px PingFang-SC-Bold;
56
- }
57
-
58
- .qxbtn-color {
59
- background-color: #FFFFFF;
60
- border-radius: 4px;
61
- color: #499edf;
62
- font: 14px PingFang-SC-Bold;
63
- border: 1px solid #499EDF;
64
- }
65
-
66
- .button_shrink_top {
67
- width: 35px;
68
- height: 35px;
69
- background-size: 100%;
70
- background-image: url("../../../static/newStyle/stretch_top.png")
71
- }
72
-
73
- .button_shrink_bottom {
74
- width: 35px;
75
- height: 35px;
76
- background-size: 100%;
77
- background-image: url("../../../static/newStyle/stretch_bottom.png")
78
- }
79
-
80
- .button_shrink_left {
81
- width: 35px;
82
- height: 35px;
83
- background-size: 100%;
84
- background-image: url("../../../static/newStyle/stretch_left.png")
85
- }
86
-
87
- .button_shrink_right {
88
- width: 35px;
89
- height: 35px;
90
- background-size: 100%;
91
- background-image: url("../../../static/newStyle/stretch_right.png")
92
- }
93
- </style>
94
- <template>
95
- <div style="height: auto;width: 100%">
96
- <criteria-paged :model="model" v-ref:paged>
97
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
98
- <div partial>
99
- <form>
100
- <div class="row app-row">
101
- <div class="col-xs-4">
102
- <img src="../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
103
- <label class="font text-left">用户姓名:</label>
104
- </div>
105
- <div class="col-xs-8">
106
- <input class="search_input input-font" v-model=model.f_user_name
107
- condition="tcp.f_user_name like '%{}%'"/>
108
- </div>
109
- </div>
110
- <div class="row app-row">
111
- <div class="col-xs-4">
112
- <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
113
- <label for="f_userinfo_code" class="font text-left">用户编号:</label>
114
- </div>
115
- <div class="col-xs-8">
116
- <input id="f_userinfo_code" class="search_input input-font"
117
- v-model=model.f_userinfo_code condition="tcp.f_userinfo_code like '%{}%'"/>
118
- </div>
119
- </div>
120
- <div class="row app-row">
121
- <div class="col-xs-4">
122
- <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
123
- <label for="f_userinfo_code" class="font text-left">安检人员:</label>
124
- </div>
125
- <div class="col-xs-8">
126
- <input id="f_userinfo_code" class="search_input input-font"
127
- v-model=model.f_checker_name condition="tcp.f_checker_name like '%{}%'"/>
128
- </div>
129
- </div>
130
- <div class="row app-row">
131
- <div class="col-xs-4">
132
- <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
133
- <label class="font text-left">用户地址:</label>
134
- </div>
135
- <div class="col-xs-8">
136
- <input class="search_input input-font"
137
- v-model=model.f_address condition="tcp.f_address like '%{}%'"/>
138
- </div>
139
- </div>
140
- <div class="row app-row">
141
- <div class="col-xs-4">
142
- <img src="../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
143
- <label for="f_state" class="font text-left">起始时间:</label>
144
- </div>
145
- <datepicker id="f_start_date"
146
- placeholder='起始时间'
147
- :value.sync="model.f_start_date"
148
- :disabled-days-of-Week="[]"
149
- v-model="model.f_start_date"
150
- class="input-font col-xs-8"
151
- :format="'yyyy-MM-dd 00:00:00'"
152
- :show-reset-button="reset" readonly="readonly">
153
- </datepicker>
154
- </div>
155
- <div class="row app-row">
156
- <div class="col-xs-4">
157
- <img src="../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
158
- <label for="f_state" class="font text-left">结束时间:</label>
159
- </div>
160
- <datepicker id="f_end_date"
161
- placeholder='结束时间'
162
- :value.sync="model.f_end_date"
163
- :disabled-days-of-Week="[]"
164
- v-model="model.f_end_date"
165
- class="input-font col-xs-8"
166
- :format="'yyyy-MM-dd 23:59:00'"
167
- :show-reset-button="reset" readonly="readonly">
168
- </datepicker>
169
- </div>
170
- <div class="row app-row">
171
- <div class="col-xs-4">
172
- <img src="../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
173
- <label for="f_user_type" class="font text-left">用户类型:</label>
174
- </div>
175
- <v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
176
- :width="'60%'"
177
- :options='$parent.$parent.user_types' placeholder='请选择用户类型'
178
- v-model="model.f_user_type" condition="f_user_type = '{}'" close-on-select
179
- clear-button></v-select>
180
- </div>
181
- <div class="row text-center" style="margin-top: 20px;">
182
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;"
183
- @click="$parent.$parent.selfSearch">查询
184
- </button>
185
- <div style="float: right;margin-right: 3% " class="button_spacing"
186
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
187
- @click="$parent.$parent.hidden()"></div>
188
- </div>
189
- <div style="height:30px;"></div>
190
- </form>
191
- </div>
192
- </criteria>
193
- <list :model="model" partial='list'>
194
- <div partial>
195
- <div class="auto app-text" style="margin-top: 5px;">
196
- <div class="panel" style="padding: 10px 10px 5px 10px;">
197
- <div class="panel-body panel-self">
198
- <div class="col-xs-12">
199
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
200
- <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
201
- </div>
202
- <div class="col-xs-12">
203
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
204
- <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
205
- </div>
206
- <div class="col-xs-12">
207
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
208
- <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}</p>
209
- </div>
210
- <div class="col-xs-12">
211
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>安检时间:</b></p>
212
- <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_create_time }}</p>
213
- </div>
214
- <div class="col-xs-12">
215
- <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
216
- <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
217
- </div>
218
- <div class="col-xs-12">
219
- <p class="panel-title text-left font" style="width: 21%;float: left"><b>所属安检:</b></p>
220
- <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_checker_name }}</p>
221
- </div>
222
- <div class="col-xs-6">
223
- <p class="panel-title col-xs-5 text-left font"><b>检&ensp;查&ensp;项:</b></p>
224
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_device_type }}</p>
225
- </div>
226
- <div class="col-xs-6">
227
- <p class="panel-title col-xs-5 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
228
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_name }}</p>
229
- </div>
230
- <div class="col-xs-12">
231
- <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
232
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_comments }}</p>
233
- </div>
234
- <div class="col-xs-12">
235
- <p class="panel-title col-xs-5 text-left font"><b>隐患原因:</b></p>
236
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_value }}</p>
237
- </div>
238
-
239
- <div class="col-xs-12">
240
- <button type="button" name="button" class="btn btn-primary"
241
- style="background-color:#499edf;float: right"
242
- @click="$parent.$parent.$parent.openshowModal(row)">查看
243
- </button>
244
- <button type="button" name="button" class="btn btn-primary"
245
- style="background-color:#499edf;float: right;margin-right:10px;"
246
- @click="$parent.$parent.$parent.openshowModal1(row)">处理
247
- </button>
248
- <!--<button type="button" class="btn btn-default" @click="$parent.$parent.$parent.ceshi">确认2</button>-->
249
- </div>
250
- </div>
251
- </div>
252
- </div>
253
- </div>
254
- </list>
255
- </criteria-paged>
256
- </div>
257
- <modal :show.sync="showModal">
258
- <div slot="modal-header" class="modal-header">
259
- <h4 class="modal-title">
260
- 隐患照片
261
- </h4>
262
- </div>
263
- <div slot="modal-body" class="modal-body">
264
- <div class="from-group">
265
- <div class="row">
266
- <div class="col-md-6">
267
- <img-self v-if="row.f_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_path" width="300" height="400"></img-self>
268
- <img-self v-if="row.f_p1_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_p1_path" width="300" height="400"></img-self>
269
- <img-self v-if="row.f_p2_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_p2_path" width="300" height="400"></img-self>
270
- </div>
271
- </div>
272
- </div>
273
- </div>
274
- <div slot="modal-footer" class="modal-footer">
275
- <button type="button" class="btn btn-default" @click="closeshowModal">确认</button>
276
- </div>
277
- </modal>
278
- <modal :show.sync="showModal1">
279
- <div slot="modal-header" class="modal-header">
280
- <h4 class="modal-title">
281
- 处理结果
282
- </h4>
283
- </div>
284
- <div slot="modal-body" class="modal-body">
285
- <div class="row" style="margin-bottom: 10px">
286
- <p class="panel-title col-xs-3 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
287
- <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_name }}</p>
288
- </div>
289
- <div class="row" style="margin-bottom: 10px">
290
- <p class="panel-title col-xs-3 text-left font"><b>隐患原因:</b></p>
291
- <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_value }}</p>
292
- </div>
293
- <div class="form-group col-sm-12">
294
- <div class="auto">
295
- <div class="panel" style="padding: 10px 10px 5px 10px;">
296
- <div class="panel-body panel-self"
297
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
298
- <img-self :src="deal.f_deal_path" alt="整改照片" :width="140" :height="170" capture="camera"
299
- type="file"></img-self>
300
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
301
- <img src="../../assets/remove.png" @click="delfile('f_deal_path', deal.f_deal_path)"></img>
302
- <button type="button" name="button" class="btn btn-primary btn-photo"
303
- @click="takePic('f_deal_path','整改照片')">拍照
304
- </button>
305
- </div>
306
- </div>
307
- <div class="panel-body panel-self"
308
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
309
- <img-self :src="deal.f_other_dealpath1" alt="整改照片" :width="140" :height="170" capture="camera"
310
- type="file"></img-self>
311
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
312
- <img src="../../assets/remove.png" @click="delfile('f_other_dealpath1', deal.f_other_dealpath1)"></img>
313
- <button type="button" name="button" class="btn btn-primary btn-photo"
314
- @click="takePic('f_other_dealpath1','整改照片')">拍照
315
- </button>
316
- </div>
317
- </div>
318
- <div class="panel-body panel-self"
319
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
320
- <img-self :src="deal.f_other_dealpath2" alt="整改照片" :width="140" :height="170" capture="camera"
321
- type="file"></img-self>
322
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
323
- <img src="../../assets/remove.png" @click="delfile('f_other_dealpath2', deal.f_other_dealpath2)"></img>
324
- <button type="button" name="button" class="btn btn-primary btn-photo"
325
- @click="takePic('f_other_dealpath2','整改照片')">拍照
326
- </button>
327
- </div>
328
- </div>
329
- </div>
330
- </div>
331
- </div>
332
- <div class="form-group col-sm-12" v-if="isNeedDealSign">
333
- <p class="panel-title text-left font" style="text-align: center">用户签名:</p>
334
- <div class="auto">
335
- <div class="panel" style="padding: 10px 10px 5px 10px;">
336
- <div class="panel-body panel-self"
337
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
338
- <img :src="deal.f_dealsign_path" :width="200" :height="150"/>
339
- <div class="row text-right div-photo" style="height: 50px;margin-top: 60px">
340
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>
341
- </div>
342
- </div>
343
- </div>
344
- </div>
345
- </div>
346
- <div class="row">
347
- <div class="col-xs-2">
348
- <p class="panel-title text-left font" style="text-align: center">处理结果</p>
349
- </div>
350
- <div class="col-xs-9">
351
- <textarea class="input-font " v-model=deal.f_deal_remark style="width: 100%"></textarea>
352
- </div>
353
- </div>
354
- <div v-if="isCancelLimitGas" style="display: flex;align-items: end;height: 30px;gap: 10px;padding-left: 16px;">
355
- <input type="checkbox" v-model="deletebacklistisselect"/>
356
- <div style="height: 18px">取消限制该用户购气</div>
357
- </div>
358
- </div>
359
- <div slot="modal-footer" class="modal-footer">
360
- <button type="button" class="btn btn-default" @click="commitDealDefect">确认</button>
361
- <button type="button" class="btn btn-default" @click="closeshowModal1">取消</button>
362
- </div>
363
- </modal>
364
- </template>
365
-
366
- <script>
367
- import Vue from 'vue'
368
- import {HttpResetClass, PagedList} from 'vue-client'
369
- import * as Util from '../Util'
370
-
371
- export default {
372
- title: '无计划安检查询',
373
- data() {
374
- return {
375
- row:{},
376
- showModal: false,
377
- showModal1: false,
378
- showimg: '',
379
- deal: {
380
- result: {},
381
- f_deal_path: '',
382
- f_other_dealpath1: '',
383
- f_other_dealpath2: '',
384
- f_deal_remark: '',
385
- f_dealsign_path: '', //签名
386
- f_dealer: Vue.user.name,
387
- f_dealer_id: Vue.user.id
388
- },
389
- user_types: [
390
- {label: '请选择用户类型', value: ''},
391
- {label: '民用', value: '民用'},
392
- {label: '非民用', value: '非民用'},
393
- ],
394
- f_filialeids: '',
395
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/AndroidDealWith`, 20, {
396
- condition: 'this.condition',
397
- f_filialeids: `'${Vue.user.orgid}'`,
398
- f_checker_id: `'${Vue.user.id}'`
399
- }),
400
- criteriaShow: false,
401
- isNeedDealSign: this.$appdata.getSingleValue('隐患处理是否需要签名') == 'true',
402
- isCancelLimitGas: this.$appdata.getSingleValue('隐患处理-取消限制购气') == '是',
403
- deletebacklistisselect: false
404
- }
405
- },
406
- ready() {
407
- this.selfSearch()
408
- },
409
- methods: {
410
- async deletebacklist() {
411
- ////tag)
412
- let http = new HttpResetClass()
413
- ////tag
414
- let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
415
- data: {
416
- items: "*",
417
- tablename: "t_userinfo",
418
- condition: `f_userinfo_code = ${this.deal.result.f_userinfo_code}`,
419
- orderitem: "f_userinfo_code"
420
- }
421
- }, {resolveMsg: null, rejectMsg: null})
422
- ////tag)
423
- ////tag
424
- let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
425
- data: {
426
- "f_operat_type": "取消拉黑",
427
- "f_state": "有效",
428
- "f_user_name": this.deal.result.f_user_name,
429
- "f_comments": '',
430
- "f_operator": Vue.user.name,
431
- "f_operatorid": Vue.user.id,
432
- "f_orgid": Vue.user.orgid,
433
- "f_orgname": Vue.user.orgs,
434
- "f_depid": Vue.user.depids,
435
- "f_depname": Vue.user.deps,
436
- "f_describe": `${Vue.user.name}对用户${this.deal.result.f_user_name}进行取消拉黑`,
437
- "f_userinfo_id": {
438
- "f_userinfo_id": res1.data[0].f_userinfo_id,
439
- "f_user_state": "正常",
440
- "version": res1.data[0].version
441
- },
442
- "f_limit_times":"",
443
- "f_limit_value":""
444
- }
445
- }, {resolveMsg: null, rejectMsg: null})
446
- },
447
- // 签名回调
448
- signCallback(prop, fileName) {
449
- console.log("签名回调地址" + fileName)
450
- // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
451
- HostApp.__this__.$set('deal.f_dealsign_path', fileName)
452
- HostApp.__callback__ = null
453
- HostApp.__this__ = null
454
- },
455
- // 用户签名
456
- sign() {
457
- if (!this.deal.f_deal_path) {
458
- this.$showMessage('请先拍摄处理后照片!!!')
459
- return
460
- }
461
- this.delAudioFile('f_dealsign_path', this.deal.f_dealsign_path)
462
- let prop = 'f_dealsign_path'
463
- let idx = 'aofeng'
464
- let fileName
465
- if (!this.deal.f_dealsign_path) {
466
- fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
467
- } else {
468
- fileName = Util.getFileName(this.deal.f_dealsign_path)
469
- }
470
- HostApp.__callback__ = this.signCallback
471
- HostApp.__this__ = this
472
- HostApp.getSignature({
473
- file: fileName,
474
- requestCode: 111,
475
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
476
- })
477
- },
478
- delAudioFile(prop, fileName) {
479
- if (!fileName)
480
- return
481
- else {
482
- HostApp.delfile(fileName)
483
- this.deal[prop] = null
484
- }
485
- },
486
- commitDealDefect() {
487
- //tag
488
- //tag)
489
- // if (!this.deal.f_deal_path) {
490
- // this.$showMessage('处理后照片必须上传')
491
- // return
492
- // }
493
- if (this.isNeedDealSign && !this.deal.f_dealsign_path) {
494
- this.$showMessage('签名必须上传')
495
- return
496
- }
497
- if (this.deletebacklistisselect){
498
- this.deletebacklist()
499
- }
500
- this.deal.f_other_dealpath = this.deal.f_deal_path
501
- HostApp.__this__ = this
502
- HostApp.logicWithHint({
503
- 'logic': 'safe_dealWithDefect', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
504
- 'data': this.deal, 'backresult': 1
505
- })
506
- },
507
- commitCallBack(jo) {
508
- //tag
509
- //tag)
510
- if (jo.state == 'ok') {
511
- let ress = JSON.parse(jo.result)
512
- if (ress.code == 200) {
513
- this.$showMessage(ress.msg)
514
- this.closeshowModal1()
515
- } else {
516
- this.$showMessage(ress.msg)
517
- }
518
- } else {
519
- this.$showMessage('本地服务调用失败')
520
- }
521
- },
522
- delfile(prop, fileName) {
523
- if (fileName == Vue.nopic)
524
- return
525
- else {
526
- HostApp.delfile(fileName)
527
- this.deal[prop] = Vue.nopic
528
- }
529
- },
530
- openshowModal(val) {
531
- this.row = val
532
- this.showModal = true
533
- },
534
- closeshowModal() {
535
- this.showimg = ''
536
- this.showModal = false
537
- },
538
- openshowModal1(val) {
539
- this.deal.result = val
540
- //tag
541
- //tag
542
- this.deletebacklistisselect = false
543
- this.showModal1 = true
544
- },
545
- closeshowModal1() {
546
- this.deal = {
547
- result: {},
548
- f_deal_path: '',
549
- f_other_dealpath1: '',
550
- f_other_dealpath2: '',
551
- f_deal_remark: '',
552
- f_dealsign_path: '', //签名
553
- f_dealer: Vue.user.name,
554
- f_dealer_id: Vue.user.id
555
- }
556
- this.showModal1 = false
557
- this.selfSearch()
558
- },
559
- cameraCallBack(prop, fileName) {
560
- HostApp.__this__.$set( 'deal.'+prop+'', fileName)
561
- HostApp.__callback__ = null
562
- HostApp.__this__ = null
563
- },
564
- takePic(prop, title) {
565
- HostApp.__callback__ = this.cameraCallBack
566
- HostApp.__this__ = this
567
- let fileName
568
- if (!this.deal[prop] || this.deal[prop].includes("nopic.png")) {
569
- fileName = Util.guid() + '-' + prop + '.jpg'
570
- } else {
571
- fileName = Util.getFileName(this.deal[prop])
572
- }
573
- //tag
574
- //tag
575
- HostApp._open_a_page({
576
- type: 'boomerang',
577
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
578
- param: {
579
- file: fileName,
580
- requestCode: 111,
581
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
582
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
583
- }
584
- })
585
- },
586
- selfSearch() {
587
-
588
- let condition = "1=1 "
589
- if (this.$refs.paged.$refs.cri.model.f_user_name) {
590
- if (this.$refs.paged.$refs.cri.model.f_user_name.toString().trim()) {
591
- condition += " and tcp.f_user_name like '" + this.$refs.paged.$refs.cri.model.f_user_name + "%'"
592
- }
593
- }
594
- if (this.$refs.paged.$refs.cri.model.f_userinfo_code) {
595
- if (this.$refs.paged.$refs.cri.model.f_userinfo_code.toString().trim()) {
596
- condition += " and tcp.f_userinfo_code = '" + this.$refs.paged.$refs.cri.model.f_userinfo_code + "'"
597
- }
598
- }
599
- if (this.$refs.paged.$refs.cri.model.f_checker_name) {
600
- if (this.$refs.paged.$refs.cri.model.f_checker_name.toString().trim()) {
601
- condition += " and tcp.f_checker_name = '" + this.$refs.paged.$refs.cri.model.f_checker_name + "'"
602
- }
603
- }
604
- if (this.$refs.paged.$refs.cri.model.f_address) {
605
- if (this.$refs.paged.$refs.cri.model.f_address.toString().trim()) {
606
- condition += " and tcp.f_address like '%" + this.$refs.paged.$refs.cri.model.f_address + "%'"
607
- }
608
- }
609
- if (this.$refs.paged.$refs.cri.model.f_start_date) {
610
- if (this.$refs.paged.$refs.cri.model.f_start_date.toString().trim()) {
611
- condition += " and tdl.f_create_time > '" + this.$refs.paged.$refs.cri.model.f_start_date + "'"
612
- }
613
- }
614
- if (this.$refs.paged.$refs.cri.model.f_end_date) {
615
- if (this.$refs.paged.$refs.cri.model.f_end_date.toString().trim()) {
616
- condition += " and tdl.f_create_time < '" + this.$refs.paged.$refs.cri.model.f_end_date + "'"
617
- }
618
- }
619
- if (this.$refs.paged.$refs.cri.model.f_user_type) {
620
- if (this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()) {
621
- condition += " and f_user_type = '" + this.$refs.paged.$refs.cri.model.f_user_type + "'"
622
- }
623
- }
624
-
625
- //tag
626
- this.model.search(condition)
627
- },
628
-
629
- hidden() {
630
- this.criteriaShow = !this.criteriaShow
631
- }
632
- }
633
- }
634
- </script>
1
+ <style scoped>
2
+ .bg {
3
+ background-color: blue;
4
+ height: 1px;
5
+ border: 0;
6
+ }
7
+
8
+ .app-row {
9
+ background-color: white;
10
+ padding: 10px 10px 0 10px;
11
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
12
+ }
13
+
14
+ .search_input {
15
+ border: 0;
16
+ outline: none;
17
+ }
18
+
19
+ .font {
20
+ font: 15px PingFang-SC-Medium;
21
+ color: #666666;
22
+ }
23
+
24
+ .input-font {
25
+ font: 15px PingFang-SC-Medium;
26
+ color: #333333;
27
+ }
28
+
29
+ .btn-font {
30
+ font: 600 16px PingFang-SC-Bold;
31
+ color: #499EDF;
32
+ }
33
+
34
+ .btn-color {
35
+ background-color: #FFFFFF;
36
+ border-radius: 10px;
37
+ border: 1px solid #499EDF;
38
+ }
39
+
40
+ .app-text {
41
+ font-size: 12px;
42
+ }
43
+
44
+ .panel-self {
45
+ border-radius: 10px;
46
+ border: 1px solid #499EDF;
47
+ background-color: #F8F8F8;
48
+ }
49
+
50
+ .yybtn-color {
51
+ background-color: #499edf;
52
+ border-radius: 4px;
53
+ border: 1px solid #499EDF;
54
+ color: #FFFFFF;
55
+ font: 14px PingFang-SC-Bold;
56
+ }
57
+
58
+ .qxbtn-color {
59
+ background-color: #FFFFFF;
60
+ border-radius: 4px;
61
+ color: #499edf;
62
+ font: 14px PingFang-SC-Bold;
63
+ border: 1px solid #499EDF;
64
+ }
65
+
66
+ .button_shrink_top {
67
+ width: 35px;
68
+ height: 35px;
69
+ background-size: 100%;
70
+ background-image: url("../../../static/newStyle/stretch_top.png")
71
+ }
72
+
73
+ .button_shrink_bottom {
74
+ width: 35px;
75
+ height: 35px;
76
+ background-size: 100%;
77
+ background-image: url("../../../static/newStyle/stretch_bottom.png")
78
+ }
79
+
80
+ .button_shrink_left {
81
+ width: 35px;
82
+ height: 35px;
83
+ background-size: 100%;
84
+ background-image: url("../../../static/newStyle/stretch_left.png")
85
+ }
86
+
87
+ .button_shrink_right {
88
+ width: 35px;
89
+ height: 35px;
90
+ background-size: 100%;
91
+ background-image: url("../../../static/newStyle/stretch_right.png")
92
+ }
93
+ </style>
94
+ <template>
95
+ <div style="height: auto;width: 100%">
96
+ <criteria-paged :model="model" v-ref:paged>
97
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
98
+ <div partial>
99
+ <form>
100
+ <div class="row app-row">
101
+ <div class="col-xs-4">
102
+ <img src="../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
103
+ <label class="font text-left">用户姓名:</label>
104
+ </div>
105
+ <div class="col-xs-8">
106
+ <input class="search_input input-font" v-model=model.f_user_name
107
+ condition="tcp.f_user_name like '%{}%'"/>
108
+ </div>
109
+ </div>
110
+ <div class="row app-row">
111
+ <div class="col-xs-4">
112
+ <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
113
+ <label for="f_userinfo_code" class="font text-left">用户编号:</label>
114
+ </div>
115
+ <div class="col-xs-8">
116
+ <input id="f_userinfo_code" class="search_input input-font"
117
+ v-model=model.f_userinfo_code condition="tcp.f_userinfo_code like '%{}%'"/>
118
+ </div>
119
+ </div>
120
+ <div class="row app-row">
121
+ <div class="col-xs-4">
122
+ <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
123
+ <label for="f_userinfo_code" class="font text-left">安检人员:</label>
124
+ </div>
125
+ <div class="col-xs-8">
126
+ <input id="f_userinfo_code" class="search_input input-font"
127
+ v-model=model.f_checker_name condition="tcp.f_checker_name like '%{}%'"/>
128
+ </div>
129
+ </div>
130
+ <div class="row app-row">
131
+ <div class="col-xs-4">
132
+ <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
133
+ <label class="font text-left">用户地址:</label>
134
+ </div>
135
+ <div class="col-xs-8">
136
+ <input class="search_input input-font"
137
+ v-model=model.f_address condition="tcp.f_address like '%{}%'"/>
138
+ </div>
139
+ </div>
140
+ <div class="row app-row">
141
+ <div class="col-xs-4">
142
+ <img src="../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
143
+ <label for="f_state" class="font text-left">起始时间:</label>
144
+ </div>
145
+ <datepicker id="f_start_date"
146
+ placeholder='起始时间'
147
+ :value.sync="model.f_start_date"
148
+ :disabled-days-of-Week="[]"
149
+ v-model="model.f_start_date"
150
+ class="input-font col-xs-8"
151
+ :format="'yyyy-MM-dd 00:00:00'"
152
+ :show-reset-button="reset" readonly="readonly">
153
+ </datepicker>
154
+ </div>
155
+ <div class="row app-row">
156
+ <div class="col-xs-4">
157
+ <img src="../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
158
+ <label for="f_state" class="font text-left">结束时间:</label>
159
+ </div>
160
+ <datepicker id="f_end_date"
161
+ placeholder='结束时间'
162
+ :value.sync="model.f_end_date"
163
+ :disabled-days-of-Week="[]"
164
+ v-model="model.f_end_date"
165
+ class="input-font col-xs-8"
166
+ :format="'yyyy-MM-dd 23:59:00'"
167
+ :show-reset-button="reset" readonly="readonly">
168
+ </datepicker>
169
+ </div>
170
+ <div class="row app-row">
171
+ <div class="col-xs-4">
172
+ <img src="../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
173
+ <label for="f_user_type" class="font text-left">用户类型:</label>
174
+ </div>
175
+ <v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
176
+ :width="'60%'"
177
+ :options='$parent.$parent.user_types' placeholder='请选择用户类型'
178
+ v-model="model.f_user_type" condition="f_user_type = '{}'" close-on-select
179
+ clear-button></v-select>
180
+ </div>
181
+ <div class="row text-center" style="margin-top: 20px;">
182
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;"
183
+ @click="$parent.$parent.selfSearch">查询
184
+ </button>
185
+ <div style="float: right;margin-right: 3% " class="button_spacing"
186
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
187
+ @click="$parent.$parent.hidden()"></div>
188
+ </div>
189
+ <div style="height:30px;"></div>
190
+ </form>
191
+ </div>
192
+ </criteria>
193
+ <list :model="model" partial='list'>
194
+ <div partial>
195
+ <div class="auto app-text" style="margin-top: 5px;">
196
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
197
+ <div class="panel-body panel-self">
198
+ <div class="col-xs-12">
199
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
200
+ <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
201
+ </div>
202
+ <div class="col-xs-12">
203
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
204
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
205
+ </div>
206
+ <div class="col-xs-12">
207
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
208
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}</p>
209
+ </div>
210
+ <div class="col-xs-12">
211
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>安检时间:</b></p>
212
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_create_time }}</p>
213
+ </div>
214
+ <div class="col-xs-12">
215
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
216
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
217
+ </div>
218
+ <div class="col-xs-12">
219
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>所属安检:</b></p>
220
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_checker_name }}</p>
221
+ </div>
222
+ <div class="col-xs-6">
223
+ <p class="panel-title col-xs-5 text-left font"><b>检&ensp;查&ensp;项:</b></p>
224
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_device_type }}</p>
225
+ </div>
226
+ <div class="col-xs-6">
227
+ <p class="panel-title col-xs-5 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
228
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_name }}</p>
229
+ </div>
230
+ <div class="col-xs-12">
231
+ <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
232
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_comments }}</p>
233
+ </div>
234
+ <div class="col-xs-12">
235
+ <p class="panel-title col-xs-5 text-left font"><b>隐患原因:</b></p>
236
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_value }}</p>
237
+ </div>
238
+
239
+ <div class="col-xs-12">
240
+ <button type="button" name="button" class="btn btn-primary"
241
+ style="background-color:#499edf;float: right"
242
+ @click="$parent.$parent.$parent.openshowModal(row)">查看
243
+ </button>
244
+ <button type="button" name="button" class="btn btn-primary"
245
+ style="background-color:#499edf;float: right;margin-right:10px;"
246
+ @click="$parent.$parent.$parent.openshowModal1(row)">处理
247
+ </button>
248
+ <button type="button" name="button" class="btn btn-primary"
249
+ v-if="$parent.$parent.$parent.canlook"
250
+ style="background-color:#499edf;float: right"
251
+ @click="$parent.$parent.$parent.showmateria(row)">添加材料
252
+ </button>
253
+ </div>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </div>
258
+ </list>
259
+ </criteria-paged>
260
+ </div>
261
+ <modal :show.sync="showModal">
262
+ <div slot="modal-header" class="modal-header">
263
+ <h4 class="modal-title">
264
+ 隐患照片
265
+ </h4>
266
+ </div>
267
+ <div slot="modal-body" class="modal-body">
268
+ <div class="from-group">
269
+ <div class="row">
270
+ <div class="col-md-6">
271
+ <img-self v-if="row.f_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_path" width="300" height="400"></img-self>
272
+ <img-self v-if="row.f_p1_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_p1_path" width="300" height="400"></img-self>
273
+ <img-self v-if="row.f_p2_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_p2_path" width="300" height="400"></img-self>
274
+ </div>
275
+ </div>
276
+ </div>
277
+ </div>
278
+ <div slot="modal-footer" class="modal-footer">
279
+ <button type="button" class="btn btn-default" @click="closeshowModal">确认</button>
280
+ </div>
281
+ </modal>
282
+ <modal :show.sync="showModal1">
283
+ <div slot="modal-header" class="modal-header">
284
+ <h4 class="modal-title">
285
+ 处理结果
286
+ </h4>
287
+ </div>
288
+ <div slot="modal-body" class="modal-body">
289
+ <div class="row" style="margin-bottom: 10px">
290
+ <p class="panel-title col-xs-3 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
291
+ <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_name }}</p>
292
+ </div>
293
+ <div class="row" style="margin-bottom: 10px">
294
+ <p class="panel-title col-xs-3 text-left font"><b>隐患原因:</b></p>
295
+ <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_value }}</p>
296
+ </div>
297
+ <div class="form-group col-sm-12">
298
+ <div class="auto">
299
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
300
+ <div class="panel-body panel-self"
301
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
302
+ <img-self :src="deal.f_deal_path" alt="整改照片" :width="140" :height="170" capture="camera"
303
+ type="file"></img-self>
304
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
305
+ <img src="../../assets/remove.png" @click="delfile('f_deal_path', deal.f_deal_path)"></img>
306
+ <button type="button" name="button" class="btn btn-primary btn-photo"
307
+ @click="takePic('f_deal_path','整改照片')">拍照
308
+ </button>
309
+ </div>
310
+ </div>
311
+ <div class="panel-body panel-self"
312
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
313
+ <img-self :src="deal.f_other_dealpath1" alt="整改照片" :width="140" :height="170" capture="camera"
314
+ type="file"></img-self>
315
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
316
+ <img src="../../assets/remove.png" @click="delfile('f_other_dealpath1', deal.f_other_dealpath1)"></img>
317
+ <button type="button" name="button" class="btn btn-primary btn-photo"
318
+ @click="takePic('f_other_dealpath1','整改照片')">拍照
319
+ </button>
320
+ </div>
321
+ </div>
322
+ <div class="panel-body panel-self"
323
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
324
+ <img-self :src="deal.f_other_dealpath2" alt="整改照片" :width="140" :height="170" capture="camera"
325
+ type="file"></img-self>
326
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
327
+ <img src="../../assets/remove.png" @click="delfile('f_other_dealpath2', deal.f_other_dealpath2)"></img>
328
+ <button type="button" name="button" class="btn btn-primary btn-photo"
329
+ @click="takePic('f_other_dealpath2','整改照片')">拍照
330
+ </button>
331
+ </div>
332
+ </div>
333
+ </div>
334
+ </div>
335
+ </div>
336
+ <div class="form-group col-sm-12" v-if="isNeedDealSign">
337
+ <p class="panel-title text-left font" style="text-align: center">用户签名:</p>
338
+ <div class="auto">
339
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
340
+ <div class="panel-body panel-self"
341
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
342
+ <img :src="deal.f_dealsign_path" :width="200" :height="150"/>
343
+ <div class="row text-right div-photo" style="height: 50px;margin-top: 60px">
344
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>
345
+ </div>
346
+ </div>
347
+ </div>
348
+ </div>
349
+ </div>
350
+ <div class="row">
351
+ <div class="col-xs-2">
352
+ <p class="panel-title text-left font" style="text-align: center">处理结果</p>
353
+ </div>
354
+ <div class="col-xs-9">
355
+ <textarea class="input-font " v-model=deal.f_deal_remark style="width: 100%"></textarea>
356
+ </div>
357
+ </div>
358
+ <div v-if="isCancelLimitGas" style="display: flex;align-items: end;height: 30px;gap: 10px;padding-left: 16px;">
359
+ <input type="checkbox" v-model="deletebacklistisselect"/>
360
+ <div style="height: 18px">取消限制该用户购气</div>
361
+ </div>
362
+ </div>
363
+ <div slot="modal-footer" class="modal-footer">
364
+ <button type="button" class="btn btn-default" @click="commitDealDefect">确认</button>
365
+ <button type="button" class="btn btn-default" @click="closeshowModal1">取消</button>
366
+ </div>
367
+ </modal>
368
+ <modal :show.sync="showmaterial" backdrop="false" style="overflow: scroll;height: 100%">
369
+ <header slot="modal-header" class="modal-header text-center">
370
+ <button type="button" class="close" @click="close2"><span>&times;</span></button>
371
+ <h4 class="modal-title">添加材料</h4>
372
+ </header>
373
+ <article slot="modal-body">
374
+ <appinstallation-material v-if="showmaterial" :selectdata = "selectdata"></appinstallation-material>
375
+ </article>
376
+ <footer slot="modal-footer"></footer>
377
+ </modal>
378
+ </template>
379
+
380
+ <script>
381
+ import Vue from 'vue'
382
+ import {HttpResetClass, PagedList} from 'vue-client'
383
+ import * as Util from '../Util'
384
+ import AppInstallationMaterial from './AppInstallationMaterial'
385
+
386
+ export default {
387
+ components: {
388
+ 'appinstallation-material': AppInstallationMaterial
389
+ },
390
+ title: '无计划安检查询',
391
+ data() {
392
+ return {
393
+ row:{},
394
+ showModal: false,
395
+ showModal1: false,
396
+ showimg: '',
397
+ deal: {
398
+ result: {},
399
+ f_deal_path: '',
400
+ f_other_dealpath1: '',
401
+ f_other_dealpath2: '',
402
+ f_deal_remark: '',
403
+ f_dealsign_path: '', //签名
404
+ f_dealer: Vue.user.name,
405
+ f_dealer_id: Vue.user.id
406
+ },
407
+ user_types: [
408
+ {label: '请选择用户类型', value: ''},
409
+ {label: '民用', value: '民用'},
410
+ {label: '非民用', value: '非民用'},
411
+ ],
412
+ f_filialeids: '',
413
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/AndroidDealWith`, 20, {
414
+ condition: 'this.condition',
415
+ f_filialeids: `'${Vue.user.orgid}'`,
416
+ f_checker_id: `'${Vue.user.id}'`
417
+ }),
418
+ criteriaShow: false,
419
+ isNeedDealSign: this.$appdata.getSingleValue('隐患处理是否需要签名') == 'true',
420
+ isCancelLimitGas: this.$appdata.getSingleValue('隐患处理-取消限制购气') == '是',
421
+ canlook: this.$appdata.getSingleValue('隐患处理添加材料')?true:false,
422
+ deletebacklistisselect: false,
423
+ selectdata:{},
424
+ showmaterial:false
425
+ }
426
+ },
427
+ ready() {
428
+ this.selfSearch()
429
+ },
430
+ methods: {
431
+ showmateria(row){
432
+ debugger
433
+ this.selectdata = {
434
+ f_process_id :row.device_id,
435
+ model:row
436
+ }
437
+ this.showmaterial = true
438
+ },
439
+ close2(){
440
+ this.showmaterial = false
441
+ this.selectdata ={}
442
+ },
443
+ async deletebacklist() {
444
+ ////tag)
445
+ let http = new HttpResetClass()
446
+ ////tag
447
+ let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
448
+ data: {
449
+ items: "*",
450
+ tablename: "t_userinfo",
451
+ condition: `f_userinfo_code = ${this.deal.result.f_userinfo_code}`,
452
+ orderitem: "f_userinfo_code"
453
+ }
454
+ }, {resolveMsg: null, rejectMsg: null})
455
+ ////tag)
456
+ ////tag
457
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
458
+ data: {
459
+ "f_operat_type": "取消拉黑",
460
+ "f_state": "有效",
461
+ "f_user_name": this.deal.result.f_user_name,
462
+ "f_comments": '',
463
+ "f_operator": Vue.user.name,
464
+ "f_operatorid": Vue.user.id,
465
+ "f_orgid": Vue.user.orgid,
466
+ "f_orgname": Vue.user.orgs,
467
+ "f_depid": Vue.user.depids,
468
+ "f_depname": Vue.user.deps,
469
+ "f_describe": `${Vue.user.name}对用户${this.deal.result.f_user_name}进行取消拉黑`,
470
+ "f_userinfo_id": {
471
+ "f_userinfo_id": res1.data[0].f_userinfo_id,
472
+ "f_user_state": "正常",
473
+ "version": res1.data[0].version
474
+ },
475
+ "f_limit_times":"",
476
+ "f_limit_value":""
477
+ }
478
+ }, {resolveMsg: null, rejectMsg: null})
479
+ },
480
+ // 签名回调
481
+ signCallback(prop, fileName) {
482
+ console.log("签名回调地址" + fileName)
483
+ // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
484
+ HostApp.__this__.$set('deal.f_dealsign_path', fileName)
485
+ HostApp.__callback__ = null
486
+ HostApp.__this__ = null
487
+ },
488
+ // 用户签名
489
+ sign() {
490
+ if (!this.deal.f_deal_path) {
491
+ this.$showMessage('请先拍摄处理后照片!!!')
492
+ return
493
+ }
494
+ this.delAudioFile('f_dealsign_path', this.deal.f_dealsign_path)
495
+ let prop = 'f_dealsign_path'
496
+ let idx = 'aofeng'
497
+ let fileName
498
+ if (!this.deal.f_dealsign_path) {
499
+ fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
500
+ } else {
501
+ fileName = Util.getFileName(this.deal.f_dealsign_path)
502
+ }
503
+ HostApp.__callback__ = this.signCallback
504
+ HostApp.__this__ = this
505
+ HostApp.getSignature({
506
+ file: fileName,
507
+ requestCode: 111,
508
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
509
+ })
510
+ },
511
+ delAudioFile(prop, fileName) {
512
+ if (!fileName)
513
+ return
514
+ else {
515
+ HostApp.delfile(fileName)
516
+ this.deal[prop] = null
517
+ }
518
+ },
519
+ commitDealDefect() {
520
+ //tag
521
+ //tag)
522
+ // if (!this.deal.f_deal_path) {
523
+ // this.$showMessage('处理后照片必须上传')
524
+ // return
525
+ // }
526
+ if (this.isNeedDealSign && !this.deal.f_dealsign_path) {
527
+ this.$showMessage('签名必须上传')
528
+ return
529
+ }
530
+ if (this.deletebacklistisselect){
531
+ this.deletebacklist()
532
+ }
533
+ this.deal.f_other_dealpath = this.deal.f_deal_path
534
+ HostApp.__this__ = this
535
+ HostApp.logicWithHint({
536
+ 'logic': 'safe_dealWithDefect', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
537
+ 'data': this.deal, 'backresult': 1
538
+ })
539
+ },
540
+ commitCallBack(jo) {
541
+ //tag
542
+ //tag)
543
+ if (jo.state == 'ok') {
544
+ let ress = JSON.parse(jo.result)
545
+ if (ress.code == 200) {
546
+ this.$showMessage(ress.msg)
547
+ this.closeshowModal1()
548
+ } else {
549
+ this.$showMessage(ress.msg)
550
+ }
551
+ } else {
552
+ this.$showMessage('本地服务调用失败')
553
+ }
554
+ },
555
+ delfile(prop, fileName) {
556
+ if (fileName == Vue.nopic)
557
+ return
558
+ else {
559
+ HostApp.delfile(fileName)
560
+ this.deal[prop] = Vue.nopic
561
+ }
562
+ },
563
+ openshowModal(val) {
564
+ this.row = val
565
+ this.showModal = true
566
+ },
567
+ closeshowModal() {
568
+ this.showimg = ''
569
+ this.showModal = false
570
+ },
571
+ openshowModal1(val) {
572
+ this.deal.result = val
573
+ //tag
574
+ //tag
575
+ this.deletebacklistisselect = false
576
+ this.showModal1 = true
577
+ },
578
+ closeshowModal1() {
579
+ this.deal = {
580
+ result: {},
581
+ f_deal_path: '',
582
+ f_other_dealpath1: '',
583
+ f_other_dealpath2: '',
584
+ f_deal_remark: '',
585
+ f_dealsign_path: '', //签名
586
+ f_dealer: Vue.user.name,
587
+ f_dealer_id: Vue.user.id
588
+ }
589
+ this.showModal1 = false
590
+ this.selfSearch()
591
+ },
592
+ cameraCallBack(prop, fileName) {
593
+ HostApp.__this__.$set( 'deal.'+prop+'', fileName)
594
+ HostApp.__callback__ = null
595
+ HostApp.__this__ = null
596
+ },
597
+ takePic(prop, title) {
598
+ HostApp.__callback__ = this.cameraCallBack
599
+ HostApp.__this__ = this
600
+ let fileName
601
+ if (!this.deal[prop] || this.deal[prop].includes("nopic.png")) {
602
+ fileName = Util.guid() + '-' + prop + '.jpg'
603
+ } else {
604
+ fileName = Util.getFileName(this.deal[prop])
605
+ }
606
+ //tag
607
+ //tag
608
+ HostApp._open_a_page({
609
+ type: 'boomerang',
610
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
611
+ param: {
612
+ file: fileName,
613
+ requestCode: 111,
614
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
615
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
616
+ }
617
+ })
618
+ },
619
+ selfSearch() {
620
+
621
+ let condition = "1=1 "
622
+ if (this.$refs.paged.$refs.cri.model.f_user_name) {
623
+ if (this.$refs.paged.$refs.cri.model.f_user_name.toString().trim()) {
624
+ condition += " and tcp.f_user_name like '" + this.$refs.paged.$refs.cri.model.f_user_name + "%'"
625
+ }
626
+ }
627
+ if (this.$refs.paged.$refs.cri.model.f_userinfo_code) {
628
+ if (this.$refs.paged.$refs.cri.model.f_userinfo_code.toString().trim()) {
629
+ condition += " and tcp.f_userinfo_code = '" + this.$refs.paged.$refs.cri.model.f_userinfo_code + "'"
630
+ }
631
+ }
632
+ if (this.$refs.paged.$refs.cri.model.f_checker_name) {
633
+ if (this.$refs.paged.$refs.cri.model.f_checker_name.toString().trim()) {
634
+ condition += " and tcp.f_checker_name = '" + this.$refs.paged.$refs.cri.model.f_checker_name + "'"
635
+ }
636
+ }
637
+ if (this.$refs.paged.$refs.cri.model.f_address) {
638
+ if (this.$refs.paged.$refs.cri.model.f_address.toString().trim()) {
639
+ condition += " and tcp.f_address like '%" + this.$refs.paged.$refs.cri.model.f_address + "%'"
640
+ }
641
+ }
642
+ if (this.$refs.paged.$refs.cri.model.f_start_date) {
643
+ if (this.$refs.paged.$refs.cri.model.f_start_date.toString().trim()) {
644
+ condition += " and tdl.f_create_time > '" + this.$refs.paged.$refs.cri.model.f_start_date + "'"
645
+ }
646
+ }
647
+ if (this.$refs.paged.$refs.cri.model.f_end_date) {
648
+ if (this.$refs.paged.$refs.cri.model.f_end_date.toString().trim()) {
649
+ condition += " and tdl.f_create_time < '" + this.$refs.paged.$refs.cri.model.f_end_date + "'"
650
+ }
651
+ }
652
+ if (this.$refs.paged.$refs.cri.model.f_user_type) {
653
+ if (this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()) {
654
+ condition += " and f_user_type = '" + this.$refs.paged.$refs.cri.model.f_user_type + "'"
655
+ }
656
+ }
657
+
658
+ //tag
659
+ this.model.search(condition)
660
+ },
661
+
662
+ hidden() {
663
+ this.criteriaShow = !this.criteriaShow
664
+ }
665
+ }
666
+ }
667
+ </script>