safecheck-client 4.0.1-40 → 4.0.1-41

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 (263) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +31 -31
  3. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  4. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  5. package/src/components/NewDefectList/DefectListNew.vue +663 -663
  6. package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
  7. package/src/components/Util/SafecheckUpload.vue +281 -281
  8. package/src/components/android/AddPlanItem.vue +447 -447
  9. package/src/components/android/AddPlanItemYy.vue +451 -451
  10. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  11. package/src/components/android/AndroidDefectDetails.vue +769 -769
  12. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  13. package/src/components/android/Devices.vue +327 -327
  14. package/src/components/android/Devicesm.vue +327 -327
  15. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  16. package/src/components/android/PhoneRecordInfo.vue +113 -113
  17. package/src/components/android/PhoneSellInfo.vue +113 -113
  18. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  19. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  20. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  21. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  22. package/src/components/android/SafePlanItem.vue +509 -509
  23. package/src/components/android/SafeRightTree.vue +218 -218
  24. package/src/components/android/SafecheckDevices.vue +1340 -1340
  25. package/src/components/android/examples/SafeListExamples.vue +296 -296
  26. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  27. package/src/components/android/recheck/Recheck.vue +402 -402
  28. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  29. package/src/components/checkplan/checkmsg.vue +459 -459
  30. package/src/components/defect/DefectList.vue +507 -507
  31. package/src/components/defect/DefectListWeixiu.vue +484 -484
  32. package/src/components/filialCircle/CircleList.vue +139 -139
  33. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  34. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  35. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  36. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  37. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  38. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  39. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  40. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  41. package/src/components/map/PersonTrack.vue +226 -226
  42. package/src/components/paper/PaperList.vue +797 -797
  43. package/src/components/paper/RegionalList.vue +220 -220
  44. package/src/components/pc/AnnouncementPC.vue +524 -524
  45. package/src/components/pc/CheckBook.vue +303 -303
  46. package/src/components/pc/CheckBookArea.vue +146 -146
  47. package/src/components/pc/CheckBookCompany.vue +144 -144
  48. package/src/components/pc/CheckBookDetails.vue +161 -161
  49. package/src/components/pc/CheckBookEntry.vue +60 -60
  50. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  51. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  52. package/src/components/pc/CheckBookSearchUser.vue +659 -659
  53. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  54. package/src/components/pc/DefectList.vue +742 -742
  55. package/src/components/pc/DeviceChange.vue +1068 -1068
  56. package/src/components/pc/PaperDefectMain.vue +880 -880
  57. package/src/components/pc/SafeVisitInfo.vue +261 -261
  58. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  59. package/src/components/report/HiddenSituation.vue +165 -165
  60. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  61. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  62. package/src/components/rongcheng/DefectList.vue +560 -560
  63. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  64. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  65. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  66. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  67. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  68. package/src/components/shaoguan/DefectList.vue +473 -473
  69. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  70. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  71. package/src/components/userfile/SecurityAudit.vue +243 -243
  72. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  73. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  74. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  75. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  76. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  77. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  78. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  79. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  80. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  81. package/src/filiale/bayan/android/Edit.vue +132 -132
  82. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  83. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  84. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  85. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  86. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  87. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  88. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  89. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  90. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  91. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  92. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  93. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  94. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  95. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  96. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  97. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  98. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  99. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  100. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  101. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  102. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  103. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  104. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  105. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  106. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  107. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  108. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  109. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  110. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  111. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  112. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  113. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  114. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  115. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  116. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  117. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  118. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  119. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  120. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  121. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  122. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  123. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  124. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  125. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  126. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  127. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  128. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  129. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  130. package/src/filiale/meihekou/android/CurrentCreate.vue +1038 -1038
  131. package/src/filiale/meihekou/android/MeterReading.vue +110 -110
  132. package/src/filiale/meihekou/android/PaperFeedback.vue +1542 -1542
  133. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1307
  134. package/src/filiale/meihekou/android/SafecheckDevices.vue +1340 -1340
  135. package/src/filiale/meihekou/android/SafecheckOrderV.vue +301 -287
  136. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  137. package/src/filiale/meihekou/android.js +22 -22
  138. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -0
  139. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  140. package/src/filiale/meihekou/pc/PaperList.vue +810 -0
  141. package/src/filiale/meihekou/pc.js +2 -0
  142. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  143. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  144. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  145. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  146. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  147. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  148. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  149. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  150. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  151. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  152. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  153. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  154. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  155. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  156. package/src/filiale/qingjian/pc.js +15 -15
  157. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  158. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  159. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  160. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  161. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  162. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  163. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  164. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  165. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  166. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  167. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  168. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  169. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  170. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  171. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  172. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  173. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  174. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  175. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  176. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  177. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  178. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  179. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  180. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  181. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  182. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  183. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  184. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  185. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  186. package/src/filiale/taiyuan/pc/DefectDeal.vue +1033 -1033
  187. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -1976
  188. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -891
  189. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -798
  190. package/src/filiale/taiyuan/pc.js +15 -15
  191. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  192. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  193. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  194. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  195. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  196. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  197. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  198. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  199. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  200. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  201. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  202. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  203. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  204. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  205. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  206. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  207. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  208. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  209. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  210. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  211. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  212. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  213. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  214. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  215. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  216. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  217. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  218. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  219. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  220. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  221. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  222. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  223. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  224. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  225. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  226. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  227. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  228. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  229. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  230. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  231. package/src/filiale/xinkang/android/AddPlanItem.vue +413 -413
  232. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  233. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1474 -1474
  234. package/src/filiale/xinkang/pc/PaperList.vue +596 -596
  235. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  236. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  237. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  238. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  239. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  240. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  241. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  242. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  243. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  244. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  245. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  246. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  247. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  248. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  249. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  250. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  251. package/src/filiale/yunchengminsheng/android.js +15 -15
  252. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -811
  253. package/src/filiale/yunchengminsheng/pc.js +15 -15
  254. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  255. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  256. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  257. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  258. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  259. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  260. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  261. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  262. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  263. package/src/main.js +2 -1
@@ -149,23 +149,6 @@ export default {
149
149
  // props: ['f_plan_id', 'role'],
150
150
  data() {
151
151
  return {
152
- //测试数据
153
- // f_plan_id:'',
154
- // role:'inspect',
155
- // item:{"f_approved_time":null,"f_user_family_remarks":null,"f_street":"测试街道","f_repair_approved_time":null,
156
- // "f_user_type":null,"f_approved_by":null,"f_card_id":null,"f_remark":null,"f_building":"1","f_batch_number":null,
157
- // "f_idnumber":null,"f_state":"未检","id":"0EFE0EE2-B155-46F9-8DE0-38C022664A4D","f_complete":null,"f_check_state":null,"f_last_check_state":"拒检",
158
- // "f_user_inhome_time":null,"f_residential_area":"测试小区1","version":1,"f_processid":null,"f_last_check_result":"{\"result\":\"正常\",\"data\":[]}",
159
- // "f_area":null,"f_usegas":null,"f_user_phone":"16566546548","f_slice_area":"营业大区","f_approved":"未审核","f_upload_state":"未传","f_user_check_time":null,
160
- // "f_unit":"1","f_user_spare_phone":null,"f_last_check_date":null,"f_userproperties":null,"f_userfile_id":null,"f_prearranged_date":null,"f_filialeid":"453",
161
- // "f_branch":null,"f_orgstr":null,"f_plan_year":2020,"f_orgid":null,"f_approval_notified":null,"f_plan_month":4,"f_approved_note":null,"f_filialeids":null,
162
- // "f_floor":"1","f_flag":null,"f_repair_approved_note":null,"f_userinfo_code":"00000002","f_create_time":"2020-05-10 18:56:03","f_meter_no":"","f_station":null,
163
- // "f_repair_approved":"未审核","f_no_checkplan":"有计划安检","f_plan_name":"关于","f_repair_approved_by":null,"f_room":"1","f_office":null,"f_comments":null,
164
- // "f_address":"兰山街道泰盛小区1栋1单元1层1室","id_back":null,"f_userinfoid":"2","f_subcompany":null,"f_addressid":null,"f_user_phone2":null,
165
- // "f_user_equipment_remarks":null,"f_plan_id":"0819ea6707ad4d9dad217c06a87f4227","f_user_name":"用户二",
166
- // "f_plan_meters":[{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2119035714","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":3,"f_maker":null,"f_metergasnums":0,"f_total_fee":100,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663},{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2118999901","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":1,"f_maker":null,"f_metergasnums":0,"f_total_fee":0,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663}]
167
- // },
168
-
169
152
  data: {
170
153
  f_devices: [],
171
154
  f_defect_content:'',
@@ -221,6 +204,7 @@ export default {
221
204
  f_meetunit:'维修站',
222
205
  f_outlets:'维修站'
223
206
  },
207
+ serverConfig: undefined,
224
208
  model: { //转维修数据
225
209
  // 一次派单
226
210
  serviceacitivity: [{
@@ -254,49 +238,38 @@ export default {
254
238
  repairitems:[],
255
239
  meading:'转站点',
256
240
  repairTypeOptions:this.$appdata.getParam('报修类型'),
257
- config: {
258
- "燃气表":{
259
- "checkmust":true,
260
- "index":1,
261
- "items":{
262
- //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
263
- "基表编号":{"index":1,"type":"string","readonly":true},
264
- "气表型号":{"index":2,"type":"string","readonly":true},
265
- "气表品牌":{"index":3,"type":"string","readonly":true},
266
- "表向":{"index":4,"type":"string","readonly":true},
267
- "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
268
- "上期表读数":{"index":6,"type":"number","readonly":true,isshow:false},
269
- "累购气量":{"index":7,"type":"number","readonly":true},
270
- "累购金额":{"index":7,"type":"number","readonly":true},
271
- "已用气量":{"index":8,"type":"number","checkmust": false},//基表数
272
- "已用金额":{"index":8,"type":"number","checkmust": false},
273
- "剩余气量":{"index":9,"type":"number","checkmust": false},//累购-已用
274
- //显示屏数 --实际剩余气量
275
- "剩余金额":{"index":9,"type":"number","checkmust": false},
276
- "气量异常差值":{"index":10,"type":"number","readonly": true},
277
- "金额异常差值":{"index":10,"type":"number","readonly": true},
278
- "系统余额":{"index":10,"type":"number","readonly": true},
279
- "表封号":{"index":11,"type":"string","readonly": true},
280
- "燃气表照片":{"index":12,"type":"picture","checkmust": false}
241
+ f_security_check_type_id: '',
242
+ config: [
243
+ {
244
+ "itemname": "燃气表",
245
+ "checkmust": true,
246
+ "index": 1,
247
+ "items": [
248
+ {"itemname": "基表编号", "index": 1, "type": "string", "readonly": true},
249
+ {"itemname": "气表型号", "index": 2, "type": "string", "readonly": true},
250
+ {"itemname": "气表品牌", "index": 3, "type": "string", "readonly": true},
251
+ {"itemname": "表向", "index": 4, "type": "string", "readonly": true},
252
+ {"itemname": "初始表底", "index": 5, "type": "number", "readonly": true},
253
+ {"itemname": "上期表读数", "index": 6, "type": "number", "readonly": true},
254
+
255
+ {"itemname": "累购气量", "index": 7, "type": "number", "readonly": true,unique: true,collectionType:"按气量"},
256
+ {"itemname": "已用气量", "index": 8, "type": "number", "checkmust": false,unique: true,collectionType:"按气量"},
257
+ {"itemname": "剩余气量", "index": 9, "type": "number", "checkmust": false,unique: true,collectionType:"按气量"},
258
+ {"itemname": "气量异常差值", "index": 10, "type": "number", "readonly": true,unique: true,collectionType:"按气量"},
259
+
260
+
261
+ {"itemname": "累购金额", "index": 7, "type": "number", "readonly": true,unique: true,collectionType:"按金额"},
262
+ {"itemname": "已用金额", "index": 8, "type": "number", "checkmust": false,unique: true,collectionType:"按金额"},
263
+ {"itemname": "剩余金额", "index": 9, "type": "number", "checkmust": false,unique: true,collectionType:"按金额"},
264
+ {"itemname": "金额异常差值", "index": 10, "type": "number", "readonly": true,unique: true,collectionType:"按金额"},
265
+
266
+ {"itemname": "系统余额", "index": 10, "type": "number", "readonly": true},
267
+
268
+ {"itemname": "表封号", "index": 11, "type": "string", "readonly": true},
269
+ {"itemname": "燃气表照片", "index": 12, "type": "picture", "checkmust": false}
270
+ ]
281
271
  }
282
- // 注意,配置项的index必须与上面的固定配置保持'顺序'
283
- },
284
- // "燃气表2":{
285
- // "checkmust":true,
286
- // "index":2,src
287
- // "items":{
288
- // "燃气表照片":{"index":1,"type":"picture"},
289
- // "表品牌":{"index":2,"type":"string","readonly":true},
290
- // "表号":{"index":3,"type":"string","readonly":true},
291
- // "表封号":{"index":4,"type":"number","readonly":true},
292
- // "表型号":{"index":5,"type":"string","readonly":true},
293
- // "位置":{"index":6,"type":"string","readonly":true},
294
- // "表底数":{"index":7,"type":"number","readonly":true},
295
- // "累购气量":{"index":8,"type":"number","readonly":true},
296
- // "累购金额":{"index":8,"type":"number","readonly":true}
297
- // }
298
- // }
299
- },
272
+ ],
300
273
  // 维修项
301
274
  isneedDate:'',
302
275
  days: this.$appdata.getParam('截止天数'),
@@ -753,14 +726,14 @@ export default {
753
726
  for(let device in this.data) {
754
727
  if (device.startsWith("device")) {
755
728
  for (let item in this.data[device]) {
756
- if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
729
+ if (this.data[device].length != 0 && this.data[device][item].f_device_type == this.config[dev].itemname) {
757
730
  error = false
758
731
  }
759
732
  }
760
733
  }
761
734
  }
762
735
  if (error) {
763
- return "请检查" + dev
736
+ return "请检查" + this.config[dev].itemname
764
737
  }
765
738
  }
766
739
  }
@@ -770,23 +743,22 @@ export default {
770
743
  if (device.startsWith("device")) {
771
744
  for (let item in this.data[device]) {
772
745
  //检查每一条安检结果
773
- if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
746
+ if (this.data[device].length != 0 && this.data[device][item].f_device_type == this.config[dev].itemname) {
774
747
  for (let i in this.data[device][item].f_items) {
775
748
  for (let it in this.config[dev].items) {
776
- if (it == this.data[device][item].f_items[i].f_item_name) {
777
- let check=false
778
- if (!this.data[device][item].f_items[i].f_item_value){
779
- check=true
780
- }else if (Array.isArray(this.data[device][item].f_items[i].f_item_value)){
781
- if (this.data[device][item].f_items[i].f_item_value.length==0){
782
- check=true
749
+ if (this.config[dev].items[it].itemname == this.data[device][item].f_items[i].f_item_name) {
750
+ let check = false
751
+ if (!this.data[device][item].f_items[i].f_item_value) {
752
+ check = true
753
+ } else if (Array.isArray(this.data[device][item].f_items[i].f_item_value)) {
754
+ if (this.data[device][item].f_items[i].f_item_value.length == 0) {
755
+ check = true
783
756
  }
784
757
  }
785
-
786
- if(this.config[dev].items[it].type=='picture' && this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_path){
758
+ if (this.config[dev].items[it].type == 'picture' && this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_path) {
787
759
  return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
788
760
  }
789
- if (this.config[dev].items[it].type !='picture' && this.config[dev].items[it].checkmust == true && check) {
761
+ if (this.config[dev].items[it].type != 'picture' && this.config[dev].items[it].checkmust == true && check) {
790
762
  return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
791
763
  }
792
764
  }
@@ -832,7 +804,7 @@ export default {
832
804
  let hasOther = ''
833
805
  let otherValue = null
834
806
  for (let item in codata[device]) {
835
- if(typeof codata[device][item]=='function'){
807
+ if (typeof codata[device][item] == 'function') {
836
808
  continue
837
809
  }
838
810
  codata[device][item].f_create_time = Util.toStandardTimeString()
@@ -842,17 +814,18 @@ export default {
842
814
  } else {
843
815
  f_device_type = codata[device][item].f_device_type
844
816
  }
845
- if(item == 'sum' || item == 'removeEmpty'){
817
+ if (item == 'sum' || item == 'removeEmpty') {
846
818
  continue
847
819
  }
848
- for (let i = 0; i < codata[device][item].f_items.length ; i++) {
820
+ for (let i = 0; i < codata[device][item].f_items.length; i++) {
849
821
  //tag
850
- if(i == 'sum' || i == 'removeEmpty'){
822
+ if (i == 'sum' || i == 'removeEmpty') {
851
823
  continue
852
824
  }
853
825
  var items = codata[device][item].f_items[i]
854
826
  items.f_create_time = Util.toStandardTimeString()
855
827
  items.f_item_lists = []
828
+
856
829
  if (items.type == 'selector') {
857
830
  items.selected = []
858
831
  } else if (items.type == 'inputSelector') {
@@ -865,62 +838,74 @@ export default {
865
838
  let f_item_value
866
839
  if (items.type == 'selector' || items.type == 'checkbox' || items.type == 'radio') {
867
840
  for (let i in items.f_item_value) {
868
- if(typeof items.f_item_value[i]=='function'){
841
+ if (typeof items.f_item_value[i] == 'function') {
869
842
  continue
870
843
  }
871
- let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
844
+ // let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
845
+ let configItems = ''
846
+ this.config.forEach(e => {
847
+ if (e.itemname == f_device_type)
848
+ e.items.forEach(item => {
849
+ if (item.itemname == f_item_name) {
850
+ configItems = item
851
+ }
852
+ })
853
+ })
854
+ items.f_defect_level = configItems.level
872
855
  //tag)
873
856
  for (let k in configItems.options) {
874
- if(typeof configItems.options[k]=='function'){
857
+ if (typeof configItems.options[k] == 'function') {
875
858
  continue
876
859
  }
877
860
  //tag)
878
861
  if (items.f_item_value[i] === configItems.options[k].data) {
879
-
880
862
  f_is_defect = configItems.options[k].isdefect
881
863
  f_item_value = items.f_item_value[i]
882
- f_defect_level = configItems.options[k].level
864
+ f_defect_level = configItems.level
883
865
  if (f_is_defect) {
884
866
  if (checkResults.result !== '有隐患') {
885
867
  checkResults.result = '有隐患'
886
868
  }
887
- console.log('items'+items)
888
- if(items.f_deal_dispose=='报修'){
869
+ console.log('items' + items)
870
+ if (items.f_deal_dispose == '报修') {
889
871
  console.log("检测到需要转维修++++++++++++")
890
- this.repairDefect.result='未处理'
872
+ this.repairDefect.result = '未处理'
891
873
  this.repairDefect.data.push(`${f_item_name} : ${f_item_value}`)
892
874
  }
893
- if (!this.checkResult.hasOwnProperty(f_device_type+'-'+f_item_name)) {
894
- this.checkResult[f_device_type+'-'+f_item_name] = []
875
+ if (!this.checkResult.hasOwnProperty(f_device_type + '-' + f_item_name)) {
876
+ this.checkResult[f_device_type + '-' + f_item_name] = []
895
877
  }
896
- this.checkResult[f_device_type+'-'+f_item_name].push(f_item_value)
878
+ this.checkResult[f_device_type + '-' + f_item_name].push(f_item_value)
897
879
 
898
880
  }
899
881
 
900
- let items_list = {
901
- f_is_defect: f_is_defect,
902
- f_item_value: f_item_value,
903
- f_defect_level: f_defect_level,
904
- f_is_eliminate: null,
905
- f_create_time: Util.toStandardTimeString()
906
- }
907
- if (!items.f_item_lists) {
908
- items.f_item_lists = []
909
- if (JSON.stringify(items_list) !== '{}') {
910
- items.f_item_lists.push(items_list)
911
- }
882
+ let f_selected = f_item_value
883
+ if (!items.f_selected) {
884
+ items.f_selected = []
885
+ items.f_selected.push(f_item_value)
912
886
  } else {
913
- if (JSON.stringify(items_list) !== '{}') {
914
- items.f_item_lists.push(items_list)
915
- }
887
+ items.f_selected.push(f_item_value)
916
888
  }
917
889
  }
918
890
  }
919
891
  }
892
+ //
893
+ items.f_selected = JSON.stringify(items.f_selected);
894
+ items.f_item_value = items.f_item_value ? items.f_item_value.toString() : undefined
920
895
  } else {
921
- let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
896
+ // let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
897
+ let configItems = ''
898
+ this.config.forEach(e => {
899
+ if (e.itemname == f_device_type)
900
+ e.items.forEach(item => {
901
+ if (item.itemname == f_item_name) {
902
+ configItems = item
903
+ }
904
+ })
905
+ })
906
+
922
907
  f_is_defect = items.f_is_defect
923
- f_defect_level = items.level
908
+ f_defect_level = configItems.level
924
909
  f_item_value = items.f_item_value
925
910
  let items_list = {
926
911
  f_is_defect: f_is_defect,
@@ -964,7 +949,7 @@ export default {
964
949
  }
965
950
  if (this.checkResult) {
966
951
  for (let key in this.checkResult) {
967
- if(typeof this.checkResult[key]=='function'){
952
+ if (typeof this.checkResult[key] == 'function') {
968
953
  continue
969
954
  }
970
955
  // 上次安检结果数据组织
@@ -1010,7 +995,6 @@ export default {
1010
995
  return this.$showMessage('有隐患的处理方式为转维修,请点击转维修')
1011
996
  }
1012
997
  this.save()
1013
-
1014
998
  },
1015
999
  //将数据组装提出
1016
1000
  assemblyCodata(){
@@ -1029,21 +1013,21 @@ export default {
1029
1013
  save(type) {
1030
1014
  if (type == 'temp' || type == 'finish') {
1031
1015
  this.assemblyCodata()
1032
- }
1016
+ }
1033
1017
  //禁用事件
1034
1018
  this.saveNoclick()
1035
- if(type == 'temp'){
1019
+ if (type == 'temp') {
1036
1020
  this.data.f_complete = '未完成'
1037
1021
  this.rowCodata.f_complete = '未完成'
1038
1022
  // 关闭录音方法
1039
1023
  this.closely(true) //临时保存,删除录音文件并暂停录音
1040
1024
  this.disableTimer()
1041
- }else {
1025
+ } else {
1042
1026
  // 关闭录音方法
1043
1027
  this.closely(false) // 保存本地,不删除录音文件暂停录音
1044
1028
  let errString = this.errorVerify()
1045
1029
  if (errString) {
1046
- if (Vue.android){
1030
+ if (Vue.android) {
1047
1031
  this.$showMessage(errString)
1048
1032
  }
1049
1033
  return
@@ -1055,7 +1039,7 @@ export default {
1055
1039
  this.disableTimer()
1056
1040
  }
1057
1041
  }
1058
- if(this.data.f_blacklist!='是'){
1042
+ if (this.data.f_blacklist != '是') {
1059
1043
  delete this.data.f_blocking_cause
1060
1044
  }
1061
1045
  if (this.data.f_entry_status == '入户') {
@@ -1063,17 +1047,17 @@ export default {
1063
1047
  this.data.f_rejectcheck_path = null
1064
1048
  this.data.f_rejectcheck1_path = null
1065
1049
  this.data.f_rejectcheck2_path = null
1066
- this.data.f_noanswers_path=[]
1050
+ this.data.f_noanswers_path = []
1067
1051
  this.data.f_noanswer_path = null
1068
1052
  this.data.f_noanswer1_path = null
1069
1053
  this.data.f_noanswer2_path = null
1070
- }else if (this.data.f_entry_status == '到访不遇') {
1054
+ } else if (this.data.f_entry_status == '到访不遇') {
1071
1055
  this.data.f_rejectchecks_path = []
1072
1056
  this.data.f_rejectcheck_path = null
1073
1057
  this.data.f_rejectcheck1_path = null
1074
1058
  this.data.f_rejectcheck2_path = null
1075
- }else if (this.data.f_entry_status == '拒检') {
1076
- this.data.f_noanswers_path=[]
1059
+ } else if (this.data.f_entry_status == '拒检') {
1060
+ this.data.f_noanswers_path = []
1077
1061
  this.data.f_noanswer_path = null
1078
1062
  this.data.f_noanswer1_path = null
1079
1063
  this.data.f_noanswer2_path = null
@@ -1092,8 +1076,8 @@ export default {
1092
1076
  })
1093
1077
  if ((this.item.f_no_checkplan == '无计划安检' || this.item.f_no_checkplan == '复检') && this.item.f_no_checkplan != '打回') {
1094
1078
  codata.f_devices = this.f_devices
1095
- if (this.rowCodata && this.rowCodata.istoRepair=='转维修') {
1096
- this.rowCodata = Object.assign({},this.rowCodata,codata)
1079
+ if (this.rowCodata && this.rowCodata.istoRepair == '转维修') {
1080
+ this.rowCodata = Object.assign({}, this.rowCodata, codata)
1097
1081
  } else {
1098
1082
  this.rowCodata = codata
1099
1083
  }
@@ -1158,8 +1142,8 @@ export default {
1158
1142
  alias: 'getUserinfomation',
1159
1143
  data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan in ('无计划安检','复检')"}
1160
1144
  })
1161
- if (this.rowCodata && this.rowCodata.istoRepair=='转维修') {
1162
- this.rowCodata = Object.assign({},this.rowCodata,codata)
1145
+ if (this.rowCodata && this.rowCodata.istoRepair == '转维修') {
1146
+ this.rowCodata = Object.assign({}, this.rowCodata, codata)
1163
1147
  } else {
1164
1148
  this.rowCodata = codata
1165
1149
  }
@@ -1176,6 +1160,7 @@ export default {
1176
1160
  f_check_item_id: this.data.f_check_item_id
1177
1161
  }).then((res) => {
1178
1162
  if (res.data.code == 200) {
1163
+
1179
1164
  let f_paper_id = res.data.data[0].id
1180
1165
  for (let device of this.f_devices) {
1181
1166
  device.f_paper_id = f_paper_id
@@ -1198,8 +1183,7 @@ export default {
1198
1183
  return false
1199
1184
  }
1200
1185
  })
1201
- }
1202
- else {
1186
+ } else {
1203
1187
  this.$androidUtil.bzLogic('保存安检单信息', {
1204
1188
  f_check_item_id: this.data.f_check_item_id,
1205
1189
  f_checker_id: this.data.f_checker_id,
@@ -1316,23 +1300,23 @@ export default {
1316
1300
  // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1317
1301
  'backresult': 1
1318
1302
  })
1319
- }else{
1303
+ } else {
1320
1304
  this.$showMessage('保存成功!')
1321
- if(this.clickBack){
1305
+ if (this.clickBack) {
1322
1306
  this.isStrat = false
1323
1307
  this.$dispatch('confirm')
1324
1308
  }
1325
1309
  }
1326
- }else{
1310
+ } else {
1327
1311
  this.$showMessage('保存失败!')
1328
1312
  return
1329
1313
  }
1330
- }else{
1314
+ } else {
1331
1315
  this.$showMessage('服务器内部错误,保存失败!')
1332
1316
  return
1333
1317
  }
1334
1318
  },
1335
- uploadCallBack(jo){
1319
+ uploadCallBack(jo) {
1336
1320
  //获取微信推送路径
1337
1321
  let url = ""
1338
1322
  if(Vue.config.safecheck != undefined) {
@@ -1342,13 +1326,13 @@ export default {
1342
1326
  }
1343
1327
  }
1344
1328
  }
1345
- if(jo.state == 'ok'){
1329
+ if (jo.state == 'ok') {
1346
1330
  let res = JSON.parse(jo.result)
1347
- if(res.code == 200){
1331
+ if (res.code == 200) {
1348
1332
  this.$set('data.f_paper_id', res.id)
1349
- this.isStrat=false
1350
- if(url != ""){
1351
- this.$resetpost(`${url}`,{data:WxResult})
1333
+ this.isStrat = false
1334
+ if (url != "") {
1335
+ this.$resetpost(`${url}`, {data: WxResult})
1352
1336
  }
1353
1337
  // 预约安检回更预约安检单
1354
1338
  if(this.data.isupdateplanitem == 'true' && this.data.f_SafeToRepair_id){
@@ -1362,27 +1346,27 @@ export default {
1362
1346
  }
1363
1347
  })
1364
1348
  }
1365
- if(this.isToRepair){
1366
- for (let device in this.data){
1367
- if(device.startsWith("device")){
1349
+ if (this.isToRepair) {
1350
+ for (let device in this.data) {
1351
+ if (device.startsWith("device")) {
1368
1352
  this.data[device] = []
1369
- if(res.data.length > 0){
1370
- for(let i in res.data[0].f_devices){
1371
- if(this.data[device].length > 0){
1372
- if(this.data[device][0].f_device_type == res.data[0].f_devices[i].f_device_type){
1353
+ if (res.data.length > 0) {
1354
+ for (let i in res.data[0].f_devices) {
1355
+ if (this.data[device].length > 0) {
1356
+ if (this.data[device][0].f_device_type == res.data[0].f_devices[i].f_device_type) {
1373
1357
  this.data[device].push(res.data[0].f_devices[i])
1374
- res.data[0].f_devices.splice(i,1)
1358
+ res.data[0].f_devices.splice(i, 1)
1375
1359
  }
1376
- }else{
1360
+ } else {
1377
1361
  this.data[device].push(res.data[0].f_devices[i])
1378
- res.data[0].f_devices.splice(i,1)
1362
+ res.data[0].f_devices.splice(i, 1)
1379
1363
  }
1380
1364
  }
1381
1365
  }
1382
1366
  }
1383
1367
  }
1384
1368
  this.todo()
1385
- }else{
1369
+ } else {
1386
1370
  this.$showMessage('安检上传成功!')
1387
1371
  if (this.data.f_userinfoid){
1388
1372
  let http = new HttpResetClass()
@@ -1447,8 +1431,7 @@ export default {
1447
1431
  this.$showMessage('网络异常,请缓存后重新尝试上传,多次上传失败请联系管理员!')
1448
1432
  this.onlySave = true
1449
1433
  return
1450
- }
1451
- else{
1434
+ } else {
1452
1435
  this.$showMessage('上传失败!')
1453
1436
  }
1454
1437
  }else {
@@ -1456,31 +1439,31 @@ export default {
1456
1439
  }
1457
1440
  this.onlySave = true
1458
1441
  },
1459
- safecheckToRepairCallBack(jo){
1442
+ safecheckToRepairCallBack(jo) {
1460
1443
  //获取微信推送路径
1461
- if(jo.state == 'ok'){
1444
+ if (jo.state == 'ok') {
1462
1445
  let res = JSON.parse(jo.result)
1463
- if(res.code == 200){
1464
- if(res.data.code == 200){
1446
+ if (res.code == 200) {
1447
+ if (res.data.code == 200) {
1465
1448
  this.$showMessage('上传并转维修成功!')
1466
- }else{
1449
+ } else {
1467
1450
  this.$showMessage('上传并转维修成功,回写安检单失败!')
1468
1451
  }
1469
1452
  this.$dispatch('confirm')
1470
- }else{
1453
+ } else {
1471
1454
  this.$showMessage('上传失败!')
1472
1455
  this.onlySave = true
1473
1456
  }
1474
- }else{
1457
+ } else {
1475
1458
  this.$showMessage('网络异常,上传失败!')
1476
1459
  this.onlySave = true
1477
1460
  }
1478
1461
  },
1479
- todo(){
1462
+ todo() {
1480
1463
  let gen = getRepairParam(this)
1481
1464
  co(gen)
1482
1465
  },
1483
- undo(){
1466
+ undo() {
1484
1467
  this.showCheckToRepair = !this.showCheckToRepair
1485
1468
  this.model.serviceacitivity[0].f_reciever = ''
1486
1469
  this.model.serviceacitivity[0].f_meetunit = ''
@@ -1516,26 +1499,60 @@ export default {
1516
1499
  return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
1517
1500
  },
1518
1501
  extend(initalObj, finalObj) {
1519
- var obj = finalObj || {};
1520
- for (var i in initalObj) {
1521
- var prop = initalObj[i];
1502
+ initalObj.forEach(item2 => {
1503
+ const item1 = finalObj.find(item => item.itemname === item2.itemname);
1504
+
1505
+ if (!item1) {
1506
+ finalObj.push(item2);
1507
+ } else {
1508
+ // 对 item2 的 items 进行逆序遍历
1509
+ item2.items.slice().forEach(subItem2 => {
1510
+ const subItem1Index = item1.items.findIndex(subItem => subItem.itemname === subItem2.itemname);
1511
+
1512
+ if (subItem1Index > -1) {
1513
+ // 如果找到匹配的 subItem1,用 subItem2 替换它
1514
+ item1.items[subItem1Index] = subItem2;
1515
+ } else {
1516
+ // 如果没有找到,将 subItem2 插入到 item1.items 的前面
1517
+ item1.items.push(subItem2);
1518
+ }
1519
+ });
1520
+ }
1521
+ });
1522
1522
 
1523
- // 避免相互引用对象导致死循环,如initalObj.a = initalObj的情况
1524
- if (prop === obj) {
1525
- continue;
1523
+ return finalObj;
1524
+ },
1525
+ removeNestedItem(arr, itemname1, itemname2) {
1526
+ // 创建一个新数组以避免修改原始数组
1527
+ const newArr = arr.map(item => {
1528
+ // 复制每个项目以避免直接修改它们
1529
+ const newItem = { ...item };
1530
+
1531
+ // 检查外层itemname是否匹配
1532
+ if (newItem.itemname === itemname1 && Array.isArray(newItem.items)) {
1533
+ // 过滤掉匹配的内层itemname
1534
+ newItem.items = newItem.items.filter(subItem => subItem.itemname !== itemname2);
1526
1535
  }
1536
+ return newItem;
1537
+ });
1538
+ return newArr;
1539
+ },
1540
+ removeByCollectionType(arr, collectionType) {
1541
+ // 创建一个新数组以避免修改原始数组
1542
+ const newArr = arr.map(item => {
1543
+ // 复制每个项目以避免直接修改它们
1544
+ const newItem = {...item};
1527
1545
 
1528
- if (typeof prop === 'object') {
1529
- if (obj[i]) {
1530
- this.extend(obj[i], prop)
1531
- } else {
1532
- obj[i] = prop;
1533
- }
1546
+ // 检查外层itemname是否匹配
1547
+ if (newItem.itemname === '燃气表' && Array.isArray(newItem.items)) {
1548
+ // 过滤掉匹配的内层itemname
1549
+ newItem.items = newItem.items.filter(subItem => !subItem.unique || subItem.collectionType == collectionType);
1534
1550
  }
1535
- }
1536
- return obj;
1551
+ return newItem;
1552
+ });
1553
+ return newArr;
1537
1554
  },
1538
- putDevices() {
1555
+ async putDevices() {
1539
1556
  this.$set('data.approve', "true")
1540
1557
  this.$set('data.writeback', "false")
1541
1558
  if (Vue.config.safecheck != undefined) {
@@ -1559,46 +1576,60 @@ export default {
1559
1576
  this.refuseinspection = Vue.config.safecheck.ApproveConfig.refuseinspection
1560
1577
  }
1561
1578
  }
1562
- if(this.item.f_user_type == '非民用'){
1563
- // 非民用
1564
- if (Vue.config.safecheck.DevicesSetConfig != undefined){
1565
- if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1566
- this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1567
- }else{
1568
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1569
- }
1570
- }
1571
1579
 
1572
- }else{
1573
- // 民用户
1574
- if (Vue.config.safecheck.DevicesConfig != undefined){
1575
- if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1576
- this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1577
- }else{
1578
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type?this.item.f_user_type:'民用']])
1579
- }
1580
+ if (this.item.f_security_check_type_id && this.item.f_security_check_type_id != null) {
1581
+ try {
1582
+ await this.getSecurityCheckType(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/getSecurityCheckTypeHistoryById`, {id: this.item.f_security_check_type_id})
1583
+ this.f_security_check_type_id = this.serverConfig.data.id
1584
+ } catch (e) {
1585
+ return this.$showMessage('获取配置文件失败,请返回后重新进入!多次失败请联系管理员')
1586
+ }
1587
+ this.config = this.extend(JSON.parse(this.serverConfig.data.f_json), this.config)
1588
+ this.initConfig()
1589
+ } else {
1590
+ try {
1591
+ await this.getSecurityCheckType(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/getSecurityCheckTypeByType`, {
1592
+ f_safecheck_type: this.item.f_safecheck_type || '年度普检',
1593
+ f_user_type: this.item.f_user_type
1594
+ })
1595
+ this.f_security_check_type_id = this.serverConfig.data[0].id
1596
+ this.config = this.extend(JSON.parse(this.serverConfig.data[0].f_json), this.config)
1597
+ this.initConfig()
1598
+ } catch (e) {
1599
+ return this.$showMessage('获取配置文件失败,请返回后重新进入!多次失败请联系管理员')
1580
1600
  }
1581
1601
  }
1582
-
1583
1602
  }
1584
- // 预留设备项位置
1603
+ },
1604
+ async getSecurityCheckType(url, data) {
1605
+ let res = await new HttpResetClass().http('POST', url,
1606
+ data,
1607
+ {resolveMsg: null, rejectMsg: '网络异常'})
1608
+ if (typeof res === 'object') {
1609
+ this.serverConfig = res
1610
+ } else {
1611
+ this.serverConfig = JSON.parse(res)
1612
+ }
1613
+ },
1614
+ initConfig() {
1585
1615
  for (let i in this.config) {
1586
- this.tabs.splice(1,0,null)
1616
+ this.tabs.splice(1, 0, null)
1587
1617
  }
1588
- //遍历安检项配置
1589
1618
  for (let i in this.config) {
1590
1619
  //取得安检项索引值
1591
- let n = this.config[i].index
1592
- this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
1620
+ let n = parseInt(i) + 1
1621
+ //tag
1622
+ this.devices[n - 1] = {device: parseInt(i), n: n, checkmust: this.config[i].checkmust}
1593
1623
  this.$set('data.' + 'device' + n, [])
1594
1624
  this.tabs[n] = {
1595
- header: i,
1625
+ header: this.config[i].itemname,
1596
1626
  complete: 'safecheck-devices',
1597
1627
  class: 'repair-details-class',
1598
1628
  number: n
1599
1629
  }
1600
1630
 
1601
- if(this.config[i].quantity && this.config[i].quantity >0){
1631
+ if (this.config[i].quantity && this.config[i].quantity > 0) {
1632
+
1602
1633
  let items = []
1603
1634
  for (let it in this.config[i].items) {
1604
1635
  //赋值下拉选项
@@ -1606,9 +1637,9 @@ export default {
1606
1637
  for (let op in this.config[i].items[it].options) {
1607
1638
  if (this.config[i].items[it].options[op].isdefault == true) {
1608
1639
  items.push({
1609
- f_defect_level: this.config[i].items[it].options[op].level,
1640
+ f_defect_level: this.config[i].items[it].level,
1610
1641
  f_is_defect: this.config[i].items[it].options[op].isdefect,
1611
- f_item_name: it,
1642
+ f_item_name: this.config[i].items[it].itemname,
1612
1643
  f_item_value: this.config[i].items[it].options[op].data,
1613
1644
  f_path: "",
1614
1645
  type: "selector"
@@ -1617,9 +1648,11 @@ export default {
1617
1648
  }
1618
1649
  }
1619
1650
  }
1620
- for(let q =0;q<this.config[i].quantity;q++) {
1651
+ for (let q = 0; q < this.config[i].quantity; q++) {
1621
1652
  this.data['device' + n].push(
1622
- {f_device_type: i, f_items:items}
1653
+ {
1654
+ f_device_type: this.config[i].itemname, f_items: items
1655
+ }
1623
1656
  )
1624
1657
  }
1625
1658
  }
@@ -1707,7 +1740,7 @@ export default {
1707
1740
  if (this.item.f_plan_meters[i].f_meter_type) {
1708
1741
  this.data.f_meter_type=this.item.f_plan_meters[i].f_meter_type
1709
1742
  //tag)
1710
- if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') >= 0) {
1743
+ if (this.config[this.devices[de].device].itemname == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
1711
1744
  this.data['device' + this.devices[de].n].push({
1712
1745
  f_device_type: "燃气表",
1713
1746
  f_items: [
@@ -1767,8 +1800,7 @@ export default {
1767
1800
  }
1768
1801
  ]
1769
1802
  })
1770
- }
1771
- else if (this.devices[de].device == "燃气表") {
1803
+ } else if (this.config[this.devices[de].device].itemname == "燃气表") {
1772
1804
  this.data['device' + this.devices[de].n].push({
1773
1805
  f_device_type: "燃气表",
1774
1806
  f_items: [
@@ -1829,15 +1861,15 @@ export default {
1829
1861
  ]
1830
1862
  })
1831
1863
  }
1832
- if(this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('物联网表') >= 0){
1864
+ if(this.config[this.devices[de].device].itemname == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('物联网表') >= 0){
1833
1865
  this.data['device' + this.devices[de].n].forEach(device => {
1834
1866
  if (!this.data.f_collection_type) {
1835
1867
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1836
- delete this.config['燃气表']['items']['累购气量']
1837
- delete this.config['燃气表']['items']['已用金额']
1838
- delete this.config['燃气表']['items']['剩余气量']
1839
- delete this.config['燃气表']['items']['气量异常差值']
1840
- delete this.config['燃气表']['items']['金额异常差值']
1868
+ this.config = this.removeNestedItem(this.config, '燃气表', '累购气量')
1869
+ this.config = this.removeNestedItem(this.config, '燃气表', '已用金额')
1870
+ this.config = this.removeNestedItem(this.config, '燃气表', '剩余气量')
1871
+ this.config = this.removeNestedItem(this.config, '燃气表', '气量异常差值')
1872
+ this.config = this.removeNestedItem(this.config, '燃气表', '金额异常差值')
1841
1873
  device.f_items.push(
1842
1874
  {
1843
1875
  f_defect_level: null,
@@ -1888,7 +1920,8 @@ export default {
1888
1920
  )
1889
1921
  }
1890
1922
  })
1891
- } else if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
1923
+ }
1924
+ else if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
1892
1925
  this.data['device' + this.devices[de].n].forEach(device => {
1893
1926
  /*
1894
1927
  "累购气量":{"index":8,"type":"number","readonly":true},
@@ -1903,11 +1936,8 @@ export default {
1903
1936
  if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
1904
1937
  if (!this.data.f_collection_type) {
1905
1938
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1906
- delete this.config['燃气表']['items']['累购气量']
1907
- delete this.config['燃气表']['items']['已用气量']
1908
- delete this.config['燃气表']['items']['剩余气量']
1909
- delete this.config['燃气表']['items']['气量异常差值']
1910
- delete this.config['燃气表']['items']['系统余额']
1939
+ this.config = this.removeNestedItem(this.config, '燃气表', '系统余额')
1940
+ this.config = this.removeByCollectionType(this.config, this.data.f_collection_type)
1911
1941
  device.f_items.push(
1912
1942
  {
1913
1943
  f_defect_level: null,
@@ -1956,16 +1986,14 @@ export default {
1956
1986
  type: "number"
1957
1987
  }
1958
1988
  )
1989
+ //tag)
1959
1990
  }
1960
1991
  } else
1961
1992
  if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
1962
1993
  if (!this.data.f_collection_type) {
1963
1994
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1964
- delete this.config['燃气表']['items']['累购金额']
1965
- delete this.config['燃气表']['items']['已用金额']
1966
- delete this.config['燃气表']['items']['剩余金额']
1967
- delete this.config['燃气表']['items']['金额异常差值']
1968
- delete this.config['燃气表']['items']['系统余额']
1995
+ this.config = this.removeNestedItem(this.config, '燃气表', '系统余额')
1996
+ this.config = this.removeByCollectionType(this.config, this.data.f_collection_type)
1969
1997
  device.f_items.push(
1970
1998
  {
1971
1999
  f_defect_level: null,
@@ -2017,15 +2045,12 @@ export default {
2017
2045
  }
2018
2046
  }
2019
2047
  })
2020
- } else if(this.devices[de].device == "燃气表"){
2048
+ } else if(this.config[this.devices[de].device].itemname == "燃气表"){
2021
2049
  this.data['device' + this.devices[de].n].forEach(device => {
2022
2050
  if (!this.data.f_collection_type) {
2023
2051
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2024
- delete this.config['燃气表']['items']['累购金额']
2025
- delete this.config['燃气表']['items']['已用金额']
2026
- delete this.config['燃气表']['items']['剩余金额']
2027
- delete this.config['燃气表']['items']['金额异常差值']
2028
- delete this.config['燃气表']['items']['系统余额']
2052
+ this.config = this.removeNestedItem(this.config, '燃气表', '系统余额')
2053
+ this.config = this.removeByCollectionType(this.config, this.data.f_collection_type)
2029
2054
  device.f_items.push(
2030
2055
  {
2031
2056
  f_defect_level: null,
@@ -2086,12 +2111,12 @@ export default {
2086
2111
  }
2087
2112
  },
2088
2113
  watch: {
2089
- 'row' () {
2114
+ 'row'() {
2090
2115
  //tag
2091
2116
  this.copy()
2092
2117
  }
2093
2118
  },
2094
- async ready () {
2119
+ async ready() {
2095
2120
  try {
2096
2121
  if (this.item.f_userinfoid){
2097
2122
  let http = new HttpResetClass()
@@ -2117,7 +2142,7 @@ export default {
2117
2142
  }
2118
2143
  //送气超期功能
2119
2144
  //await this.isoverDate()
2120
- this.putDevices()
2145
+ await this.putDevices()
2121
2146
  //如果已检,则提取安检单
2122
2147
  if (this.item.f_state != '未检') {
2123
2148
  if (this.role == 'inspect' || this.role == 'androidview') {
@@ -2137,61 +2162,39 @@ export default {
2137
2162
  Util.replaceFalse(value)
2138
2163
  if (value.data.length != 0) {
2139
2164
  that.$set('data', value.data[0])
2140
- if (this.data.f_collection_type == '按气量') {
2141
- delete this.config['燃气表']['items']['累购金额']
2142
- delete this.config['燃气表']['items']['已用金额']
2143
- delete this.config['燃气表']['items']['剩余金额']
2144
- delete this.config['燃气表']['items']['金额异常差值']
2145
- delete this.config['燃气表']['items']['系统余额']
2146
- } else if (this.data.f_collection_type == '按金额') {
2147
- delete this.config['燃气表']['items']['累购气量']
2148
- delete this.config['燃气表']['items']['已用气量']
2149
- delete this.config['燃气表']['items']['剩余气量']
2150
- delete this.config['燃气表']['items']['气量异常差值']
2151
- delete this.config['燃气表']['items']['系统余额']
2152
- }
2153
- //tag)
2165
+ this.config = this.removeByCollectionType(this.config, this.data.f_collection_type)
2154
2166
  if (value.data[0].f_devices) {
2155
2167
  for (let da in that.devices) {
2156
- if(typeof that.devices[da]=='function'){
2168
+ if (typeof that.devices[da] == 'function') {
2157
2169
  continue
2158
2170
  }
2159
2171
  that.$set('data.device' + that.devices[da].n, [])
2160
2172
  }
2161
2173
  value.data[0].f_devices.forEach((item) => {
2162
2174
  for (let i in item.f_items) {
2163
- if(typeof item.f_items[i]=='function'){
2175
+ if (typeof item.f_items[i] == 'function') {
2164
2176
  continue
2165
2177
  }
2166
- for (let de in that.config[item.f_device_type].items) {
2167
- if(typeof that.config[item.f_device_type].items[de]=='function'){
2178
+ let items = this.config.find(obj => obj.itemname === item.f_device_type).items;
2179
+ for (let de in items) {
2180
+ if (typeof items[de] == 'function') {
2168
2181
  continue
2169
2182
  }
2170
- if (item.f_items[i].f_item_name == de) {
2171
- if (that.config[item.f_device_type].items[de].type == 'selector' || that.config[item.f_device_type].items[de].type == 'checkbox') {
2183
+ if (item.f_items[i].f_item_name == items[de].itemname) {
2184
+ if (items[de].type == 'selector' || items[de].type == 'checkbox') {
2172
2185
  item.f_items[i].f_item_value = []
2173
- } else {
2174
- item.f_items[i].f_item_value = ''
2175
2186
  }
2176
2187
  }
2177
2188
  }
2178
- for (let j in item.f_items[i].f_item_lists) {
2179
- if(typeof item.f_items[i].f_item_lists[j]=='function'){
2180
- continue
2181
- }
2182
- if (item.f_items[i].f_item_value instanceof Array) {
2183
- item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
2184
- } else {
2185
- item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
2186
- }
2189
+ if (item.f_items[i].f_item_value instanceof Array) {
2190
+ item.f_items[i].f_item_value = JSON.parse(item.f_items[i].f_selected)
2187
2191
  }
2188
-
2189
2192
  }
2190
2193
  for (let de in that.devices) {
2191
- if(typeof that.devices[de]=='function'){
2194
+ if (typeof that.devices[de] == 'function') {
2192
2195
  continue
2193
2196
  }
2194
- if (that.devices[de].device == item.f_device_type) {
2197
+ if (this.config[that.devices[de].device].itemname == item.f_device_type) {
2195
2198
  that.data['device' + that.devices[de].n].push({
2196
2199
  f_device_type: item.f_device_type,
2197
2200
  f_items: item.f_items
@@ -2211,15 +2214,15 @@ export default {
2211
2214
  this.init()
2212
2215
  }
2213
2216
  if(this.parentPage && this.parentPage=='CurrentCreate'){
2214
- let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
2215
- if (isRecodr) {
2216
- if (isRecodr=='true') {
2217
+ let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
2218
+ if (isRecodr) {
2219
+ if (isRecodr == 'true') {
2217
2220
  this.$showMessage("为了保证服务质量,您的电话将会被全程录音!")
2218
- // 初始化录音
2219
- let resse = this.record()
2220
- }
2221
+ // 初始化录音
2222
+ let resse = this.record()
2221
2223
  }
2222
2224
  }
2225
+ }
2223
2226
  this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2224
2227
  } else {
2225
2228
  let that = this
@@ -2227,10 +2230,10 @@ export default {
2227
2230
  if (this.role == 'view') {
2228
2231
  id = this.item.id
2229
2232
  }
2230
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data:{condition:`id = '${id}'`}}).then((respanse)=> {
2233
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${id}'`}}).then((respanse) => {
2231
2234
  if (respanse.data.length != 0) {
2232
- that.data = Object.assign(that.data,respanse.data[0])
2233
- if(respanse.data[0].f_devices) {
2235
+ that.data = Object.assign(that.data, respanse.data[0])
2236
+ if (respanse.data[0].f_devices) {
2234
2237
  for (let da in that.devices) {
2235
2238
  that.$set('data.device' + that.devices[da].n, [])
2236
2239
  }
@@ -2247,10 +2250,10 @@ export default {
2247
2250
  }
2248
2251
  Util.replaceFalse(that.data)
2249
2252
  Util.booleanFilter(that.data)
2250
- if(this.role == 'view'){
2253
+ if (this.role == 'view') {
2251
2254
  Util.ratifyPics(that.data)
2252
- }else{
2253
- Util.androidRatifyPics(that.data,this.$androidUtil.getProxyUrl())
2255
+ } else {
2256
+ Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
2254
2257
  }
2255
2258
  } else {
2256
2259
  alert("该安检单可能已不在本地!")
@@ -2291,6 +2294,7 @@ export default {
2291
2294
  .noclickbut {
2292
2295
  pointer-events: none;
2293
2296
  }
2297
+
2294
2298
  .tab-befor-img (@url) {
2295
2299
  content: '';
2296
2300
  background-image: url("@{url}");
@@ -2309,16 +2313,19 @@ export default {
2309
2313
  margin: 0.3em 0;
2310
2314
  }
2311
2315
  }
2312
- .repair-details-class{
2316
+
2317
+ .repair-details-class {
2313
2318
  &::before {
2314
2319
  .tab-befor-img("../../../assets/huneiweixiu1.png");
2315
2320
  }
2316
2321
  }
2322
+
2317
2323
  .repair-info-class {
2318
2324
  &::before {
2319
2325
  .tab-befor-img("../../../assets/baoxiuxinxi1.png");
2320
2326
  }
2321
2327
  }
2328
+
2322
2329
  .repair-user-info-class {
2323
2330
  &::before {
2324
2331
  .tab-befor-img("../../../assets/jibenxinxi1.png")
@@ -2370,11 +2377,13 @@ export default {
2370
2377
  .tab-befor-img("../../../assets/guzhanghuizong1.png")
2371
2378
  }
2372
2379
  }
2380
+
2373
2381
  .photo-write-class {
2374
2382
  &::before {
2375
2383
  .tab-befor-img("../../../assets/zaoju.png")
2376
2384
  }
2377
2385
  }
2386
+
2378
2387
  .delay-apply-class {
2379
2388
  &::before {
2380
2389
  .tab-befor-img("../../../assets/yonghubaoxiu.png")
@@ -2386,44 +2395,49 @@ export default {
2386
2395
  .tab-befor-img("../../../assets/fanhui.png")
2387
2396
  }
2388
2397
  }
2398
+
2389
2399
  .butt2 {
2390
2400
  display: inline;
2391
2401
  float: right;
2392
2402
  width: 10px;
2393
2403
  text-align: center;
2394
- align-items:center;
2404
+ align-items: center;
2395
2405
  position: absolute;
2396
- top:50%;
2406
+ top: 50%;
2397
2407
 
2398
- left:90%;
2399
- transform: translate(-50%,-50%);
2408
+ left: 90%;
2409
+ transform: translate(-50%, -50%);
2400
2410
  }
2401
- .linesty{
2411
+
2412
+ .linesty {
2402
2413
  display: inline-block;
2403
- height:1px;
2404
- width:100%;
2405
- background:#d0d0d0;
2406
- overflow:hidden;
2414
+ height: 1px;
2415
+ width: 100%;
2416
+ background: #d0d0d0;
2417
+ overflow: hidden;
2407
2418
  vertical-align: middle;
2408
2419
  }
2409
- .spanboder{
2410
- border-bottom:2px solid #499edf;
2420
+
2421
+ .spanboder {
2422
+ border-bottom: 2px solid #499edf;
2411
2423
  padding-bottom: 8px
2412
2424
  }
2425
+
2413
2426
  .app-botton {
2414
- position:fixed;
2427
+ position: fixed;
2415
2428
  background: #87b2dd;
2416
- right:8px;
2429
+ right: 8px;
2417
2430
  color: #FFF;
2418
2431
  padding: 8px;
2419
2432
  text-align: center;
2420
2433
  font-size: 1.2em;
2421
2434
  z-index: 10;
2422
- opacity:0.5;
2435
+ opacity: 0.5;
2423
2436
  bottom: 50px;
2424
2437
  margin-top: -10px;
2425
2438
  height: 40px;
2426
2439
  }
2440
+
2427
2441
  .android-repair-order > div > ul a {
2428
2442
  font-size: 12px;
2429
2443
  color: #333333;