safecheck-client 4.0.0-6 → 4.0.0-60

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 (313) 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/Util/ImgSelfSafePlus.vue +13 -3
  6. package/src/components/android/AddPlanItem.vue +447 -447
  7. package/src/components/android/AddPlanItemYy.vue +451 -451
  8. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  9. package/src/components/android/AndroidDefectDeal.vue +1 -1
  10. package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
  11. package/src/components/android/AndroidDefectDetails.vue +725 -0
  12. package/src/components/android/BlackUserOnLine.vue +2 -2
  13. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  14. package/src/components/android/Devices.vue +327 -327
  15. package/src/components/android/Devicesm.vue +327 -327
  16. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +1 -1
  17. package/src/components/android/PaperFeedback.vue +14 -12
  18. package/src/components/android/PaperFeedbackTemp.vue +2 -2
  19. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  20. package/src/components/android/PhoneRecordInfo.vue +113 -113
  21. package/src/components/android/PhoneSellInfo.vue +113 -113
  22. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  23. package/src/components/android/PhoneUpUserinfo.vue +20 -0
  24. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  25. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  26. package/src/components/android/RelieveRestrict.vue +1 -1
  27. package/src/components/android/Restriction.vue +1 -1
  28. package/src/components/android/SafePlanItem.vue +509 -509
  29. package/src/components/android/SafecheckDevices.vue +47 -2
  30. package/src/components/android/SafecheckOrderV.vue +2 -2
  31. package/src/components/android/SealBind.vue +392 -0
  32. package/src/components/android/SealManage.vue +250 -0
  33. package/src/components/android/UserinfoSelect.vue +714 -714
  34. package/src/components/android/examples/SafeListExamples.vue +296 -296
  35. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  36. package/src/components/android/recheck/Recheck.vue +402 -402
  37. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  38. package/src/components/checkplan/checkmsg.vue +459 -459
  39. package/src/components/defect/DefectList.vue +507 -507
  40. package/src/components/defect/DefectListWeixiu.vue +484 -484
  41. package/src/components/filialCircle/CircleList.vue +139 -139
  42. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  43. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  44. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  45. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  46. package/src/components/inspections/inspectionFeedback.vue +2 -2
  47. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  48. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  49. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  50. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  51. package/src/components/paper/PaperList.vue +34 -6
  52. package/src/components/pc/AddToCheckBook.vue +100 -23
  53. package/src/components/pc/AnnouncementPC.vue +524 -524
  54. package/src/components/pc/CheckBook.vue +2 -0
  55. package/src/components/pc/CheckBookDetails.vue +6 -39
  56. package/src/components/pc/CheckBookEntry.vue +6 -7
  57. package/src/components/pc/CheckBookList.vue +60 -71
  58. package/src/components/pc/CheckBookSearchArea.vue +20 -24
  59. package/src/components/pc/CheckBookSearchUser.vue +139 -84
  60. package/src/components/pc/CheckBookSearchUserList.vue +1 -2
  61. package/src/components/pc/CheckBookUser.vue +276 -44
  62. package/src/components/pc/DefectList.vue +742 -742
  63. package/src/components/pc/DeviceChange.vue +1068 -1068
  64. package/src/components/pc/NewCheckpaper.vue +14 -8
  65. package/src/components/pc/NewCheckpaperTemp.vue +5 -5
  66. package/src/components/pc/PaperDefectMain.vue +1 -0
  67. package/src/components/pc/SafeVisitInfo.vue +261 -261
  68. package/src/components/planmanage/PlanManage.vue +886 -888
  69. package/src/components/planmanage/checkPlanList.vue +368 -368
  70. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  71. package/src/components/report/HiddenSituation.vue +165 -165
  72. package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
  73. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  74. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  75. package/src/components/rongcheng/DefectList.vue +560 -560
  76. package/src/components/rongcheng/PaperFeedback.vue +2 -2
  77. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  78. package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
  79. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  80. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  81. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  82. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  83. package/src/components/shaoguan/DefectList.vue +473 -473
  84. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  85. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  86. package/src/components/userfile/SecurityAudit.vue +243 -243
  87. package/src/components/userfileNew/UserInfoAuditNew.vue +274 -274
  88. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  89. package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
  90. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  91. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  92. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  93. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  94. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  95. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  96. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  97. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
  98. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  99. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  100. package/src/filiale/bayan/android/Edit.vue +132 -132
  101. package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
  102. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  103. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  104. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  105. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  106. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  107. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  108. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  109. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  110. package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
  111. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  112. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  113. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  114. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  115. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  116. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  117. package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
  118. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  119. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  120. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  121. package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
  122. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  123. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  124. package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
  125. package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
  126. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  127. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  128. package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
  129. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  130. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  131. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  132. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  133. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  134. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  135. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  136. package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
  137. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  138. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  139. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +171 -100
  140. package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +346 -0
  141. package/src/filiale/jinhong/android.js +1 -0
  142. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  143. package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
  144. package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
  145. package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
  146. package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
  147. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  148. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  149. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  150. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  151. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
  152. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  153. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  154. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  155. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  156. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  157. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  158. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  159. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  160. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  161. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  162. package/src/filiale/meihekou/android/AreaPlan.vue +569 -0
  163. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
  164. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
  165. package/src/filiale/meihekou/android/CurrentCreate.vue +1087 -0
  166. package/src/filiale/meihekou/android/MeterReading.vue +106 -0
  167. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1276 -0
  168. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2398 -0
  169. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +787 -0
  170. package/src/filiale/meihekou/android.js +19 -0
  171. package/src/filiale/meihekou/pc.js +12 -0
  172. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  173. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  174. package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
  175. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  176. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  177. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  178. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  179. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  180. package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
  181. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  182. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  183. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  184. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  185. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  186. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  187. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  188. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  189. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  190. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  191. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  192. package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
  193. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  194. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  195. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  196. package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
  197. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  198. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  199. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  200. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  201. package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
  202. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  203. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
  204. package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
  205. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  206. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  207. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  208. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  209. package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
  210. package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
  211. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  212. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  213. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  214. package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
  215. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  216. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  217. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  218. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  219. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  220. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  221. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  222. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  223. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  224. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  225. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  226. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  227. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  228. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
  229. package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
  230. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  231. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  232. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  233. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  234. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  235. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  236. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  237. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  238. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  239. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  240. package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
  241. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  242. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  243. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  244. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  245. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  246. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  247. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  248. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  249. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  250. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  251. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  252. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  253. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  254. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  255. package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
  256. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  257. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  258. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  259. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  260. package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
  261. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  262. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  263. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  264. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  265. package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
  266. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  267. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  268. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  269. package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
  270. package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
  271. package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
  272. package/src/filiale/xiangyuanzhongai/android.js +2 -0
  273. package/src/filiale/xiangyuanzhongai/pc/DefectListNew.vue +663 -0
  274. package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +795 -0
  275. package/src/filiale/xiangyuanzhongai/pc.js +2 -0
  276. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
  277. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  278. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  279. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  280. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  281. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
  282. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  283. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  284. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  285. package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
  286. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  287. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  288. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
  289. package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
  290. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  291. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  292. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  293. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  294. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  295. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  296. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
  297. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2848 -2846
  298. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  299. package/src/filiale/yunchengminsheng/android.js +15 -14
  300. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +16 -5
  301. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  302. package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
  303. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  304. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  305. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  306. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  307. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  308. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  309. package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
  310. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  311. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  312. package/src/main.js +32 -33
  313. package/src/safecheck-android.js +3 -0
@@ -2,7 +2,7 @@
2
2
  <div class="auto clearfix">
3
3
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
4
4
  <div class="col-xs-4 col-sm-4 col-md-4">
5
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
5
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
6
6
  <span class="text-left font">客户编号</span>
7
7
  </div>
8
8
  <div class="col-xs-8 col-sm-8 col-md-8">
@@ -11,65 +11,65 @@
11
11
  </div>
12
12
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
13
13
  <div class="col-xs-4 col-sm-4 col-md-4">
14
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
14
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
15
15
  <span class="text-left font">客户姓名</span>
16
16
  </div>
17
17
  <div class="col-xs-8 col-sm-8 col-md-8">
18
- <input type="text" class="form-control show-font" v-model="model.f_user_name" placeholder="请输入客户姓名">
18
+ <input v-model="model.f_user_name" class="form-control show-font" placeholder="请输入客户姓名" type="text">
19
19
  </div>
20
20
  </div>
21
21
  <div class="row app-row col-xs-12 col-sm-12 col-md-12">
22
22
  <div class="col-xs-4 col-sm-2 col-md-2">
23
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
23
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
24
24
  <span class="text-left font">客户地址</span>
25
25
  </div>
26
26
  <div class="col-xs-8 col-sm-10 col-md-10">
27
- <input type="text" class="form-control show-font" v-model="model.f_address" placeholder="请输入客户地址">
27
+ <input v-model="model.f_address" class="form-control show-font" placeholder="请输入客户地址" type="text">
28
28
  </div>
29
29
  </div>
30
30
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
31
31
  <div class="col-xs-4 col-sm-4 col-md-4">
32
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
32
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
33
33
  <span class="text-left font">客户电话</span>
34
34
  </div>
35
35
  <div class="col-xs-8 col-sm-8 col-md-8">
36
- <input type="number" class="form-control show-font" v-model="model.f_user_phone" placeholder="请输入电话号码">
36
+ <input v-model="model.f_user_phone" class="form-control show-font" placeholder="请输入电话号码" type="number">
37
37
  </div>
38
38
  </div>
39
39
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
40
40
  <div class="col-xs-4 col-sm-4 col-md-4">
41
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
41
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
42
42
  <span class="text-left font">证件类型</span>
43
43
  </div>
44
44
  <div class="col-xs-8 col-sm-8 col-md-8">
45
- <v-select :value.sync="model.f_id_type" v-model="model.f_id_type"
46
- :options="idTypeOptions" placeholder="请选择证件类型"
47
- :value-single="true" style="width: 100%"
48
- close-on-select>
45
+ <v-select v-model="model.f_id_type" :options="idTypeOptions"
46
+ :value-single="true" :value.sync="model.f_id_type"
47
+ close-on-select placeholder="请选择证件类型"
48
+ style="width: 100%">
49
49
  </v-select>
50
50
  </div>
51
51
  </div>
52
52
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
53
53
  <div class="col-xs-4 col-sm-4 col-md-4">
54
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
54
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
55
55
  <span class="text-left font">证件号码</span>
56
56
  </div>
57
57
  <div class="col-xs-8 col-sm-8 col-md-8">
58
- <input type="text" class="form-control show-font" v-model="model.f_idnumber" placeholder="请输入证件号码">
58
+ <input v-model="model.f_idnumber" class="form-control show-font" placeholder="请输入证件号码" type="text">
59
59
  </div>
60
60
  </div>
61
61
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
62
62
  <div class="col-xs-4 col-sm-4 col-md-4">
63
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
63
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
64
64
  <span class="text-left font">保单号</span>
65
65
  </div>
66
66
  <div class="col-xs-8 col-sm-8 col-md-8">
67
- <input type="number" class="form-control show-font" v-model="model.f_ins_number" placeholder="请输入保单号">
67
+ <input v-model="model.f_insurance_number" class="form-control show-font" placeholder="请输入保单号" type="number">
68
68
  </div>
69
69
  </div>
70
70
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
71
71
  <div class="col-xs-4 col-sm-4 col-md-4">
72
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
72
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
73
73
  <span class="text-left font">上期保费截至日期</span>
74
74
  </div>
75
75
  <div class="col-xs-8 col-sm-8 col-md-8">
@@ -78,115 +78,150 @@
78
78
  </div>
79
79
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
80
80
  <div class="col-xs-4 col-sm-4 col-md-4">
81
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
81
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
82
82
  <span class="text-left font">投保日期</span>
83
83
  </div>
84
84
  <div class="col-xs-8 col-sm-8 col-md-8">
85
- <datepicker :value.sync="model.f_ins_start_date" v-model="model.f_ins_start_date" :format="'yyyy-MM-dd'"
85
+ <datepicker v-model="model.f_ins_start_date" :format="'yyyy-MM-dd'" :value.sync="model.f_ins_start_date"
86
86
  placeholder="请选择投保日期" style="width: 60%" @change="changeExpirationDate">
87
87
  </datepicker>
88
88
  </div>
89
89
  </div>
90
90
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
91
91
  <div class="col-xs-4 col-sm-4 col-md-4">
92
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
92
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
93
93
  <span class="text-left font">购买年限</span>
94
94
  </div>
95
95
  <div class="col-xs-8 col-sm-8 col-md-8">
96
- <input type="number" placeholder="购买年限" style="width: 60%" class="form-control show-font" v-model="model.f_salecount" @change="changeExpirationDate">
96
+ <input v-model="model.f_salecount" class="form-control show-font" placeholder="购买年限" style="width: 60%"
97
+ type="number" @change="changeExpirationDate">
97
98
  </div>
98
99
  </div>
99
100
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
100
101
  <div class="col-xs-4 col-sm-4 col-md-4">
101
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
102
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
102
103
  <span class="text-left font">购买日期</span>
103
104
  </div>
104
105
  <div class="col-xs-8 col-sm-8 col-md-8">
105
- <datepicker :value.sync="create_date" v-model="create_date" :format="'yyyy-MM-dd'"
106
+ <datepicker v-model="create_date" :format="'yyyy-MM-dd'" :value.sync="create_date"
106
107
  placeholder="购买日期" style="width: 60%">
107
108
  </datepicker>
108
109
  </div>
109
110
  </div>
110
111
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
111
112
  <div class="col-xs-4 col-sm-4 col-md-4">
112
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
113
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
113
114
  <span class="text-left font">到期日期</span>
114
115
  </div>
115
116
  <div class="col-xs-8 col-sm-8 col-md-8">
116
- <datepicker :value.sync="model.f_expiration_date" v-model="model.f_expiration_date" :format="'yyyy-MM-dd'"
117
+ <datepicker v-model="model.f_expiration_date" :format="'yyyy-MM-dd'" :value.sync="model.f_expiration_date"
117
118
  placeholder="到期日期" style="width: 60%">
118
119
  </datepicker>
119
120
  </div>
120
121
  </div>
121
122
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
122
123
  <div class="col-xs-4 col-sm-4 col-md-4">
123
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
124
- <span class="text-left font">金额</span>
124
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
125
+ <span class="text-left font">保险公司</span>
125
126
  </div>
126
127
  <div class="col-xs-8 col-sm-8 col-md-8">
127
- <input type="number" class="form-control show-font" v-model="model.f_money" placeholder="请输入金额">
128
+ <v-select v-model="model.f_insurance_company" :options="insurance_companys"
129
+ :value-single="true" :value.sync="model.f_insurance_company"
130
+ close-on-select placeholder="保险公司"
131
+ style="width: 100%">
132
+ </v-select>
128
133
  </div>
129
134
  </div>
130
135
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
131
136
  <div class="col-xs-4 col-sm-4 col-md-4">
132
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
137
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
133
138
  <span class="text-left font">保险险种</span>
134
139
  </div>
135
140
  <div class="col-xs-8 col-sm-8 col-md-8">
136
- <input type="text" class="form-control show-font" v-model="model.f_insurance_type" placeholder="请输入保险险种">
141
+ <v-select v-model="model.f_insurance_type" :options="insurance_types"
142
+ :value-single="true" :value.sync="model.f_insurance_type"
143
+ close-on-select placeholder="保险险种"
144
+ style="width: 100%">
145
+ </v-select>
137
146
  </div>
138
147
  </div>
139
148
  <div class="row app-row col-xs-12 col-sm-6 col-md-6">
140
149
  <div class="col-xs-4 col-sm-4 col-md-4">
141
- <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
150
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
151
+ <span class="text-left font">金额</span>
152
+ </div>
153
+ <div class="col-xs-8 col-sm-8 col-md-8">
154
+ <input v-model="model.f_money" class="form-control show-font" placeholder="请输入金额" type="number">
155
+ </div>
156
+ </div>
157
+ <div class="row app-row col-xs-12 col-sm-6 col-md-6">
158
+ <div class="col-xs-4 col-sm-4 col-md-4">
159
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
142
160
  <span class="text-left font">与投保人关系</span>
143
161
  </div>
144
162
  <div class="col-xs-8 col-sm-8 col-md-8">
145
- <v-select :value.sync="model.f_relationship" v-model="model.f_relationship"
146
- :options="relationshipOptions" placeholder="请选择关系"
147
- :value-single="true" style="width: 100%"
148
- close-on-select>
163
+ <v-select v-model="model.f_relationship" :options="relationshipOptions"
164
+ :value-single="true" :value.sync="model.f_relationship"
165
+ close-on-select placeholder="请选择关系"
166
+ style="width: 100%">
167
+ </v-select>
168
+ </div>
169
+ </div>
170
+ <div class="row app-row col-xs-12 col-sm-6 col-md-6">
171
+ <div class="col-xs-4 col-sm-4 col-md-4">
172
+ <img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
173
+ <span class="text-left font">收款方式</span>
174
+ </div>
175
+ <div class="col-xs-8 col-sm-8 col-md-8">
176
+ <v-select v-model="model.f_payment" :options="payTypes"
177
+ :value-single="true" :value.sync="model.f_payment"
178
+ close-on-select placeholder="收款方式"
179
+ style="width: 100%">
149
180
  </v-select>
150
181
  </div>
151
182
  </div>
152
183
  <div class="row app-row col-xs-12">
153
184
  <div class="col-xs-4 col-sm-4 col-md-4">
154
- <img src="../../../assets/add.png" style="width: 20px;" alt="">
185
+ <img alt="" src="../../../assets/add.png" style="width: 20px;">
155
186
  <span class="text-left font">备注</span>
156
187
  </div>
157
188
  <div class="col-xs-8 col-sm-8 col-md-8">
158
- <input class="form-control show-font" v-model="model.f_comments" placeholder="备注">
189
+ <input v-model="model.f_comments" class="form-control show-font" placeholder="备注">
159
190
  </div>
160
191
  </div>
161
192
  <div class="col-xs-12 text-center app-row">
162
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 22%;" @click="commit()">提交</button>
193
+ <button class="btn btn-lg btn-font btn-color" style="width: 22%;" type="button" @click="commit()">提交</button>
163
194
  </div>
164
195
  </div>
165
196
  </template>
166
197
  <script>
167
- import { HttpResetClass } from 'vue-client'
198
+ import {HttpResetClass} from 'vue-client'
168
199
  import * as Util from '../../../components/Util'
169
200
  import Vue from 'vue'
201
+
170
202
  export default {
171
203
  title: '手机单户抄表',
172
204
  data() {
173
205
  return {
174
- create_date:Util.getNowDate(),
175
- isCommit:false,
206
+ create_date: Util.getNowDate(),
207
+ isCommit: false,
208
+ insurance_types: [{label: '请选择', value: ''}, ...this.$appdata.getParam('险种')],
209
+ insurance_companys: [{label: '请选择', value: ''}, ...this.$appdata.getParam('保险公司')],
210
+ payTypes: [{label: '请选择', value: ''}, ...this.$appdata.getParam('付款方式')],
176
211
  idTypeOptions: [
177
- { label: '身份证', value: '身份证' },
178
- { label: '军官证', value: '军官证' },
179
- { label: '统一社会信用代码', value: '统一社会信用代码' },
180
- { label: '港澳居民通行证', value: '港澳居民通行证' },
181
- { label: '外国人永久居留证', value: '外国人永久居留证' },
182
- { label: '户口本', value: '户口本' }
212
+ {label: '身份证', value: '身份证'},
213
+ {label: '军官证', value: '军官证'},
214
+ {label: '统一社会信用代码', value: '统一社会信用代码'},
215
+ {label: '港澳居民通行证', value: '港澳居民通行证'},
216
+ {label: '外国人永久居留证', value: '外国人永久居留证'},
217
+ {label: '户口本', value: '户口本'}
183
218
  ],
184
219
  relationshipOptions: [
185
- { label: '本人', value: '0' },
186
- { label: '配偶', value: '1' },
187
- { label: '父母', value: '2' },
188
- { label: '子女', value: '3' },
189
- { label: '其他', value: '9' }
220
+ {label: '本人', value: '0'},
221
+ {label: '配偶', value: '1'},
222
+ {label: '父母', value: '2'},
223
+ {label: '子女', value: '3'},
224
+ {label: '其他', value: '9'}
190
225
  ]
191
226
  }
192
227
  },
@@ -199,9 +234,9 @@ export default {
199
234
  ready() {
200
235
  new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
201
236
  data: {
202
- items: 'ui.*,p.f_province,p.f_city,p.f_district,tu.f_user_type',
237
+ items: 'ui.*,p.f_province,p.f_city,p.f_district,tu.f_user_type,tu.f_user_id,tu.version as table_version',
203
238
  tablename: 't_userinfo ui left join t_user_address ua on ui.f_userinfo_id = ua.f_userinfo_id left join t_pcd p on ua.f_pcd_id = p.id left join t_userfiles tu on tu.f_userinfo_id = ui.f_userinfo_id',
204
- condition: `ui.f_userinfo_id = '${this.model.f_userinfo_id}'`,
239
+ condition: `ui.f_userinfo_id = '${this.model.f_userinfo_id}' and tu.f_table_state in ('正常','停用','预备')`,
205
240
  orderitem: '1'
206
241
  }
207
242
  }).then(response => {
@@ -209,113 +244,149 @@ export default {
209
244
  this.model.f_last_insexpiration_date = response.data[0].f_ins_stop_date
210
245
  if (response.data[0].f_user_type.includes('非民用')) {
211
246
  this.model.f_relationship = '9'
212
- }else {
247
+ } else {
213
248
  this.model.f_relationship = '0'
214
249
  }
215
- if (!response.data[0].f_province || !response.data[0].f_city || !response.data[0].f_district){
216
- this.$showMessage('该户档案异常,缺少省市区数据,核对数据后重新进入')
250
+ if (response.data[0].f_ins_stop_date && response.data[0].f_ins_stop_date >= Util.toStandardDateString()) {
251
+ let stopDate = new Date(response.data[0].f_ins_stop_date)
252
+ stopDate.setDate(stopDate.getDate() + 1)
253
+ let year = stopDate.getFullYear()
254
+ let month = (stopDate.getMonth() + 1).toString().padStart(2, '0')
255
+ let day = stopDate.getDate().toString().padStart(2, '0')
256
+ this.model.f_ins_start_date = `${year}-${month}-${day}`
257
+ } else {
258
+ this.model.f_ins_start_date = Util.toStandardDateString()
217
259
  }
260
+ // if (!this.model.province || !this.model.city || !this.model.county){
261
+ // this.$showMessage('检查档案省、市、区数据是否正常')
262
+ // }
218
263
  })
219
264
  this.model.f_money = ''
220
265
  this.model.f_fee_type = ''
221
- this.model.f_insurance_type = '燃气险'
222
266
  this.model.f_comments = ''
223
267
  this.model.f_salecount = 1
224
- this.model.f_ins_number = ''
225
- this.model.f_ins_start_date = Util.toStandardDateString()
268
+ this.model.f_insurance_number = ''
226
269
  this.model.f_id_type = '身份证'
227
270
  },
228
271
  methods: {
229
- commit() {
230
- if (!this.model.f_money){
231
- this.$showMessage('金额未填写,请填写后重新尝试。')
272
+ async commit() {
273
+ if (!this.model.f_payment) {
274
+ this.$showMessage('收款方式未选择,请选择后重新尝试。')
232
275
  return
233
276
  }
234
- if (!this.model.f_ins_start_date){
277
+ if (!this.model.f_ins_start_date) {
235
278
  this.$showMessage('投保日期未选择,请选择后重新尝试。')
236
279
  return
237
280
  }
238
- if (!this.model.f_expiration_date){
281
+ if (!this.model.f_expiration_date) {
239
282
  this.$showMessage('到期日期未选择,请选择后重新尝试。')
240
283
  return
241
284
  }
242
- if (!this.model.f_insurance_type){
285
+ if (!this.model.f_insurance_type) {
243
286
  this.$showMessage('保险险种未填写,请填写后重新尝试。')
244
287
  return
245
288
  }
246
- if (!this.model.f_id_type){
289
+ if (!this.model.f_money) {
290
+ this.$showMessage('金额未填写,请填写后重新尝试。')
291
+ return
292
+ }
293
+ if (!this.model.f_id_type) {
247
294
  this.$showMessage('证件类型未选择,请选择后重新尝试。')
248
295
  return
249
296
  }
250
- if (!this.model.f_idnumber){
251
- this.$showMessage('证件号码未填写,请填写后重新尝试。')
297
+ // if (!this.model.f_idnumber) {
298
+ // this.$showMessage('证件号码未填写,请填写后重新尝试。')
299
+ // return
300
+ // }
301
+ if (!this.model.f_insurance_number) {
302
+ this.$showMessage('保单号未填写,请填写后重新尝试。')
252
303
  return
253
304
  }
254
- if (!this.model.f_relationship){
305
+ if (!this.model.f_relationship) {
255
306
  this.$showMessage('与投保人关系未选择,请选择后重新尝试。')
256
307
  return
257
308
  }
258
309
  let data = {
259
- "begin_date" : this.model.f_ins_start_date,// 保单开始日期 yyyy-mm-dd
260
- "insure_period_display" : `${this.model.f_salecount}年`,// 保期
261
- "user_name" : this.model.f_user_name,// 投保人姓名
262
- "id_type" : this.model.f_id_type,//证件类型
263
- "id_number" : this.model.f_idnumber,// 证件号码
264
- "user_phone" : this.model.f_user_phone,// 投保人电话
310
+ "begin_date": this.model.f_ins_start_date,// 保单开始日期 yyyy-mm-dd
311
+ "insure_period_display": `${this.model.f_salecount}年`,// 保期
312
+ "user_name": this.model.f_user_name,// 投保人姓名
313
+ "id_type": this.model.f_id_type,//证件类型
314
+ "id_number": this.model.f_idnumber,// 证件号码
315
+ "user_phone": this.model.f_user_phone,// 投保人电话
265
316
  "user_address": this.model.f_address,// 投保人地址
266
- "province":this.model.f_province,//省
267
- "city":this.model.f_city,//市
268
- "county":this.model.f_district,//区
269
- "insuredList" : [ //被保人信息
317
+ "province": this.model.f_province,//省
318
+ "city": this.model.f_city,//市
319
+ "county": this.model.f_district,//区
320
+ "insuredList": [ //被保人信息
270
321
  {
271
- "user_name" : this.model.f_user_name,// 被保人姓名
272
- "id_type" : this.model.f_id_type,//证件类型
273
- "id_number" : this.model.f_idnumber,// 证件号码
322
+ "user_name": this.model.f_user_name,// 被保人姓名
323
+ "id_type": this.model.f_id_type,//证件类型
324
+ "id_number": this.model.f_idnumber,// 证件号码
274
325
  "relationship": this.model.f_relationship//与投保人关系: 0 本人 1 配偶 2 父母 3 子女 9 其他 若投保人是企业,默认传9
275
326
  }
276
327
  ]
277
328
  }
278
- new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/jingSuanShi/specialToPolicy`, { data: data }).then(response => {
279
- let commit_data = this.model
329
+ try {
330
+ let commit_data = JSON.parse(JSON.stringify(this.model))
331
+ /*const response = await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/jingSuanShi/specialToPolicy`, data)
332
+ let commit_data = JSON.parse(JSON.stringify(this.model))
280
333
  if (response.data.message.includes('成功')) {
281
334
  commit_data.f_serial_id = response.data.orderNo
282
- }else {
335
+ } else {
283
336
  this.$showMessage(response.data.message)
284
337
  return
285
- }
338
+ }*/
286
339
  commit_data.f_buy_date = this.create_date
287
340
  commit_data.f_total_ins_charge = 0
288
341
  commit_data.f_operatorid = Vue.user.id
289
342
  commit_data.f_operator = Vue.user.name
343
+ if (this.model.f_payment == '余额抵扣'){
344
+ if (this.model.f_meter_classify == '机表'){
345
+ if((this.model.f_balance -0)-this.model.f_money < 0){
346
+ this.$showMessage('当前用户账户余额不够抵扣本次收费,请选择其他的收费方式进行收费')
347
+ return
348
+ }
349
+ commit_data.f_receivable = Number(commit_data.f_money)
350
+ commit_data.f_money = 0
351
+ }else {
352
+ this.$showMessage('仅有机表用户可选择余额抵扣')
353
+ return
354
+ }
355
+ }
356
+ commit_data.f_receivable = this.model.f_money
290
357
  commit_data.f_operate_date = Util.toStandardDateString()
291
358
  commit_data.f_state = '有效'
292
359
  commit_data.f_orgid = Vue.user.orgid
293
360
  commit_data.f_orgname = Vue.user.orgs
294
361
  commit_data.f_depid = Vue.user.depids
295
362
  commit_data.f_depname = Vue.user.deps
296
- new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/saveInsInfo`, { data: commit_data }).then(response => {
297
- this.$showMessage('提交成功')
298
- this.$back()
299
- }).catch(error => {
300
- this.$showMessage('提交失败')
301
- this.isCommit = false
302
- })
303
- }).catch(error => {
363
+ await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/saveInsInfo`, {data: commit_data})
364
+ this.$showMessage('提交成功')
365
+ this.$back()
366
+ } catch (error) {
304
367
  this.$showMessage('提交失败')
305
368
  this.isCommit = false
306
- })
369
+ }
307
370
  },
308
- changeExpirationDate(){
309
- if (this.model.f_ins_start_date && this.model.f_salecount){
371
+ changeExpirationDate() {
372
+ if (this.model.f_ins_start_date && this.model.f_salecount) {
310
373
  let factoryDate = new Date(this.model.f_ins_start_date);
311
374
  let scrapDate = new Date(factoryDate);
312
375
  scrapDate.setFullYear(factoryDate.getFullYear() + parseInt(this.model.f_salecount));
313
376
  let year = scrapDate.getFullYear();
314
377
  let month = (scrapDate.getMonth() + 1).toString().padStart(2, '0');
315
- let day = scrapDate.getDate().toString().padStart(2, '0');
316
- this.model.f_expiration_date = `${year}-${month}-${day}`
378
+ let day = (scrapDate.getDate()-1).toString().padStart(2, '0');
379
+ this.$set('model.f_expiration_date',`${year}-${month}-${day}`)
317
380
  }
318
381
  }
382
+ },
383
+ watch: {
384
+ 'model.f_insurance_type'() {
385
+ this.model.f_money = Number(this.$appdata.getSingleValue(this.model.f_insurance_type) || 0) * Number(this.model.f_salecount)
386
+ },
387
+ 'model.f_salecount'() {
388
+ this.model.f_money = Number(this.$appdata.getSingleValue(this.model.f_insurance_type) || 0) * Number(this.model.f_salecount)
389
+ }
319
390
  }
320
391
  }
321
392
  </script>