safecheck-client 4.0.0-24 → 4.0.0-25

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 (260) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +2 -2
  3. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  4. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  5. package/src/components/NewDefectList/DefectListNew.vue +663 -663
  6. package/src/components/Util/SafecheckUpload.vue +281 -281
  7. package/src/components/android/AddPlanItem.vue +447 -447
  8. package/src/components/android/AddPlanItemYy.vue +451 -451
  9. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  10. package/src/components/android/BlackUserOnLine.vue +318 -318
  11. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  12. package/src/components/android/Devices.vue +327 -327
  13. package/src/components/android/Devicesm.vue +327 -327
  14. package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
  15. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  16. package/src/components/android/PhoneRecordInfo.vue +113 -113
  17. package/src/components/android/PhoneSellInfo.vue +113 -113
  18. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  19. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  20. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  21. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  22. package/src/components/android/SafePlanItem.vue +509 -509
  23. package/src/components/android/SafecheckDevices.vue +1337 -1337
  24. package/src/components/android/UserinfoSelect.vue +714 -714
  25. package/src/components/android/examples/SafeListExamples.vue +296 -296
  26. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  27. package/src/components/android/recheck/Recheck.vue +402 -402
  28. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  29. package/src/components/checkplan/checkmsg.vue +459 -459
  30. package/src/components/defect/DefectList.vue +507 -507
  31. package/src/components/defect/DefectListWeixiu.vue +484 -484
  32. package/src/components/filialCircle/CircleList.vue +139 -139
  33. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  34. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  35. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  36. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  37. package/src/components/inspections/inspectionFeedback.vue +720 -720
  38. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  39. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  40. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  41. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  42. package/src/components/pc/AnnouncementPC.vue +524 -524
  43. package/src/components/pc/DefectDeal.vue +1007 -1007
  44. package/src/components/pc/DefectList.vue +742 -742
  45. package/src/components/pc/DeviceChange.vue +1068 -1068
  46. package/src/components/pc/SafeVisitInfo.vue +261 -261
  47. package/src/components/planmanage/PlanManage.vue +886 -886
  48. package/src/components/planmanage/checkPlanList.vue +368 -368
  49. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  50. package/src/components/report/HiddenSituation.vue +165 -165
  51. package/src/components/rongcheng/AspPaperFeedback.vue +1179 -1179
  52. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  53. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  54. package/src/components/rongcheng/DefectList.vue +560 -560
  55. package/src/components/rongcheng/PaperFeedback.vue +1318 -1318
  56. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  57. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  58. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  59. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  60. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  61. package/src/components/shaoguan/DefectList.vue +473 -473
  62. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  63. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  64. package/src/components/userfile/SecurityAudit.vue +243 -243
  65. package/src/components/userfileNew/UserInfoAuditNew.vue +274 -274
  66. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  67. package/src/filiale/ancheng/android/PaperFeedback.vue +1489 -1489
  68. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  69. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  70. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  71. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  72. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  73. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  74. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  75. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  76. package/src/filiale/bayan/android/Edit.vue +132 -132
  77. package/src/filiale/bayan/android/PaperFeedback.vue +1669 -1669
  78. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  79. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  80. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  81. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  82. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  83. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  84. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  85. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  86. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  87. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  88. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  89. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  90. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  91. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  92. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
  93. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  94. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  95. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  96. package/src/filiale/huatong/android/PaperFeedback.vue +1433 -1433
  97. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  98. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  99. package/src/filiale/huayin/android/PaperFeedback.vue +1422 -1422
  100. package/src/filiale/huayin/android/SafecheckOrderV.vue +2712 -2712
  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/PaperFeedback.vue +1308 -1308
  104. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  105. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  106. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  107. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  108. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  109. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  110. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  111. package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
  112. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  113. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  114. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  115. package/src/filiale/kelai/android/AndroidDefectDeal.vue +747 -747
  116. package/src/filiale/kelai/android/PaperFeedback.vue +1539 -1539
  117. package/src/filiale/kelai/android/SafecheckOrderV.vue +2448 -2448
  118. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  119. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  120. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  121. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  122. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  123. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  124. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  125. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  126. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  127. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  128. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  129. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  130. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  131. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  132. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2286 -2286
  133. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +787 -787
  134. package/src/filiale/meihekou/android.js +14 -14
  135. package/src/filiale/meihekou/pc.js +12 -12
  136. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  137. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  138. package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
  139. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  140. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  141. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  142. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  143. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  144. package/src/filiale/qianneng/android/PaperFeedback.vue +1434 -1434
  145. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  146. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  147. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  148. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  149. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  150. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  151. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  152. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  153. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  154. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  155. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  156. package/src/filiale/rizhao/android/PaperFeedback.vue +1510 -1510
  157. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  158. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  159. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  160. package/src/filiale/rongchuang/android/PaperFeedback.vue +1455 -1455
  161. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  162. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  163. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  164. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  165. package/src/filiale/shanggao/android/PaperFeedback.vue +1422 -1422
  166. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  167. package/src/filiale/shanxian/android/PaperFeedback.vue +1445 -1445
  168. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  169. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  170. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  171. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  172. package/src/filiale/shexian/android/PaperFeedback.vue +1448 -1448
  173. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  174. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  175. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  176. package/src/filiale/shimen/android/PaperFeedback.vue +1341 -1341
  177. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  178. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  179. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  180. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  181. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  182. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  183. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  184. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  185. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  186. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  187. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  188. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  189. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  190. package/src/filiale/tongchuan/android/PaperFeedback.vue +1316 -1316
  191. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  192. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  193. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  194. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  195. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  196. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  197. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  198. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  199. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  200. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  201. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  202. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  203. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  204. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  205. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  206. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  207. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  208. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  209. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  210. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  211. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  212. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  213. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  214. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  215. package/src/filiale/wenxi/android/PaperFeedback.vue +1607 -1607
  216. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  217. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  218. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  219. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  220. package/src/filiale/wuan/android/PaperFeedback.vue +1433 -1433
  221. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  222. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  223. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  224. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  225. package/src/filiale/wuhai/android/PaperFeedback.vue +1350 -1350
  226. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  227. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  228. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  229. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
  230. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  231. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  232. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  233. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  234. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  235. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  236. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  237. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  238. package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
  239. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  240. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  241. package/src/filiale/yuansheng/android/PaperFeedback.vue +1488 -1488
  242. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  243. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  244. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  245. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  246. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  247. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  248. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2848 -2846
  249. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  250. package/src/filiale/zhongsheng/android/PaperFeedback.vue +1341 -1341
  251. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  252. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  253. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  254. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  255. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  256. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  257. package/src/filiale/zhoukou/android/PaperFeedback.vue +1367 -1367
  258. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  259. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  260. package/src/main.js +32 -33
@@ -1,747 +1,747 @@
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
-
211
- <div class="col-xs-12">
212
- <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
213
- <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
214
- </div>
215
- <div class="col-xs-12">
216
- <p class="panel-title text-left font" style="width: 21%;float: left"><b>所属安检:</b></p>
217
- <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_checker_name }}</p>
218
- </div>
219
- <div class="col-xs-6">
220
- <p class="panel-title col-xs-5 text-left font"><b>检&ensp;查&ensp;项:</b></p>
221
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_device_type }}</p>
222
- </div>
223
- <div class="col-xs-6">
224
- <p class="panel-title col-xs-5 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
225
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_name }}</p>
226
- </div>
227
- <div class="col-xs-6">
228
- <p class="panel-title col-xs-5 text-left font"><b>隐患原因:</b></p>
229
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_value }}</p>
230
- </div>
231
- <div class="col-xs-6">
232
- <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
233
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_comments }}</p>
234
- </div>
235
- <div class="col-xs-12">
236
- <button type="button" name="button" class="btn btn-primary"
237
- style="background-color:#499edf;float: right"
238
- @click="$parent.$parent.$parent.openshowModal(row.f_path)">查看
239
- </button>
240
- <button type="button" name="button" class="btn btn-primary"
241
- style="background-color:#499edf;float: right;margin-right:10px;"
242
- @click="$parent.$parent.$parent.openshowModal1(row)">处理
243
- </button>
244
- <!--<button type="button" class="btn btn-default" @click="$parent.$parent.$parent.ceshi">确认2</button>-->
245
- </div>
246
- </div>
247
- </div>
248
- </div>
249
- </div>
250
- </list>
251
- </criteria-paged>
252
- </div>
253
- <modal :show.sync="showModal">
254
- <div slot="modal-header" class="modal-header">
255
- <h4 class="modal-title">
256
- 隐患照片
257
- </h4>
258
- </div>
259
- <div slot="modal-body" class="modal-body">
260
- <div class="from-group">
261
- <div class="row">
262
- <div class="col-md-6">
263
- <img-self :src="showimg" width="300" height="400"></img-self>
264
- </div>
265
- </div>
266
- </div>
267
- </div>
268
- <div slot="modal-footer" class="modal-footer">
269
- <button type="button" class="btn btn-default" @click="closeshowModal">确认</button>
270
- </div>
271
- </modal>
272
- <modal :show.sync="showModal1">
273
- <div slot="modal-header" class="modal-header">
274
- <h4 class="modal-title">
275
- 处理结果
276
- </h4>
277
- </div>
278
- <div slot="modal-body" class="modal-body">
279
- <div class="row" style="margin-bottom: 10px">
280
- <p class="panel-title col-xs-3 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
281
- <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_name }}</p>
282
- </div>
283
- <div class="row" style="margin-bottom: 10px">
284
- <p class="panel-title col-xs-3 text-left font"><b>隐患原因:</b></p>
285
- <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_value }}</p>
286
- </div>
287
- <div class="row app-row">
288
- <div class="col-xs-4">
289
- <p class="panel-title col-xs-12 text-left font" style="color: red"><b>是否整改:</b></p>
290
- </div>
291
- <v-select :value.sync="deal.is_rectification" class="input-font"
292
- :width="'60%'"
293
- :options='isTrue0'
294
- v-model="deal.is_rectification"
295
- value-single="true"
296
- close-on-select
297
- clear-button></v-select>
298
- </div>
299
- <div class="row app-row">
300
- <div class="col-xs-4">
301
- <p class="panel-title col-xs-12 text-left font" style="color: red"><b>是否限购:</b></p>
302
- </div>
303
- <v-select :value.sync="deal.is_purchase_limit" class="input-font"
304
- :width="'60%'"
305
- :options='isTrue1'
306
- v-model="deal.is_purchase_limit"
307
- value-single="true"
308
- close-on-select
309
- clear-button></v-select>
310
- </div>
311
- <div class="row app-row" v-if="deal.is_purchase_limit == '是'">
312
- <div class="col-xs-4">
313
- <p class="panel-title col-xs-12 text-left font" style="color: red"><b>限购原因:</b></p>
314
- </div>
315
- <div class="col-xs-8">
316
- <input class="input-font " v-model=deal.f_black_remark style="width: 90%"/>
317
- </div>
318
- </div>
319
- <div class="form-group col-sm-12">
320
- <div class="auto">
321
- <div class="panel" style="padding: 10px 10px 5px 10px;">
322
- <div class="panel-body panel-self"
323
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
324
- <img-self :src="deal.f_deal_path" 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_deal_path', deal.f_deal_path)"/>
328
- <button type="button" name="button" class="btn btn-primary btn-photo"
329
- @click="takePic('f_deal_path','整改照片')">拍照
330
- </button>
331
- </div>
332
- </div>
333
- <div class="panel-body panel-self"
334
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
335
- <img-self :src="deal.f_other_dealpath1" alt="整改照片" :width="140" :height="170" capture="camera"
336
- type="file"></img-self>
337
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
338
- <img src="../../../assets/remove.png" @click="delfile('f_other_dealpath1', deal.f_other_dealpath1)"/>
339
- <button type="button" name="button" class="btn btn-primary btn-photo"
340
- @click="takePic('f_other_dealpath1','整改照片')">拍照
341
- </button>
342
- </div>
343
- </div>
344
- <div class="panel-body panel-self"
345
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
346
- <img-self :src="deal.f_other_dealpath2" alt="整改照片" :width="140" :height="170" capture="camera"
347
- type="file"></img-self>
348
- <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
349
- <img src="../../../assets/remove.png" @click="delfile('f_other_dealpath2', deal.f_other_dealpath2)"/>
350
- <button type="button" name="button" class="btn btn-primary btn-photo"
351
- @click="takePic('f_other_dealpath2','整改照片')">拍照
352
- </button>
353
- </div>
354
- </div>
355
- </div>
356
- </div>
357
- </div>
358
- <div class="form-group col-sm-12" v-if="isNeedDealSign">
359
- <p class="panel-title text-left font" style="text-align: center">用户签名:</p>
360
- <div class="auto">
361
- <div class="panel" style="padding: 10px 10px 5px 10px;">
362
- <div class="panel-body panel-self"
363
- style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
364
- <img :src="deal.f_dealsign_path" :width="200" :height="150"/>
365
- <div class="row text-right div-photo" style="height: 50px;margin-top: 60px">
366
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>
367
- </div>
368
- </div>
369
- </div>
370
- </div>
371
- </div>
372
- <div class="row">
373
- <div class="col-xs-2">
374
- <p class="panel-title text-left font" style="text-align: center">备注</p>
375
- </div>
376
- <div class="col-xs-9">
377
- <textarea class="input-font " v-model=deal.f_deal_remark style="width: 100%"></textarea>
378
- </div>
379
- </div>
380
- <div class="row app-row">
381
- <div class="col-xs-4">
382
- <p class="panel-title col-xs-12 text-left font" style="color: red"><b>是否完成:</b></p>
383
- </div>
384
- <v-select :value.sync="deal.f_is_complete" class="input-font"
385
- :width="'60%'"
386
- :options='is_complete'
387
- v-model="deal.f_is_complete"
388
- value-single="true"
389
- close-on-select
390
- clear-button></v-select>
391
- </div>
392
- <!-- <div v-if="isCancelLimitGas" style="display: flex;align-items: end;height: 30px;gap: 10px;padding-left: 16px;">-->
393
- <!-- <input type="checkbox" v-model="deletebacklistisselect"/>-->
394
- <!-- <div style="height: 18px">取消限制该用户购气</div>-->
395
- <!-- </div>-->
396
- </div>
397
- <div slot="modal-footer" class="modal-footer">
398
- <button type="button" class="btn btn-default" @click="commitDealDefect">确认</button>
399
- <button type="button" class="btn btn-default" @click="closeshowModal1">取消</button>
400
- </div>
401
- </modal>
402
- </template>
403
-
404
- <script>
405
- import Vue from 'vue'
406
- import {HttpResetClass, PagedList} from 'vue-client'
407
- import * as Util from '../../Util'
408
-
409
- export default {
410
- title: '无计划安检查询',
411
- data() {
412
- return {
413
- showModal: false,
414
- showModal1: false,
415
- showimg: '',
416
- add_black_msg:'',
417
- deal: {
418
- f_black_remark:'',
419
- is_purchase_limit:'',
420
- is_rectification:'',
421
- result: {},
422
- f_deal_path: '',
423
- f_other_dealpath1: '',
424
- f_other_dealpath2: '',
425
- f_deal_remark: '',
426
- f_dealsign_path: '', //签名
427
- f_dealer: Vue.user.name,
428
- f_dealer_id: Vue.user.id
429
- },
430
- isTrue0: [
431
- {label: '是', value: '是'},
432
- {label: '否', value: '否'},
433
- ],
434
- isTrue1: [
435
- {label: '是', value: '是'},
436
- {label: '否', value: '否'},
437
- ],
438
- is_complete: [
439
- {label: '是', value: '是'},
440
- {label: '否', value: '否'},
441
- ],
442
- user_types: [
443
- {label: '请选择用户类型', value: ''},
444
- {label: '民用', value: '民用'},
445
- {label: '非民用', value: '非民用'},
446
- ],
447
- f_filialeids: '',
448
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/AndroidDealWith`, 20, {
449
- condition: 'this.condition',
450
- f_filialeids: `'${Vue.user.orgid}'`,
451
- f_checker_id: `'${Vue.user.id}'`
452
- }),
453
- criteriaShow: false,
454
- isNeedDealSign: this.$appdata.getSingleValue('隐患处理是否需要签名') == 'true',
455
- isCancelLimitGas: this.$appdata.getSingleValue('隐患处理-取消限制购气') == '是',
456
- // deletebacklistisselect: false
457
- }
458
- },
459
- ready() {
460
- this.selfSearch()
461
- },
462
- methods: {
463
- async backlist() {
464
- this.add_black_msg = ''
465
- let http = new HttpResetClass()
466
- let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
467
- data: {
468
- items: "*",
469
- tablename: "t_userinfo",
470
- condition: `f_userinfo_code = '${this.deal.result.f_userinfo_code}'`,
471
- orderitem: "f_userinfo_code"
472
- }
473
- }, {resolveMsg: null, rejectMsg: null})
474
- let limit_times=1
475
- let limit_value=3
476
- if(Vue.config.safecheck && Vue.config.safecheck.ApproveConfig.limit_times && Vue.config.safecheck.ApproveConfig.limit_value){
477
- limit_times = Vue.config.safecheck.ApproveConfig.limit_times
478
- limit_value = Vue.config.safecheck.ApproveConfig.limit_value
479
- }
480
- let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
481
- data: {
482
- "f_operat_type": "拉黑",
483
- "f_state": "有效",
484
- "f_user_name": this.deal.result.f_user_name,
485
- "f_comments": this.deal.f_black_remark,
486
- "f_operator": Vue.user.name,
487
- "f_operatorid": Vue.user.id,
488
- "f_orgid": Vue.user.orgid,
489
- "f_orgname": Vue.user.orgs,
490
- "f_depid": Vue.user.depids,
491
- "f_depname": Vue.user.deps,
492
- "f_describe": `${Vue.user.name}对用户${this.deal.result.f_user_name}进行拉黑`,
493
- "f_userinfo_id": {
494
- "f_userinfo_id": res1.data[0].f_userinfo_id,
495
- "f_user_state": "正常",
496
- "version": res1.data[0].version
497
- },
498
- "f_limit_times":limit_times,
499
- "f_limit_value":limit_value
500
- }
501
- }, {resolveMsg: null, rejectMsg: null})
502
- if (res2.data.code == 200) {
503
- this.add_black_msg = "用户限制购气成功!"
504
- this.$showMessage("将该用户限制购气成功!")
505
- } else if (res2.data.msg == '数据增加重复') {
506
- this.$showMessage("该用户已被限制购气,请勿重复提交!")
507
- this.add_black_msg = "已被限制购气!"
508
- } else {
509
- this.$showMessage("网络异常,请稍后再试!")
510
- this.add_black_msg = "用户限制购气失败!"
511
- }
512
- },
513
- async deletebacklist() {
514
- let http = new HttpResetClass()
515
- let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
516
- data: {
517
- items: "*",
518
- tablename: "t_userinfo",
519
- condition: `f_userinfo_code = '${this.deal.result.f_userinfo_code}'`,
520
- orderitem: "f_userinfo_code"
521
- }
522
- }, {resolveMsg: null, rejectMsg: null})
523
- let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
524
- data: {
525
- "f_operat_type": "取消拉黑",
526
- "f_state": "有效",
527
- "f_user_name": this.deal.result.f_user_name,
528
- "f_comments": '',
529
- "f_operator": Vue.user.name,
530
- "f_operatorid": Vue.user.id,
531
- "f_orgid": Vue.user.orgid,
532
- "f_orgname": Vue.user.orgs,
533
- "f_depid": Vue.user.depids,
534
- "f_depname": Vue.user.deps,
535
- "f_describe": `${Vue.user.name}对用户${this.deal.result.f_user_name}进行取消拉黑`,
536
- "f_userinfo_id": {
537
- "f_userinfo_id": res1.data[0].f_userinfo_id,
538
- "f_user_state": "正常",
539
- "version": res1.data[0].version
540
- },
541
- "f_limit_times":"",
542
- "f_limit_value":""
543
- }
544
- }, {resolveMsg: null, rejectMsg: null})
545
- },
546
- signCallback(prop, fileName) {
547
- console.log("签名回调地址" + fileName)
548
- HostApp.__this__.$set('deal.f_dealsign_path', fileName)
549
- HostApp.__callback__ = null
550
- HostApp.__this__ = null
551
- },
552
- // 用户签名
553
- sign() {
554
- if (!this.deal.f_deal_path) {
555
- this.$showMessage('请先拍摄处理后照片!!!')
556
- return
557
- }
558
- this.delAudioFile('f_dealsign_path', this.deal.f_dealsign_path)
559
- let prop = 'f_dealsign_path'
560
- let idx = 'aofeng'
561
- let fileName
562
- if (!this.deal.f_dealsign_path) {
563
- fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
564
- } else {
565
- fileName = Util.getFileName(this.deal.f_dealsign_path)
566
- }
567
- HostApp.__callback__ = this.signCallback
568
- HostApp.__this__ = this
569
- HostApp.getSignature({
570
- file: fileName,
571
- requestCode: 111,
572
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
573
- })
574
- },
575
- delAudioFile(prop, fileName) {
576
- if (!fileName)
577
- return
578
- else {
579
- HostApp.delfile(fileName)
580
- this.deal[prop] = null
581
- }
582
- },
583
- commitDealDefect() {
584
- if(this.deal.is_rectification==''){
585
- this.$showMessage('是否整改必须选择')
586
- return
587
- }
588
- if(this.deal.is_purchase_limit==''){
589
- this.$showMessage('是否限购必须选择')
590
- return
591
- }
592
- if(this.deal.f_is_complete==''){
593
- this.$showMessage('是否完成未选择')
594
- return
595
- }
596
- if (!this.deal.f_deal_path) {
597
- this.$showMessage('处理后照片必须上传')
598
- return
599
- }
600
- if (this.isNeedDealSign && !this.deal.f_dealsign_path) {
601
- this.$showMessage('签名必须上传')
602
- return
603
- }
604
- if (this.deal.is_purchase_limit == '是'){
605
- if (!this.deal.f_black_remark) {
606
- this.$showMessage("请填写拉黑原因!")
607
- return
608
- }
609
- this.backlist()
610
- }
611
- if (this.deal.is_purchase_limit == '否'){
612
- this.deletebacklist()
613
- }
614
- if (Array.isArray(this.deal.f_is_complete)){
615
- this.deal.f_is_complete = this.deal.f_is_complete[0]
616
- }
617
- HostApp.__this__ = this
618
- HostApp.logicWithHint({
619
- 'logic': 'safe_dealWithDefect', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
620
- 'data': this.deal, 'backresult': 1
621
- })
622
- },
623
- commitCallBack(jo) {
624
- if (jo.state == 'ok') {
625
- let ress = JSON.parse(jo.result)
626
- if (ress.code == 200) {
627
- this.$showMessage(ress.msg + this.add_black_msg)
628
- this.closeshowModal1()
629
- } else {
630
- this.$showMessage(ress.msg + this.add_black_msg)
631
- }
632
- } else {
633
- this.$showMessage('本地服务调用失败。' + this.add_black_msg)
634
- }
635
- },
636
- delfile(prop, fileName) {
637
- if (fileName == Vue.nopic)
638
- return
639
- else {
640
- HostApp.delfile(fileName)
641
- this.deal[prop] = Vue.nopic
642
- }
643
- },
644
- openshowModal(val) {
645
- this.showimg = `${this.$androidUtil.getProxyUrl()}/rs/image/file/` + val
646
- this.showModal = true
647
- },
648
- closeshowModal() {
649
- this.showimg = ''
650
- this.showModal = false
651
- },
652
- openshowModal1(val) {
653
- this.add_black_msg = ''
654
- this.deal.result = val
655
- this.deletebacklistisselect = false
656
- this.showModal1 = true
657
- },
658
- closeshowModal1() {
659
- this.deal = {
660
- result: {},
661
- f_deal_path: '',
662
- f_other_dealpath1: '',
663
- f_other_dealpath2: '',
664
- f_deal_remark: '',
665
- f_dealsign_path: '', //签名
666
- f_dealer: Vue.user.name,
667
- f_dealer_id: Vue.user.id
668
- }
669
- this.showModal1 = false
670
- this.selfSearch()
671
- },
672
- cameraCallBack(prop, fileName) {
673
- HostApp.__this__.$set( 'deal.'+prop+'', fileName)
674
- HostApp.__callback__ = null
675
- HostApp.__this__ = null
676
- },
677
- takePic(prop, title) {
678
- HostApp.__callback__ = this.cameraCallBack
679
- HostApp.__this__ = this
680
- let fileName
681
- if (!this.deal[prop] || this.deal[prop].includes("nopic.png")) {
682
- fileName = Util.guid() + '-' + prop + '.jpg'
683
- } else {
684
- fileName = Util.getFileName(this.deal[prop])
685
- }
686
- //tag
687
- //tag
688
- HostApp._open_a_page({
689
- type: 'boomerang',
690
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
691
- param: {
692
- file: fileName,
693
- requestCode: 111,
694
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
695
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
696
- }
697
- })
698
- },
699
- selfSearch() {
700
-
701
- let condition = "1=1 "
702
- if (this.$refs.paged.$refs.cri.model.f_user_name) {
703
- if (this.$refs.paged.$refs.cri.model.f_user_name.toString().trim()) {
704
- condition += " and tcp.f_user_name like '" + this.$refs.paged.$refs.cri.model.f_user_name + "%'"
705
- }
706
- }
707
- if (this.$refs.paged.$refs.cri.model.f_userinfo_code) {
708
- if (this.$refs.paged.$refs.cri.model.f_userinfo_code.toString().trim()) {
709
- condition += " and tcp.f_userinfo_code = '" + this.$refs.paged.$refs.cri.model.f_userinfo_code + "'"
710
- }
711
- }
712
- if (this.$refs.paged.$refs.cri.model.f_checker_name) {
713
- if (this.$refs.paged.$refs.cri.model.f_checker_name.toString().trim()) {
714
- condition += " and tcp.f_checker_name = '" + this.$refs.paged.$refs.cri.model.f_checker_name + "'"
715
- }
716
- }
717
- if (this.$refs.paged.$refs.cri.model.f_address) {
718
- if (this.$refs.paged.$refs.cri.model.f_address.toString().trim()) {
719
- condition += " and tcp.f_address like '%" + this.$refs.paged.$refs.cri.model.f_address + "%'"
720
- }
721
- }
722
- if (this.$refs.paged.$refs.cri.model.f_start_date) {
723
- if (this.$refs.paged.$refs.cri.model.f_start_date.toString().trim()) {
724
- condition += " and tdl.f_create_time > '" + this.$refs.paged.$refs.cri.model.f_start_date + "'"
725
- }
726
- }
727
- if (this.$refs.paged.$refs.cri.model.f_end_date) {
728
- if (this.$refs.paged.$refs.cri.model.f_end_date.toString().trim()) {
729
- condition += " and tdl.f_create_time < '" + this.$refs.paged.$refs.cri.model.f_end_date + "'"
730
- }
731
- }
732
- if (this.$refs.paged.$refs.cri.model.f_user_type) {
733
- if (this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()) {
734
- condition += " and f_user_type = '" + this.$refs.paged.$refs.cri.model.f_user_type + "'"
735
- }
736
- }
737
-
738
- //tag
739
- this.model.search(condition)
740
- },
741
-
742
- hidden() {
743
- this.criteriaShow = !this.criteriaShow
744
- }
745
- }
746
- }
747
- </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
+
211
+ <div class="col-xs-12">
212
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
213
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
214
+ </div>
215
+ <div class="col-xs-12">
216
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>所属安检:</b></p>
217
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_checker_name }}</p>
218
+ </div>
219
+ <div class="col-xs-6">
220
+ <p class="panel-title col-xs-5 text-left font"><b>检&ensp;查&ensp;项:</b></p>
221
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_device_type }}</p>
222
+ </div>
223
+ <div class="col-xs-6">
224
+ <p class="panel-title col-xs-5 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
225
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_name }}</p>
226
+ </div>
227
+ <div class="col-xs-6">
228
+ <p class="panel-title col-xs-5 text-left font"><b>隐患原因:</b></p>
229
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_value }}</p>
230
+ </div>
231
+ <div class="col-xs-6">
232
+ <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
233
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_comments }}</p>
234
+ </div>
235
+ <div class="col-xs-12">
236
+ <button type="button" name="button" class="btn btn-primary"
237
+ style="background-color:#499edf;float: right"
238
+ @click="$parent.$parent.$parent.openshowModal(row.f_path)">查看
239
+ </button>
240
+ <button type="button" name="button" class="btn btn-primary"
241
+ style="background-color:#499edf;float: right;margin-right:10px;"
242
+ @click="$parent.$parent.$parent.openshowModal1(row)">处理
243
+ </button>
244
+ <!--<button type="button" class="btn btn-default" @click="$parent.$parent.$parent.ceshi">确认2</button>-->
245
+ </div>
246
+ </div>
247
+ </div>
248
+ </div>
249
+ </div>
250
+ </list>
251
+ </criteria-paged>
252
+ </div>
253
+ <modal :show.sync="showModal">
254
+ <div slot="modal-header" class="modal-header">
255
+ <h4 class="modal-title">
256
+ 隐患照片
257
+ </h4>
258
+ </div>
259
+ <div slot="modal-body" class="modal-body">
260
+ <div class="from-group">
261
+ <div class="row">
262
+ <div class="col-md-6">
263
+ <img-self :src="showimg" width="300" height="400"></img-self>
264
+ </div>
265
+ </div>
266
+ </div>
267
+ </div>
268
+ <div slot="modal-footer" class="modal-footer">
269
+ <button type="button" class="btn btn-default" @click="closeshowModal">确认</button>
270
+ </div>
271
+ </modal>
272
+ <modal :show.sync="showModal1">
273
+ <div slot="modal-header" class="modal-header">
274
+ <h4 class="modal-title">
275
+ 处理结果
276
+ </h4>
277
+ </div>
278
+ <div slot="modal-body" class="modal-body">
279
+ <div class="row" style="margin-bottom: 10px">
280
+ <p class="panel-title col-xs-3 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
281
+ <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_name }}</p>
282
+ </div>
283
+ <div class="row" style="margin-bottom: 10px">
284
+ <p class="panel-title col-xs-3 text-left font"><b>隐患原因:</b></p>
285
+ <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_value }}</p>
286
+ </div>
287
+ <div class="row app-row">
288
+ <div class="col-xs-4">
289
+ <p class="panel-title col-xs-12 text-left font" style="color: red"><b>是否整改:</b></p>
290
+ </div>
291
+ <v-select :value.sync="deal.is_rectification" class="input-font"
292
+ :width="'60%'"
293
+ :options='isTrue0'
294
+ v-model="deal.is_rectification"
295
+ value-single="true"
296
+ close-on-select
297
+ clear-button></v-select>
298
+ </div>
299
+ <div class="row app-row">
300
+ <div class="col-xs-4">
301
+ <p class="panel-title col-xs-12 text-left font" style="color: red"><b>是否限购:</b></p>
302
+ </div>
303
+ <v-select :value.sync="deal.is_purchase_limit" class="input-font"
304
+ :width="'60%'"
305
+ :options='isTrue1'
306
+ v-model="deal.is_purchase_limit"
307
+ value-single="true"
308
+ close-on-select
309
+ clear-button></v-select>
310
+ </div>
311
+ <div class="row app-row" v-if="deal.is_purchase_limit == '是'">
312
+ <div class="col-xs-4">
313
+ <p class="panel-title col-xs-12 text-left font" style="color: red"><b>限购原因:</b></p>
314
+ </div>
315
+ <div class="col-xs-8">
316
+ <input class="input-font " v-model=deal.f_black_remark style="width: 90%"/>
317
+ </div>
318
+ </div>
319
+ <div class="form-group col-sm-12">
320
+ <div class="auto">
321
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
322
+ <div class="panel-body panel-self"
323
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
324
+ <img-self :src="deal.f_deal_path" 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_deal_path', deal.f_deal_path)"/>
328
+ <button type="button" name="button" class="btn btn-primary btn-photo"
329
+ @click="takePic('f_deal_path','整改照片')">拍照
330
+ </button>
331
+ </div>
332
+ </div>
333
+ <div class="panel-body panel-self"
334
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
335
+ <img-self :src="deal.f_other_dealpath1" alt="整改照片" :width="140" :height="170" capture="camera"
336
+ type="file"></img-self>
337
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
338
+ <img src="../../../assets/remove.png" @click="delfile('f_other_dealpath1', deal.f_other_dealpath1)"/>
339
+ <button type="button" name="button" class="btn btn-primary btn-photo"
340
+ @click="takePic('f_other_dealpath1','整改照片')">拍照
341
+ </button>
342
+ </div>
343
+ </div>
344
+ <div class="panel-body panel-self"
345
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
346
+ <img-self :src="deal.f_other_dealpath2" alt="整改照片" :width="140" :height="170" capture="camera"
347
+ type="file"></img-self>
348
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
349
+ <img src="../../../assets/remove.png" @click="delfile('f_other_dealpath2', deal.f_other_dealpath2)"/>
350
+ <button type="button" name="button" class="btn btn-primary btn-photo"
351
+ @click="takePic('f_other_dealpath2','整改照片')">拍照
352
+ </button>
353
+ </div>
354
+ </div>
355
+ </div>
356
+ </div>
357
+ </div>
358
+ <div class="form-group col-sm-12" v-if="isNeedDealSign">
359
+ <p class="panel-title text-left font" style="text-align: center">用户签名:</p>
360
+ <div class="auto">
361
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
362
+ <div class="panel-body panel-self"
363
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
364
+ <img :src="deal.f_dealsign_path" :width="200" :height="150"/>
365
+ <div class="row text-right div-photo" style="height: 50px;margin-top: 60px">
366
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>
367
+ </div>
368
+ </div>
369
+ </div>
370
+ </div>
371
+ </div>
372
+ <div class="row">
373
+ <div class="col-xs-2">
374
+ <p class="panel-title text-left font" style="text-align: center">备注</p>
375
+ </div>
376
+ <div class="col-xs-9">
377
+ <textarea class="input-font " v-model=deal.f_deal_remark style="width: 100%"></textarea>
378
+ </div>
379
+ </div>
380
+ <div class="row app-row">
381
+ <div class="col-xs-4">
382
+ <p class="panel-title col-xs-12 text-left font" style="color: red"><b>是否完成:</b></p>
383
+ </div>
384
+ <v-select :value.sync="deal.f_is_complete" class="input-font"
385
+ :width="'60%'"
386
+ :options='is_complete'
387
+ v-model="deal.f_is_complete"
388
+ value-single="true"
389
+ close-on-select
390
+ clear-button></v-select>
391
+ </div>
392
+ <!-- <div v-if="isCancelLimitGas" style="display: flex;align-items: end;height: 30px;gap: 10px;padding-left: 16px;">-->
393
+ <!-- <input type="checkbox" v-model="deletebacklistisselect"/>-->
394
+ <!-- <div style="height: 18px">取消限制该用户购气</div>-->
395
+ <!-- </div>-->
396
+ </div>
397
+ <div slot="modal-footer" class="modal-footer">
398
+ <button type="button" class="btn btn-default" @click="commitDealDefect">确认</button>
399
+ <button type="button" class="btn btn-default" @click="closeshowModal1">取消</button>
400
+ </div>
401
+ </modal>
402
+ </template>
403
+
404
+ <script>
405
+ import Vue from 'vue'
406
+ import {HttpResetClass, PagedList} from 'vue-client'
407
+ import * as Util from '../../Util'
408
+
409
+ export default {
410
+ title: '无计划安检查询',
411
+ data() {
412
+ return {
413
+ showModal: false,
414
+ showModal1: false,
415
+ showimg: '',
416
+ add_black_msg:'',
417
+ deal: {
418
+ f_black_remark:'',
419
+ is_purchase_limit:'',
420
+ is_rectification:'',
421
+ result: {},
422
+ f_deal_path: '',
423
+ f_other_dealpath1: '',
424
+ f_other_dealpath2: '',
425
+ f_deal_remark: '',
426
+ f_dealsign_path: '', //签名
427
+ f_dealer: Vue.user.name,
428
+ f_dealer_id: Vue.user.id
429
+ },
430
+ isTrue0: [
431
+ {label: '是', value: '是'},
432
+ {label: '否', value: '否'},
433
+ ],
434
+ isTrue1: [
435
+ {label: '是', value: '是'},
436
+ {label: '否', value: '否'},
437
+ ],
438
+ is_complete: [
439
+ {label: '是', value: '是'},
440
+ {label: '否', value: '否'},
441
+ ],
442
+ user_types: [
443
+ {label: '请选择用户类型', value: ''},
444
+ {label: '民用', value: '民用'},
445
+ {label: '非民用', value: '非民用'},
446
+ ],
447
+ f_filialeids: '',
448
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/AndroidDealWith`, 20, {
449
+ condition: 'this.condition',
450
+ f_filialeids: `'${Vue.user.orgid}'`,
451
+ f_checker_id: `'${Vue.user.id}'`
452
+ }),
453
+ criteriaShow: false,
454
+ isNeedDealSign: this.$appdata.getSingleValue('隐患处理是否需要签名') == 'true',
455
+ isCancelLimitGas: this.$appdata.getSingleValue('隐患处理-取消限制购气') == '是',
456
+ // deletebacklistisselect: false
457
+ }
458
+ },
459
+ ready() {
460
+ this.selfSearch()
461
+ },
462
+ methods: {
463
+ async backlist() {
464
+ this.add_black_msg = ''
465
+ let http = new HttpResetClass()
466
+ let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
467
+ data: {
468
+ items: "*",
469
+ tablename: "t_userinfo",
470
+ condition: `f_userinfo_code = '${this.deal.result.f_userinfo_code}'`,
471
+ orderitem: "f_userinfo_code"
472
+ }
473
+ }, {resolveMsg: null, rejectMsg: null})
474
+ let limit_times=1
475
+ let limit_value=3
476
+ if(Vue.config.safecheck && Vue.config.safecheck.ApproveConfig.limit_times && Vue.config.safecheck.ApproveConfig.limit_value){
477
+ limit_times = Vue.config.safecheck.ApproveConfig.limit_times
478
+ limit_value = Vue.config.safecheck.ApproveConfig.limit_value
479
+ }
480
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
481
+ data: {
482
+ "f_operat_type": "拉黑",
483
+ "f_state": "有效",
484
+ "f_user_name": this.deal.result.f_user_name,
485
+ "f_comments": this.deal.f_black_remark,
486
+ "f_operator": Vue.user.name,
487
+ "f_operatorid": Vue.user.id,
488
+ "f_orgid": Vue.user.orgid,
489
+ "f_orgname": Vue.user.orgs,
490
+ "f_depid": Vue.user.depids,
491
+ "f_depname": Vue.user.deps,
492
+ "f_describe": `${Vue.user.name}对用户${this.deal.result.f_user_name}进行拉黑`,
493
+ "f_userinfo_id": {
494
+ "f_userinfo_id": res1.data[0].f_userinfo_id,
495
+ "f_user_state": "正常",
496
+ "version": res1.data[0].version
497
+ },
498
+ "f_limit_times":limit_times,
499
+ "f_limit_value":limit_value
500
+ }
501
+ }, {resolveMsg: null, rejectMsg: null})
502
+ if (res2.data.code == 200) {
503
+ this.add_black_msg = "用户限制购气成功!"
504
+ this.$showMessage("将该用户限制购气成功!")
505
+ } else if (res2.data.msg == '数据增加重复') {
506
+ this.$showMessage("该用户已被限制购气,请勿重复提交!")
507
+ this.add_black_msg = "已被限制购气!"
508
+ } else {
509
+ this.$showMessage("网络异常,请稍后再试!")
510
+ this.add_black_msg = "用户限制购气失败!"
511
+ }
512
+ },
513
+ async deletebacklist() {
514
+ let http = new HttpResetClass()
515
+ let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
516
+ data: {
517
+ items: "*",
518
+ tablename: "t_userinfo",
519
+ condition: `f_userinfo_code = '${this.deal.result.f_userinfo_code}'`,
520
+ orderitem: "f_userinfo_code"
521
+ }
522
+ }, {resolveMsg: null, rejectMsg: null})
523
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
524
+ data: {
525
+ "f_operat_type": "取消拉黑",
526
+ "f_state": "有效",
527
+ "f_user_name": this.deal.result.f_user_name,
528
+ "f_comments": '',
529
+ "f_operator": Vue.user.name,
530
+ "f_operatorid": Vue.user.id,
531
+ "f_orgid": Vue.user.orgid,
532
+ "f_orgname": Vue.user.orgs,
533
+ "f_depid": Vue.user.depids,
534
+ "f_depname": Vue.user.deps,
535
+ "f_describe": `${Vue.user.name}对用户${this.deal.result.f_user_name}进行取消拉黑`,
536
+ "f_userinfo_id": {
537
+ "f_userinfo_id": res1.data[0].f_userinfo_id,
538
+ "f_user_state": "正常",
539
+ "version": res1.data[0].version
540
+ },
541
+ "f_limit_times":"",
542
+ "f_limit_value":""
543
+ }
544
+ }, {resolveMsg: null, rejectMsg: null})
545
+ },
546
+ signCallback(prop, fileName) {
547
+ console.log("签名回调地址" + fileName)
548
+ HostApp.__this__.$set('deal.f_dealsign_path', fileName)
549
+ HostApp.__callback__ = null
550
+ HostApp.__this__ = null
551
+ },
552
+ // 用户签名
553
+ sign() {
554
+ if (!this.deal.f_deal_path) {
555
+ this.$showMessage('请先拍摄处理后照片!!!')
556
+ return
557
+ }
558
+ this.delAudioFile('f_dealsign_path', this.deal.f_dealsign_path)
559
+ let prop = 'f_dealsign_path'
560
+ let idx = 'aofeng'
561
+ let fileName
562
+ if (!this.deal.f_dealsign_path) {
563
+ fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
564
+ } else {
565
+ fileName = Util.getFileName(this.deal.f_dealsign_path)
566
+ }
567
+ HostApp.__callback__ = this.signCallback
568
+ HostApp.__this__ = this
569
+ HostApp.getSignature({
570
+ file: fileName,
571
+ requestCode: 111,
572
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
573
+ })
574
+ },
575
+ delAudioFile(prop, fileName) {
576
+ if (!fileName)
577
+ return
578
+ else {
579
+ HostApp.delfile(fileName)
580
+ this.deal[prop] = null
581
+ }
582
+ },
583
+ commitDealDefect() {
584
+ if(this.deal.is_rectification==''){
585
+ this.$showMessage('是否整改必须选择')
586
+ return
587
+ }
588
+ if(this.deal.is_purchase_limit==''){
589
+ this.$showMessage('是否限购必须选择')
590
+ return
591
+ }
592
+ if(this.deal.f_is_complete==''){
593
+ this.$showMessage('是否完成未选择')
594
+ return
595
+ }
596
+ if (!this.deal.f_deal_path) {
597
+ this.$showMessage('处理后照片必须上传')
598
+ return
599
+ }
600
+ if (this.isNeedDealSign && !this.deal.f_dealsign_path) {
601
+ this.$showMessage('签名必须上传')
602
+ return
603
+ }
604
+ if (this.deal.is_purchase_limit == '是'){
605
+ if (!this.deal.f_black_remark) {
606
+ this.$showMessage("请填写拉黑原因!")
607
+ return
608
+ }
609
+ this.backlist()
610
+ }
611
+ if (this.deal.is_purchase_limit == '否'){
612
+ this.deletebacklist()
613
+ }
614
+ if (Array.isArray(this.deal.f_is_complete)){
615
+ this.deal.f_is_complete = this.deal.f_is_complete[0]
616
+ }
617
+ HostApp.__this__ = this
618
+ HostApp.logicWithHint({
619
+ 'logic': 'safe_dealWithDefect', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
620
+ 'data': this.deal, 'backresult': 1
621
+ })
622
+ },
623
+ commitCallBack(jo) {
624
+ if (jo.state == 'ok') {
625
+ let ress = JSON.parse(jo.result)
626
+ if (ress.code == 200) {
627
+ this.$showMessage(ress.msg + this.add_black_msg)
628
+ this.closeshowModal1()
629
+ } else {
630
+ this.$showMessage(ress.msg + this.add_black_msg)
631
+ }
632
+ } else {
633
+ this.$showMessage('本地服务调用失败。' + this.add_black_msg)
634
+ }
635
+ },
636
+ delfile(prop, fileName) {
637
+ if (fileName == Vue.nopic)
638
+ return
639
+ else {
640
+ HostApp.delfile(fileName)
641
+ this.deal[prop] = Vue.nopic
642
+ }
643
+ },
644
+ openshowModal(val) {
645
+ this.showimg = `${this.$androidUtil.getProxyUrl()}/rs/image/file/` + val
646
+ this.showModal = true
647
+ },
648
+ closeshowModal() {
649
+ this.showimg = ''
650
+ this.showModal = false
651
+ },
652
+ openshowModal1(val) {
653
+ this.add_black_msg = ''
654
+ this.deal.result = val
655
+ this.deletebacklistisselect = false
656
+ this.showModal1 = true
657
+ },
658
+ closeshowModal1() {
659
+ this.deal = {
660
+ result: {},
661
+ f_deal_path: '',
662
+ f_other_dealpath1: '',
663
+ f_other_dealpath2: '',
664
+ f_deal_remark: '',
665
+ f_dealsign_path: '', //签名
666
+ f_dealer: Vue.user.name,
667
+ f_dealer_id: Vue.user.id
668
+ }
669
+ this.showModal1 = false
670
+ this.selfSearch()
671
+ },
672
+ cameraCallBack(prop, fileName) {
673
+ HostApp.__this__.$set( 'deal.'+prop+'', fileName)
674
+ HostApp.__callback__ = null
675
+ HostApp.__this__ = null
676
+ },
677
+ takePic(prop, title) {
678
+ HostApp.__callback__ = this.cameraCallBack
679
+ HostApp.__this__ = this
680
+ let fileName
681
+ if (!this.deal[prop] || this.deal[prop].includes("nopic.png")) {
682
+ fileName = Util.guid() + '-' + prop + '.jpg'
683
+ } else {
684
+ fileName = Util.getFileName(this.deal[prop])
685
+ }
686
+ //tag
687
+ //tag
688
+ HostApp._open_a_page({
689
+ type: 'boomerang',
690
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
691
+ param: {
692
+ file: fileName,
693
+ requestCode: 111,
694
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
695
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
696
+ }
697
+ })
698
+ },
699
+ selfSearch() {
700
+
701
+ let condition = "1=1 "
702
+ if (this.$refs.paged.$refs.cri.model.f_user_name) {
703
+ if (this.$refs.paged.$refs.cri.model.f_user_name.toString().trim()) {
704
+ condition += " and tcp.f_user_name like '" + this.$refs.paged.$refs.cri.model.f_user_name + "%'"
705
+ }
706
+ }
707
+ if (this.$refs.paged.$refs.cri.model.f_userinfo_code) {
708
+ if (this.$refs.paged.$refs.cri.model.f_userinfo_code.toString().trim()) {
709
+ condition += " and tcp.f_userinfo_code = '" + this.$refs.paged.$refs.cri.model.f_userinfo_code + "'"
710
+ }
711
+ }
712
+ if (this.$refs.paged.$refs.cri.model.f_checker_name) {
713
+ if (this.$refs.paged.$refs.cri.model.f_checker_name.toString().trim()) {
714
+ condition += " and tcp.f_checker_name = '" + this.$refs.paged.$refs.cri.model.f_checker_name + "'"
715
+ }
716
+ }
717
+ if (this.$refs.paged.$refs.cri.model.f_address) {
718
+ if (this.$refs.paged.$refs.cri.model.f_address.toString().trim()) {
719
+ condition += " and tcp.f_address like '%" + this.$refs.paged.$refs.cri.model.f_address + "%'"
720
+ }
721
+ }
722
+ if (this.$refs.paged.$refs.cri.model.f_start_date) {
723
+ if (this.$refs.paged.$refs.cri.model.f_start_date.toString().trim()) {
724
+ condition += " and tdl.f_create_time > '" + this.$refs.paged.$refs.cri.model.f_start_date + "'"
725
+ }
726
+ }
727
+ if (this.$refs.paged.$refs.cri.model.f_end_date) {
728
+ if (this.$refs.paged.$refs.cri.model.f_end_date.toString().trim()) {
729
+ condition += " and tdl.f_create_time < '" + this.$refs.paged.$refs.cri.model.f_end_date + "'"
730
+ }
731
+ }
732
+ if (this.$refs.paged.$refs.cri.model.f_user_type) {
733
+ if (this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()) {
734
+ condition += " and f_user_type = '" + this.$refs.paged.$refs.cri.model.f_user_type + "'"
735
+ }
736
+ }
737
+
738
+ //tag
739
+ this.model.search(condition)
740
+ },
741
+
742
+ hidden() {
743
+ this.criteriaShow = !this.criteriaShow
744
+ }
745
+ }
746
+ }
747
+ </script>