safecheck-client 4.0.0-22 → 4.0.0-23

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 (251) hide show
  1. package/package.json +1 -1
  2. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  3. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  4. package/src/components/android/AddPlanItem.vue +447 -447
  5. package/src/components/android/AddPlanItemYy.vue +451 -451
  6. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  7. package/src/components/android/BlackUserOnLine.vue +318 -318
  8. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  9. package/src/components/android/Devices.vue +327 -327
  10. package/src/components/android/Devicesm.vue +327 -327
  11. package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
  12. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  13. package/src/components/android/PhoneRecordInfo.vue +113 -113
  14. package/src/components/android/PhoneSellInfo.vue +113 -113
  15. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  16. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  17. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  18. package/src/components/android/SafePlanItem.vue +509 -509
  19. package/src/components/android/SafecheckDevices.vue +1337 -1337
  20. package/src/components/android/UserinfoSelect.vue +714 -714
  21. package/src/components/android/examples/SafeListExamples.vue +296 -296
  22. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  23. package/src/components/android/recheck/Recheck.vue +402 -402
  24. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  25. package/src/components/checkplan/checkmsg.vue +459 -459
  26. package/src/components/defect/DefectList.vue +507 -507
  27. package/src/components/defect/DefectListWeixiu.vue +484 -484
  28. package/src/components/filialCircle/CircleList.vue +139 -139
  29. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  30. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  31. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  32. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  33. package/src/components/inspections/inspectionFeedback.vue +720 -720
  34. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  35. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  36. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  37. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  38. package/src/components/pc/AnnouncementPC.vue +524 -524
  39. package/src/components/pc/DefectList.vue +742 -742
  40. package/src/components/pc/DeviceChange.vue +1068 -1068
  41. package/src/components/pc/SafeVisitInfo.vue +261 -261
  42. package/src/components/planmanage/PlanManage.vue +886 -888
  43. package/src/components/planmanage/checkPlanList.vue +368 -368
  44. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  45. package/src/components/report/HiddenSituation.vue +165 -165
  46. package/src/components/rongcheng/AspPaperFeedback.vue +1179 -1179
  47. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  48. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  49. package/src/components/rongcheng/DefectList.vue +560 -560
  50. package/src/components/rongcheng/PaperFeedback.vue +1318 -1318
  51. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  52. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  53. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  54. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  55. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
  56. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  57. package/src/components/shaoguan/DefectList.vue +473 -473
  58. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  59. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  60. package/src/components/userfile/SecurityAudit.vue +243 -243
  61. package/src/components/userfileNew/UserInfoAuditNew.vue +274 -274
  62. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  63. package/src/filiale/ancheng/android/PaperFeedback.vue +1489 -1489
  64. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  65. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  66. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  67. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  68. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  69. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  70. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  71. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  72. package/src/filiale/bayan/android/Edit.vue +132 -132
  73. package/src/filiale/bayan/android/PaperFeedback.vue +1669 -1669
  74. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  75. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  76. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  77. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  78. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  79. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  80. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  81. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  82. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  83. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  84. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  85. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  86. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  87. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  88. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
  89. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  90. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  91. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  92. package/src/filiale/huatong/android/PaperFeedback.vue +1433 -1433
  93. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  94. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  95. package/src/filiale/huayin/android/PaperFeedback.vue +1422 -1422
  96. package/src/filiale/huayin/android/SafecheckOrderV.vue +2712 -2712
  97. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  98. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  99. package/src/filiale/jiaocheng/android/PaperFeedback.vue +1308 -1308
  100. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  101. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  102. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  103. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  104. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  105. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  106. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  107. package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
  108. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  109. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  110. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +420 -420
  111. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  112. package/src/filiale/kelai/android/AndroidDefectDeal.vue +747 -747
  113. package/src/filiale/kelai/android/PaperFeedback.vue +1539 -1539
  114. package/src/filiale/kelai/android/SafecheckOrderV.vue +2448 -2448
  115. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  116. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  117. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  118. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  119. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  120. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  121. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  122. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  123. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  124. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  125. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  126. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  127. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  128. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  129. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  130. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  131. package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
  132. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  133. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  134. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  135. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  136. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  137. package/src/filiale/qianneng/android/PaperFeedback.vue +1434 -1434
  138. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  139. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  140. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  141. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  142. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  143. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  144. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  145. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  146. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  147. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  148. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  149. package/src/filiale/rizhao/android/PaperFeedback.vue +1510 -1510
  150. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  151. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  152. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  153. package/src/filiale/rongchuang/android/PaperFeedback.vue +1455 -1455
  154. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  155. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  156. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  157. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  158. package/src/filiale/shanggao/android/PaperFeedback.vue +1422 -1422
  159. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  160. package/src/filiale/shanxian/android/PaperFeedback.vue +1445 -1445
  161. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  162. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  163. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  164. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  165. package/src/filiale/shexian/android/PaperFeedback.vue +1448 -1448
  166. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  167. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  168. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  169. package/src/filiale/shimen/android/PaperFeedback.vue +1341 -1341
  170. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  171. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  172. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  173. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  174. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  175. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  176. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  177. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  178. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  179. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  180. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  181. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  182. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  183. package/src/filiale/tongchuan/android/PaperFeedback.vue +1316 -1316
  184. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  185. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  186. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  187. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  188. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  189. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  190. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  191. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  192. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  193. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  194. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  195. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  196. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  197. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  198. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  199. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  200. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  201. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  202. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  203. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  204. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  205. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  206. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  207. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  208. package/src/filiale/wenxi/android/PaperFeedback.vue +1607 -1607
  209. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  210. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  211. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  212. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  213. package/src/filiale/wuan/android/PaperFeedback.vue +1433 -1433
  214. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  215. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  216. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  217. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  218. package/src/filiale/wuhai/android/PaperFeedback.vue +1350 -1350
  219. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  220. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  221. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  222. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
  223. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  224. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  225. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  226. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  227. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  228. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  229. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  230. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  231. package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
  232. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  233. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  234. package/src/filiale/yuansheng/android/PaperFeedback.vue +1488 -1488
  235. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  236. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  237. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  238. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  239. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  240. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  241. package/src/filiale/zhongsheng/android/PaperFeedback.vue +1341 -1341
  242. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  243. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  244. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  245. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  246. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  247. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  248. package/src/filiale/zhoukou/android/PaperFeedback.vue +1367 -1367
  249. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  250. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  251. package/src/main.js +32 -33
@@ -1,1433 +1,1433 @@
1
- <template>
2
- <form novalidate class="form-horizontal" style="width: 95%;margin: auto">
3
- <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
4
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
5
- <label class="control-label font text-left col-md-4 col-xs-4">备注</label>
6
- <div class="col-md-12 col-sm-12 col-xs-12">
7
- <textarea v-model="paper.f_repair_approved_note" class="form-control"></textarea>
8
- </div>
9
- </div>
10
- </div>
11
- <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
12
- <div class="text-center">
13
- <label class="font">总体安检照片请依次拍摄:</label>
14
- </div>
15
- <div class="col-md-12 col-sm-12 col-xs-12">
16
- <ol class="showIi">
17
- <li>1.燃气设施全景</li>
18
- <li>2.燃气表照片</li>
19
- <li>3.灶具照片</li>
20
- <li>4.其他照片</li>
21
- </ol>
22
- </div>
23
- </div>
24
- <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">
25
- <label class="text-left font">总体安检照片</label>
26
-
27
- <div class="auto" :class="style__">
28
- <div class="panel" style="padding: 10px 10px 5px 10px;">
29
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
30
- <div class="row" style="height: 240px;overflow: scroll;top: 1px" >
31
- <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in paper.f_overall_imgs">
32
- <img-self :src="img.f_overall_path" alt="总体安检照片" :width="140" :height="170"></img-self>
33
- <img src="../../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">
34
- </div>
35
- </div>
36
- <div class="row text-right div-photo">
37
- <button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', '总体安检照片')">拍照</button>
38
- <!--<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_overall_path', '总体安检照片1')">拍照</button>-->
39
- <!--&nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" :class="style__" @click="delfile('f_overall_path', img.f_overall_path)" style="width: 25%;"></img>-->
40
- </div>
41
- </div>
42
- </div>
43
- </div>
44
- </div>
45
- <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">
46
- <label class="text-left font">总体隐患照片</label>
47
- <div class="auto" :class="style__">
48
- <div class="panel" style="padding: 10px 10px 5px 10px;">
49
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
50
- <div class="row" style="height: 240px;overflow: scroll;top: 1px" >
51
- <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in defectImgs">
52
- <img-self :src="img" alt="总体隐患照片" :width="140" :height="170"></img-self>
53
- <!-- <img src="../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">-->
54
- </div>
55
- </div>
56
- </div>
57
- </div>
58
- </div>
59
- </div>
60
- <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
61
- <div class="text-center">
62
- <label class="font">隐患汇总:</label>
63
- </div>
64
- <div class="col-md-12 col-sm-12 col-xs-12">
65
- <ol class="showIi">
66
- <li v-for="item in defectReason">{{ item.deviceitem }}</li>
67
- </ol>
68
- </div>
69
- </div>
70
- <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
71
- <div class="text-center">
72
- <label class="font">整改建议汇总:</label>
73
- </div>
74
- <div class="col-md-12 col-sm-12 col-xs-12">
75
- <ol class="showIi">
76
- <li v-for="item in defectToolTip">{{ item }}</li>
77
- </ol>
78
- </div>
79
- </div>
80
- <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">
81
- <input type="checkbox" v-model="paper.f_read_instructions"/><label class="text-left font">我已阅读须知内容</label>
82
-
83
- </div>
84
- <!-- <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">-->
85
- <!-- <label class="text-left font">用户签名</label>-->
86
- <!-- <div class="auto">-->
87
- <!-- <div class="panel">-->
88
- <!-- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">-->
89
- <!-- <div class="row" style="height: 240px;overflow: scroll;top: 1px">-->
90
- <!-- <div class="col-sm-4">-->
91
- <!-- <img :class="style__" :src="paper.f_sign_path" :width="200" :height="150" />-->
92
- <!-- </div>-->
93
- <!-- </div>-->
94
- <!-- <div class="row text-right div-photo">-->
95
- <!-- <button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>-->
96
- <!-- </div>-->
97
- <!-- </div>-->
98
- <!-- </div>-->
99
- <!-- </div>-->
100
- <!-- </div>-->
101
- <div class="form-group col-sm-12 col-xs-12 col-md-12 " :style="timeSet(this.isneedDate)?'':'display:none'">
102
- <label>请输入超期原因:</label><br/>
103
- <textarea style="width: 100%;" v-model="paper.f_exceed_reason"></textarea>
104
- </div>
105
- <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__" v-show="showbacklist=='是'">
106
- <div class="col-xs-6 col-sm-6">
107
- <input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label class="text-left font" >限制该用户购气</label>
108
- </div>
109
- <div class="col-xs-6 col-sm-6">
110
- <input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消该用户购气</label>
111
- </div>
112
- </div>
113
- <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__" v-if="Vue.$appdata.getParam('安检天然气安全使用须知检查')=='是'">
114
- <div class="col-xs-12 col-sm-12">
115
- <input type="checkbox" v-model="paper.f_gas_guidelines" /><label class="text-left font" >天然气安全使用须知</label>
116
- </div>
117
- <div class="col-xs-12 col-sm-12">
118
- <input type="checkbox" v-model="paper.f_safety_warning" /><label class="text-left font" >天然气室内使用安全警示</label>
119
- </div>
120
- <div class="col-xs-12 col-sm-12">
121
- <input type="checkbox" v-model="paper.f_gas_manual" /><label class="text-left font" >安全用气手册</label>
122
- </div>
123
- </div>
124
- <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
125
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
126
- <input type="checkbox" v-model="paper.f_defect_notified" class="showIi" />安检通知书/隐患整改通知书
127
- </div>
128
- <div class="form-group col-md-12 col-sm-12 col-xs-12" v-if="paper.f_defect_notified">
129
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
130
- <button type="button" @click="print()">打印隐患整改单</button>
131
- </div>
132
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
133
- <label class="text-left font">安检通知书/隐患整改通知书照片(要求能清晰反应安检通知单和用户签字内容):</label>
134
- <div class="auto" >
135
- <div class="panel" style="padding: 10px 10px 5px 10px;">
136
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
137
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
138
- <div class="col-sm-4">
139
- <img-self :src="paper.f_notified_path" alt="安检通知书/隐患整改通知书照片" width="150" height="200"></img-self>
140
- </div>
141
- </div>
142
- <div class="row text-right div-photo">
143
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_notified_path', '安检通知书/隐患整改通知书照片')">拍照</button>
144
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" :class="style__" @click="delfile('f_notified_path', this.paper.f_notified_path)" style="width: 25%;"></img>
145
- </div>
146
- </div>
147
- </div>
148
- </div>
149
- </div>
150
- </div>
151
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
152
- <div class="row">
153
- <label class="text-left">请对我们的服务做出评价:</label>
154
- </div>
155
- <div class="col-xs-4 col-sm-4" v-for="item in radios">
156
- <input v-model="paper.f_client_evaluation" :value="item.label" :checked='item.isChecked' @click="check(item.value)" type="radio">{{item.label}}
157
- </div>
158
-
159
- <!--<div class="col-sm-4">-->
160
- <!--<radio-group :value.sync="paper.f_client_evaluation" type="success" buttons="false">-->
161
- <!--<radio value="满意">满意</radio>-->
162
- <!--<radio value="基本满意">基本满意</radio>-->
163
- <!--<radio value="不满意">不满意</radio>-->
164
- <!--</radio-group>-->
165
- <!--</div>-->
166
- </div>
167
-
168
- <div class="form-group col-md-12 col-sm-12 col-xs-12" v-if="isRecodr=='false'">
169
- <label class="text-left font">反馈录音:</label>
170
- <div class="col-md-12 col-sm-12 col-xs-12">
171
- <button type="button" name="button" class="btn btn-primary btn-voice" @click="record">
172
- <img src="../../../assets/录音.png" style="width: 14%;">
173
- <span v-if="!paper.f_recording1_path">开始录音</span>
174
- <span v-if="paper.f_recording1_path">已录音</span>
175
- </button>
176
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" style="width: 15px;" :class="style__" @click="delAudioFile('f_recording1_path', paper.f_recording1_path)"></img>
177
- </div>
178
- </div>
179
-
180
- <div v-if="false">
181
- <div class="text-center form-group col-md-12 col-sm-12 col-xs-12">
182
- <button style="width: 30%;margin:3%;margin-bottom: 0%" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' &&(paper.f_complete != '已完成' || paper.back_f_entry_status != '入户') " class="btn save-btn" @click="$parent.$parent.save('temp')">临时保存</button>
183
- <button style="width: 30%;margin:3%;margin-bottom: 0%" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' && (paper.f_complete != '已完成' || paper.back_f_entry_status != '入户')" class="btn save-btn " @click="$parent.$parent.save('finish')">完成安检</button>
184
- </div>
185
- <div class="text-center form-group col-md-12 col-sm-12 col-xs-12">
186
- <button style="width: 30%;margin:3%;margin-bottom: 0%;margin-top: 0%" id="upload" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' && (paper.f_complete != '已完成' || paper.back_f_entry_status != '入户')" class="btn upload-btn " @click="$parent.$parent.uploadCheckPaper" >上传</button>
187
- <button style="width: 30%;margin:3%;margin-bottom: 0%;margin-top: 0%" v-if="(safeCheckToRepair == true || safeCheckToRepair == 'true') && $parent.$parent.actionEnabled" class="btn repair-btn btn-warning " type="button" @click="showToRepair">转维修</button> </div>
188
- </div>
189
-
190
- </div>
191
- </form>
192
- <!-- <modal :show.sync="showCheckToRepair" v-ref:modal :backdrop="isback">-->
193
- <!-- <div slot="modal-header" class="modal-header">-->
194
- <!-- <h4 class="modal-title">-->
195
- <!-- 安检转维修-->
196
- <!-- </h4>-->
197
- <!-- </div>-->
198
- <!-- <div slot="modal-body" class="modal-body">-->
199
- <!-- <div v-if="showrepair">-->
200
- <!-- <div class="row">-->
201
- <!-- <label class="col-xs-4 col-md-4 control-label text-left">派单方式</label>-->
202
- <!-- <div class="col-xs-8 col-md-8">-->
203
- <!-- <label v-for="handling1 in handling" >-->
204
- <!-- <input type="radio"-->
205
- <!-- v-model="meading"-->
206
- <!-- value="{{handling1.label}}">-->
207
- <!-- {{handling1.label}}-->
208
- <!-- </label>-->
209
- <!-- </div>-->
210
- <!-- </div>-->
211
- <!-- <div class="row" v-if="meading == '转站点'">-->
212
- <!-- <label class="col-xs-4 col-md-4 control-label font text-left" for="f_reciever">站点</label>-->
213
- <!-- &lt;!&ndash;<input type="text" v-show="false" v-model="serviceacitivity.f_reciever"&ndash;&gt;-->
214
- <!-- &lt;!&ndash;v-validate:f_reciever='{ required: true }'>&ndash;&gt;-->
215
- <!-- <div class="col-xs-8 col-md-8">-->
216
- <!-- <right-tree @ready="onReady" islist :Url="Url" :userid="userid" :source="source" v-on:re-res="reres" :textContent="选择站点管理员" :selectData="" v-ref:f_reciever>-->
217
- <!-- </right-tree>-->
218
- <!-- </div>-->
219
- <!-- </div>-->
220
-
221
- <!-- <div class="row" style="margin-top: 6px" v-if="meading == '转维修员'">-->
222
- <!-- <label class="col-xs-4 col-md-4 control-label font text-left">维修人</label>-->
223
- <!-- <div class="col-xs-8">-->
224
- <!-- <v-select :value="$parent.$parent.model.serviceacitivity[0].f_reciever" :value-single="true"-->
225
- <!-- :options='f_repair_person' placeholder='请选择维修员'-->
226
- <!-- close-on-select v-on:change="repiarmancg"></v-select>-->
227
- <!-- </div>-->
228
-
229
- <!-- </div>-->
230
- <!-- <div class="row" style="margin-top: 6px">-->
231
- <!-- <label for="f_repair" class="col-xs-4 col-md-4 control-label font text-left">报修类型</label>-->
232
- <!-- <div class="col-xs-8 col-md-8">-->
233
- <!-- <v-select :value.sync="$parent.$parent.model.f_repairtype" :value-single="true"-->
234
- <!-- :options='repairstypes' placeholder='报修类型'-->
235
- <!-- close-on-select>-->
236
- <!-- </v-select>-->
237
- <!-- </div>-->
238
- <!-- </div>-->
239
-
240
- <!-- <div class="row" style="margin-top: 6px">-->
241
- <!-- <label class="control-label font text-left col-md-4 col-xs-4">备注</label>-->
242
- <!-- <div class="col-xs-8 col-md-8">-->
243
- <!-- <input type="text" v-model="$parent.$parent.model.f_remarks"/>-->
244
- <!-- </div>-->
245
-
246
- <!-- </div>-->
247
-
248
- <!-- </div>-->
249
- <!-- <div v-if="!showrepair">-->
250
- <!-- 暂无隐患设备信息-->
251
- <!-- </div>-->
252
- <!-- </div>-->
253
- <!-- <div slot="modal-footer" class="modal-footer">-->
254
- <!-- <button type="button" class="btn btn-default" @click="uploadPaper()">确定</button>-->
255
- <!-- <button type="button" class="btn btn-default" @click="undo()">取消</button>-->
256
- <!-- </div>-->
257
- <!-- </modal>-->
258
- <!--拉黑框-->
259
- <modal :show.sync="showmodel" v-ref:modal>
260
- <div slot="modal-header" class="modal-header">
261
- <h4 class="modal-title">
262
- 限制用户购气
263
- </h4>
264
- </div>
265
- <div slot="modal-body" class="modal-body">
266
- <!-- <div class="row" style="margin-top: 6px">-->
267
- <!-- <label style="color: red;">注:当前页面无法取消对用户的限制购气</label>-->
268
- <!-- </div>-->
269
- <div class="row" style="margin-top: 6px">
270
- <textarea id="el_ca_tx" v-model.trim="cause" style="border-radius:4px;width: 100%;" placeholder="请输入限制用户购气原因" >
271
- </textarea>
272
- </div>
273
- </div>
274
- <div slot="modal-footer" class="modal-footer">
275
- <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="backlist()">确认</button>
276
- <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="cancel()">取消</button>
277
- </div>
278
- </modal>
279
-
280
- <modal :show.sync="showmodelthree" v-ref:modal>
281
- <div slot="modal-header" class="modal-header">
282
- <h4 class="modal-title">
283
- 取消限制用户购气
284
- </h4>
285
- </div>
286
- <div slot="modal-body" class="modal-body">
287
- <!-- <div class="row" style="margin-top: 6px">-->
288
- <!-- <label style="color: red;">注:当前页面无法取消对用户的限制购气</label>-->
289
- <!-- </div>-->
290
- <div class="row" style="margin-top: 6px">
291
- <textarea id="el_ca_txt" v-model.trim="deletecause" style="border-radius:4px;width: 100%;" placeholder="请输入取消限制用户购气原因" >
292
- </textarea>
293
- </div>
294
- </div>
295
- <div slot="modal-footer" class="modal-footer">
296
- <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="deletebacklist()">确认</button>
297
- <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="deletecancel()">取消</button>
298
- </div>
299
- </modal>
300
- </template>
301
-
302
- <script>
303
- import Vue from 'vue'
304
- import * as Util from '../../../components/Util'
305
- import { HttpResetClass } from 'vue-client'
306
- import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
307
- import Radio from 'vue-client/src/vue-strap/src/radioBtn'
308
- import co from 'co'
309
-
310
- // let getRepairParam = function * (self){
311
- // let data = {
312
- // $parent.$parent.model: self.$parent.$parent.model, loginUser: {
313
- // name: self.role == 'view'?self.$login.f.name:Vue.user.name,
314
- // ename: self.role == 'view'?self.$login.f.ename:Vue.user.ename
315
- // }, user: self.user, callObj: self.callObj
316
- // }
317
- // if(self.$parent.$parent.meading == '转维修员'){
318
- // data.toRepair = '一级派单'
319
- // }
320
- // data.$parent.$parent.model.f_attendant = data.loginUser.name
321
- // ////tag
322
- // ////tag
323
- // let res
324
- // let errString = self.$parent. $parent.errorVerify()
325
- // if(errString){
326
- // ////tag
327
- // if (Vue.android)
328
- // self.undo()
329
- // this.$showMessage(errString)
330
- // return
331
- // } else {
332
- // if(self.role == 'inspect'){
333
- // if(self.$parent.$parent.meading == '转维修员' && (self.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || self.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)){
334
- // this.$showMessage("请选择维修员!")
335
- // return
336
- // }
337
- // if(self.$parent.$parent.meading == '转站点' && (self.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || self.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)){
338
- // HostApp.alert()
339
- // this.$showMessage("请选择站点!")
340
- // return
341
- // }
342
- // if(self.$parent.$parent.model.f_repairtype == ''){
343
- // this.$showMessage("请选择报修类型!")
344
- // return
345
- // }
346
- // ////tag)
347
- // let checkResult = '正常'
348
- // let options = [{"data": "已处理"},{"data": "未处理"}]
349
- // let value = ''
350
- // let codata = JSON.parse(JSON.stringify(self.paper))
351
- // for(let device in codata){
352
- // ////tag)
353
- // let f_device_type
354
- // if(device.startsWith("device")){
355
- // for(let item in codata[device]) {
356
- // if(codata[device].length > 1 ){
357
- // let j = Number.parseInt(item)+1
358
- // f_device_type = `${codata[device][item].f_device_type}${j}`
359
- // }else{
360
- // f_device_type = codata[device][item].f_device_type
361
- // }
362
- // // ////tag
363
- // let details = []
364
- // for(let i in codata[device][item].f_items){
365
- // let items = codata[device][item].f_items[i]
366
- // ////tag
367
- // if(items.f_is_defect == true || items.f_is_defect == 'true'){
368
- // checkResult = '有隐患'
369
- // ////tag
370
- // let res = yield self.$resetpost(`${self.Url}/api/af-safecheck/sql/getDeviceItem`,{data:{f_device_id:codata[device][item].f_device_id,f_item_name:items.f_item_name}})
371
- // ////tag)
372
- // self.$set('detail.f_defect_id', res.data[0].id)
373
- // self.$set('detail.f_project',`${items.f_item_name}:${items.f_item_value}`)
374
- // self.$set('detail.type',items.type)
375
- // self.$set('detail.options',options)
376
- // details.push(JSON.parse(JSON.stringify(self.detail)))
377
- // }
378
- // if(items.type == 'selector'){
379
- // items.selected = ''
380
- // }
381
- // self.detail = {}
382
- // }
383
- // ////tag
384
- // self.$set('defectDevice.f_type',f_device_type)
385
- // self.$set('defectDevice.details',details)
386
- // if(self.defectDevice.details.length >0 ){
387
- // self.repairitems.push(JSON.parse(JSON.stringify(self.defectDevice)))
388
- // }
389
- // self.defectDevice = {}
390
- // ////tag
391
- // }
392
- // }
393
- // }
394
- // self.$set('$parent.$parent.model.f_repairitems.data',self.repairitems)
395
- //
396
- //
397
- // ////tag)
398
- // res = self.$androidUtil.bzLogic('safecheckToRepair',data)
399
- // ////tag
400
- // ////tag
401
- // ////tag
402
- // if(res.code == 200){
403
- // self.$parent.$parent.isSafeCheckToRepair = true
404
- // self.undo()
405
- // self.$set('paper.f_SafeToRepair_id',res.data.f_service_id)
406
- // ////tag
407
- // self.$resetpost(`${self.Url}/api/af-safecheck/logic/updatePaperRepair`,{data:{f_paper_id:self.paper.f_paper_id,f_SafeToRepair_id:res.data.f_service_id}}).then((ret)=>{
408
- // ////tag
409
- // if(ret.data.code ==200){
410
- // ////tag
411
- // self.$parent.$parent.$back()
412
- // }else{
413
- // self.$showMessage('安检转维修失败!')
414
- // }
415
- // }).catch(v=>{
416
- // ////tag)
417
- // self.$showMessage('安检转维修失败!')
418
- // })
419
- // }else{
420
- // self.$showMessage('安检转维修失败!')
421
- // }
422
- // }
423
- // }
424
- // }
425
-
426
-
427
-
428
- // let getRepairs = async function(self,url) {
429
- // // 获取配置信息
430
- // try {
431
- // let val = {source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1 ))', userid: `${Vue.user.id}`}
432
- // let repairs =[]
433
- // let res = await Vue.resetpost(`${url}/rs/search`,{data: val},{resolveMsg: null, rejectMsg: null})
434
- // res.data.forEach((item) => {
435
- // repairs.push({label: item.name, value: item})
436
- // })
437
- // self.f_repair_person = repairs
438
- // if(self.$parent.$parent.role == 'inspect'){
439
- // let res = self.$androidUtil.bzLogic('getUserInfo',{id:self.paper.f_userinfoid})
440
- // if(res.code == 200){
441
- // self.$parent.$parent.user = res.data[0]
442
- // self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
443
- // }
444
- // }else{
445
- // ////tag
446
- // self.$resetpost(`${self.Url}/api/af-safecheck/sql/safeCheckgetUserInfo`,{data:{id:self.paper.f_userinfoid}},{resolveMsg: null, rejectMsg: null}).then((res)=>{
447
- // ////tag
448
- // if(res.data.length != 0){
449
- // self.$parent.$parent.user = res.data[0]
450
- // self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
451
- // }
452
- // })
453
- // // path({alias:'getUserInfo',data:{id:this.paper.f_userinfoid}})
454
- // }
455
- // } catch (error) {
456
- // ////tag
457
- // }
458
- // }
459
-
460
- export default {
461
- title: '用户反馈',
462
- data() {
463
- return {
464
- defectImgs: [],
465
- defectToolTip: [],
466
- defectReason: [],
467
- images: [],
468
- showmodelthree: false,
469
- isneedDate: this.$parent.$parent.isneedDate,
470
- plan: this.$parent.$parent.item,
471
- meading: this.$parent.$parent.meading,
472
- paper: this.$parent.$parent.data,
473
- printContent: [],
474
- upload_state: this.$parent.$parent.item.f_upload_state,
475
- enabled: false,//控制限制购气是否可选
476
- deleteenabled: false,
477
- showmodel: false,
478
- showbacklist:'是',
479
- backlistisselect: false,
480
- deletebacklistisselect: false,
481
- radios: [
482
- {
483
- label: '满意',
484
- value: 0,
485
- isChecked: false,
486
- },
487
- {
488
- label: '基本满意',
489
- value: 1,
490
- isChecked: false,
491
- },
492
- {
493
- label: '不满意',
494
- value: 2,
495
- isChecked: false,
496
- },
497
- ],
498
- repairitems: [],
499
- repairstypes: this.$appdata.getParam('报修类型'),
500
- // f_repair_person: this.readRepair(),
501
- showrepair: false,
502
- safeCheckToRepair: '',
503
- showCheckToRepair: false,
504
- userid: '',
505
- source:
506
- 'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
507
- 'tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))',
508
- isback: false,
509
- defectDevice: {},
510
- detail: {},
511
- callObj: null,
512
- user: {},
513
- role: this.$parent.$parent.role,
514
- handling: [{label: '转站点', value: '转站点'}, {label: '转维修员', value: '转维修员'}],
515
- Url: this.$androidUtil.getProxyUrl(),
516
- cause: "",
517
- deletecause: "",
518
- isRecodr: "false", //单值参数,为true则是开启全程录音
519
- }
520
- },
521
- props: ['idx'],
522
- components: {
523
- RadioGroup,
524
- Radio
525
- },
526
- methods: {
527
- timeSet(val) {
528
- //////tag
529
- if (!val) {
530
- return
531
- }
532
- let time = new Date(val).getTime()
533
- let time2 = new Date().getTime()
534
- if (time2 > time) {
535
- return true
536
- }
537
- },
538
- // async isoverDate(){
539
- // ////tag
540
- // let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/androidGetuserinfo`, {data:{
541
- // condition:"f_plan_item_id='"+this.$parent.$parent.item.id+"'"
542
- // }
543
- // })
544
- // this.isneedDate=res.data[0]["f_subscribe_date"]
545
- // ////tag
546
- // },
547
- check(index) {
548
- ////tag
549
- // 先取消所有选中项
550
- for (let item of this.radios) {
551
- item.isChecked = false;
552
- }
553
- //再设置当前点击项选中
554
- this.paper.f_client_evaluation = this.radios[index].label;
555
- // 设置值,以供传递
556
- this.radios[index].isChecked = true;
557
- ////tag;
558
- },
559
- getSignValue(fileName) {
560
- this.f_signname = fileName
561
- },
562
- cameraCallBack(prop, fileName) {
563
- if (prop == 'f_overall_path') {
564
- let f_overall_path = fileName + '?' + Math.random()
565
- HostApp.__this__.paper.f_overall_imgs.push({
566
- f_overall_path: f_overall_path
567
- })
568
- } else {
569
- HostApp.__this__.paper[prop] = fileName + '?' + Math.random()
570
- }
571
- HostApp.__callback__ = null
572
- HostApp.__this__ = null
573
- },
574
- takePic(prop, title, index) {
575
- HostApp.__callback__ = this.cameraCallBack
576
- HostApp.__this__ = this
577
- ////tag
578
- ////tag
579
- let fileName
580
- if (prop == 'f_overall_path') {
581
- if (!this.paper.f_overall_imgs[index] || this.paper.f_overall_imgs[index].f_overall_path.includes("nopic.png")) {
582
- fileName = Util.guid() + '-' + prop + '.jpg'
583
- } else {
584
- fileName = Util.getFileName(this.paper.f_overall_imgs[index].f_overall_path)
585
- }
586
- } else {
587
- if (!this.paper[prop] || this.paper[prop].includes("nopic.png")) {
588
- fileName = Util.guid() + '-' + prop + '.jpg'
589
- } else {
590
- fileName = Util.getFileName(this.paper[prop])
591
- }
592
- }
593
-
594
- HostApp._open_a_page({
595
- type: 'boomerang',
596
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
597
- param: {
598
- file: fileName,
599
- requestCode: 111,
600
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
601
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name + '\t' + this.paper.f_userinfo_code+ '\t' + this.paper.f_user_name+ '\t' + this.paper.f_address
602
- }
603
- })
604
- },
605
- amrCallBack(fileName) {
606
- HostApp.__this__.$set('paper.f_recording1_path', fileName)
607
- HostApp.__callback__ = null
608
- HostApp.__this__ = null
609
- },
610
- record() {
611
- if (this.$parent.$parent.role != 'inspect') {
612
- if (this.paper.f_recording1_path != '') {
613
- window.location = this.paper.f_recording1_path
614
- }
615
- } else {
616
- HostApp.__callback__ = this.amrCallBack
617
- HostApp.__this__ = this
618
- let fileName
619
- if (!this.paper.f_recording1_path) {
620
- fileName = Util.guid() + '.amr'
621
- } else {
622
- fileName = Util.getFileName(this.paper.f_recording1_path)
623
- }
624
- HostApp._open_a_page({
625
- type: 'boomerang',
626
- page: 'com.aofeng.hybrid.android.peripheral.AudioClipActivity',
627
- param: {file: fileName, requestCode: 111, callback: 'javascript:HostApp.__callback__("%s");'}
628
- })
629
- }
630
- },
631
- // 签名回调
632
- signCallback(prop, fileName) {
633
- // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
634
- HostApp.__this__.$set('paper.f_sign_path', fileName)
635
- HostApp.__callback__ = null
636
- HostApp.__this__ = null
637
- },
638
- // 用户签名
639
- sign() {
640
- if (!this.paper.f_read_instructions) {
641
- this.$showMessage('请先阅读并勾选用户须知内容后进行签名!')
642
- return
643
- }
644
- this.delAudioFile('f_sign_path', this.paper.f_sign_path)
645
- let prop = 'f_sign_path'
646
- let idx = 'aofeng'
647
- let fileName
648
- if (!this.paper.f_sign_path) {
649
- fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
650
- } else {
651
- fileName = Util.getFileName(this.paper.f_sign_path)
652
- }
653
- HostApp.__callback__ = this.signCallback
654
- HostApp.__this__ = this
655
- HostApp.getSignature({
656
- file: fileName,
657
- requestCode: 111,
658
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
659
- })
660
- },
661
- delfile(prop, fileName, index) {
662
- if (fileName == Vue.nopic)
663
- return
664
- else {
665
- if (prop == 'f_overall_path') {
666
- this.paper.f_overall_imgs.splice(index, 1)
667
- HostApp.delfile(fileName)
668
- } else {
669
- HostApp.delfile(fileName)
670
- this.paper[prop] = Vue.nopic
671
- }
672
- }
673
- },
674
- delAudioFile(prop, fileName) {
675
- if (!fileName)
676
- return
677
- else {
678
- HostApp.delfile(fileName)
679
- this.paper[prop] = null
680
- }
681
- },
682
- //获取打印用户信息
683
- getUser() {
684
- if (this.paper.f_user_name == undefined)
685
- this.paper.f_user_name = ''
686
- this.printContent.push({
687
- type: 3,
688
- text: '用户名称:' + this.paper.f_user_name,
689
- fontsize: 2,
690
- isbold: false,
691
- align: 'left'
692
- })
693
- if (this.paper.f_userinfo_code == undefined)
694
- this.paper.f_userinfo_code = ''
695
- this.printContent.push({
696
- type: 3,
697
- text: '用户编号:' + this.paper.f_userinfo_code,
698
- fontsize: 2,
699
- isbold: false,
700
- align: 'left'
701
- })
702
- if (this.paper.f_address == undefined)
703
- this.paper.f_address = ''
704
- this.printContent.push({type: 3, text: '地址:' + this.paper.f_address, fontsize: 2, isbold: false, align: 'left'})
705
- if (this.paper.f_user_phone == undefined)
706
- this.paper.f_user_phone = ''
707
- this.printContent.push({
708
- type: 3,
709
- text: '电话:' + this.paper.f_user_phone,
710
- fontsize: 2,
711
- isbold: false,
712
- align: 'left'
713
- })
714
- },
715
- verify() {
716
- let hasError = this.$parent.$parent.verifyUser()
717
- if (hasError)
718
- return hasError
719
- hasError = this.$parent.$parent.verifyDevices()
720
- if (hasError)
721
- return hasError
722
- },
723
- print() {
724
- let errString = this.verify()
725
- if (errString) {
726
- ////tag
727
- if (Vue.android)
728
- this.$showMessage(errString)
729
- return
730
- }
731
- // 文本
732
- let templatename = '安检结果单'
733
- if (Vue.config.safecheck != undefined) {
734
- if (Vue.config.safecheck.ApproveConfig != undefined) {
735
- if (Vue.config.safecheck.ApproveConfig.templatename != undefined) {
736
- templatename = Vue.config.safecheck.ApproveConfig.templatename
737
- }
738
- }
739
- }
740
- let textHead = {type: 3, text: templatename, fontsize: 3, isbold: true, align: 'center'}
741
- let feedPageHead = {type: 4, value: 2, unit: 'line'}
742
- let feedPageEnd = {type: 4, value: 4, unit: 'line'}
743
- this.printContent.push(textHead)
744
- this.printContent.push(feedPageHead)
745
- this.getUser()
746
- this.getDefect()
747
- this.getCheck()
748
- this.printContent.push(feedPageEnd)
749
- let arrstr = JSON.stringify(this.printContent)
750
- ////tag
751
- this.$androidUtil.print(arrstr)
752
- this.$set('printContent', [])
753
- },
754
- //打印安检信息
755
- getCheck() {
756
- let telephone = '96777'
757
- if (Vue.config.safecheck != undefined) {
758
- if (Vue.config.safecheck.ApproveConfig != undefined) {
759
- if (Vue.config.safecheck.ApproveConfig.checkphone != undefined) {
760
- telephone = Vue.config.safecheck.ApproveConfig.checkphone
761
- }
762
- }
763
- }
764
- this.printContent.push({
765
- type: 3,
766
- text: '*******************************',
767
- fontsize: 3,
768
- isbold: false,
769
- align: 'center'
770
- })
771
- this.printContent.push({type: 3, text: '咨询电话;' + telephone, fontsize: 2, isbold: false, align: 'left'})
772
- this.printContent.push({type: 3, text: '安检人:' + Vue.user.name, fontsize: 2, isbold: false, align: 'left'})
773
- this.printContent.push({
774
- type: 3,
775
- text: '安检时间:' + this.getNowFormatDate(),
776
- fontsize: 2,
777
- isbold: false,
778
- align: 'left'
779
- })
780
- this.printContent.push({type: 3, text: '用户签字:', fontsize: 2, isbold: false, align: 'left'})
781
- this.printContent.push({type: 4, value: 4, unit: 'line'})
782
- },
783
-
784
- getDefect() {
785
- let showmore = false
786
- if (Vue.config.safecheck != undefined) {
787
- if (Vue.config.safecheck.ApproveConfig != undefined) {
788
- if (Vue.config.safecheck.ApproveConfig.showmore != undefined) {
789
- showmore = Vue.config.safecheck.ApproveConfig.showmore
790
- }
791
- }
792
- }
793
-
794
- let backData = this.$parent.$parent.getAllDefect()
795
- // 对隐患信息进行遍历
796
- let res = JSON.parse(backData.f_defect_content)
797
- this.printContent.push({
798
- type: 3,
799
- text: '安检结果:' + res.result,
800
- fontsize: 2,
801
- isbold: false,
802
- align: 'left'
803
- })
804
- this.printContent.push({
805
- type: 3,
806
- text: '*******************************',
807
- fontsize: 3,
808
- isbold: false,
809
- align: 'center'
810
- })
811
-
812
-
813
- if (showmore) {
814
- //全部打印
815
- for (let dev in this.$parent.$parent.config) {
816
- for (let device in backData) {
817
- if (device.startsWith("device")) {
818
- for (let item in backData[device]) {
819
- //遍历结果
820
- if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
821
- let error = true
822
- for (let i in backData[device][item].f_items) {
823
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
824
- error = false
825
- }
826
- }
827
- if (error) {
828
- this.printContent.push({
829
- type: 3,
830
- text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
831
- fontsize: 2,
832
- isbold: false,
833
- align: 'left'
834
- })
835
- } else {
836
- this.printContent.push({
837
- type: 3,
838
- text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
839
- fontsize: 2,
840
- isbold: true,
841
- align: 'left'
842
- })
843
- }
844
-
845
- for (let i in backData[device][item].f_items) {
846
- if (backData[device][item].f_items[i].f_item_value != '' && backData[device][item].f_items[i].f_item_value != null) {
847
- this.printContent.push({
848
- type: 3,
849
- text: backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
850
- fontsize: 2,
851
- isbold: false,
852
- align: 'left'
853
- })
854
- }
855
- }
856
- this.printContent.push({type: 4, value: 2, unit: 'line'})
857
- }
858
- }
859
- }
860
- }
861
- }
862
-
863
- for (let dev in this.$parent.$parent.config) {
864
- for (let device in backData) {
865
- if (device.startsWith("device")) {
866
- for (let item in backData[device]) {
867
- //遍历结果
868
- if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
869
- let error = true
870
- for (let i in backData[device][item].f_items) {
871
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
872
- error = false
873
- }
874
- }
875
- if (!error) {
876
- this.printContent.push({
877
- type: 3,
878
- text: '隐患:',
879
- fontsize: 2,
880
- isbold: true,
881
- align: 'left'
882
- })
883
- }
884
- }
885
- }
886
- }
887
- }
888
- for (let device in backData) {
889
- if (device.startsWith("device")) {
890
- for (let item in backData[device]) {
891
- if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
892
- for (let i in backData[device][item].f_items) {
893
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
894
- this.printContent.push({
895
- type: 3,
896
- text: backData[device][item].f_items[i].f_item_name + ' ' + backData[device][item].f_items[i].f_item_value,
897
- fontsize: 2,
898
- isbold: true,
899
- align: 'left'
900
- })
901
- }
902
- }
903
- }
904
- }
905
- }
906
- }
907
-
908
- }
909
- } else {
910
- for (let dev in this.$parent.$parent.config) {
911
- for (let device in backData) {
912
- if (device.startsWith("device")) {
913
- for (let item in backData[device]) {
914
- //遍历结果
915
- if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
916
- let error = true
917
- for (let i in backData[device][item].f_items) {
918
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
919
- error = false
920
- }
921
- }
922
- if (error) {
923
- this.printContent.push({
924
- type: 3,
925
- text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
926
- fontsize: 2,
927
- isbold: false,
928
- align: 'left'
929
- })
930
- } else {
931
- this.printContent.push({
932
- type: 3,
933
- text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
934
- fontsize: 2,
935
- isbold: false,
936
- align: 'left'
937
- })
938
- }
939
-
940
- for (let i in backData[device][item].f_items) {
941
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
942
- this.printContent.push({
943
- type: 3,
944
- text: '隐患:' + backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
945
- fontsize: 2,
946
- isbold: false,
947
- align: 'left'
948
- })
949
- }
950
- }
951
- this.printContent.push({type: 4, value: 2, unit: 'line'})
952
- }
953
- }
954
- }
955
- }
956
- }
957
- }
958
- },
959
- //获取当前时间
960
- getNowFormatDate() {
961
- var date = new Date();
962
- var seperator1 = "-";
963
- var seperator2 = ":";
964
- var month = date.getMonth() + 1;
965
- var strDate = date.getDate();
966
- if (month >= 1 && month <= 9) {
967
- month = "0" + month;
968
- }
969
- if (strDate >= 0 && strDate <= 9) {
970
- strDate = "0" + strDate;
971
- }
972
- var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
973
- + " " + date.getHours() + seperator2 + date.getMinutes()
974
- + seperator2 + date.getSeconds();
975
- return currentdate;
976
- },
977
- readRepair() {
978
- let url = this.$androidUtil.getProxyUrl()
979
- let gen = getRepairs(this, url)
980
- return co(gen)
981
- },
982
- showToRepair() {
983
- let res = this.hasDefect()
984
- ////tag
985
- ////tag
986
- if (res == '正常') {
987
- this.showrepair = false
988
- } else {
989
- this.showrepair = true
990
- this.assignObj()
991
- }
992
- this.showCheckToRepair = !this.showCheckToRepair
993
- },
994
- // 选中部门
995
- reres(val) {
996
- if (val.res == undefined) {
997
- return
998
- }
999
- this.$parent.$parent.model.serviceacitivity[0].f_meetunit = val.res
1000
- this.$parent.$parent.model.f_meetunit = val.res
1001
- this.$parent.$parent.model.f_orgstr = val.resids
1002
- var arr = val.res.split('.')
1003
- this.$parent.$parent.model.f_outlets = arr[arr.length - 1]
1004
- this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.resids
1005
- },
1006
- assignObj() {
1007
- this.$parent.$parent.model.f_contact_phone = this.paper.f_user_phone
1008
- this.$parent.$parent.model.f_user_name = this.paper.f_user_name
1009
- this.$parent.$parent.model.f_address = this.paper.f_address
1010
- this.$parent.$parent.model.f_user_type = this.paper.f_check_type
1011
- this.$parent.$parent.model.f_street = this.paper.f_street
1012
- this.$parent.$parent.model.f_residential_area = this.paper.f_residential_area
1013
- this.$parent.$parent.model.f_building = this.paper.f_building
1014
- this.$parent.$parent.model.f_unit = this.paper.f_unit
1015
- this.$parent.$parent.model.f_floor = this.paper.f_floor
1016
- this.$parent.$parent.model.f_room = this.paper.f_room
1017
- this.$parent.$parent.model.f_floor = this.paper.f_floor
1018
- this.$parent.$parent.model.f_userinfo_id = this.paper.f_userinfoid
1019
- this.$parent.$parent.model.f_userinfo_code = this.paper.f_userinfo_code
1020
- },
1021
- hasDefect() {
1022
- let checkResult = '正常'
1023
- let codata = JSON.parse(JSON.stringify(this.paper))
1024
- for (let device in this.paper) {
1025
- if (device.startsWith("device")) {
1026
- for (let item in this.paper[device]) {
1027
- for (let i in this.paper[device][item].f_items) {
1028
- let items = this.paper[device][item].f_items[i]
1029
- ////tag
1030
- if (items.f_is_defect == true || items.f_is_defect == 'true') {
1031
- checkResult = '有隐患'
1032
- }
1033
- }
1034
- }
1035
- }
1036
- }
1037
- return checkResult
1038
- },
1039
- uploadPaper() {
1040
- if (this.showrepair) {
1041
- ////tag
1042
- ////tag
1043
- ////tag
1044
- ////tag
1045
-
1046
- if (this.meading == '转维修员' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)) {
1047
- this.$showMessage("请选择维修员!")
1048
- return
1049
- }
1050
- if (this.$parent.$parent.meading == '转站点' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)) {
1051
- this.$showMessage("请选择站点!")
1052
- return
1053
- }
1054
- if (this.$parent.$parent.model.f_repairtype == '') {
1055
- this.$showMessage("请选择报修类型!")
1056
- return
1057
- }
1058
- this.$parent.$parent.isToRepair = true
1059
- this.$parent.$parent.uploadCheckPaper()
1060
- // this.$parent.$parent.savePaper(false).then((res) => {
1061
- // ////tag
1062
- // if(res != true){
1063
- // ////tag
1064
- // return
1065
- // }else{
1066
- // this.$parent.$parent.todo()
1067
- // }
1068
- // })
1069
- } else {
1070
- this.$parent.$parent.undo()
1071
- }
1072
-
1073
- },
1074
- //确认安检转维修
1075
-
1076
- undo() {
1077
- this.showCheckToRepair = !this.showCheckToRepair
1078
- this.$parent.$parent.model.serviceacitivity[0].f_reciever = ''
1079
- this.$parent.$parent.model.serviceacitivity[0].f_meetunit = ''
1080
- this.$parent.$parent.model.f_repairtype = ''
1081
- this.meading = '转站点'
1082
- },
1083
- //取消拉黑
1084
- async deletebacklist() {
1085
- if (!this.deletecause) {
1086
- this.$showMessage("请填写取消拉黑原因!")
1087
- return
1088
- }
1089
- this.paper.f_blocking_cause = this.deletecause
1090
- ////tag)
1091
- let http = new HttpResetClass()
1092
- ////tag
1093
- let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
1094
- data: {
1095
- items: "version",
1096
- tablename: "t_userinfo",
1097
- condition: "f_userinfo_id=" + this.paper.f_userinfoid,
1098
- orderitem: "f_userinfo_id"
1099
- }
1100
- }, {resolveMsg: null, rejectMsg: null})
1101
- ////tag)
1102
- ////tag
1103
- let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
1104
- data: {
1105
- "f_operat_type": "取消限购",
1106
- "f_state": "有效",
1107
- "f_user_name": this.paper.f_user_name,
1108
- "f_comments": this.paper.f_delete_cause,
1109
- "f_operator": Vue.user.name,
1110
- "f_operatorid": Vue.user.id,
1111
- "f_orgid": Vue.user.orgid,
1112
- "f_orgname": Vue.user.orgs,
1113
- "f_depid": Vue.user.depids,
1114
- "f_depname": Vue.user.deps,
1115
- "f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行取消拉黑`,
1116
- "f_userinfo_id": {
1117
- "f_userinfo_id": this.paper.f_userinfoid,
1118
- "f_user_state": "正常",
1119
- "version": res1.data[0].version
1120
- },
1121
- "f_limit_times":"",
1122
- "f_limit_value":""
1123
- }
1124
- }, {resolveMsg: null, rejectMsg: null})
1125
-
1126
- ////tag)
1127
- if (res2.data.code == 200) {
1128
- this.showmodelthree = false
1129
- this.deleteenabled = true
1130
- this.paper.f_blacklist = "否"
1131
- this.$showMessage("取消该用户限制购气成功!")
1132
- } else {
1133
- this.$showMessage("网络异常,请稍后再试!")
1134
- }
1135
- },
1136
- async backlist() {
1137
- if (!this.cause) {
1138
- this.$showMessage("请填写拉黑原因!")
1139
- return
1140
- }
1141
- this.paper.f_blocking_cause = this.cause
1142
- ////tag)
1143
- let http = new HttpResetClass()
1144
- ////tag
1145
- let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
1146
- data: {
1147
- items: "version",
1148
- tablename: "t_userinfo",
1149
- condition: "f_userinfo_id=" + this.paper.f_userinfoid,
1150
- orderitem: "f_userinfo_id"
1151
- }
1152
- }, {resolveMsg: null, rejectMsg: null})
1153
- ////tag)
1154
- ////tag
1155
- let limit_times=1
1156
- let limit_value=3
1157
- if(Vue.config.safecheck && Vue.config.safecheck.ApproveConfig.limit_times && Vue.config.safecheck.ApproveConfig.limit_value){
1158
- limit_times = Vue.config.safecheck.ApproveConfig.limit_times
1159
- limit_value = Vue.config.safecheck.ApproveConfig.limit_value
1160
- }
1161
- let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
1162
- data: {
1163
- data:this.$parent.$parent.data,
1164
- item:this.$parent.$parent.data.item,
1165
- "f_operat_type": "限购",
1166
- "f_state": "有效",
1167
- "f_user_name": this.paper.f_user_name,
1168
- "f_comments": this.paper.f_blocking_cause,
1169
- "f_operator": Vue.user.name,
1170
- "f_operate_date":Util.toStandardTimeString(),
1171
- "f_operatorid": Vue.user.id,
1172
- "f_orgid": Vue.user.orgid,
1173
- "f_orgname": Vue.user.orgs,
1174
- "f_depid": Vue.user.depids,
1175
- "f_depname": Vue.user.deps,
1176
- "f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行拉黑`,
1177
- "f_userinfo_id": {
1178
- "f_userinfo_id": this.paper.f_userinfoid
1179
- },
1180
- "f_limit_times":limit_times,
1181
- "f_limit_value":limit_value
1182
- }
1183
- }, {resolveMsg: null, rejectMsg: null})
1184
-
1185
- ////tag)
1186
- if (res2.data.code == 200) {
1187
- this.showmodel = false
1188
- this.enabled = true
1189
- this.paper.f_blacklist = "是"
1190
- this.$showMessage("将该用户限制购气成功!")
1191
- } else if (res2.data.msg == '数据增加重复') {
1192
- this.showmodel = false
1193
- this.enabled = true
1194
- this.$showMessage("该用户已被限制购气,请勿重复提交!")
1195
- } else {
1196
- this.$showMessage("网络异常,请稍后再试!")
1197
- }
1198
- },
1199
- cancel() {
1200
- this.backlistisselect = false
1201
- this.showmodel = false
1202
- },
1203
- deletecancel() {
1204
- this.deletebacklistisselect = false
1205
- this.showmodelthree = false
1206
- },
1207
- repiarmancg(val) {
1208
- if (val) {
1209
- ////tag
1210
- this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.name
1211
- let http1 = new HttpResetClass()
1212
- http1.load('POST', `${this.Url}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
1213
- data: {
1214
- items: 'f_user_telephone',
1215
- tablename: 't_user',
1216
- condition: `name = '${val}'`,
1217
- orderitem: 'id'
1218
- }
1219
- }, {resolveMsg: null, rejectMsg: null}).then((ress) => {
1220
- this.$parent.$parent.model.f_repairman_phone = ress.data[0].f_user_telephone
1221
- })
1222
- }
1223
- },
1224
- },
1225
- async ready() {
1226
- this.isRecodr = this.$appdata.getSingleValue('无限制录音')
1227
- if(this.$appdata.getSingleValue('安检时显示拉黑')){
1228
- this.showbacklist = this.$appdata.getSingleValue('安检时显示拉黑');
1229
- }
1230
- // await this.isoverDate()
1231
- ////tag
1232
- ////tag
1233
- ////tag)
1234
- ////tag))
1235
- if (this.$parent.$parent.role == 'repair') {
1236
- this.$set('style__', 'divmask')
1237
- this.$set('style_view_', '')
1238
- } else if (this.$parent.$parent.role == 'view' || this.$parent.$parent.item.f_upload_state == '已传') {
1239
- this.$set('style__', 'divmask')
1240
- this.$set('style_view_', 'divmask')
1241
- ////tag
1242
- } else {
1243
- this.$set('style__', '')
1244
- this.$set('style_view_', '')
1245
- }
1246
-
1247
- for (let item of this.radios) {
1248
- if (this.paper.f_client_evaluation == item.label) {
1249
- item.isChecked = true;
1250
- }
1251
- }
1252
- if (!this.paper.f_notified_path)
1253
- this.$set('paper.f_notified_path', Vue.nopic)
1254
- if (!this.paper.f_sign_path)
1255
- this.$set('paper.f_sign_path', Vue.nopic)
1256
- ////tag
1257
- if (!this.paper.f_overall_imgs) {
1258
- let imgs = []
1259
- // imgs.push({f_overall_path:Vue.nopic})
1260
- this.$set('paper.f_overall_imgs', imgs)
1261
- ////tag
1262
- }
1263
- if (!this.paper.f_overall2_path)
1264
- this.$set('paper.f_overall2_path', Vue.nopic)
1265
-
1266
- this.userid = this.role == 'view' ? this.$login.f.id : Vue.user.id
1267
- if (Vue.config.safecheck != undefined) {
1268
- if (Vue.config.safecheck.ApproveConfig != undefined) {
1269
- if (Vue.config.safecheck.ApproveConfig.safeCheckToRepair != undefined) {
1270
- this.safeCheckToRepair = Vue.config.safecheck.ApproveConfig.safeCheckToRepair
1271
- }
1272
- }
1273
- }
1274
- let device = this.$parent.$parent.data
1275
- for (const deviceitem in device) {
1276
- if (deviceitem.startsWith('device')){
1277
- //tag)
1278
- if(device[deviceitem].length == 0){
1279
- continue
1280
- }
1281
- let items = device[deviceitem][0].f_items
1282
- let deviceType = device[deviceitem][0].f_device_type
1283
- for (let i = 0; i < items.length; i++) {
1284
- if (items[i].f_is_defect){
1285
- let reason = items[i].f_item_name+":"
1286
- if (items[i].type === 'selector' || items[i].type === 'radio' || items[i].type === 'checkbox'){
1287
- for (let j = 0; j < items[i].f_item_value.length; j++) {
1288
- if (j+1 === items[i].f_item_value.length){
1289
- reason += items[i].f_item_value[j]
1290
- }else{
1291
- reason += items[i].f_item_value[j] + ","
1292
- }
1293
- }
1294
- }else{
1295
- reason += items[i].f_item_value
1296
- }
1297
- if (items[i].f_path){
1298
- this.defectImgs.push(items[i].f_path)
1299
- }
1300
- if (items[i].f_p1_path){
1301
- this.defectImgs.push(items[i].f_p1_path)
1302
- }
1303
- if (items[i].f_p2_path){
1304
- this.defectImgs.push(items[i].f_p2_path)
1305
- }
1306
- if (items[i].f_p3_path){
1307
- this.defectImgs.push(items[i].f_p3_path)
1308
- }
1309
- if (items[i].tooltip){
1310
- this.defectToolTip.push(items[i].tooltip)
1311
- }
1312
- this.defectReason.push({device:deviceType,deviceitem:reason})
1313
- }else if(items[i].type === 'errorstring' && items[i].f_item_value ){
1314
- let reason = items[i].f_item_name+":" + items[i].f_item_value
1315
- this.defectReason.push({device:deviceType,deviceitem:reason})
1316
- }
1317
-
1318
- }
1319
- }
1320
- }
1321
- ////tag
1322
- ////tag
1323
- //tag
1324
- ////tag
1325
- //tag)
1326
- //tag)
1327
- //tag)
1328
- ////tag
1329
- ////tag
1330
- ////tag
1331
- },
1332
- watch: {
1333
- '$parent.$parent.isUpload'(val) {
1334
- ////tag
1335
- },
1336
- 'meading'(val) {
1337
- ////tag
1338
- this.$parent.$parent.meading = val
1339
- },
1340
- 'backlistisselect'(val) {
1341
- if (val == true) {
1342
- this.showmodel = true
1343
- this.deletebacklistisselect=false
1344
- }
1345
- },
1346
- 'deletebacklistisselect'(val) {
1347
- if (val == true) {
1348
- this.showmodelthree = true
1349
- this.backlistisselect=false
1350
- }
1351
- },
1352
- 'isRecodr'(val) {
1353
- if (val == 'false' || val == undefined || val == null || val == '' || val == 'undefined') {
1354
- this.isRecodr = "false";
1355
- }
1356
- }
1357
- }
1358
- }
1359
- </script>
1360
- <style scoped>
1361
- .panel-self{
1362
- border-radius: 5px;
1363
- border:1px solid #c5e1f7;
1364
- background-color: #F2F6FA;
1365
- }
1366
- .text-left{
1367
- text-align:left;
1368
- }
1369
- .font{
1370
- font: 15px PingFang-SC-Medium;
1371
- color: #333333;
1372
- }
1373
- .showIi{
1374
- font: 14px PingFang-SC-Medium;
1375
- color: #666666;
1376
- }
1377
- .info{
1378
- margin-top: 15px;
1379
- border-radius: 5px;
1380
- background-color: #f3faff;
1381
- }
1382
- .btn-photo{
1383
- border: 0;
1384
- border-radius: 7px;
1385
- background-color: #7dc1f4;
1386
- font: 15px PingFang-SC-Bold;
1387
- height: 20%;
1388
- }
1389
- .div-photo{
1390
- width: auto;
1391
- height: auto;
1392
- /* margin-top: 10px; */
1393
- position: absolute;
1394
- bottom: 10px;
1395
- right: 10px;
1396
- }
1397
- .btn-voice{
1398
- border-radius: 7px;
1399
- border: 1px solid #dedede;
1400
- background-color: #f5fbff;
1401
- font: 15px PingFang-SC-Bold;
1402
- color: #499edf;
1403
- }
1404
- .save-btn{
1405
- width: 25%;
1406
- background-color:#499edf;
1407
- border-radius: 6px;
1408
- color: #FFFFFF;
1409
- font: 15px PingFang-SC-Bold;
1410
- }
1411
- .upload-btn{
1412
- width: 25%;
1413
- background-color:#ffffff;
1414
- border: 1px solid #499edf;
1415
- border-radius: 6px;
1416
- color: #499edf;
1417
- font: 15px PingFang-SC-Bold;
1418
- }
1419
- .repair-btn{
1420
- width: 25%;
1421
- border: 1px solid #499edf;
1422
- border-radius: 6px;
1423
- font: 15px PingFang-SC-Bold;
1424
- }
1425
- #el_ca_tx{
1426
- width: 100%;
1427
- margin: 5px;
1428
- }
1429
- #el_ca_txt{
1430
- width: 100%;
1431
- margin: 5px;
1432
- }
1433
- </style>
1
+ <template>
2
+ <form novalidate class="form-horizontal" style="width: 95%;margin: auto">
3
+ <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
4
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
5
+ <label class="control-label font text-left col-md-4 col-xs-4">备注</label>
6
+ <div class="col-md-12 col-sm-12 col-xs-12">
7
+ <textarea v-model="paper.f_repair_approved_note" class="form-control"></textarea>
8
+ </div>
9
+ </div>
10
+ </div>
11
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
12
+ <div class="text-center">
13
+ <label class="font">总体安检照片请依次拍摄:</label>
14
+ </div>
15
+ <div class="col-md-12 col-sm-12 col-xs-12">
16
+ <ol class="showIi">
17
+ <li>1.燃气设施全景</li>
18
+ <li>2.燃气表照片</li>
19
+ <li>3.灶具照片</li>
20
+ <li>4.其他照片</li>
21
+ </ol>
22
+ </div>
23
+ </div>
24
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">
25
+ <label class="text-left font">总体安检照片</label>
26
+
27
+ <div class="auto" :class="style__">
28
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
29
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
30
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px" >
31
+ <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in paper.f_overall_imgs">
32
+ <img-self :src="img.f_overall_path" alt="总体安检照片" :width="140" :height="170"></img-self>
33
+ <img src="../../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">
34
+ </div>
35
+ </div>
36
+ <div class="row text-right div-photo">
37
+ <button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', '总体安检照片')">拍照</button>
38
+ <!--<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_overall_path', '总体安检照片1')">拍照</button>-->
39
+ <!--&nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" :class="style__" @click="delfile('f_overall_path', img.f_overall_path)" style="width: 25%;"></img>-->
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">
46
+ <label class="text-left font">总体隐患照片</label>
47
+ <div class="auto" :class="style__">
48
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
49
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
50
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px" >
51
+ <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in defectImgs">
52
+ <img-self :src="img" alt="总体隐患照片" :width="140" :height="170"></img-self>
53
+ <!-- <img src="../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">-->
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
61
+ <div class="text-center">
62
+ <label class="font">隐患汇总:</label>
63
+ </div>
64
+ <div class="col-md-12 col-sm-12 col-xs-12">
65
+ <ol class="showIi">
66
+ <li v-for="item in defectReason">{{ item.deviceitem }}</li>
67
+ </ol>
68
+ </div>
69
+ </div>
70
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
71
+ <div class="text-center">
72
+ <label class="font">整改建议汇总:</label>
73
+ </div>
74
+ <div class="col-md-12 col-sm-12 col-xs-12">
75
+ <ol class="showIi">
76
+ <li v-for="item in defectToolTip">{{ item }}</li>
77
+ </ol>
78
+ </div>
79
+ </div>
80
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">
81
+ <input type="checkbox" v-model="paper.f_read_instructions"/><label class="text-left font">我已阅读须知内容</label>
82
+
83
+ </div>
84
+ <!-- <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">-->
85
+ <!-- <label class="text-left font">用户签名</label>-->
86
+ <!-- <div class="auto">-->
87
+ <!-- <div class="panel">-->
88
+ <!-- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">-->
89
+ <!-- <div class="row" style="height: 240px;overflow: scroll;top: 1px">-->
90
+ <!-- <div class="col-sm-4">-->
91
+ <!-- <img :class="style__" :src="paper.f_sign_path" :width="200" :height="150" />-->
92
+ <!-- </div>-->
93
+ <!-- </div>-->
94
+ <!-- <div class="row text-right div-photo">-->
95
+ <!-- <button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>-->
96
+ <!-- </div>-->
97
+ <!-- </div>-->
98
+ <!-- </div>-->
99
+ <!-- </div>-->
100
+ <!-- </div>-->
101
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 " :style="timeSet(this.isneedDate)?'':'display:none'">
102
+ <label>请输入超期原因:</label><br/>
103
+ <textarea style="width: 100%;" v-model="paper.f_exceed_reason"></textarea>
104
+ </div>
105
+ <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__" v-show="showbacklist=='是'">
106
+ <div class="col-xs-6 col-sm-6">
107
+ <input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label class="text-left font" >限制该用户购气</label>
108
+ </div>
109
+ <div class="col-xs-6 col-sm-6">
110
+ <input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消该用户购气</label>
111
+ </div>
112
+ </div>
113
+ <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__" v-if="Vue.$appdata.getParam('安检天然气安全使用须知检查')=='是'">
114
+ <div class="col-xs-12 col-sm-12">
115
+ <input type="checkbox" v-model="paper.f_gas_guidelines" /><label class="text-left font" >天然气安全使用须知</label>
116
+ </div>
117
+ <div class="col-xs-12 col-sm-12">
118
+ <input type="checkbox" v-model="paper.f_safety_warning" /><label class="text-left font" >天然气室内使用安全警示</label>
119
+ </div>
120
+ <div class="col-xs-12 col-sm-12">
121
+ <input type="checkbox" v-model="paper.f_gas_manual" /><label class="text-left font" >安全用气手册</label>
122
+ </div>
123
+ </div>
124
+ <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
125
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
126
+ <input type="checkbox" v-model="paper.f_defect_notified" class="showIi" />安检通知书/隐患整改通知书
127
+ </div>
128
+ <div class="form-group col-md-12 col-sm-12 col-xs-12" v-if="paper.f_defect_notified">
129
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
130
+ <button type="button" @click="print()">打印隐患整改单</button>
131
+ </div>
132
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
133
+ <label class="text-left font">安检通知书/隐患整改通知书照片(要求能清晰反应安检通知单和用户签字内容):</label>
134
+ <div class="auto" >
135
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
136
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
137
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
138
+ <div class="col-sm-4">
139
+ <img-self :src="paper.f_notified_path" alt="安检通知书/隐患整改通知书照片" width="150" height="200"></img-self>
140
+ </div>
141
+ </div>
142
+ <div class="row text-right div-photo">
143
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_notified_path', '安检通知书/隐患整改通知书照片')">拍照</button>
144
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" :class="style__" @click="delfile('f_notified_path', this.paper.f_notified_path)" style="width: 25%;"></img>
145
+ </div>
146
+ </div>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
152
+ <div class="row">
153
+ <label class="text-left">请对我们的服务做出评价:</label>
154
+ </div>
155
+ <div class="col-xs-4 col-sm-4" v-for="item in radios">
156
+ <input v-model="paper.f_client_evaluation" :value="item.label" :checked='item.isChecked' @click="check(item.value)" type="radio">{{item.label}}
157
+ </div>
158
+
159
+ <!--<div class="col-sm-4">-->
160
+ <!--<radio-group :value.sync="paper.f_client_evaluation" type="success" buttons="false">-->
161
+ <!--<radio value="满意">满意</radio>-->
162
+ <!--<radio value="基本满意">基本满意</radio>-->
163
+ <!--<radio value="不满意">不满意</radio>-->
164
+ <!--</radio-group>-->
165
+ <!--</div>-->
166
+ </div>
167
+
168
+ <div class="form-group col-md-12 col-sm-12 col-xs-12" v-if="isRecodr=='false'">
169
+ <label class="text-left font">反馈录音:</label>
170
+ <div class="col-md-12 col-sm-12 col-xs-12">
171
+ <button type="button" name="button" class="btn btn-primary btn-voice" @click="record">
172
+ <img src="../../../assets/录音.png" style="width: 14%;">
173
+ <span v-if="!paper.f_recording1_path">开始录音</span>
174
+ <span v-if="paper.f_recording1_path">已录音</span>
175
+ </button>
176
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" style="width: 15px;" :class="style__" @click="delAudioFile('f_recording1_path', paper.f_recording1_path)"></img>
177
+ </div>
178
+ </div>
179
+
180
+ <div v-if="false">
181
+ <div class="text-center form-group col-md-12 col-sm-12 col-xs-12">
182
+ <button style="width: 30%;margin:3%;margin-bottom: 0%" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' &&(paper.f_complete != '已完成' || paper.back_f_entry_status != '入户') " class="btn save-btn" @click="$parent.$parent.save('temp')">临时保存</button>
183
+ <button style="width: 30%;margin:3%;margin-bottom: 0%" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' && (paper.f_complete != '已完成' || paper.back_f_entry_status != '入户')" class="btn save-btn " @click="$parent.$parent.save('finish')">完成安检</button>
184
+ </div>
185
+ <div class="text-center form-group col-md-12 col-sm-12 col-xs-12">
186
+ <button style="width: 30%;margin:3%;margin-bottom: 0%;margin-top: 0%" id="upload" type="button" v-show="$parent.$parent.actionEnabled && upload_state !='已传' && (paper.f_complete != '已完成' || paper.back_f_entry_status != '入户')" class="btn upload-btn " @click="$parent.$parent.uploadCheckPaper" >上传</button>
187
+ <button style="width: 30%;margin:3%;margin-bottom: 0%;margin-top: 0%" v-if="(safeCheckToRepair == true || safeCheckToRepair == 'true') && $parent.$parent.actionEnabled" class="btn repair-btn btn-warning " type="button" @click="showToRepair">转维修</button> </div>
188
+ </div>
189
+
190
+ </div>
191
+ </form>
192
+ <!-- <modal :show.sync="showCheckToRepair" v-ref:modal :backdrop="isback">-->
193
+ <!-- <div slot="modal-header" class="modal-header">-->
194
+ <!-- <h4 class="modal-title">-->
195
+ <!-- 安检转维修-->
196
+ <!-- </h4>-->
197
+ <!-- </div>-->
198
+ <!-- <div slot="modal-body" class="modal-body">-->
199
+ <!-- <div v-if="showrepair">-->
200
+ <!-- <div class="row">-->
201
+ <!-- <label class="col-xs-4 col-md-4 control-label text-left">派单方式</label>-->
202
+ <!-- <div class="col-xs-8 col-md-8">-->
203
+ <!-- <label v-for="handling1 in handling" >-->
204
+ <!-- <input type="radio"-->
205
+ <!-- v-model="meading"-->
206
+ <!-- value="{{handling1.label}}">-->
207
+ <!-- {{handling1.label}}-->
208
+ <!-- </label>-->
209
+ <!-- </div>-->
210
+ <!-- </div>-->
211
+ <!-- <div class="row" v-if="meading == '转站点'">-->
212
+ <!-- <label class="col-xs-4 col-md-4 control-label font text-left" for="f_reciever">站点</label>-->
213
+ <!-- &lt;!&ndash;<input type="text" v-show="false" v-model="serviceacitivity.f_reciever"&ndash;&gt;-->
214
+ <!-- &lt;!&ndash;v-validate:f_reciever='{ required: true }'>&ndash;&gt;-->
215
+ <!-- <div class="col-xs-8 col-md-8">-->
216
+ <!-- <right-tree @ready="onReady" islist :Url="Url" :userid="userid" :source="source" v-on:re-res="reres" :textContent="选择站点管理员" :selectData="" v-ref:f_reciever>-->
217
+ <!-- </right-tree>-->
218
+ <!-- </div>-->
219
+ <!-- </div>-->
220
+
221
+ <!-- <div class="row" style="margin-top: 6px" v-if="meading == '转维修员'">-->
222
+ <!-- <label class="col-xs-4 col-md-4 control-label font text-left">维修人</label>-->
223
+ <!-- <div class="col-xs-8">-->
224
+ <!-- <v-select :value="$parent.$parent.model.serviceacitivity[0].f_reciever" :value-single="true"-->
225
+ <!-- :options='f_repair_person' placeholder='请选择维修员'-->
226
+ <!-- close-on-select v-on:change="repiarmancg"></v-select>-->
227
+ <!-- </div>-->
228
+
229
+ <!-- </div>-->
230
+ <!-- <div class="row" style="margin-top: 6px">-->
231
+ <!-- <label for="f_repair" class="col-xs-4 col-md-4 control-label font text-left">报修类型</label>-->
232
+ <!-- <div class="col-xs-8 col-md-8">-->
233
+ <!-- <v-select :value.sync="$parent.$parent.model.f_repairtype" :value-single="true"-->
234
+ <!-- :options='repairstypes' placeholder='报修类型'-->
235
+ <!-- close-on-select>-->
236
+ <!-- </v-select>-->
237
+ <!-- </div>-->
238
+ <!-- </div>-->
239
+
240
+ <!-- <div class="row" style="margin-top: 6px">-->
241
+ <!-- <label class="control-label font text-left col-md-4 col-xs-4">备注</label>-->
242
+ <!-- <div class="col-xs-8 col-md-8">-->
243
+ <!-- <input type="text" v-model="$parent.$parent.model.f_remarks"/>-->
244
+ <!-- </div>-->
245
+
246
+ <!-- </div>-->
247
+
248
+ <!-- </div>-->
249
+ <!-- <div v-if="!showrepair">-->
250
+ <!-- 暂无隐患设备信息-->
251
+ <!-- </div>-->
252
+ <!-- </div>-->
253
+ <!-- <div slot="modal-footer" class="modal-footer">-->
254
+ <!-- <button type="button" class="btn btn-default" @click="uploadPaper()">确定</button>-->
255
+ <!-- <button type="button" class="btn btn-default" @click="undo()">取消</button>-->
256
+ <!-- </div>-->
257
+ <!-- </modal>-->
258
+ <!--拉黑框-->
259
+ <modal :show.sync="showmodel" v-ref:modal>
260
+ <div slot="modal-header" class="modal-header">
261
+ <h4 class="modal-title">
262
+ 限制用户购气
263
+ </h4>
264
+ </div>
265
+ <div slot="modal-body" class="modal-body">
266
+ <!-- <div class="row" style="margin-top: 6px">-->
267
+ <!-- <label style="color: red;">注:当前页面无法取消对用户的限制购气</label>-->
268
+ <!-- </div>-->
269
+ <div class="row" style="margin-top: 6px">
270
+ <textarea id="el_ca_tx" v-model.trim="cause" style="border-radius:4px;width: 100%;" placeholder="请输入限制用户购气原因" >
271
+ </textarea>
272
+ </div>
273
+ </div>
274
+ <div slot="modal-footer" class="modal-footer">
275
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="backlist()">确认</button>
276
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="cancel()">取消</button>
277
+ </div>
278
+ </modal>
279
+
280
+ <modal :show.sync="showmodelthree" v-ref:modal>
281
+ <div slot="modal-header" class="modal-header">
282
+ <h4 class="modal-title">
283
+ 取消限制用户购气
284
+ </h4>
285
+ </div>
286
+ <div slot="modal-body" class="modal-body">
287
+ <!-- <div class="row" style="margin-top: 6px">-->
288
+ <!-- <label style="color: red;">注:当前页面无法取消对用户的限制购气</label>-->
289
+ <!-- </div>-->
290
+ <div class="row" style="margin-top: 6px">
291
+ <textarea id="el_ca_txt" v-model.trim="deletecause" style="border-radius:4px;width: 100%;" placeholder="请输入取消限制用户购气原因" >
292
+ </textarea>
293
+ </div>
294
+ </div>
295
+ <div slot="modal-footer" class="modal-footer">
296
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="deletebacklist()">确认</button>
297
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="deletecancel()">取消</button>
298
+ </div>
299
+ </modal>
300
+ </template>
301
+
302
+ <script>
303
+ import Vue from 'vue'
304
+ import * as Util from '../../../components/Util'
305
+ import { HttpResetClass } from 'vue-client'
306
+ import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
307
+ import Radio from 'vue-client/src/vue-strap/src/radioBtn'
308
+ import co from 'co'
309
+
310
+ // let getRepairParam = function * (self){
311
+ // let data = {
312
+ // $parent.$parent.model: self.$parent.$parent.model, loginUser: {
313
+ // name: self.role == 'view'?self.$login.f.name:Vue.user.name,
314
+ // ename: self.role == 'view'?self.$login.f.ename:Vue.user.ename
315
+ // }, user: self.user, callObj: self.callObj
316
+ // }
317
+ // if(self.$parent.$parent.meading == '转维修员'){
318
+ // data.toRepair = '一级派单'
319
+ // }
320
+ // data.$parent.$parent.model.f_attendant = data.loginUser.name
321
+ // ////tag
322
+ // ////tag
323
+ // let res
324
+ // let errString = self.$parent. $parent.errorVerify()
325
+ // if(errString){
326
+ // ////tag
327
+ // if (Vue.android)
328
+ // self.undo()
329
+ // this.$showMessage(errString)
330
+ // return
331
+ // } else {
332
+ // if(self.role == 'inspect'){
333
+ // if(self.$parent.$parent.meading == '转维修员' && (self.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || self.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)){
334
+ // this.$showMessage("请选择维修员!")
335
+ // return
336
+ // }
337
+ // if(self.$parent.$parent.meading == '转站点' && (self.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || self.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)){
338
+ // HostApp.alert()
339
+ // this.$showMessage("请选择站点!")
340
+ // return
341
+ // }
342
+ // if(self.$parent.$parent.model.f_repairtype == ''){
343
+ // this.$showMessage("请选择报修类型!")
344
+ // return
345
+ // }
346
+ // ////tag)
347
+ // let checkResult = '正常'
348
+ // let options = [{"data": "已处理"},{"data": "未处理"}]
349
+ // let value = ''
350
+ // let codata = JSON.parse(JSON.stringify(self.paper))
351
+ // for(let device in codata){
352
+ // ////tag)
353
+ // let f_device_type
354
+ // if(device.startsWith("device")){
355
+ // for(let item in codata[device]) {
356
+ // if(codata[device].length > 1 ){
357
+ // let j = Number.parseInt(item)+1
358
+ // f_device_type = `${codata[device][item].f_device_type}${j}`
359
+ // }else{
360
+ // f_device_type = codata[device][item].f_device_type
361
+ // }
362
+ // // ////tag
363
+ // let details = []
364
+ // for(let i in codata[device][item].f_items){
365
+ // let items = codata[device][item].f_items[i]
366
+ // ////tag
367
+ // if(items.f_is_defect == true || items.f_is_defect == 'true'){
368
+ // checkResult = '有隐患'
369
+ // ////tag
370
+ // let res = yield self.$resetpost(`${self.Url}/api/af-safecheck/sql/getDeviceItem`,{data:{f_device_id:codata[device][item].f_device_id,f_item_name:items.f_item_name}})
371
+ // ////tag)
372
+ // self.$set('detail.f_defect_id', res.data[0].id)
373
+ // self.$set('detail.f_project',`${items.f_item_name}:${items.f_item_value}`)
374
+ // self.$set('detail.type',items.type)
375
+ // self.$set('detail.options',options)
376
+ // details.push(JSON.parse(JSON.stringify(self.detail)))
377
+ // }
378
+ // if(items.type == 'selector'){
379
+ // items.selected = ''
380
+ // }
381
+ // self.detail = {}
382
+ // }
383
+ // ////tag
384
+ // self.$set('defectDevice.f_type',f_device_type)
385
+ // self.$set('defectDevice.details',details)
386
+ // if(self.defectDevice.details.length >0 ){
387
+ // self.repairitems.push(JSON.parse(JSON.stringify(self.defectDevice)))
388
+ // }
389
+ // self.defectDevice = {}
390
+ // ////tag
391
+ // }
392
+ // }
393
+ // }
394
+ // self.$set('$parent.$parent.model.f_repairitems.data',self.repairitems)
395
+ //
396
+ //
397
+ // ////tag)
398
+ // res = self.$androidUtil.bzLogic('safecheckToRepair',data)
399
+ // ////tag
400
+ // ////tag
401
+ // ////tag
402
+ // if(res.code == 200){
403
+ // self.$parent.$parent.isSafeCheckToRepair = true
404
+ // self.undo()
405
+ // self.$set('paper.f_SafeToRepair_id',res.data.f_service_id)
406
+ // ////tag
407
+ // self.$resetpost(`${self.Url}/api/af-safecheck/logic/updatePaperRepair`,{data:{f_paper_id:self.paper.f_paper_id,f_SafeToRepair_id:res.data.f_service_id}}).then((ret)=>{
408
+ // ////tag
409
+ // if(ret.data.code ==200){
410
+ // ////tag
411
+ // self.$parent.$parent.$back()
412
+ // }else{
413
+ // self.$showMessage('安检转维修失败!')
414
+ // }
415
+ // }).catch(v=>{
416
+ // ////tag)
417
+ // self.$showMessage('安检转维修失败!')
418
+ // })
419
+ // }else{
420
+ // self.$showMessage('安检转维修失败!')
421
+ // }
422
+ // }
423
+ // }
424
+ // }
425
+
426
+
427
+
428
+ // let getRepairs = async function(self,url) {
429
+ // // 获取配置信息
430
+ // try {
431
+ // let val = {source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1 ))', userid: `${Vue.user.id}`}
432
+ // let repairs =[]
433
+ // let res = await Vue.resetpost(`${url}/rs/search`,{data: val},{resolveMsg: null, rejectMsg: null})
434
+ // res.data.forEach((item) => {
435
+ // repairs.push({label: item.name, value: item})
436
+ // })
437
+ // self.f_repair_person = repairs
438
+ // if(self.$parent.$parent.role == 'inspect'){
439
+ // let res = self.$androidUtil.bzLogic('getUserInfo',{id:self.paper.f_userinfoid})
440
+ // if(res.code == 200){
441
+ // self.$parent.$parent.user = res.data[0]
442
+ // self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
443
+ // }
444
+ // }else{
445
+ // ////tag
446
+ // self.$resetpost(`${self.Url}/api/af-safecheck/sql/safeCheckgetUserInfo`,{data:{id:self.paper.f_userinfoid}},{resolveMsg: null, rejectMsg: null}).then((res)=>{
447
+ // ////tag
448
+ // if(res.data.length != 0){
449
+ // self.$parent.$parent.user = res.data[0]
450
+ // self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
451
+ // }
452
+ // })
453
+ // // path({alias:'getUserInfo',data:{id:this.paper.f_userinfoid}})
454
+ // }
455
+ // } catch (error) {
456
+ // ////tag
457
+ // }
458
+ // }
459
+
460
+ export default {
461
+ title: '用户反馈',
462
+ data() {
463
+ return {
464
+ defectImgs: [],
465
+ defectToolTip: [],
466
+ defectReason: [],
467
+ images: [],
468
+ showmodelthree: false,
469
+ isneedDate: this.$parent.$parent.isneedDate,
470
+ plan: this.$parent.$parent.item,
471
+ meading: this.$parent.$parent.meading,
472
+ paper: this.$parent.$parent.data,
473
+ printContent: [],
474
+ upload_state: this.$parent.$parent.item.f_upload_state,
475
+ enabled: false,//控制限制购气是否可选
476
+ deleteenabled: false,
477
+ showmodel: false,
478
+ showbacklist:'是',
479
+ backlistisselect: false,
480
+ deletebacklistisselect: false,
481
+ radios: [
482
+ {
483
+ label: '满意',
484
+ value: 0,
485
+ isChecked: false,
486
+ },
487
+ {
488
+ label: '基本满意',
489
+ value: 1,
490
+ isChecked: false,
491
+ },
492
+ {
493
+ label: '不满意',
494
+ value: 2,
495
+ isChecked: false,
496
+ },
497
+ ],
498
+ repairitems: [],
499
+ repairstypes: this.$appdata.getParam('报修类型'),
500
+ // f_repair_person: this.readRepair(),
501
+ showrepair: false,
502
+ safeCheckToRepair: '',
503
+ showCheckToRepair: false,
504
+ userid: '',
505
+ source:
506
+ 'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
507
+ 'tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))',
508
+ isback: false,
509
+ defectDevice: {},
510
+ detail: {},
511
+ callObj: null,
512
+ user: {},
513
+ role: this.$parent.$parent.role,
514
+ handling: [{label: '转站点', value: '转站点'}, {label: '转维修员', value: '转维修员'}],
515
+ Url: this.$androidUtil.getProxyUrl(),
516
+ cause: "",
517
+ deletecause: "",
518
+ isRecodr: "false", //单值参数,为true则是开启全程录音
519
+ }
520
+ },
521
+ props: ['idx'],
522
+ components: {
523
+ RadioGroup,
524
+ Radio
525
+ },
526
+ methods: {
527
+ timeSet(val) {
528
+ //////tag
529
+ if (!val) {
530
+ return
531
+ }
532
+ let time = new Date(val).getTime()
533
+ let time2 = new Date().getTime()
534
+ if (time2 > time) {
535
+ return true
536
+ }
537
+ },
538
+ // async isoverDate(){
539
+ // ////tag
540
+ // let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/androidGetuserinfo`, {data:{
541
+ // condition:"f_plan_item_id='"+this.$parent.$parent.item.id+"'"
542
+ // }
543
+ // })
544
+ // this.isneedDate=res.data[0]["f_subscribe_date"]
545
+ // ////tag
546
+ // },
547
+ check(index) {
548
+ ////tag
549
+ // 先取消所有选中项
550
+ for (let item of this.radios) {
551
+ item.isChecked = false;
552
+ }
553
+ //再设置当前点击项选中
554
+ this.paper.f_client_evaluation = this.radios[index].label;
555
+ // 设置值,以供传递
556
+ this.radios[index].isChecked = true;
557
+ ////tag;
558
+ },
559
+ getSignValue(fileName) {
560
+ this.f_signname = fileName
561
+ },
562
+ cameraCallBack(prop, fileName) {
563
+ if (prop == 'f_overall_path') {
564
+ let f_overall_path = fileName + '?' + Math.random()
565
+ HostApp.__this__.paper.f_overall_imgs.push({
566
+ f_overall_path: f_overall_path
567
+ })
568
+ } else {
569
+ HostApp.__this__.paper[prop] = fileName + '?' + Math.random()
570
+ }
571
+ HostApp.__callback__ = null
572
+ HostApp.__this__ = null
573
+ },
574
+ takePic(prop, title, index) {
575
+ HostApp.__callback__ = this.cameraCallBack
576
+ HostApp.__this__ = this
577
+ ////tag
578
+ ////tag
579
+ let fileName
580
+ if (prop == 'f_overall_path') {
581
+ if (!this.paper.f_overall_imgs[index] || this.paper.f_overall_imgs[index].f_overall_path.includes("nopic.png")) {
582
+ fileName = Util.guid() + '-' + prop + '.jpg'
583
+ } else {
584
+ fileName = Util.getFileName(this.paper.f_overall_imgs[index].f_overall_path)
585
+ }
586
+ } else {
587
+ if (!this.paper[prop] || this.paper[prop].includes("nopic.png")) {
588
+ fileName = Util.guid() + '-' + prop + '.jpg'
589
+ } else {
590
+ fileName = Util.getFileName(this.paper[prop])
591
+ }
592
+ }
593
+
594
+ HostApp._open_a_page({
595
+ type: 'boomerang',
596
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
597
+ param: {
598
+ file: fileName,
599
+ requestCode: 111,
600
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
601
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name + '\t' + this.paper.f_userinfo_code+ '\t' + this.paper.f_user_name+ '\t' + this.paper.f_address
602
+ }
603
+ })
604
+ },
605
+ amrCallBack(fileName) {
606
+ HostApp.__this__.$set('paper.f_recording1_path', fileName)
607
+ HostApp.__callback__ = null
608
+ HostApp.__this__ = null
609
+ },
610
+ record() {
611
+ if (this.$parent.$parent.role != 'inspect') {
612
+ if (this.paper.f_recording1_path != '') {
613
+ window.location = this.paper.f_recording1_path
614
+ }
615
+ } else {
616
+ HostApp.__callback__ = this.amrCallBack
617
+ HostApp.__this__ = this
618
+ let fileName
619
+ if (!this.paper.f_recording1_path) {
620
+ fileName = Util.guid() + '.amr'
621
+ } else {
622
+ fileName = Util.getFileName(this.paper.f_recording1_path)
623
+ }
624
+ HostApp._open_a_page({
625
+ type: 'boomerang',
626
+ page: 'com.aofeng.hybrid.android.peripheral.AudioClipActivity',
627
+ param: {file: fileName, requestCode: 111, callback: 'javascript:HostApp.__callback__("%s");'}
628
+ })
629
+ }
630
+ },
631
+ // 签名回调
632
+ signCallback(prop, fileName) {
633
+ // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
634
+ HostApp.__this__.$set('paper.f_sign_path', fileName)
635
+ HostApp.__callback__ = null
636
+ HostApp.__this__ = null
637
+ },
638
+ // 用户签名
639
+ sign() {
640
+ if (!this.paper.f_read_instructions) {
641
+ this.$showMessage('请先阅读并勾选用户须知内容后进行签名!')
642
+ return
643
+ }
644
+ this.delAudioFile('f_sign_path', this.paper.f_sign_path)
645
+ let prop = 'f_sign_path'
646
+ let idx = 'aofeng'
647
+ let fileName
648
+ if (!this.paper.f_sign_path) {
649
+ fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
650
+ } else {
651
+ fileName = Util.getFileName(this.paper.f_sign_path)
652
+ }
653
+ HostApp.__callback__ = this.signCallback
654
+ HostApp.__this__ = this
655
+ HostApp.getSignature({
656
+ file: fileName,
657
+ requestCode: 111,
658
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
659
+ })
660
+ },
661
+ delfile(prop, fileName, index) {
662
+ if (fileName == Vue.nopic)
663
+ return
664
+ else {
665
+ if (prop == 'f_overall_path') {
666
+ this.paper.f_overall_imgs.splice(index, 1)
667
+ HostApp.delfile(fileName)
668
+ } else {
669
+ HostApp.delfile(fileName)
670
+ this.paper[prop] = Vue.nopic
671
+ }
672
+ }
673
+ },
674
+ delAudioFile(prop, fileName) {
675
+ if (!fileName)
676
+ return
677
+ else {
678
+ HostApp.delfile(fileName)
679
+ this.paper[prop] = null
680
+ }
681
+ },
682
+ //获取打印用户信息
683
+ getUser() {
684
+ if (this.paper.f_user_name == undefined)
685
+ this.paper.f_user_name = ''
686
+ this.printContent.push({
687
+ type: 3,
688
+ text: '用户名称:' + this.paper.f_user_name,
689
+ fontsize: 2,
690
+ isbold: false,
691
+ align: 'left'
692
+ })
693
+ if (this.paper.f_userinfo_code == undefined)
694
+ this.paper.f_userinfo_code = ''
695
+ this.printContent.push({
696
+ type: 3,
697
+ text: '用户编号:' + this.paper.f_userinfo_code,
698
+ fontsize: 2,
699
+ isbold: false,
700
+ align: 'left'
701
+ })
702
+ if (this.paper.f_address == undefined)
703
+ this.paper.f_address = ''
704
+ this.printContent.push({type: 3, text: '地址:' + this.paper.f_address, fontsize: 2, isbold: false, align: 'left'})
705
+ if (this.paper.f_user_phone == undefined)
706
+ this.paper.f_user_phone = ''
707
+ this.printContent.push({
708
+ type: 3,
709
+ text: '电话:' + this.paper.f_user_phone,
710
+ fontsize: 2,
711
+ isbold: false,
712
+ align: 'left'
713
+ })
714
+ },
715
+ verify() {
716
+ let hasError = this.$parent.$parent.verifyUser()
717
+ if (hasError)
718
+ return hasError
719
+ hasError = this.$parent.$parent.verifyDevices()
720
+ if (hasError)
721
+ return hasError
722
+ },
723
+ print() {
724
+ let errString = this.verify()
725
+ if (errString) {
726
+ ////tag
727
+ if (Vue.android)
728
+ this.$showMessage(errString)
729
+ return
730
+ }
731
+ // 文本
732
+ let templatename = '安检结果单'
733
+ if (Vue.config.safecheck != undefined) {
734
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
735
+ if (Vue.config.safecheck.ApproveConfig.templatename != undefined) {
736
+ templatename = Vue.config.safecheck.ApproveConfig.templatename
737
+ }
738
+ }
739
+ }
740
+ let textHead = {type: 3, text: templatename, fontsize: 3, isbold: true, align: 'center'}
741
+ let feedPageHead = {type: 4, value: 2, unit: 'line'}
742
+ let feedPageEnd = {type: 4, value: 4, unit: 'line'}
743
+ this.printContent.push(textHead)
744
+ this.printContent.push(feedPageHead)
745
+ this.getUser()
746
+ this.getDefect()
747
+ this.getCheck()
748
+ this.printContent.push(feedPageEnd)
749
+ let arrstr = JSON.stringify(this.printContent)
750
+ ////tag
751
+ this.$androidUtil.print(arrstr)
752
+ this.$set('printContent', [])
753
+ },
754
+ //打印安检信息
755
+ getCheck() {
756
+ let telephone = '96777'
757
+ if (Vue.config.safecheck != undefined) {
758
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
759
+ if (Vue.config.safecheck.ApproveConfig.checkphone != undefined) {
760
+ telephone = Vue.config.safecheck.ApproveConfig.checkphone
761
+ }
762
+ }
763
+ }
764
+ this.printContent.push({
765
+ type: 3,
766
+ text: '*******************************',
767
+ fontsize: 3,
768
+ isbold: false,
769
+ align: 'center'
770
+ })
771
+ this.printContent.push({type: 3, text: '咨询电话;' + telephone, fontsize: 2, isbold: false, align: 'left'})
772
+ this.printContent.push({type: 3, text: '安检人:' + Vue.user.name, fontsize: 2, isbold: false, align: 'left'})
773
+ this.printContent.push({
774
+ type: 3,
775
+ text: '安检时间:' + this.getNowFormatDate(),
776
+ fontsize: 2,
777
+ isbold: false,
778
+ align: 'left'
779
+ })
780
+ this.printContent.push({type: 3, text: '用户签字:', fontsize: 2, isbold: false, align: 'left'})
781
+ this.printContent.push({type: 4, value: 4, unit: 'line'})
782
+ },
783
+
784
+ getDefect() {
785
+ let showmore = false
786
+ if (Vue.config.safecheck != undefined) {
787
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
788
+ if (Vue.config.safecheck.ApproveConfig.showmore != undefined) {
789
+ showmore = Vue.config.safecheck.ApproveConfig.showmore
790
+ }
791
+ }
792
+ }
793
+
794
+ let backData = this.$parent.$parent.getAllDefect()
795
+ // 对隐患信息进行遍历
796
+ let res = JSON.parse(backData.f_defect_content)
797
+ this.printContent.push({
798
+ type: 3,
799
+ text: '安检结果:' + res.result,
800
+ fontsize: 2,
801
+ isbold: false,
802
+ align: 'left'
803
+ })
804
+ this.printContent.push({
805
+ type: 3,
806
+ text: '*******************************',
807
+ fontsize: 3,
808
+ isbold: false,
809
+ align: 'center'
810
+ })
811
+
812
+
813
+ if (showmore) {
814
+ //全部打印
815
+ for (let dev in this.$parent.$parent.config) {
816
+ for (let device in backData) {
817
+ if (device.startsWith("device")) {
818
+ for (let item in backData[device]) {
819
+ //遍历结果
820
+ if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
821
+ let error = true
822
+ for (let i in backData[device][item].f_items) {
823
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
824
+ error = false
825
+ }
826
+ }
827
+ if (error) {
828
+ this.printContent.push({
829
+ type: 3,
830
+ text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
831
+ fontsize: 2,
832
+ isbold: false,
833
+ align: 'left'
834
+ })
835
+ } else {
836
+ this.printContent.push({
837
+ type: 3,
838
+ text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
839
+ fontsize: 2,
840
+ isbold: true,
841
+ align: 'left'
842
+ })
843
+ }
844
+
845
+ for (let i in backData[device][item].f_items) {
846
+ if (backData[device][item].f_items[i].f_item_value != '' && backData[device][item].f_items[i].f_item_value != null) {
847
+ this.printContent.push({
848
+ type: 3,
849
+ text: backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
850
+ fontsize: 2,
851
+ isbold: false,
852
+ align: 'left'
853
+ })
854
+ }
855
+ }
856
+ this.printContent.push({type: 4, value: 2, unit: 'line'})
857
+ }
858
+ }
859
+ }
860
+ }
861
+ }
862
+
863
+ for (let dev in this.$parent.$parent.config) {
864
+ for (let device in backData) {
865
+ if (device.startsWith("device")) {
866
+ for (let item in backData[device]) {
867
+ //遍历结果
868
+ if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
869
+ let error = true
870
+ for (let i in backData[device][item].f_items) {
871
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
872
+ error = false
873
+ }
874
+ }
875
+ if (!error) {
876
+ this.printContent.push({
877
+ type: 3,
878
+ text: '隐患:',
879
+ fontsize: 2,
880
+ isbold: true,
881
+ align: 'left'
882
+ })
883
+ }
884
+ }
885
+ }
886
+ }
887
+ }
888
+ for (let device in backData) {
889
+ if (device.startsWith("device")) {
890
+ for (let item in backData[device]) {
891
+ if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
892
+ for (let i in backData[device][item].f_items) {
893
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
894
+ this.printContent.push({
895
+ type: 3,
896
+ text: backData[device][item].f_items[i].f_item_name + ' ' + backData[device][item].f_items[i].f_item_value,
897
+ fontsize: 2,
898
+ isbold: true,
899
+ align: 'left'
900
+ })
901
+ }
902
+ }
903
+ }
904
+ }
905
+ }
906
+ }
907
+
908
+ }
909
+ } else {
910
+ for (let dev in this.$parent.$parent.config) {
911
+ for (let device in backData) {
912
+ if (device.startsWith("device")) {
913
+ for (let item in backData[device]) {
914
+ //遍历结果
915
+ if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
916
+ let error = true
917
+ for (let i in backData[device][item].f_items) {
918
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
919
+ error = false
920
+ }
921
+ }
922
+ if (error) {
923
+ this.printContent.push({
924
+ type: 3,
925
+ text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
926
+ fontsize: 2,
927
+ isbold: false,
928
+ align: 'left'
929
+ })
930
+ } else {
931
+ this.printContent.push({
932
+ type: 3,
933
+ text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
934
+ fontsize: 2,
935
+ isbold: false,
936
+ align: 'left'
937
+ })
938
+ }
939
+
940
+ for (let i in backData[device][item].f_items) {
941
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
942
+ this.printContent.push({
943
+ type: 3,
944
+ text: '隐患:' + backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
945
+ fontsize: 2,
946
+ isbold: false,
947
+ align: 'left'
948
+ })
949
+ }
950
+ }
951
+ this.printContent.push({type: 4, value: 2, unit: 'line'})
952
+ }
953
+ }
954
+ }
955
+ }
956
+ }
957
+ }
958
+ },
959
+ //获取当前时间
960
+ getNowFormatDate() {
961
+ var date = new Date();
962
+ var seperator1 = "-";
963
+ var seperator2 = ":";
964
+ var month = date.getMonth() + 1;
965
+ var strDate = date.getDate();
966
+ if (month >= 1 && month <= 9) {
967
+ month = "0" + month;
968
+ }
969
+ if (strDate >= 0 && strDate <= 9) {
970
+ strDate = "0" + strDate;
971
+ }
972
+ var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
973
+ + " " + date.getHours() + seperator2 + date.getMinutes()
974
+ + seperator2 + date.getSeconds();
975
+ return currentdate;
976
+ },
977
+ readRepair() {
978
+ let url = this.$androidUtil.getProxyUrl()
979
+ let gen = getRepairs(this, url)
980
+ return co(gen)
981
+ },
982
+ showToRepair() {
983
+ let res = this.hasDefect()
984
+ ////tag
985
+ ////tag
986
+ if (res == '正常') {
987
+ this.showrepair = false
988
+ } else {
989
+ this.showrepair = true
990
+ this.assignObj()
991
+ }
992
+ this.showCheckToRepair = !this.showCheckToRepair
993
+ },
994
+ // 选中部门
995
+ reres(val) {
996
+ if (val.res == undefined) {
997
+ return
998
+ }
999
+ this.$parent.$parent.model.serviceacitivity[0].f_meetunit = val.res
1000
+ this.$parent.$parent.model.f_meetunit = val.res
1001
+ this.$parent.$parent.model.f_orgstr = val.resids
1002
+ var arr = val.res.split('.')
1003
+ this.$parent.$parent.model.f_outlets = arr[arr.length - 1]
1004
+ this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.resids
1005
+ },
1006
+ assignObj() {
1007
+ this.$parent.$parent.model.f_contact_phone = this.paper.f_user_phone
1008
+ this.$parent.$parent.model.f_user_name = this.paper.f_user_name
1009
+ this.$parent.$parent.model.f_address = this.paper.f_address
1010
+ this.$parent.$parent.model.f_user_type = this.paper.f_check_type
1011
+ this.$parent.$parent.model.f_street = this.paper.f_street
1012
+ this.$parent.$parent.model.f_residential_area = this.paper.f_residential_area
1013
+ this.$parent.$parent.model.f_building = this.paper.f_building
1014
+ this.$parent.$parent.model.f_unit = this.paper.f_unit
1015
+ this.$parent.$parent.model.f_floor = this.paper.f_floor
1016
+ this.$parent.$parent.model.f_room = this.paper.f_room
1017
+ this.$parent.$parent.model.f_floor = this.paper.f_floor
1018
+ this.$parent.$parent.model.f_userinfo_id = this.paper.f_userinfoid
1019
+ this.$parent.$parent.model.f_userinfo_code = this.paper.f_userinfo_code
1020
+ },
1021
+ hasDefect() {
1022
+ let checkResult = '正常'
1023
+ let codata = JSON.parse(JSON.stringify(this.paper))
1024
+ for (let device in this.paper) {
1025
+ if (device.startsWith("device")) {
1026
+ for (let item in this.paper[device]) {
1027
+ for (let i in this.paper[device][item].f_items) {
1028
+ let items = this.paper[device][item].f_items[i]
1029
+ ////tag
1030
+ if (items.f_is_defect == true || items.f_is_defect == 'true') {
1031
+ checkResult = '有隐患'
1032
+ }
1033
+ }
1034
+ }
1035
+ }
1036
+ }
1037
+ return checkResult
1038
+ },
1039
+ uploadPaper() {
1040
+ if (this.showrepair) {
1041
+ ////tag
1042
+ ////tag
1043
+ ////tag
1044
+ ////tag
1045
+
1046
+ if (this.meading == '转维修员' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)) {
1047
+ this.$showMessage("请选择维修员!")
1048
+ return
1049
+ }
1050
+ if (this.$parent.$parent.meading == '转站点' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)) {
1051
+ this.$showMessage("请选择站点!")
1052
+ return
1053
+ }
1054
+ if (this.$parent.$parent.model.f_repairtype == '') {
1055
+ this.$showMessage("请选择报修类型!")
1056
+ return
1057
+ }
1058
+ this.$parent.$parent.isToRepair = true
1059
+ this.$parent.$parent.uploadCheckPaper()
1060
+ // this.$parent.$parent.savePaper(false).then((res) => {
1061
+ // ////tag
1062
+ // if(res != true){
1063
+ // ////tag
1064
+ // return
1065
+ // }else{
1066
+ // this.$parent.$parent.todo()
1067
+ // }
1068
+ // })
1069
+ } else {
1070
+ this.$parent.$parent.undo()
1071
+ }
1072
+
1073
+ },
1074
+ //确认安检转维修
1075
+
1076
+ undo() {
1077
+ this.showCheckToRepair = !this.showCheckToRepair
1078
+ this.$parent.$parent.model.serviceacitivity[0].f_reciever = ''
1079
+ this.$parent.$parent.model.serviceacitivity[0].f_meetunit = ''
1080
+ this.$parent.$parent.model.f_repairtype = ''
1081
+ this.meading = '转站点'
1082
+ },
1083
+ //取消拉黑
1084
+ async deletebacklist() {
1085
+ if (!this.deletecause) {
1086
+ this.$showMessage("请填写取消拉黑原因!")
1087
+ return
1088
+ }
1089
+ this.paper.f_blocking_cause = this.deletecause
1090
+ ////tag)
1091
+ let http = new HttpResetClass()
1092
+ ////tag
1093
+ let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
1094
+ data: {
1095
+ items: "version",
1096
+ tablename: "t_userinfo",
1097
+ condition: "f_userinfo_id=" + this.paper.f_userinfoid,
1098
+ orderitem: "f_userinfo_id"
1099
+ }
1100
+ }, {resolveMsg: null, rejectMsg: null})
1101
+ ////tag)
1102
+ ////tag
1103
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
1104
+ data: {
1105
+ "f_operat_type": "取消限购",
1106
+ "f_state": "有效",
1107
+ "f_user_name": this.paper.f_user_name,
1108
+ "f_comments": this.paper.f_delete_cause,
1109
+ "f_operator": Vue.user.name,
1110
+ "f_operatorid": Vue.user.id,
1111
+ "f_orgid": Vue.user.orgid,
1112
+ "f_orgname": Vue.user.orgs,
1113
+ "f_depid": Vue.user.depids,
1114
+ "f_depname": Vue.user.deps,
1115
+ "f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行取消拉黑`,
1116
+ "f_userinfo_id": {
1117
+ "f_userinfo_id": this.paper.f_userinfoid,
1118
+ "f_user_state": "正常",
1119
+ "version": res1.data[0].version
1120
+ },
1121
+ "f_limit_times":"",
1122
+ "f_limit_value":""
1123
+ }
1124
+ }, {resolveMsg: null, rejectMsg: null})
1125
+
1126
+ ////tag)
1127
+ if (res2.data.code == 200) {
1128
+ this.showmodelthree = false
1129
+ this.deleteenabled = true
1130
+ this.paper.f_blacklist = "否"
1131
+ this.$showMessage("取消该用户限制购气成功!")
1132
+ } else {
1133
+ this.$showMessage("网络异常,请稍后再试!")
1134
+ }
1135
+ },
1136
+ async backlist() {
1137
+ if (!this.cause) {
1138
+ this.$showMessage("请填写拉黑原因!")
1139
+ return
1140
+ }
1141
+ this.paper.f_blocking_cause = this.cause
1142
+ ////tag)
1143
+ let http = new HttpResetClass()
1144
+ ////tag
1145
+ let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
1146
+ data: {
1147
+ items: "version",
1148
+ tablename: "t_userinfo",
1149
+ condition: "f_userinfo_id=" + this.paper.f_userinfoid,
1150
+ orderitem: "f_userinfo_id"
1151
+ }
1152
+ }, {resolveMsg: null, rejectMsg: null})
1153
+ ////tag)
1154
+ ////tag
1155
+ let limit_times=1
1156
+ let limit_value=3
1157
+ if(Vue.config.safecheck && Vue.config.safecheck.ApproveConfig.limit_times && Vue.config.safecheck.ApproveConfig.limit_value){
1158
+ limit_times = Vue.config.safecheck.ApproveConfig.limit_times
1159
+ limit_value = Vue.config.safecheck.ApproveConfig.limit_value
1160
+ }
1161
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
1162
+ data: {
1163
+ data:this.$parent.$parent.data,
1164
+ item:this.$parent.$parent.data.item,
1165
+ "f_operat_type": "限购",
1166
+ "f_state": "有效",
1167
+ "f_user_name": this.paper.f_user_name,
1168
+ "f_comments": this.paper.f_blocking_cause,
1169
+ "f_operator": Vue.user.name,
1170
+ "f_operate_date":Util.toStandardTimeString(),
1171
+ "f_operatorid": Vue.user.id,
1172
+ "f_orgid": Vue.user.orgid,
1173
+ "f_orgname": Vue.user.orgs,
1174
+ "f_depid": Vue.user.depids,
1175
+ "f_depname": Vue.user.deps,
1176
+ "f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行拉黑`,
1177
+ "f_userinfo_id": {
1178
+ "f_userinfo_id": this.paper.f_userinfoid
1179
+ },
1180
+ "f_limit_times":limit_times,
1181
+ "f_limit_value":limit_value
1182
+ }
1183
+ }, {resolveMsg: null, rejectMsg: null})
1184
+
1185
+ ////tag)
1186
+ if (res2.data.code == 200) {
1187
+ this.showmodel = false
1188
+ this.enabled = true
1189
+ this.paper.f_blacklist = "是"
1190
+ this.$showMessage("将该用户限制购气成功!")
1191
+ } else if (res2.data.msg == '数据增加重复') {
1192
+ this.showmodel = false
1193
+ this.enabled = true
1194
+ this.$showMessage("该用户已被限制购气,请勿重复提交!")
1195
+ } else {
1196
+ this.$showMessage("网络异常,请稍后再试!")
1197
+ }
1198
+ },
1199
+ cancel() {
1200
+ this.backlistisselect = false
1201
+ this.showmodel = false
1202
+ },
1203
+ deletecancel() {
1204
+ this.deletebacklistisselect = false
1205
+ this.showmodelthree = false
1206
+ },
1207
+ repiarmancg(val) {
1208
+ if (val) {
1209
+ ////tag
1210
+ this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.name
1211
+ let http1 = new HttpResetClass()
1212
+ http1.load('POST', `${this.Url}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
1213
+ data: {
1214
+ items: 'f_user_telephone',
1215
+ tablename: 't_user',
1216
+ condition: `name = '${val}'`,
1217
+ orderitem: 'id'
1218
+ }
1219
+ }, {resolveMsg: null, rejectMsg: null}).then((ress) => {
1220
+ this.$parent.$parent.model.f_repairman_phone = ress.data[0].f_user_telephone
1221
+ })
1222
+ }
1223
+ },
1224
+ },
1225
+ async ready() {
1226
+ this.isRecodr = this.$appdata.getSingleValue('无限制录音')
1227
+ if(this.$appdata.getSingleValue('安检时显示拉黑')){
1228
+ this.showbacklist = this.$appdata.getSingleValue('安检时显示拉黑');
1229
+ }
1230
+ // await this.isoverDate()
1231
+ ////tag
1232
+ ////tag
1233
+ ////tag)
1234
+ ////tag))
1235
+ if (this.$parent.$parent.role == 'repair') {
1236
+ this.$set('style__', 'divmask')
1237
+ this.$set('style_view_', '')
1238
+ } else if (this.$parent.$parent.role == 'view' || this.$parent.$parent.item.f_upload_state == '已传') {
1239
+ this.$set('style__', 'divmask')
1240
+ this.$set('style_view_', 'divmask')
1241
+ ////tag
1242
+ } else {
1243
+ this.$set('style__', '')
1244
+ this.$set('style_view_', '')
1245
+ }
1246
+
1247
+ for (let item of this.radios) {
1248
+ if (this.paper.f_client_evaluation == item.label) {
1249
+ item.isChecked = true;
1250
+ }
1251
+ }
1252
+ if (!this.paper.f_notified_path)
1253
+ this.$set('paper.f_notified_path', Vue.nopic)
1254
+ if (!this.paper.f_sign_path)
1255
+ this.$set('paper.f_sign_path', Vue.nopic)
1256
+ ////tag
1257
+ if (!this.paper.f_overall_imgs) {
1258
+ let imgs = []
1259
+ // imgs.push({f_overall_path:Vue.nopic})
1260
+ this.$set('paper.f_overall_imgs', imgs)
1261
+ ////tag
1262
+ }
1263
+ if (!this.paper.f_overall2_path)
1264
+ this.$set('paper.f_overall2_path', Vue.nopic)
1265
+
1266
+ this.userid = this.role == 'view' ? this.$login.f.id : Vue.user.id
1267
+ if (Vue.config.safecheck != undefined) {
1268
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
1269
+ if (Vue.config.safecheck.ApproveConfig.safeCheckToRepair != undefined) {
1270
+ this.safeCheckToRepair = Vue.config.safecheck.ApproveConfig.safeCheckToRepair
1271
+ }
1272
+ }
1273
+ }
1274
+ let device = this.$parent.$parent.data
1275
+ for (const deviceitem in device) {
1276
+ if (deviceitem.startsWith('device')){
1277
+ //tag)
1278
+ if(device[deviceitem].length == 0){
1279
+ continue
1280
+ }
1281
+ let items = device[deviceitem][0].f_items
1282
+ let deviceType = device[deviceitem][0].f_device_type
1283
+ for (let i = 0; i < items.length; i++) {
1284
+ if (items[i].f_is_defect){
1285
+ let reason = items[i].f_item_name+":"
1286
+ if (items[i].type === 'selector' || items[i].type === 'radio' || items[i].type === 'checkbox'){
1287
+ for (let j = 0; j < items[i].f_item_value.length; j++) {
1288
+ if (j+1 === items[i].f_item_value.length){
1289
+ reason += items[i].f_item_value[j]
1290
+ }else{
1291
+ reason += items[i].f_item_value[j] + ","
1292
+ }
1293
+ }
1294
+ }else{
1295
+ reason += items[i].f_item_value
1296
+ }
1297
+ if (items[i].f_path){
1298
+ this.defectImgs.push(items[i].f_path)
1299
+ }
1300
+ if (items[i].f_p1_path){
1301
+ this.defectImgs.push(items[i].f_p1_path)
1302
+ }
1303
+ if (items[i].f_p2_path){
1304
+ this.defectImgs.push(items[i].f_p2_path)
1305
+ }
1306
+ if (items[i].f_p3_path){
1307
+ this.defectImgs.push(items[i].f_p3_path)
1308
+ }
1309
+ if (items[i].tooltip){
1310
+ this.defectToolTip.push(items[i].tooltip)
1311
+ }
1312
+ this.defectReason.push({device:deviceType,deviceitem:reason})
1313
+ }else if(items[i].type === 'errorstring' && items[i].f_item_value ){
1314
+ let reason = items[i].f_item_name+":" + items[i].f_item_value
1315
+ this.defectReason.push({device:deviceType,deviceitem:reason})
1316
+ }
1317
+
1318
+ }
1319
+ }
1320
+ }
1321
+ ////tag
1322
+ ////tag
1323
+ //tag
1324
+ ////tag
1325
+ //tag)
1326
+ //tag)
1327
+ //tag)
1328
+ ////tag
1329
+ ////tag
1330
+ ////tag
1331
+ },
1332
+ watch: {
1333
+ '$parent.$parent.isUpload'(val) {
1334
+ ////tag
1335
+ },
1336
+ 'meading'(val) {
1337
+ ////tag
1338
+ this.$parent.$parent.meading = val
1339
+ },
1340
+ 'backlistisselect'(val) {
1341
+ if (val == true) {
1342
+ this.showmodel = true
1343
+ this.deletebacklistisselect=false
1344
+ }
1345
+ },
1346
+ 'deletebacklistisselect'(val) {
1347
+ if (val == true) {
1348
+ this.showmodelthree = true
1349
+ this.backlistisselect=false
1350
+ }
1351
+ },
1352
+ 'isRecodr'(val) {
1353
+ if (val == 'false' || val == undefined || val == null || val == '' || val == 'undefined') {
1354
+ this.isRecodr = "false";
1355
+ }
1356
+ }
1357
+ }
1358
+ }
1359
+ </script>
1360
+ <style scoped>
1361
+ .panel-self{
1362
+ border-radius: 5px;
1363
+ border:1px solid #c5e1f7;
1364
+ background-color: #F2F6FA;
1365
+ }
1366
+ .text-left{
1367
+ text-align:left;
1368
+ }
1369
+ .font{
1370
+ font: 15px PingFang-SC-Medium;
1371
+ color: #333333;
1372
+ }
1373
+ .showIi{
1374
+ font: 14px PingFang-SC-Medium;
1375
+ color: #666666;
1376
+ }
1377
+ .info{
1378
+ margin-top: 15px;
1379
+ border-radius: 5px;
1380
+ background-color: #f3faff;
1381
+ }
1382
+ .btn-photo{
1383
+ border: 0;
1384
+ border-radius: 7px;
1385
+ background-color: #7dc1f4;
1386
+ font: 15px PingFang-SC-Bold;
1387
+ height: 20%;
1388
+ }
1389
+ .div-photo{
1390
+ width: auto;
1391
+ height: auto;
1392
+ /* margin-top: 10px; */
1393
+ position: absolute;
1394
+ bottom: 10px;
1395
+ right: 10px;
1396
+ }
1397
+ .btn-voice{
1398
+ border-radius: 7px;
1399
+ border: 1px solid #dedede;
1400
+ background-color: #f5fbff;
1401
+ font: 15px PingFang-SC-Bold;
1402
+ color: #499edf;
1403
+ }
1404
+ .save-btn{
1405
+ width: 25%;
1406
+ background-color:#499edf;
1407
+ border-radius: 6px;
1408
+ color: #FFFFFF;
1409
+ font: 15px PingFang-SC-Bold;
1410
+ }
1411
+ .upload-btn{
1412
+ width: 25%;
1413
+ background-color:#ffffff;
1414
+ border: 1px solid #499edf;
1415
+ border-radius: 6px;
1416
+ color: #499edf;
1417
+ font: 15px PingFang-SC-Bold;
1418
+ }
1419
+ .repair-btn{
1420
+ width: 25%;
1421
+ border: 1px solid #499edf;
1422
+ border-radius: 6px;
1423
+ font: 15px PingFang-SC-Bold;
1424
+ }
1425
+ #el_ca_tx{
1426
+ width: 100%;
1427
+ margin: 5px;
1428
+ }
1429
+ #el_ca_txt{
1430
+ width: 100%;
1431
+ margin: 5px;
1432
+ }
1433
+ </style>