safecheck-client 4.0.0-91 → 4.0.0-93

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 (229) hide show
  1. package/package.json +132 -132
  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/android/AddPlanItem.vue +447 -447
  6. package/src/components/android/AddPlanItemYy.vue +451 -451
  7. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  8. package/src/components/android/AndroidDefectDetails.vue +769 -769
  9. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  10. package/src/components/android/Devices.vue +327 -327
  11. package/src/components/android/Devicesm.vue +327 -327
  12. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +1 -1
  13. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  14. package/src/components/android/PhoneRecordInfo.vue +113 -113
  15. package/src/components/android/PhoneSellInfo.vue +113 -113
  16. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  17. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  18. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  19. package/src/components/android/SafePlanItem.vue +509 -509
  20. package/src/components/android/examples/SafeListExamples.vue +296 -296
  21. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  22. package/src/components/android/recheck/Recheck.vue +402 -402
  23. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  24. package/src/components/checkplan/checkmsg.vue +459 -459
  25. package/src/components/defect/DefectList.vue +507 -507
  26. package/src/components/defect/DefectListWeixiu.vue +484 -484
  27. package/src/components/filialCircle/CircleList.vue +139 -139
  28. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  29. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  30. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  31. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  32. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  33. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  34. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  35. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  36. package/src/components/pc/AnnouncementPC.vue +524 -524
  37. package/src/components/pc/DefectList.vue +742 -742
  38. package/src/components/pc/DeviceChange.vue +1068 -1068
  39. package/src/components/pc/SafeVisitInfo.vue +261 -261
  40. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  41. package/src/components/report/HiddenSituation.vue +165 -165
  42. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  43. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  44. package/src/components/rongcheng/DefectList.vue +560 -560
  45. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  46. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  47. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  48. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  49. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  50. package/src/components/shaoguan/DefectList.vue +473 -473
  51. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  52. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  53. package/src/components/userfile/SecurityAudit.vue +243 -243
  54. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  55. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  56. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  57. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  58. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  59. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  60. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  61. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  62. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  63. package/src/filiale/bayan/android/Edit.vue +132 -132
  64. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  65. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  66. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  67. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  68. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  69. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  70. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  71. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  72. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  73. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  74. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  75. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  76. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  77. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  78. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  79. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  80. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  81. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  82. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  83. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  84. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  85. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  86. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  87. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  88. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  89. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  90. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  91. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  92. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  93. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  94. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +1 -1
  95. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  96. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  97. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  98. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  99. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  100. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  101. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  102. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  103. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  104. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  105. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  106. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  107. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  108. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  109. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  110. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  111. package/src/filiale/meihekou/android/CurrentCreate.vue +1097 -1097
  112. package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +1 -1
  113. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1306 -1306
  114. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2413 -2412
  115. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  116. package/src/filiale/meihekou/pc/NewCheckpaper.vue +1959 -1959
  117. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  118. package/src/filiale/meihekou/pc.js +13 -13
  119. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  120. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  121. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  122. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  123. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  124. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  125. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  126. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  127. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  128. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  129. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  130. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  131. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  132. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  133. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  134. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  135. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  136. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  137. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  138. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  139. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  140. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  141. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  142. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  143. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  144. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  145. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  146. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  147. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  148. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  149. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  150. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  151. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  152. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  153. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  154. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  155. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  156. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  157. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  158. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  159. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  160. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  161. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  162. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  163. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  164. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  165. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  166. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  167. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  168. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  169. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  170. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  171. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  172. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  173. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  174. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  175. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  176. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  177. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  178. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  179. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  180. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  181. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  182. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  183. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  184. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  185. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  186. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  187. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  188. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  189. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  190. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  191. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  192. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  193. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  194. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  195. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  196. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  197. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  198. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  199. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  200. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  201. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
  202. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  203. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  204. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  205. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  206. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  207. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  208. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  209. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  210. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  211. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  212. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  213. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  214. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  215. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  216. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  217. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  218. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  219. package/src/filiale/yunchengminsheng/android.js +15 -15
  220. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  221. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  222. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  223. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  224. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  225. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  226. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  227. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  228. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  229. package/src/main.js +32 -33
@@ -1,1097 +1,1097 @@
1
- <style scoped>
2
- .bg {
3
- background-color: blue;
4
- height: 1px;
5
- border: 0;
6
- }
7
- .app-row {
8
- background-color: white;
9
- padding: 10px 10px 0 10px;
10
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
11
- }
12
- .search_input {
13
- border: 0;
14
- outline: none;
15
- }
16
- .font{
17
- font: 15px PingFang-SC-Medium;
18
- color: #666666;
19
- }
20
- .input-font{
21
- font: 15px PingFang-SC-Medium;
22
- color: #333333;
23
- }
24
- .btn-font{
25
- font:600 16px PingFang-SC-Bold;
26
- color: #499EDF;
27
- }
28
- .btn-color{
29
- background-color: #FFFFFF;
30
- border-radius: 10px ;
31
- border: 1px solid #499EDF;
32
- }
33
- .app-text {
34
- font-size: 12px;
35
- }
36
- .panel-self{
37
- border-radius: 10px;
38
- border:1px solid #499EDF;
39
- background-color: #F8F8F8;
40
- }
41
- .yybtn-color{
42
- background-color:#499edf;
43
- border-radius: 4px ;
44
- border: 1px solid #499EDF;
45
- color: #FFFFFF;
46
- font: 14px PingFang-SC-Bold;
47
- }
48
- .qxbtn-color{
49
- background-color: #FFFFFF;
50
- border-radius: 4px ;
51
- color: #499edf;
52
- font: 14px PingFang-SC-Bold;
53
- border: 1px solid #499EDF;
54
- }
55
-
56
- .button_shrink_top {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_top.png")}
57
- .button_shrink_bottom {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_bottom.png")}
58
- .button_shrink_left {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_left.png")}
59
- .button_shrink_right {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_right.png")}
60
- </style>
61
- <style>
62
- .clear-select-with .dropdown-menu{
63
- left: 0px !important;
64
- width: 200% !important;
65
- }
66
- </style>
67
- <template>
68
- <div style="height: auto;width: 100%">
69
- <criteria-paged :model="model" v-ref:paged>
70
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
71
- <div partial>
72
- <form>
73
- <div class="row app-row">
74
- <div class="col-xs-4">
75
- <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
76
- <label for="f_plan_name" class="font text-left">单元:</label>
77
- </div>
78
- <v-select :value.sync="model.f_unit"
79
- class="input-font"
80
- :options='$parent.$parent.unitOptions'
81
- placeholder='单元'
82
- :width="'60%'"
83
- :value-single = true
84
- v-model="model.f_unit"
85
- condition="ti.f_unit = '{}'"
86
- close-on-select clear-button>
87
- </v-select>
88
- </div>
89
- <div class="row app-row">
90
- <div class="col-xs-4">
91
- <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
92
- <label for="f_userinfo_code" class="font text-left">用户编号:</label>
93
- </div>
94
- <div class="col-xs-8" >
95
- <input id="f_userinfo_code" class="search_input input-font"
96
- v-model=model.f_userinfo_code condition="f_userinfo_code like '%{}%'" />
97
- </div>
98
- </div>
99
- <div class="row app-row">
100
- <div class="col-xs-4">
101
- <img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
102
- <label class="font text-left">用户姓名:</label>
103
- </div>
104
- <div class="col-xs-8" >
105
- <input class="search_input input-font" v-model=model.f_user_name condition="f_user_name like '%{}%'" />
106
- </div>
107
- </div>
108
-
109
- <div class="row app-row">
110
- <div class="col-xs-4">
111
- <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
112
- <label class="font text-left">用户证号:</label>
113
- </div>
114
- <div class="col-xs-8" >
115
- <input class="search_input input-font" v-model=model.f_enter_number condition="f_enter_number like '%{}%'" />
116
- </div>
117
- </div>
118
-
119
- <div class="row app-row" v-if="$parent.$parent.criteriaShow && !$parent.$parent.planName">
120
- <div class="col-xs-4">
121
- <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
122
- <label for="f_plan_name" class="font text-left">计划名称:</label>
123
- </div>
124
- <v-select
125
- id="f_plan_name"
126
- :value.sync="model.f_plan_name"
127
- class="input-font"
128
- :options='$parent.$parent.planNameOptions'
129
- placeholder='计划名称'
130
- :width="'60%'"
131
- v-model="model.f_plan_name"
132
- condition="f_plan_name like '%{}%'"
133
- close-on-select clear-button>
134
- </v-select>
135
- </div>
136
-
137
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
138
- <div class="col-xs-4">
139
- <img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
140
- <label for="f_state" class="font text-left">是否已检:</label>
141
- </div>
142
- <v-select id="f_state"
143
- :value.sync="model.f_state"
144
- class="input-font"
145
- :options='$parent.$parent.check_states'
146
- placeholder='是否已检'
147
- :width="'60%'"
148
- v-model="model.f_state"
149
- condition="f_state='{}'"
150
- close-on-select clear-button>
151
- </v-select>
152
- </div>
153
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
154
- <div class="col-xs-4">
155
- <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
156
- <label class="font text-left">表&emsp;&emsp;号:</label>
157
- </div>
158
- <div class="col-xs-5" >
159
- <input class="search_input input-font"
160
- v-model=model.f_meter_no condition="f_meter_no like '%{}%'" />
161
- </div>
162
- <div class="col-xs-3">
163
- <button type="button" class="btn btn-lg btn-font btn-color" @click="$parent.$parent.scan()">扫码</button>
164
- </div>
165
- </div>
166
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
167
- <div class="col-xs-4">
168
- <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
169
- <label class="font text-left">客户电话:</label>
170
- </div>
171
- <div class="col-xs-8" >
172
- <input class="search_input input-font"
173
- v-model=model.f_user_phone condition="f_user_phone like '%{}%'" />
174
- </div>
175
- </div>
176
-
177
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
178
- <div class="col-xs-4">
179
- <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
180
- <label class="font text-left">用户地址:</label>
181
- </div>
182
- <div class="col-xs-8" >
183
- <input class="search_input input-font"
184
- v-model=model.f_keyword condition="f_address like '%{}%'" />
185
- </div>
186
- </div>
187
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
188
- <div class="col-xs-4">
189
- <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
190
- <label for="f_user_type" class="font text-left">用户类型:</label>
191
- </div>
192
- <v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
193
- :width="'60%'"
194
- :options='$parent.$parent.user_types' placeholder='请选择用户类型'
195
- v-model="model.f_user_type" condition="f_user_type='{}'" close-on-select clear-button></v-select>
196
- </div>
197
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
198
- <div class="col-xs-4">
199
- <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
200
- <label for="f_user_type" class="font text-left">安检状态:</label>
201
- </div>
202
- <v-select id="f_user_type" :value.sync="model.f_last_state" class="input-font"
203
- :width="'60%'"
204
- :options='$parent.$parent.last_check_states' placeholder='请选择用户类型'
205
- v-model="model.f_last_state"
206
- close-on-select clear-button></v-select>
207
- </div>
208
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
209
- <div class="col-xs-6">
210
- <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
211
- <label class="font text-left">到访不遇:</label>
212
- </div>
213
- <div class="col-xs-8" >
214
- <input class="search_input input-font" type="number"
215
- v-model=model.f_check_version condition="f_check_version <= '{}'" />
216
- </div>
217
- </div>
218
- <div class="row app-row" v-if="$parent.$parent.criteriaShow">
219
- <div class="col-xs-6" style="text-align: center">
220
- <span class="font text-left">待办{{$parent.$parent.upcomingCount}}条</span>
221
- </div>
222
- <div class="col-xs-6" style="text-align: center">
223
- <span class="font text-left">已办{{$parent.$parent.doneCount}}条</span>
224
- </div>
225
- <div class="col-xs-6" style="text-align: center">
226
- <span class="font text-left">临时保存{{$parent.$parent.tempSaveCount}}条</span>
227
- </div>
228
- <div class="col-xs-6" style="text-align: center">
229
- <span class="font text-left">总共{{$parent.$parent.allPlanCount}}条</span>
230
- </div>
231
- </div>
232
-
233
- <div class="row text-center" style="margin-top: 20px;">
234
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;" @click="$parent.$parent.selfSearch">查询</button>
235
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%; margin-left: 10px" @click="$parent.$parent.queryplanmany">转发</button>
236
- <div style="float: right;margin-right: 3% " class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
237
- <img v-if="!$parent.$parent.planName" style="float: right;margin-right: 3% " @click="$parent.$parent.getNewOrder" src="../../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
238
- </div>
239
- <div class="col-sm-12">
240
-
241
- </div>
242
- <!--<div class="row app-btn">-->
243
- <!--<button class="btn btn-primary col-xs-6" type="button" @click="search"><span class="glyphicon glyphicon-search" style="margin-right: 20px;">查询</span></button>-->
244
- <!--</div>-->
245
- <div style="height:30px;"></div>
246
- </form>
247
- </div>
248
- </criteria>
249
- <list :model="model" partial='list'>
250
- <div partial>
251
- <div class="auto app-text" style="margin-top: 5px;">
252
- <div class="panel" style="padding: 10px 10px 5px 10px;">
253
- <div class="panel-body panel-self" :style="{ backgroundColor: $parent.$parent.$parent.getLastCheckStateStyle(row.f_last_check_state) }">
254
- <div class="col-xs-12">
255
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
256
- <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
257
- <p class="panel-title col-xs-2 text-left input-font" style="width: 5%;float:right">
258
- <input type="checkbox" @click="$parent.$parent.$parent.setPlanParam(row.id, $event)"/>
259
- </p>
260
- </div>
261
- <div class="col-xs-12">
262
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
263
- <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
264
- </div>
265
- <div class="col-xs-6">
266
- <p class="panel-title col-xs-5 text-left font"><b>用户类型:</b></p>
267
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_type }}
268
- </p>
269
- </div>
270
- <div class="col-xs-6">
271
- <p class="panel-title col-xs-5 text-left font"><b>计划名称:</b></p>
272
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_plan_name }}</p>
273
- </div>
274
- <div class="col-xs-6">
275
- <p class="panel-title col-xs-5 text-left font"><b>小区名称:</b></p>
276
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_residential_area }}</p>
277
- </div>
278
- <div class="col-xs-12">
279
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
280
- <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}
281
- <img src="../../../assets/phone.png" style="width: 6%"
282
- v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone)'/>
283
- </p>
284
- </div>
285
- <div class="col-xs-12">
286
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>备用电话:</b></p>
287
- <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_rent_phone}}
288
- <img v-if="row.f_rent_phone" src="../../../assets/phone.png" style="width: 6%"
289
- v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_rent_phone)'/>
290
- </p>
291
- </div>
292
- <div class="col-xs-12">
293
- <p class="panel-title text-left font" style="width: 23%;float: left"><b>租户电话:</b></p>
294
- <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_zuhu_phone }}
295
- <img v-if="row.f_zuhu_phone" src="../../../assets/phone.png" style="width: 6%"
296
- v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_zuhu_phone)'/>
297
- </p>
298
- </div>
299
-
300
- <div class="col-xs-12">
301
- <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
302
- <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
303
- </div>
304
-
305
- <!-- <div class="row">-->
306
- <!-- <p class="panel-title col-xs-4 text-left font">计划年份</p>-->
307
- <!-- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_year }}</p>-->
308
- <!-- </div>-->
309
- <!-- <div class="row">-->
310
- <!-- <p class="panel-title col-xs-4 text-left font">计划月份</p>-->
311
- <!-- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_month }}</p>-->
312
- <!-- </div>-->
313
- <!-- <div class="row">-->
314
- <!-- <p class="panel-title col-xs-4 text-left font">预约时间</p>-->
315
- <!-- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_prearranged_date }}</p>-->
316
- <!-- </div>-->
317
- <div class="row">
318
- <p class="panel-title col-xs-4 text-left font"><b>上次安检状态:</b></p>
319
- <p class="panel-title col-xs-8 text-left input-font" v-if="row.f_last_check_state=='入户'" >{{ row.f_last_check_state }}</p>
320
- </div>
321
- <div class="col-xs-6">
322
- <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
323
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_state }}</p>
324
- </div>
325
- <div class="col-xs-6">
326
- <p class="panel-title col-xs-5 text-left font"><b>上传状态:</b></p>
327
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_upload_state }}</p>
328
- </div>
329
- <div class="col-xs-12" v-if="row.f_prearranged_date !=null">
330
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>预约时间:</b></p>
331
- <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_prearranged_date }}</p>
332
- </div>
333
- <div class="col-xs-6">
334
- <p class="panel-title col-xs-5 text-left font"><b>安检类型:</b></p>
335
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_safecheck_type }}</p>
336
- </div>
337
- <div class="col-xs-12">
338
- <p class="panel-title col-xs-5 text-left font"><b>到访不遇次数:</b></p>
339
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_check_version }}</p>
340
- </div>
341
- <div class="col-xs-6">
342
- <p class="panel-title col-xs-5 text-left font" ><b>是否通过:</b></p>
343
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_approved }}</p>
344
- </div>
345
- <div class="col-xs-6" v-show="row.f_approved == '不通过'">
346
- <p class="panel-title col-xs-5 text-left font" style="color: red;"><b>未通过原因:</b></p>
347
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_approved_note }}</p>
348
- </div>
349
- <!--<div class="col-xs-12">-->
350
- <!--<p class="panel-title col-xs-5 text-left font"><b>送气期限:</b></p>-->
351
- <!--<p class="panel-title col-xs-7 text-left input-font">{{timeSet(row.f_issue_time)}}</p>-->
352
- <!--</div>-->
353
- <div class="col-xs-12">
354
- <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" @click="$parent.$parent.$parent.inspect(row)">处理</button>
355
- <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right;margin-right:10px;" @click="$parent.$parent.$parent.queryplan(row.id)">转发</button>
356
- <!--<button type="button" class="btn btn-default" @click="$parent.$parent.$parent.ceshi">确认2</button>-->
357
- </div>
358
- <!-- <div class="row text-right" v-show="row.f_upload_state != '已传'" >-->
359
- <!-- <button type="button" class="btn yybtn-color" v-on:click.stop.prevent='$parent.$parent.$parent.reserve($index)'>预约</button>&nbsp;-->
360
- <!-- <button type="button" class="btn qxbtn-color" v-if ='row.f_prearranged_date'-->
361
- <!-- v-on:click.stop.prevent='$parent.$parent.$parent.cancelReserve($index, row.id)'>取消预约</button>-->
362
- <!-- </div>-->
363
- </div>
364
- </div>
365
- </div>
366
- </div>
367
- </list>
368
- </criteria-paged>
369
- <modal :show.sync="showModal">
370
- <div slot="modal-header" class="modal-header">
371
- <h4 class="modal-title">
372
- 选择预约时间
373
- </h4>
374
- </div>
375
- <div slot="modal-body" class="modal-body">
376
- <input type="datetime-local" v-model="f_preset_dt">
377
- </div>
378
- <div slot="modal-footer" class="modal-footer">
379
- <button type="button" class="btn btn-default" @click="genuineReserve">确认</button>
380
- </div>
381
- </modal>
382
- <!--<back-page :need-back='true' @flag="$back()"></back-page>-->
383
- <modal :show.sync="showModal2" v-ref:modal>
384
- <div slot="modal-header" class="modal-header">
385
- <h4 class="modal-title">
386
- 选择计划
387
- </h4>
388
- </div>
389
- <div slot="modal-body" class="modal-body">
390
- <div class="col-xs-12">
391
-
392
- <div class="col-xs-4">
393
- <v-select :value.sync="check" v-model='check'
394
- :value-single="true"
395
- class="select_list select"
396
- :options='checkers' placeholder='安检员'
397
- close-on-select width="100%"></v-select>
398
- </div>
399
-
400
- <div class="col-xs-1">
401
- <!--<label style="font-size:20px;line-height: 35px">人员 </label>-->
402
- </div>
403
- <div class="col-xs-4" style="padding-left: 2px">
404
- <input class="select-style" placeholder="计划名称" type="text" v-model="plan" style="border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 35px"/>
405
- </div>
406
- <div class="col-xs-1" >
407
- <!--<label style="font-size: 20px;line-height: 35px">计划</label>-->
408
- </div>
409
- <!--<input placeholder="安检员" type="text" v-model="check" style="height:30px;width: 100px"/>-->
410
- <div class="col-xs-2" style="float: right">
411
- <button type="button" class="btn btn-primary" @click="plansearch" style="background-color:#499edf;float: right;margin-right:10px;border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 1px;padding-left: 12px">查询</button>
412
- </div>
413
- </div>
414
- <table class="table table_sy">
415
- <thead>
416
- <tr>
417
- <th style="width: 30px"></th>
418
- <th style="font-family: 'Adobe 黑体 Std R'">计划名称</th>
419
- </tr>
420
- </thead>
421
- <tbody>
422
- <tr v-for="row in planoption">
423
- <td @click="select(row, $index)" >{{row.selected==true ? '☆' : '&nbsp;&nbsp;&nbsp;&nbsp;'}}</td>
424
- <td @click="select(row, $index)" style="text-align: center">{{row.label}}</td>
425
-
426
-
427
- </tr>
428
- </tbody>
429
- </table>
430
- </div>
431
- <div slot="modal-footer" class="modal-footer">
432
- <button class="btn btn-default" @click="isok()">确认</button>
433
- <button class="btn btn-default" @click="iscancel()">取消</button>
434
- </div>
435
- </modal>
436
- <modal :show.sync="showModal3" v-ref:modal>
437
- <div slot="modal-header" class="modal-header">
438
- <h4 class="modal-title">
439
- 选择计划
440
- </h4>
441
- </div>
442
- <div slot="modal-body" class="modal-body">
443
- <div class="col-xs-12">
444
-
445
- <div class="col-xs-4">
446
- <v-select :value.sync="check" v-model='check'
447
- :value-single="true"
448
- class="select_list select"
449
- :options='checkers' placeholder='安检员'
450
- close-on-select width="100%"></v-select>
451
- </div>
452
-
453
- <div class="col-xs-1">
454
- <!--<label style="font-size:20px;line-height: 35px">人员 </label>-->
455
- </div>
456
- <div class="col-xs-4" style="padding-left: 2px">
457
- <input class="select-style" placeholder="计划名称" type="text" v-model="plan" style="border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 35px"/>
458
- </div>
459
- <div class="col-xs-1" >
460
- <!--<label style="font-size: 20px;line-height: 35px">计划</label>-->
461
- </div>
462
- <!--<input placeholder="安检员" type="text" v-model="check" style="height:30px;width: 100px"/>-->
463
- <div class="col-xs-2" style="float: right">
464
- <button type="button" class="btn btn-primary" @click="plansearch" style="background-color:#499edf;float: right;margin-right:10px;border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 1px;padding-left: 12px">查询</button>
465
- </div>
466
- </div>
467
- <table class="table table_sy">
468
- <thead>
469
- <tr>
470
- <th style="width: 30px"></th>
471
- <th style="font-family: 'Adobe 黑体 Std R'">计划名称</th>
472
- </tr>
473
- </thead>
474
- <tbody>
475
- <tr v-for="row in planoption">
476
- <td @click="select(row, $index)" >{{row.selected==true ? '☆' : '&nbsp;&nbsp;&nbsp;&nbsp;'}}</td>
477
- <td @click="select(row, $index)" style="text-align: center">{{row.label}}</td>
478
-
479
-
480
- </tr>
481
- </tbody>
482
- </table>
483
- </div>
484
- <div slot="modal-footer" class="modal-footer">
485
- <button class="btn btn-default" @click="manyisok()">确认</button>
486
- <button class="btn btn-default" @click="iscancel()">取消</button>
487
- </div>
488
- </modal>
489
- </div>
490
-
491
- </template>
492
-
493
- <script>
494
- import LocalPagedList from '../../../plugins/LocalPagedList'
495
- import Vue from 'vue'
496
- import { PagedList,HttpResetClass } from 'vue-client'
497
- import * as Util from '../../Util'
498
- import co from 'co'
499
- import {isEmpty} from '../../Util'
500
- let select = function * (self) {
501
- let http = new HttpResetClass()
502
- http.load('POST', `${self.$androidUtil.getProxyUrl()}/rs/search`, {
503
- source: 'this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)',
504
- userid: Vue.user.orgid
505
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
506
- //tag
507
- self.checkers.push({label:'全部',value:''})
508
- res.data.forEach((checker)=>{
509
- self.checkers.push({label:checker.name,value:checker.id})
510
- })
511
- })
512
- }
513
- export default {
514
- title: '无计划安检查询',
515
- props: ['planName','f_residential_area','f_building'],
516
- data() {
517
- return {
518
- f_filialeids:'('+Vue.user.orgid+')',
519
- //f_filialeids:'(305)',
520
- planparam:[],
521
- check:'',
522
- plan:'',
523
- planid:'',
524
- model:Vue.android? new LocalPagedList('androidGetuserinfo',20,{condition:'this.condition'}): new PagedList( 'AndroidRest/api/af-safecheck/sql/androidGetuserinfo',20,{condition:'this.condition'}),
525
- showModal: false,
526
- showModal2:false,
527
- showModal3:false,
528
- needid:'',
529
- criteriaShow: false,
530
- planoption:[],
531
- condition:'',
532
- checkers:[],
533
- param: null,
534
- f_preset_dt : Util.to3339TimeString(),
535
- flow_direction:[
536
- {label: '请选择挂表方式', value: ''},
537
- {label: '左表', value: '左表'},
538
- {label: '右表', value: '右表'}
539
- ],
540
- check_states: [
541
- {label: '请选择安检状态', value: ''},
542
- {label: '未检', value: '未检'},
543
- {label: '已检', value: '已检'},
544
- ],
545
- last_check_states: [
546
- {label: '请选择上次安检状态', value: ''},
547
- {label: '入户', value: '入户'},
548
- {label: '拒检', value: '拒检'},
549
- {label: '到访不遇', value: '到访不遇'},
550
- {label: '未使用天然气', value: '未使用天然气'}
551
- ],
552
- upload_states: [
553
- {label: '请选择上传状态', value: ''},
554
- {label: '未传', value: '未传'},
555
- {label: '已传', value: '已传'}
556
- ],
557
- user_types: [
558
- {label: '请选择用户类型', value: ''},
559
- {label: '民用', value: '民用'},
560
- {label: '非民用', value: '非民用'},
561
- ],
562
- verify_state: [
563
- {label: '请选择审核状态', value: ''},
564
- {label: '未审核', value: '未审核'},
565
- {label: '打回', value: '打回'}
566
- ],
567
- residentialAreaOptions: [],
568
- buildOptions: [],
569
- unitOptions: [],
570
- planNameOptions: [],
571
- upcomingCount: 0,
572
- doneCount: 0,
573
- tempSaveCount: 0,
574
- allPlanCount: 0
575
- }
576
- },
577
- ready(){
578
- // this.getAllArea()
579
- this.getAllPlanName()
580
- if (!isEmpty(this.f_residential_area)){
581
- this.$refs.paged.$refs.cri.model.f_residential_area = this.f_residential_area
582
- }
583
- if (!isEmpty(this.f_building)){
584
- this.$refs.paged.$refs.cri.model.f_building = this.f_building
585
- }
586
- this.getUnits(this.f_building)
587
- this.selfSearch()
588
- let gen = select(this)
589
- co(gen)
590
- },
591
- mounted(){
592
- //tag
593
- if (window.history && window.history.pushState) {
594
- history.pushState(null, null, document.URL);
595
- window.addEventListener('popstate', this.fun, false);//false阻止默认事件
596
- }
597
- },
598
- destroyed(){
599
- //tag
600
- window.removeEventListener('popstate', this.fun, false);//false阻止默认事件
601
- },
602
- methods: {
603
- getLastCheckStateStyle(state){
604
- switch(state) {
605
- case '入户': return '#00ff71'
606
- case '拒检': return '#00f3ff'
607
- case '到访不遇': return '#fff600'
608
- default: return 'transparent'
609
- }
610
- },
611
- scan(){
612
- HostApp.__this__=this,
613
- HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
614
- },
615
- getCode(){
616
- const datapa = HostApp.getCode().data;
617
- //tag
618
- this.$refs.paged.$refs.cri.model.f_meter_no = datapa
619
-
620
- },
621
- fun () {
622
- //tag
623
- //tag
624
- },
625
- iscancel(){
626
- this.showModal2=false
627
- this.showModal3=false
628
- this.planoption=[]
629
- },
630
- timeSet(val){
631
- return val
632
- },
633
- async isok(){
634
- if(this.planoption.length==0){
635
- this.$showMessage("请选择计划")
636
- return false
637
- }
638
- for (let i = 0; i <this.planoption.length ; i++) {
639
- if (this.planoption[i]["selected"]==true){
640
- this.planid=this.planoption[i].value
641
- break
642
- }
643
- }
644
- if(this.planid==''){
645
- this.$showMessage("请选择计划")
646
- return false
647
- }
648
- await this.okput()
649
- },
650
- async manyisok(){
651
- if(this.planoption.length==0){
652
- this.$showMessage("请选择计划")
653
- return false
654
- }
655
- for (let i = 0; i <this.planoption.length ; i++) {
656
- if (this.planoption[i]["selected"]==true){
657
- this.planid=this.planoption[i].value
658
- break
659
- }
660
- }
661
- if(this.planid==''){
662
- this.$showMessage("请选择计划")
663
- return false
664
- }
665
- await this.manyokput()
666
- },
667
- changenull(){
668
- this.showModal2=false
669
- this.showModal3=false
670
- this.planoption=[]
671
- this.plan=''
672
- this.check=''
673
- },
674
- async okput(){
675
- let result = this.$androidUtil.bzLogic('UpCheckPlanItemAndroid', {condition:`id='`+this.needid+`'`,f_plan_id:this.planid})
676
- if (result.code == 200) {
677
- let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/UpCheckPlanItem`, {data:{
678
- condition:`i.id='`+this.needid+`'`,
679
- f_plan_id:this.planid,
680
- switchCheckAll:false,
681
- checkAll:false,
682
- f_operator:Vue.user.name
683
- }
684
- })
685
- await this.changenull()
686
- }
687
- },
688
- async manyokput(){
689
- let condition = `1=1`
690
- let criteria = {
691
- items: 'id',
692
- tablename: 't_check_plan',
693
- condition: `f_checker_id = '${Vue.user.id}'`,
694
- groupitem: 'id'
695
- }
696
- let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
697
- if (result.code==200){
698
- condition = `1=1 and i.f_plan_id in (${result.data.rows.map(row => { return `'${row.id}'` }).join()})`
699
- }
700
- let result2 = this.$androidUtil.bzLogic('UpCheckPlanItemAndroid', {condition:`f_plan_id in (${result.data.rows.map(row => { return `'${row.id}'` }).join()})`,f_plan_id:this.planid})
701
- if (result2.code == 200) {
702
- let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/UpCheckPlanItem`, {data:{
703
- columnName:"i.id",
704
- condition:condition,
705
- f_plan_id:this.planid,
706
- switchCheckAll:true,
707
- param:this.planparam,
708
- checkAll:true,
709
- f_operator:Vue.user.name
710
- }
711
- })
712
- await this.changenull()
713
- }
714
- },
715
- async plansearch(){
716
- this.planoption=[]
717
- let condition= ` f_plan_year=${new Date().getFullYear()}`
718
- if(this.check){
719
- condition += ` and f_checker_id= '${this.check}'`
720
- }
721
- if(this.plan){
722
- condition += ` and f_plan_name like '%${this.plan}%'`
723
- }
724
- let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/预约计划下发`, {data:{
725
- condition:condition,
726
- f_filialeids:this.f_filialeids,
727
- groupitem:'',
728
- orderitem:'id'
729
- }})
730
- let resoult=res.data
731
- for (let i = 0; i < resoult.length; i++) {
732
- this.planoption.push({label: resoult[i].f_plan_name,selected:false, value: resoult[i].id})
733
- }
734
- },
735
-
736
- select(row, idx) {
737
- this.$set('planoption[' + idx + '].selected', true)
738
- for (let i = 0; i <this.planoption.length ; i++) {
739
- if (i!=idx){
740
- this.planoption[i]["selected"]=false
741
- }
742
- }
743
- },
744
- planclose(){
745
- this.showModal2=false
746
- this.showModal3=false
747
- },
748
- queryplan(val){
749
- this.needid=val
750
- this.showModal2 = true
751
- },
752
- queryplanmany(){
753
-
754
- this.showModal3 = true
755
- },
756
- reload(){
757
- // this.getAllArea()
758
- // this.getAllPlanName()
759
- this.selfSearch()
760
- },
761
- cancelReserve (idx, id) {
762
- if(Vue.android){
763
- let res = this.$androidUtil.bzLogic('BookingCheck', {dt: '', id: id})
764
- this.$set('model.rows[' + idx + '].f_prearranged_date', null)
765
- if (res.code == 200) {
766
- this.$showMessage("取消预约成功")
767
- }
768
- }else {
769
- this.$androidUtil.bzLogic('PCbookingCheck', {dt: '', id: id}).then((repanse) => {
770
- this.$set('model.rows[' + idx + '].f_prearranged_date', null)
771
- if (repanse.data.code == 200) {
772
- alert("取消预约成功!")
773
- }
774
- })
775
- }},
776
- genuineReserve () {
777
- if(Vue.android){
778
- if (!this.f_preset_dt) {
779
- this.$showMessage('请选择一个日期')
780
- return
781
- }
782
- let pdt = this.f_preset_dt.replace('T', ' ')
783
- let respanse = this.$androidUtil.bzLogic('BookingCheck', {id: this.model.rows[this.param].id, dt: pdt})
784
- this.$set('model.rows[' + this.param + '].f_prearranged_date', pdt)
785
- if(respanse.code == 200) {
786
- this.$showMessage("预约成功!")
787
- }
788
- this.showModal = false
789
- }else {
790
- if (!this.f_preset_dt) {
791
- alert('请选择一个日期')
792
- return
793
- }
794
- let pdt = this.f_preset_dt.replace('T', ' ')
795
- this.$androidUtil.bzLogic('PCbookingCheck', {id: this.model.rows[this.param].id, dt: pdt}).then((res) => {
796
- this.$set('model.rows[' + this.param + '].f_prearranged_date', pdt)
797
- if(res.data.code == 200) {
798
- alert("预约成功!")
799
- }
800
- this.showModal = false
801
- })
802
- }
803
- },
804
- inspect(row) {
805
- var _this = this
806
- try {
807
- let http = new HttpResetClass()
808
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
809
- items: 'id',
810
- tablename: 't_check_plan_item',
811
- condition: `id = '${row.id}'`,
812
- orderitem: ' id '
813
- }}, {resolveMsg: null, rejectMsg: null}).then((getcheckplan) => {
814
- this.getcheckplandata = getcheckplan.data[0]
815
- if(this.getcheckplandata){
816
- if (row.f_no_checkplan != '无计划安检') {
817
- _this.$resetpost(`${_this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/查询计划项表信息`, {data: {f_userid: row.f_userinfoid}},{resolveMsg: null,rejectMsg: null}).then((response) => {
818
- row['f_plan_meters'] = response.data
819
- var pardate = {
820
- _this:_this,
821
- title:'安全检查',
822
- safe:true
823
- }
824
- _this.$dispatch('gotoson',pardate)
825
- //tag
826
- _this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',parentPage:'CurrentCreate'}, 'self', _this.reload)
827
- }).catch ((msg)=>{
828
- this.noLineInspect(row)
829
- this.$showMessage("网络异常,请检查网络后再试!")
830
- })
831
- }
832
- }else {
833
- this.$showMessage("该用户安检单已被移除,请联系管理员确认!")
834
- }
835
- }).catch((e)=>{
836
- this.noLineInspect(row)
837
- })
838
- }catch (e){
839
- this.noLineInspect(row)
840
- }
841
- },
842
- noLineInspect(row){
843
- let _this = this
844
- let criteria = {
845
- items: ' * ',
846
- tablename: ' t_plan_item_meter ',
847
- condition: ` f_plan_item_id = '${row.id}' `,
848
- orderitem: ' 1 '
849
- }
850
- let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_OrderBy', 'criteria': criteria}})
851
- if(result.code == 200){
852
- row.f_plan_meters = [result.data.rows[0]]
853
- var pardate = {
854
- _this:_this,
855
- title:'安全检查',
856
- safe:true
857
- }
858
- _this.$dispatch('gotoson',pardate)
859
- _this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',parentPage:'CurrentCreate'}, 'self', _this.reload)
860
- }
861
- },
862
- makeAPhoneCall(phoneNumber) {
863
- this.$androidUtil.makeAPhoneCall(phoneNumber)
864
- },
865
- reserve (idx) {
866
- this.param = idx
867
- this.showModal = true
868
- },
869
- search(args) {
870
- this.model.rows = []
871
- this.model.search(args.condition, args.model)
872
- },
873
- selfSearch () {
874
- this.getPlanCount()
875
- let condition = ""
876
- if (Array.isArray(this.$refs.paged.$refs.cri.model.f_residential_area) && this.$refs.paged.$refs.cri.model.f_residential_area.length >0){
877
- condition += " and ti.f_residential_area = '"+this.$refs.paged.$refs.cri.model.f_residential_area[0]+"'"
878
- }else if(typeof this.$refs.paged.$refs.cri.model.f_residential_area == 'string' && this.$refs.paged.$refs.cri.model.f_residential_area){
879
- condition += " and ti.f_residential_area = '"+this.$refs.paged.$refs.cri.model.f_residential_area+"'"
880
- }
881
- if(this.$refs.paged.$refs.cri.model.f_building)
882
- condition += ` and ti.f_building = '${this.$refs.paged.$refs.cri.model.f_building}'`
883
- if(this.$refs.paged.$refs.cri.model.f_unit)
884
- condition += ` and ti.f_unit = '${this.$refs.paged.$refs.cri.model.f_unit}'`
885
- if (this.planName){
886
- condition += " and f_plan_name like '%"+this.planName +"%'"
887
- }else {
888
- if(this.$refs.paged.$refs.cri.model.f_plan_name)
889
- condition += " and f_plan_name like '%"+this.$refs.paged.$refs.cri.model.f_plan_name +"%'"
890
- }
891
- // if(this.$refs.paged.$refs.cri.model.f_plan_year)
892
- // condition += " and f_plan_year = '"+this.$refs.paged.$refs.cri.model.f_plan_year +"'"
893
- // if(this.$refs.paged.$refs.cri.model.f_plan_month)
894
- // condition += " and f_plan_month = '"+this.$refs.paged.$refs.cri.model.f_plan_month +"'"
895
- if(this.$refs.paged.$refs.cri.model.f_userinfo_code)
896
- condition += " and ti.f_userinfo_code like '%"+this.$refs.paged.$refs.cri.model.f_userinfo_code+"%'"
897
- if(this.$refs.paged.$refs.cri.model.f_keyword)
898
- condition += " and ti.f_address like '%"+this.$refs.paged.$refs.cri.model.f_keyword+"%'"
899
- if(this.$refs.paged.$refs.cri.model.f_user_name)
900
- condition += " and ti.f_user_name like '%"+this.$refs.paged.$refs.cri.model.f_user_name+"%'"
901
- if(this.$refs.paged.$refs.cri.model.f_state[0])
902
- condition += " and ti.f_state='"+this.$refs.paged.$refs.cri.model.f_state[0]+"'"
903
- if(this.$refs.paged.$refs.cri.model.f_last_state[0])
904
- condition += " and ti.f_last_check_state='"+this.$refs.paged.$refs.cri.model.f_last_state[0]+"'"
905
- if(this.$refs.paged.$refs.cri.model.f_user_type[0])
906
- condition += " and ti.f_user_type='"+this.$refs.paged.$refs.cri.model.f_user_type[0]+"'"
907
- if(this.$refs.paged.$refs.cri.model.f_meter_no)
908
- condition += " and tm.f_meter_no like '%"+this.$refs.paged.$refs.cri.model.f_meter_no+"%'"
909
- // if(this.$refs.paged.$refs.cri.model.f_flow_direction[0])
910
- // condition += " and tm.f_flow_direction = '"+this.$refs.paged.$refs.cri.model.f_flow_direction[0]+"'"
911
- if(this.$refs.paged.$refs.cri.model.f_user_phone){
912
- condition += `and ti.f_user_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%'`
913
- }
914
- if(this.$refs.paged.$refs.cri.model.f_enter_number)
915
- condition += " and ti.f_enter_number like '%"+this.$refs.paged.$refs.cri.model.f_enter_number+"%'"
916
- if(this.$refs.paged.$refs.cri.model.f_check_version)
917
- condition += " and ti.f_check_version <= "+this.$refs.paged.$refs.cri.model.f_check_version
918
- //tag
919
- this.model.search("ti.f_no_checkplan = '有计划安检'" + condition)
920
- },
921
- getNewOrder(){
922
- HostApp.__this__ = this
923
- HostApp.logicWithHint({
924
- // logic别名,key必须为logic
925
- 'logic': 'SafeCheckServiceTimeOut',
926
- // 回调执行方法名,key必须为callback
927
- 'callback': 'javascript:HostApp.__this__.getNewOrderCallBack()',
928
- // logic执行需要的业务参数
929
- 'data': {params: ''},
930
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
931
- // 执行回调方法传入key为backresult
932
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
933
- 'backresult': 1
934
- })
935
- HostApp.logicWithHint({
936
- // logic别名,key必须为logic
937
- 'logic': 'FreshPlanItem',
938
- // 回调执行方法名,key必须为callback
939
- 'callback': 'javascript:HostApp.__this__.getNewOrderCallBack()',
940
- // logic执行需要的业务参数
941
- 'data': {params: ''},
942
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
943
- // 执行回调方法传入key为backresult
944
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
945
- 'backresult': 1
946
- })
947
- },
948
- getNewOrderCallBack() {
949
- this.selfSearch()
950
- this.getAllArea()
951
- this.getAllPlanName()
952
- },
953
- hidden() {
954
- this.criteriaShow = !this.criteriaShow
955
- },
956
- getAllArea(){
957
- this.residentialAreaOptions = []
958
- this.buildOptions = []
959
- this.unitOptions = []
960
- this.$refs.paged.$refs.cri.model.f_unit = ''
961
- let criteria = {
962
- items: 'f_residential_area',
963
- tablename: 't_check_plan_item',
964
- condition: `f_residential_area IS NOT NULL AND f_residential_area != ''`,
965
- groupitem: 'f_residential_area'
966
- }
967
- let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
968
- //tag)
969
- if(result.code == 200){
970
- result.data.rows.forEach(item => this.residentialAreaOptions.push({label:item.f_residential_area,value:item.f_residential_area}))
971
- }
972
- //tag)
973
- },
974
- getbuilds(f_residential_area){
975
- //tag)
976
- this.buildOptions = []
977
- this.unitOptions = []
978
- this.$refs.paged.$refs.cri.model.f_unit = ''
979
- if(!f_residential_area){
980
- return
981
- }
982
- let criteria = {
983
- items: 'f_building',
984
- tablename: 't_check_plan_item',
985
- condition: `f_building IS NOT NULL AND f_building != '' AND f_residential_area = '${f_residential_area}'`,
986
- groupitem: 'f_building order by f_building+0'
987
- }
988
- let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
989
- if(result.code == 200){
990
- result.data.rows.forEach(item => this.buildOptions.push({label:item.f_building,value:item.f_building}))
991
- }
992
- this.buildOptions.sort((a,b)=>{
993
- return Number(a.label)- Number(b.label)
994
- })
995
- //tag)
996
- },
997
- getUnits(f_building){
998
- //tag)
999
- this.unitOptions = []
1000
- this.$refs.paged.$refs.cri.model.f_unit = ''
1001
- if(!f_building){
1002
- return
1003
- }
1004
- let criteria = {
1005
- items: 'f_unit',
1006
- tablename: 't_check_plan_item',
1007
- condition: `f_unit IS NOT NULL AND f_unit != '' AND f_residential_area = '${this.$refs.paged.$refs.cri.model.f_residential_area}' AND f_building = '${f_building}'`,
1008
- groupitem: 'f_unit'
1009
- }
1010
- let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1011
- if(result.code == 200){
1012
- result.data.rows.forEach(item => this.unitOptions.push({label:item.f_unit,value:item.f_unit}))
1013
- }
1014
- },
1015
- getPlanCount(){
1016
- this.upcomingCount = 0
1017
- this.tempSaveCount = 0
1018
- this.doneCount = 0
1019
- this.allPlanCount = 0
1020
- let criteria = {
1021
- items: 'count(id) count',
1022
- tablename: 't_check_plan_item',
1023
- condition: `f_state = '未检'`,
1024
- groupitem: 'f_state'
1025
- }
1026
- let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1027
- if(result.code && result.code == 200){
1028
- if(result.data.rows[0] && !isNaN(result.data.rows[0].count)) {
1029
- this.upcomingCount = result.data.rows[0].count
1030
- }
1031
- }
1032
- criteria = {
1033
- items: 'count(id) count',
1034
- tablename: 't_check_plan_item',
1035
- condition: `(f_complete = '' or f_complete is null or f_complete = '未完成') AND f_state = '已检'`,
1036
- groupitem: 'f_state'
1037
- }
1038
- result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1039
- if(result.code && result.code == 200){
1040
- if(result.data.rows[0] && !isNaN(result.data.rows[0].count)){
1041
- this.tempSaveCount = result.data.rows[0].count
1042
- }
1043
- }
1044
- criteria = {
1045
- items: 'count(id) count',
1046
- tablename: 't_check_plan_item',
1047
- condition: `f_complete = '已完成' AND f_state = '已检'`,
1048
- groupitem: 'f_state'
1049
- }
1050
- result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1051
- if(result.code && result.code == 200){
1052
- if(result.data.rows[0] && !isNaN(result.data.rows[0].count)){
1053
- this.doneCount = result.data.rows[0].count
1054
- }
1055
- }
1056
- this.allPlanCount = this.upcomingCount + this.tempSaveCount + this.doneCount
1057
-
1058
- //tag
1059
- //tag
1060
- //tag
1061
- //tag
1062
- },
1063
- getAllPlanName(){
1064
- this.planNameOptions = []
1065
- this.$refs.paged.$refs.cri.model.f_plan_name = ''
1066
- let criteria = {
1067
- items: 'f_plan_name',
1068
- tablename: 't_check_plan',
1069
- condition: `f_plan_name IS NOT NULL AND f_plan_name != ''`,
1070
- groupitem: 'f_plan_name'
1071
- }
1072
- let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1073
- //tag)
1074
- if(result.code == 200){
1075
- result.data.rows.forEach(item => this.planNameOptions.push({label:item.f_plan_name,value:item.f_plan_name}))
1076
- }
1077
- //tag)
1078
- },
1079
- setPlanParam(detailsType, event) {
1080
- if (event.srcElement.checked) {
1081
- this.planparam.push(detailsType)
1082
- //tag
1083
- } else {
1084
- if(this.planparam.length>0){
1085
- let planid= this.planparam.findIndex((value) => {
1086
- return value === detailsType
1087
- })
1088
- this.planparam.splice(planid, 1)
1089
- //tag
1090
-
1091
- }
1092
-
1093
- }
1094
- }
1095
- }
1096
- }
1097
- </script>
1
+ <style scoped>
2
+ .bg {
3
+ background-color: blue;
4
+ height: 1px;
5
+ border: 0;
6
+ }
7
+ .app-row {
8
+ background-color: white;
9
+ padding: 10px 10px 0 10px;
10
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
11
+ }
12
+ .search_input {
13
+ border: 0;
14
+ outline: none;
15
+ }
16
+ .font{
17
+ font: 15px PingFang-SC-Medium;
18
+ color: #666666;
19
+ }
20
+ .input-font{
21
+ font: 15px PingFang-SC-Medium;
22
+ color: #333333;
23
+ }
24
+ .btn-font{
25
+ font:600 16px PingFang-SC-Bold;
26
+ color: #499EDF;
27
+ }
28
+ .btn-color{
29
+ background-color: #FFFFFF;
30
+ border-radius: 10px ;
31
+ border: 1px solid #499EDF;
32
+ }
33
+ .app-text {
34
+ font-size: 12px;
35
+ }
36
+ .panel-self{
37
+ border-radius: 10px;
38
+ border:1px solid #499EDF;
39
+ background-color: #F8F8F8;
40
+ }
41
+ .yybtn-color{
42
+ background-color:#499edf;
43
+ border-radius: 4px ;
44
+ border: 1px solid #499EDF;
45
+ color: #FFFFFF;
46
+ font: 14px PingFang-SC-Bold;
47
+ }
48
+ .qxbtn-color{
49
+ background-color: #FFFFFF;
50
+ border-radius: 4px ;
51
+ color: #499edf;
52
+ font: 14px PingFang-SC-Bold;
53
+ border: 1px solid #499EDF;
54
+ }
55
+
56
+ .button_shrink_top {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_top.png")}
57
+ .button_shrink_bottom {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_bottom.png")}
58
+ .button_shrink_left {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_left.png")}
59
+ .button_shrink_right {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_right.png")}
60
+ </style>
61
+ <style>
62
+ .clear-select-with .dropdown-menu{
63
+ left: 0px !important;
64
+ width: 200% !important;
65
+ }
66
+ </style>
67
+ <template>
68
+ <div style="height: auto;width: 100%">
69
+ <criteria-paged :model="model" v-ref:paged>
70
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
71
+ <div partial>
72
+ <form>
73
+ <div class="row app-row">
74
+ <div class="col-xs-4">
75
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
76
+ <label for="f_plan_name" class="font text-left">单元:</label>
77
+ </div>
78
+ <v-select :value.sync="model.f_unit"
79
+ class="input-font"
80
+ :options='$parent.$parent.unitOptions'
81
+ placeholder='单元'
82
+ :width="'60%'"
83
+ :value-single = true
84
+ v-model="model.f_unit"
85
+ condition="ti.f_unit = '{}'"
86
+ close-on-select clear-button>
87
+ </v-select>
88
+ </div>
89
+ <div class="row app-row">
90
+ <div class="col-xs-4">
91
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
92
+ <label for="f_userinfo_code" class="font text-left">用户编号:</label>
93
+ </div>
94
+ <div class="col-xs-8" >
95
+ <input id="f_userinfo_code" class="search_input input-font"
96
+ v-model=model.f_userinfo_code condition="f_userinfo_code like '%{}%'" />
97
+ </div>
98
+ </div>
99
+ <div class="row app-row">
100
+ <div class="col-xs-4">
101
+ <img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
102
+ <label class="font text-left">用户姓名:</label>
103
+ </div>
104
+ <div class="col-xs-8" >
105
+ <input class="search_input input-font" v-model=model.f_user_name condition="f_user_name like '%{}%'" />
106
+ </div>
107
+ </div>
108
+
109
+ <div class="row app-row">
110
+ <div class="col-xs-4">
111
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
112
+ <label class="font text-left">用户证号:</label>
113
+ </div>
114
+ <div class="col-xs-8" >
115
+ <input class="search_input input-font" v-model=model.f_enter_number condition="f_enter_number like '%{}%'" />
116
+ </div>
117
+ </div>
118
+
119
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow && !$parent.$parent.planName">
120
+ <div class="col-xs-4">
121
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
122
+ <label for="f_plan_name" class="font text-left">计划名称:</label>
123
+ </div>
124
+ <v-select
125
+ id="f_plan_name"
126
+ :value.sync="model.f_plan_name"
127
+ class="input-font"
128
+ :options='$parent.$parent.planNameOptions'
129
+ placeholder='计划名称'
130
+ :width="'60%'"
131
+ v-model="model.f_plan_name"
132
+ condition="f_plan_name like '%{}%'"
133
+ close-on-select clear-button>
134
+ </v-select>
135
+ </div>
136
+
137
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
138
+ <div class="col-xs-4">
139
+ <img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
140
+ <label for="f_state" class="font text-left">是否已检:</label>
141
+ </div>
142
+ <v-select id="f_state"
143
+ :value.sync="model.f_state"
144
+ class="input-font"
145
+ :options='$parent.$parent.check_states'
146
+ placeholder='是否已检'
147
+ :width="'60%'"
148
+ v-model="model.f_state"
149
+ condition="f_state='{}'"
150
+ close-on-select clear-button>
151
+ </v-select>
152
+ </div>
153
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
154
+ <div class="col-xs-4">
155
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
156
+ <label class="font text-left">表&emsp;&emsp;号:</label>
157
+ </div>
158
+ <div class="col-xs-5" >
159
+ <input class="search_input input-font"
160
+ v-model=model.f_meter_no condition="f_meter_no like '%{}%'" />
161
+ </div>
162
+ <div class="col-xs-3">
163
+ <button type="button" class="btn btn-lg btn-font btn-color" @click="$parent.$parent.scan()">扫码</button>
164
+ </div>
165
+ </div>
166
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
167
+ <div class="col-xs-4">
168
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
169
+ <label class="font text-left">客户电话:</label>
170
+ </div>
171
+ <div class="col-xs-8" >
172
+ <input class="search_input input-font"
173
+ v-model=model.f_user_phone condition="f_user_phone like '%{}%'" />
174
+ </div>
175
+ </div>
176
+
177
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
178
+ <div class="col-xs-4">
179
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
180
+ <label class="font text-left">用户地址:</label>
181
+ </div>
182
+ <div class="col-xs-8" >
183
+ <input class="search_input input-font"
184
+ v-model=model.f_keyword condition="f_address like '%{}%'" />
185
+ </div>
186
+ </div>
187
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
188
+ <div class="col-xs-4">
189
+ <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
190
+ <label for="f_user_type" class="font text-left">用户类型:</label>
191
+ </div>
192
+ <v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
193
+ :width="'60%'"
194
+ :options='$parent.$parent.user_types' placeholder='请选择用户类型'
195
+ v-model="model.f_user_type" condition="f_user_type='{}'" close-on-select clear-button></v-select>
196
+ </div>
197
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
198
+ <div class="col-xs-4">
199
+ <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
200
+ <label for="f_user_type" class="font text-left">安检状态:</label>
201
+ </div>
202
+ <v-select id="f_user_type" :value.sync="model.f_last_state" class="input-font"
203
+ :width="'60%'"
204
+ :options='$parent.$parent.last_check_states' placeholder='请选择用户类型'
205
+ v-model="model.f_last_state"
206
+ close-on-select clear-button></v-select>
207
+ </div>
208
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
209
+ <div class="col-xs-6">
210
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
211
+ <label class="font text-left">到访不遇:</label>
212
+ </div>
213
+ <div class="col-xs-8" >
214
+ <input class="search_input input-font" type="number"
215
+ v-model=model.f_check_version condition="f_check_version <= '{}'" />
216
+ </div>
217
+ </div>
218
+ <div class="row app-row" v-if="$parent.$parent.criteriaShow">
219
+ <div class="col-xs-6" style="text-align: center">
220
+ <span class="font text-left">待办{{$parent.$parent.upcomingCount}}条</span>
221
+ </div>
222
+ <div class="col-xs-6" style="text-align: center">
223
+ <span class="font text-left">已办{{$parent.$parent.doneCount}}条</span>
224
+ </div>
225
+ <div class="col-xs-6" style="text-align: center">
226
+ <span class="font text-left">临时保存{{$parent.$parent.tempSaveCount}}条</span>
227
+ </div>
228
+ <div class="col-xs-6" style="text-align: center">
229
+ <span class="font text-left">总共{{$parent.$parent.allPlanCount}}条</span>
230
+ </div>
231
+ </div>
232
+
233
+ <div class="row text-center" style="margin-top: 20px;">
234
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;" @click="$parent.$parent.selfSearch">查询</button>
235
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%; margin-left: 10px" @click="$parent.$parent.queryplanmany">转发</button>
236
+ <div style="float: right;margin-right: 3% " class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
237
+ <img v-if="!$parent.$parent.planName" style="float: right;margin-right: 3% " @click="$parent.$parent.getNewOrder" src="../../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
238
+ </div>
239
+ <div class="col-sm-12">
240
+
241
+ </div>
242
+ <!--<div class="row app-btn">-->
243
+ <!--<button class="btn btn-primary col-xs-6" type="button" @click="search"><span class="glyphicon glyphicon-search" style="margin-right: 20px;">查询</span></button>-->
244
+ <!--</div>-->
245
+ <div style="height:30px;"></div>
246
+ </form>
247
+ </div>
248
+ </criteria>
249
+ <list :model="model" partial='list'>
250
+ <div partial>
251
+ <div class="auto app-text" style="margin-top: 5px;">
252
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
253
+ <div class="panel-body panel-self" :style="{ backgroundColor: $parent.$parent.$parent.getLastCheckStateStyle(row.f_last_check_state) }">
254
+ <div class="col-xs-12">
255
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
256
+ <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
257
+ <p class="panel-title col-xs-2 text-left input-font" style="width: 5%;float:right">
258
+ <input type="checkbox" @click="$parent.$parent.$parent.setPlanParam(row.id, $event)"/>
259
+ </p>
260
+ </div>
261
+ <div class="col-xs-12">
262
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
263
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
264
+ </div>
265
+ <div class="col-xs-6">
266
+ <p class="panel-title col-xs-5 text-left font"><b>用户类型:</b></p>
267
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_type }}
268
+ </p>
269
+ </div>
270
+ <div class="col-xs-6">
271
+ <p class="panel-title col-xs-5 text-left font"><b>计划名称:</b></p>
272
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_plan_name }}</p>
273
+ </div>
274
+ <div class="col-xs-6">
275
+ <p class="panel-title col-xs-5 text-left font"><b>小区名称:</b></p>
276
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_residential_area }}</p>
277
+ </div>
278
+ <div class="col-xs-12">
279
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
280
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}
281
+ <img src="../../../assets/phone.png" style="width: 6%"
282
+ v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone)'/>
283
+ </p>
284
+ </div>
285
+ <div class="col-xs-12">
286
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>备用电话:</b></p>
287
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_rent_phone}}
288
+ <img v-if="row.f_rent_phone" src="../../../assets/phone.png" style="width: 6%"
289
+ v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_rent_phone)'/>
290
+ </p>
291
+ </div>
292
+ <div class="col-xs-12">
293
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>租户电话:</b></p>
294
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_zuhu_phone }}
295
+ <img v-if="row.f_zuhu_phone" src="../../../assets/phone.png" style="width: 6%"
296
+ v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_zuhu_phone)'/>
297
+ </p>
298
+ </div>
299
+
300
+ <div class="col-xs-12">
301
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
302
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
303
+ </div>
304
+
305
+ <!-- <div class="row">-->
306
+ <!-- <p class="panel-title col-xs-4 text-left font">计划年份</p>-->
307
+ <!-- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_year }}</p>-->
308
+ <!-- </div>-->
309
+ <!-- <div class="row">-->
310
+ <!-- <p class="panel-title col-xs-4 text-left font">计划月份</p>-->
311
+ <!-- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_month }}</p>-->
312
+ <!-- </div>-->
313
+ <!-- <div class="row">-->
314
+ <!-- <p class="panel-title col-xs-4 text-left font">预约时间</p>-->
315
+ <!-- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_prearranged_date }}</p>-->
316
+ <!-- </div>-->
317
+ <div class="row">
318
+ <p class="panel-title col-xs-4 text-left font"><b>上次安检状态:</b></p>
319
+ <p class="panel-title col-xs-8 text-left input-font" v-if="row.f_last_check_state=='入户'" >{{ row.f_last_check_state }}</p>
320
+ </div>
321
+ <div class="col-xs-6">
322
+ <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
323
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_state }}</p>
324
+ </div>
325
+ <div class="col-xs-6">
326
+ <p class="panel-title col-xs-5 text-left font"><b>上传状态:</b></p>
327
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_upload_state }}</p>
328
+ </div>
329
+ <div class="col-xs-12" v-if="row.f_prearranged_date !=null">
330
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>预约时间:</b></p>
331
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_prearranged_date }}</p>
332
+ </div>
333
+ <div class="col-xs-6">
334
+ <p class="panel-title col-xs-5 text-left font"><b>安检类型:</b></p>
335
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_safecheck_type }}</p>
336
+ </div>
337
+ <div class="col-xs-12">
338
+ <p class="panel-title col-xs-5 text-left font"><b>到访不遇次数:</b></p>
339
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_check_version }}</p>
340
+ </div>
341
+ <div class="col-xs-6">
342
+ <p class="panel-title col-xs-5 text-left font" ><b>是否通过:</b></p>
343
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_approved }}</p>
344
+ </div>
345
+ <div class="col-xs-6" v-show="row.f_approved == '不通过'">
346
+ <p class="panel-title col-xs-5 text-left font" style="color: red;"><b>未通过原因:</b></p>
347
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_approved_note }}</p>
348
+ </div>
349
+ <!--<div class="col-xs-12">-->
350
+ <!--<p class="panel-title col-xs-5 text-left font"><b>送气期限:</b></p>-->
351
+ <!--<p class="panel-title col-xs-7 text-left input-font">{{timeSet(row.f_issue_time)}}</p>-->
352
+ <!--</div>-->
353
+ <div class="col-xs-12">
354
+ <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" @click="$parent.$parent.$parent.inspect(row)">处理</button>
355
+ <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right;margin-right:10px;" @click="$parent.$parent.$parent.queryplan(row.id)">转发</button>
356
+ <!--<button type="button" class="btn btn-default" @click="$parent.$parent.$parent.ceshi">确认2</button>-->
357
+ </div>
358
+ <!-- <div class="row text-right" v-show="row.f_upload_state != '已传'" >-->
359
+ <!-- <button type="button" class="btn yybtn-color" v-on:click.stop.prevent='$parent.$parent.$parent.reserve($index)'>预约</button>&nbsp;-->
360
+ <!-- <button type="button" class="btn qxbtn-color" v-if ='row.f_prearranged_date'-->
361
+ <!-- v-on:click.stop.prevent='$parent.$parent.$parent.cancelReserve($index, row.id)'>取消预约</button>-->
362
+ <!-- </div>-->
363
+ </div>
364
+ </div>
365
+ </div>
366
+ </div>
367
+ </list>
368
+ </criteria-paged>
369
+ <modal :show.sync="showModal">
370
+ <div slot="modal-header" class="modal-header">
371
+ <h4 class="modal-title">
372
+ 选择预约时间
373
+ </h4>
374
+ </div>
375
+ <div slot="modal-body" class="modal-body">
376
+ <input type="datetime-local" v-model="f_preset_dt">
377
+ </div>
378
+ <div slot="modal-footer" class="modal-footer">
379
+ <button type="button" class="btn btn-default" @click="genuineReserve">确认</button>
380
+ </div>
381
+ </modal>
382
+ <!--<back-page :need-back='true' @flag="$back()"></back-page>-->
383
+ <modal :show.sync="showModal2" v-ref:modal>
384
+ <div slot="modal-header" class="modal-header">
385
+ <h4 class="modal-title">
386
+ 选择计划
387
+ </h4>
388
+ </div>
389
+ <div slot="modal-body" class="modal-body">
390
+ <div class="col-xs-12">
391
+
392
+ <div class="col-xs-4">
393
+ <v-select :value.sync="check" v-model='check'
394
+ :value-single="true"
395
+ class="select_list select"
396
+ :options='checkers' placeholder='安检员'
397
+ close-on-select width="100%"></v-select>
398
+ </div>
399
+
400
+ <div class="col-xs-1">
401
+ <!--<label style="font-size:20px;line-height: 35px">人员 </label>-->
402
+ </div>
403
+ <div class="col-xs-4" style="padding-left: 2px">
404
+ <input class="select-style" placeholder="计划名称" type="text" v-model="plan" style="border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 35px"/>
405
+ </div>
406
+ <div class="col-xs-1" >
407
+ <!--<label style="font-size: 20px;line-height: 35px">计划</label>-->
408
+ </div>
409
+ <!--<input placeholder="安检员" type="text" v-model="check" style="height:30px;width: 100px"/>-->
410
+ <div class="col-xs-2" style="float: right">
411
+ <button type="button" class="btn btn-primary" @click="plansearch" style="background-color:#499edf;float: right;margin-right:10px;border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 1px;padding-left: 12px">查询</button>
412
+ </div>
413
+ </div>
414
+ <table class="table table_sy">
415
+ <thead>
416
+ <tr>
417
+ <th style="width: 30px"></th>
418
+ <th style="font-family: 'Adobe 黑体 Std R'">计划名称</th>
419
+ </tr>
420
+ </thead>
421
+ <tbody>
422
+ <tr v-for="row in planoption">
423
+ <td @click="select(row, $index)" >{{row.selected==true ? '☆' : '&nbsp;&nbsp;&nbsp;&nbsp;'}}</td>
424
+ <td @click="select(row, $index)" style="text-align: center">{{row.label}}</td>
425
+
426
+
427
+ </tr>
428
+ </tbody>
429
+ </table>
430
+ </div>
431
+ <div slot="modal-footer" class="modal-footer">
432
+ <button class="btn btn-default" @click="isok()">确认</button>
433
+ <button class="btn btn-default" @click="iscancel()">取消</button>
434
+ </div>
435
+ </modal>
436
+ <modal :show.sync="showModal3" v-ref:modal>
437
+ <div slot="modal-header" class="modal-header">
438
+ <h4 class="modal-title">
439
+ 选择计划
440
+ </h4>
441
+ </div>
442
+ <div slot="modal-body" class="modal-body">
443
+ <div class="col-xs-12">
444
+
445
+ <div class="col-xs-4">
446
+ <v-select :value.sync="check" v-model='check'
447
+ :value-single="true"
448
+ class="select_list select"
449
+ :options='checkers' placeholder='安检员'
450
+ close-on-select width="100%"></v-select>
451
+ </div>
452
+
453
+ <div class="col-xs-1">
454
+ <!--<label style="font-size:20px;line-height: 35px">人员 </label>-->
455
+ </div>
456
+ <div class="col-xs-4" style="padding-left: 2px">
457
+ <input class="select-style" placeholder="计划名称" type="text" v-model="plan" style="border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 35px"/>
458
+ </div>
459
+ <div class="col-xs-1" >
460
+ <!--<label style="font-size: 20px;line-height: 35px">计划</label>-->
461
+ </div>
462
+ <!--<input placeholder="安检员" type="text" v-model="check" style="height:30px;width: 100px"/>-->
463
+ <div class="col-xs-2" style="float: right">
464
+ <button type="button" class="btn btn-primary" @click="plansearch" style="background-color:#499edf;float: right;margin-right:10px;border: 1px solid #93B2D3;height:34px;width: 100%;line-height: 1px;padding-left: 12px">查询</button>
465
+ </div>
466
+ </div>
467
+ <table class="table table_sy">
468
+ <thead>
469
+ <tr>
470
+ <th style="width: 30px"></th>
471
+ <th style="font-family: 'Adobe 黑体 Std R'">计划名称</th>
472
+ </tr>
473
+ </thead>
474
+ <tbody>
475
+ <tr v-for="row in planoption">
476
+ <td @click="select(row, $index)" >{{row.selected==true ? '☆' : '&nbsp;&nbsp;&nbsp;&nbsp;'}}</td>
477
+ <td @click="select(row, $index)" style="text-align: center">{{row.label}}</td>
478
+
479
+
480
+ </tr>
481
+ </tbody>
482
+ </table>
483
+ </div>
484
+ <div slot="modal-footer" class="modal-footer">
485
+ <button class="btn btn-default" @click="manyisok()">确认</button>
486
+ <button class="btn btn-default" @click="iscancel()">取消</button>
487
+ </div>
488
+ </modal>
489
+ </div>
490
+
491
+ </template>
492
+
493
+ <script>
494
+ import LocalPagedList from '../../../plugins/LocalPagedList'
495
+ import Vue from 'vue'
496
+ import { PagedList,HttpResetClass } from 'vue-client'
497
+ import * as Util from '../../Util'
498
+ import co from 'co'
499
+ import {isEmpty} from '../../Util'
500
+ let select = function * (self) {
501
+ let http = new HttpResetClass()
502
+ http.load('POST', `${self.$androidUtil.getProxyUrl()}/rs/search`, {
503
+ source: 'this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)',
504
+ userid: Vue.user.orgid
505
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
506
+ //tag
507
+ self.checkers.push({label:'全部',value:''})
508
+ res.data.forEach((checker)=>{
509
+ self.checkers.push({label:checker.name,value:checker.id})
510
+ })
511
+ })
512
+ }
513
+ export default {
514
+ title: '无计划安检查询',
515
+ props: ['planName','f_residential_area','f_building'],
516
+ data() {
517
+ return {
518
+ f_filialeids:'('+Vue.user.orgid+')',
519
+ //f_filialeids:'(305)',
520
+ planparam:[],
521
+ check:'',
522
+ plan:'',
523
+ planid:'',
524
+ model:Vue.android? new LocalPagedList('androidGetuserinfo',20,{condition:'this.condition'}): new PagedList( 'AndroidRest/api/af-safecheck/sql/androidGetuserinfo',20,{condition:'this.condition'}),
525
+ showModal: false,
526
+ showModal2:false,
527
+ showModal3:false,
528
+ needid:'',
529
+ criteriaShow: false,
530
+ planoption:[],
531
+ condition:'',
532
+ checkers:[],
533
+ param: null,
534
+ f_preset_dt : Util.to3339TimeString(),
535
+ flow_direction:[
536
+ {label: '请选择挂表方式', value: ''},
537
+ {label: '左表', value: '左表'},
538
+ {label: '右表', value: '右表'}
539
+ ],
540
+ check_states: [
541
+ {label: '请选择安检状态', value: ''},
542
+ {label: '未检', value: '未检'},
543
+ {label: '已检', value: '已检'},
544
+ ],
545
+ last_check_states: [
546
+ {label: '请选择上次安检状态', value: ''},
547
+ {label: '入户', value: '入户'},
548
+ {label: '拒检', value: '拒检'},
549
+ {label: '到访不遇', value: '到访不遇'},
550
+ {label: '未使用天然气', value: '未使用天然气'}
551
+ ],
552
+ upload_states: [
553
+ {label: '请选择上传状态', value: ''},
554
+ {label: '未传', value: '未传'},
555
+ {label: '已传', value: '已传'}
556
+ ],
557
+ user_types: [
558
+ {label: '请选择用户类型', value: ''},
559
+ {label: '民用', value: '民用'},
560
+ {label: '非民用', value: '非民用'},
561
+ ],
562
+ verify_state: [
563
+ {label: '请选择审核状态', value: ''},
564
+ {label: '未审核', value: '未审核'},
565
+ {label: '打回', value: '打回'}
566
+ ],
567
+ residentialAreaOptions: [],
568
+ buildOptions: [],
569
+ unitOptions: [],
570
+ planNameOptions: [],
571
+ upcomingCount: 0,
572
+ doneCount: 0,
573
+ tempSaveCount: 0,
574
+ allPlanCount: 0
575
+ }
576
+ },
577
+ ready(){
578
+ // this.getAllArea()
579
+ this.getAllPlanName()
580
+ if (!isEmpty(this.f_residential_area)){
581
+ this.$refs.paged.$refs.cri.model.f_residential_area = this.f_residential_area
582
+ }
583
+ if (!isEmpty(this.f_building)){
584
+ this.$refs.paged.$refs.cri.model.f_building = this.f_building
585
+ }
586
+ this.getUnits(this.f_building)
587
+ this.selfSearch()
588
+ let gen = select(this)
589
+ co(gen)
590
+ },
591
+ mounted(){
592
+ //tag
593
+ if (window.history && window.history.pushState) {
594
+ history.pushState(null, null, document.URL);
595
+ window.addEventListener('popstate', this.fun, false);//false阻止默认事件
596
+ }
597
+ },
598
+ destroyed(){
599
+ //tag
600
+ window.removeEventListener('popstate', this.fun, false);//false阻止默认事件
601
+ },
602
+ methods: {
603
+ getLastCheckStateStyle(state){
604
+ switch(state) {
605
+ case '入户': return '#00ff71'
606
+ case '拒检': return '#00f3ff'
607
+ case '到访不遇': return '#fff600'
608
+ default: return 'transparent'
609
+ }
610
+ },
611
+ scan(){
612
+ HostApp.__this__=this,
613
+ HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
614
+ },
615
+ getCode(){
616
+ const datapa = HostApp.getCode().data;
617
+ //tag
618
+ this.$refs.paged.$refs.cri.model.f_meter_no = datapa
619
+
620
+ },
621
+ fun () {
622
+ //tag
623
+ //tag
624
+ },
625
+ iscancel(){
626
+ this.showModal2=false
627
+ this.showModal3=false
628
+ this.planoption=[]
629
+ },
630
+ timeSet(val){
631
+ return val
632
+ },
633
+ async isok(){
634
+ if(this.planoption.length==0){
635
+ this.$showMessage("请选择计划")
636
+ return false
637
+ }
638
+ for (let i = 0; i <this.planoption.length ; i++) {
639
+ if (this.planoption[i]["selected"]==true){
640
+ this.planid=this.planoption[i].value
641
+ break
642
+ }
643
+ }
644
+ if(this.planid==''){
645
+ this.$showMessage("请选择计划")
646
+ return false
647
+ }
648
+ await this.okput()
649
+ },
650
+ async manyisok(){
651
+ if(this.planoption.length==0){
652
+ this.$showMessage("请选择计划")
653
+ return false
654
+ }
655
+ for (let i = 0; i <this.planoption.length ; i++) {
656
+ if (this.planoption[i]["selected"]==true){
657
+ this.planid=this.planoption[i].value
658
+ break
659
+ }
660
+ }
661
+ if(this.planid==''){
662
+ this.$showMessage("请选择计划")
663
+ return false
664
+ }
665
+ await this.manyokput()
666
+ },
667
+ changenull(){
668
+ this.showModal2=false
669
+ this.showModal3=false
670
+ this.planoption=[]
671
+ this.plan=''
672
+ this.check=''
673
+ },
674
+ async okput(){
675
+ let result = this.$androidUtil.bzLogic('UpCheckPlanItemAndroid', {condition:`id='`+this.needid+`'`,f_plan_id:this.planid})
676
+ if (result.code == 200) {
677
+ let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/UpCheckPlanItem`, {data:{
678
+ condition:`i.id='`+this.needid+`'`,
679
+ f_plan_id:this.planid,
680
+ switchCheckAll:false,
681
+ checkAll:false,
682
+ f_operator:Vue.user.name
683
+ }
684
+ })
685
+ await this.changenull()
686
+ }
687
+ },
688
+ async manyokput(){
689
+ let condition = `1=1`
690
+ let criteria = {
691
+ items: 'id',
692
+ tablename: 't_check_plan',
693
+ condition: `f_checker_id = '${Vue.user.id}'`,
694
+ groupitem: 'id'
695
+ }
696
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
697
+ if (result.code==200){
698
+ condition = `1=1 and i.f_plan_id in (${result.data.rows.map(row => { return `'${row.id}'` }).join()})`
699
+ }
700
+ let result2 = this.$androidUtil.bzLogic('UpCheckPlanItemAndroid', {condition:`f_plan_id in (${result.data.rows.map(row => { return `'${row.id}'` }).join()})`,f_plan_id:this.planid})
701
+ if (result2.code == 200) {
702
+ let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/UpCheckPlanItem`, {data:{
703
+ columnName:"i.id",
704
+ condition:condition,
705
+ f_plan_id:this.planid,
706
+ switchCheckAll:true,
707
+ param:this.planparam,
708
+ checkAll:true,
709
+ f_operator:Vue.user.name
710
+ }
711
+ })
712
+ await this.changenull()
713
+ }
714
+ },
715
+ async plansearch(){
716
+ this.planoption=[]
717
+ let condition= ` f_plan_year=${new Date().getFullYear()}`
718
+ if(this.check){
719
+ condition += ` and f_checker_id= '${this.check}'`
720
+ }
721
+ if(this.plan){
722
+ condition += ` and f_plan_name like '%${this.plan}%'`
723
+ }
724
+ let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/预约计划下发`, {data:{
725
+ condition:condition,
726
+ f_filialeids:this.f_filialeids,
727
+ groupitem:'',
728
+ orderitem:'id'
729
+ }})
730
+ let resoult=res.data
731
+ for (let i = 0; i < resoult.length; i++) {
732
+ this.planoption.push({label: resoult[i].f_plan_name,selected:false, value: resoult[i].id})
733
+ }
734
+ },
735
+
736
+ select(row, idx) {
737
+ this.$set('planoption[' + idx + '].selected', true)
738
+ for (let i = 0; i <this.planoption.length ; i++) {
739
+ if (i!=idx){
740
+ this.planoption[i]["selected"]=false
741
+ }
742
+ }
743
+ },
744
+ planclose(){
745
+ this.showModal2=false
746
+ this.showModal3=false
747
+ },
748
+ queryplan(val){
749
+ this.needid=val
750
+ this.showModal2 = true
751
+ },
752
+ queryplanmany(){
753
+
754
+ this.showModal3 = true
755
+ },
756
+ reload(){
757
+ // this.getAllArea()
758
+ // this.getAllPlanName()
759
+ this.selfSearch()
760
+ },
761
+ cancelReserve (idx, id) {
762
+ if(Vue.android){
763
+ let res = this.$androidUtil.bzLogic('BookingCheck', {dt: '', id: id})
764
+ this.$set('model.rows[' + idx + '].f_prearranged_date', null)
765
+ if (res.code == 200) {
766
+ this.$showMessage("取消预约成功")
767
+ }
768
+ }else {
769
+ this.$androidUtil.bzLogic('PCbookingCheck', {dt: '', id: id}).then((repanse) => {
770
+ this.$set('model.rows[' + idx + '].f_prearranged_date', null)
771
+ if (repanse.data.code == 200) {
772
+ alert("取消预约成功!")
773
+ }
774
+ })
775
+ }},
776
+ genuineReserve () {
777
+ if(Vue.android){
778
+ if (!this.f_preset_dt) {
779
+ this.$showMessage('请选择一个日期')
780
+ return
781
+ }
782
+ let pdt = this.f_preset_dt.replace('T', ' ')
783
+ let respanse = this.$androidUtil.bzLogic('BookingCheck', {id: this.model.rows[this.param].id, dt: pdt})
784
+ this.$set('model.rows[' + this.param + '].f_prearranged_date', pdt)
785
+ if(respanse.code == 200) {
786
+ this.$showMessage("预约成功!")
787
+ }
788
+ this.showModal = false
789
+ }else {
790
+ if (!this.f_preset_dt) {
791
+ alert('请选择一个日期')
792
+ return
793
+ }
794
+ let pdt = this.f_preset_dt.replace('T', ' ')
795
+ this.$androidUtil.bzLogic('PCbookingCheck', {id: this.model.rows[this.param].id, dt: pdt}).then((res) => {
796
+ this.$set('model.rows[' + this.param + '].f_prearranged_date', pdt)
797
+ if(res.data.code == 200) {
798
+ alert("预约成功!")
799
+ }
800
+ this.showModal = false
801
+ })
802
+ }
803
+ },
804
+ inspect(row) {
805
+ var _this = this
806
+ try {
807
+ let http = new HttpResetClass()
808
+ http.load('POST',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
809
+ items: 'id',
810
+ tablename: 't_check_plan_item',
811
+ condition: `id = '${row.id}'`,
812
+ orderitem: ' id '
813
+ }}, {resolveMsg: null, rejectMsg: null}).then((getcheckplan) => {
814
+ this.getcheckplandata = getcheckplan.data[0]
815
+ if(this.getcheckplandata){
816
+ if (row.f_no_checkplan != '无计划安检') {
817
+ _this.$resetpost(`${_this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/查询计划项表信息`, {data: {f_userid: row.f_userinfoid}},{resolveMsg: null,rejectMsg: null}).then((response) => {
818
+ row['f_plan_meters'] = response.data
819
+ var pardate = {
820
+ _this:_this,
821
+ title:'安全检查',
822
+ safe:true
823
+ }
824
+ _this.$dispatch('gotoson',pardate)
825
+ //tag
826
+ _this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',parentPage:'CurrentCreate'}, 'self', _this.reload)
827
+ }).catch ((msg)=>{
828
+ this.noLineInspect(row)
829
+ this.$showMessage("网络异常,请检查网络后再试!")
830
+ })
831
+ }
832
+ }else {
833
+ this.$showMessage("该用户安检单已被移除,请联系管理员确认!")
834
+ }
835
+ }).catch((e)=>{
836
+ this.noLineInspect(row)
837
+ })
838
+ }catch (e){
839
+ this.noLineInspect(row)
840
+ }
841
+ },
842
+ noLineInspect(row){
843
+ let _this = this
844
+ let criteria = {
845
+ items: ' * ',
846
+ tablename: ' t_plan_item_meter ',
847
+ condition: ` f_plan_item_id = '${row.id}' `,
848
+ orderitem: ' 1 '
849
+ }
850
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_OrderBy', 'criteria': criteria}})
851
+ if(result.code == 200){
852
+ row.f_plan_meters = [result.data.rows[0]]
853
+ var pardate = {
854
+ _this:_this,
855
+ title:'安全检查',
856
+ safe:true
857
+ }
858
+ _this.$dispatch('gotoson',pardate)
859
+ _this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',parentPage:'CurrentCreate'}, 'self', _this.reload)
860
+ }
861
+ },
862
+ makeAPhoneCall(phoneNumber) {
863
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
864
+ },
865
+ reserve (idx) {
866
+ this.param = idx
867
+ this.showModal = true
868
+ },
869
+ search(args) {
870
+ this.model.rows = []
871
+ this.model.search(args.condition, args.model)
872
+ },
873
+ selfSearch () {
874
+ this.getPlanCount()
875
+ let condition = ""
876
+ if (Array.isArray(this.$refs.paged.$refs.cri.model.f_residential_area) && this.$refs.paged.$refs.cri.model.f_residential_area.length >0){
877
+ condition += " and ti.f_residential_area = '"+this.$refs.paged.$refs.cri.model.f_residential_area[0]+"'"
878
+ }else if(typeof this.$refs.paged.$refs.cri.model.f_residential_area == 'string' && this.$refs.paged.$refs.cri.model.f_residential_area){
879
+ condition += " and ti.f_residential_area = '"+this.$refs.paged.$refs.cri.model.f_residential_area+"'"
880
+ }
881
+ if(this.$refs.paged.$refs.cri.model.f_building)
882
+ condition += ` and ti.f_building = '${this.$refs.paged.$refs.cri.model.f_building}'`
883
+ if(this.$refs.paged.$refs.cri.model.f_unit)
884
+ condition += ` and ti.f_unit = '${this.$refs.paged.$refs.cri.model.f_unit}'`
885
+ if (this.planName){
886
+ condition += " and f_plan_name like '%"+this.planName +"%'"
887
+ }else {
888
+ if(this.$refs.paged.$refs.cri.model.f_plan_name)
889
+ condition += " and f_plan_name like '%"+this.$refs.paged.$refs.cri.model.f_plan_name +"%'"
890
+ }
891
+ // if(this.$refs.paged.$refs.cri.model.f_plan_year)
892
+ // condition += " and f_plan_year = '"+this.$refs.paged.$refs.cri.model.f_plan_year +"'"
893
+ // if(this.$refs.paged.$refs.cri.model.f_plan_month)
894
+ // condition += " and f_plan_month = '"+this.$refs.paged.$refs.cri.model.f_plan_month +"'"
895
+ if(this.$refs.paged.$refs.cri.model.f_userinfo_code)
896
+ condition += " and ti.f_userinfo_code like '%"+this.$refs.paged.$refs.cri.model.f_userinfo_code+"%'"
897
+ if(this.$refs.paged.$refs.cri.model.f_keyword)
898
+ condition += " and ti.f_address like '%"+this.$refs.paged.$refs.cri.model.f_keyword+"%'"
899
+ if(this.$refs.paged.$refs.cri.model.f_user_name)
900
+ condition += " and ti.f_user_name like '%"+this.$refs.paged.$refs.cri.model.f_user_name+"%'"
901
+ if(this.$refs.paged.$refs.cri.model.f_state[0])
902
+ condition += " and ti.f_state='"+this.$refs.paged.$refs.cri.model.f_state[0]+"'"
903
+ if(this.$refs.paged.$refs.cri.model.f_last_state[0])
904
+ condition += " and ti.f_last_check_state='"+this.$refs.paged.$refs.cri.model.f_last_state[0]+"'"
905
+ if(this.$refs.paged.$refs.cri.model.f_user_type[0])
906
+ condition += " and ti.f_user_type='"+this.$refs.paged.$refs.cri.model.f_user_type[0]+"'"
907
+ if(this.$refs.paged.$refs.cri.model.f_meter_no)
908
+ condition += " and tm.f_meter_no like '%"+this.$refs.paged.$refs.cri.model.f_meter_no+"%'"
909
+ // if(this.$refs.paged.$refs.cri.model.f_flow_direction[0])
910
+ // condition += " and tm.f_flow_direction = '"+this.$refs.paged.$refs.cri.model.f_flow_direction[0]+"'"
911
+ if(this.$refs.paged.$refs.cri.model.f_user_phone){
912
+ condition += `and ti.f_user_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%'`
913
+ }
914
+ if(this.$refs.paged.$refs.cri.model.f_enter_number)
915
+ condition += " and ti.f_enter_number like '%"+this.$refs.paged.$refs.cri.model.f_enter_number+"%'"
916
+ if(this.$refs.paged.$refs.cri.model.f_check_version)
917
+ condition += " and ti.f_check_version <= "+this.$refs.paged.$refs.cri.model.f_check_version
918
+ //tag
919
+ this.model.search("ti.f_no_checkplan = '有计划安检'" + condition)
920
+ },
921
+ getNewOrder(){
922
+ HostApp.__this__ = this
923
+ HostApp.logicWithHint({
924
+ // logic别名,key必须为logic
925
+ 'logic': 'SafeCheckServiceTimeOut',
926
+ // 回调执行方法名,key必须为callback
927
+ 'callback': 'javascript:HostApp.__this__.getNewOrderCallBack()',
928
+ // logic执行需要的业务参数
929
+ 'data': {params: ''},
930
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
931
+ // 执行回调方法传入key为backresult
932
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
933
+ 'backresult': 1
934
+ })
935
+ HostApp.logicWithHint({
936
+ // logic别名,key必须为logic
937
+ 'logic': 'FreshPlanItem',
938
+ // 回调执行方法名,key必须为callback
939
+ 'callback': 'javascript:HostApp.__this__.getNewOrderCallBack()',
940
+ // logic执行需要的业务参数
941
+ 'data': {params: ''},
942
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
943
+ // 执行回调方法传入key为backresult
944
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
945
+ 'backresult': 1
946
+ })
947
+ },
948
+ getNewOrderCallBack() {
949
+ this.selfSearch()
950
+ this.getAllArea()
951
+ this.getAllPlanName()
952
+ },
953
+ hidden() {
954
+ this.criteriaShow = !this.criteriaShow
955
+ },
956
+ getAllArea(){
957
+ this.residentialAreaOptions = []
958
+ this.buildOptions = []
959
+ this.unitOptions = []
960
+ this.$refs.paged.$refs.cri.model.f_unit = ''
961
+ let criteria = {
962
+ items: 'f_residential_area',
963
+ tablename: 't_check_plan_item',
964
+ condition: `f_residential_area IS NOT NULL AND f_residential_area != ''`,
965
+ groupitem: 'f_residential_area'
966
+ }
967
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
968
+ //tag)
969
+ if(result.code == 200){
970
+ result.data.rows.forEach(item => this.residentialAreaOptions.push({label:item.f_residential_area,value:item.f_residential_area}))
971
+ }
972
+ //tag)
973
+ },
974
+ getbuilds(f_residential_area){
975
+ //tag)
976
+ this.buildOptions = []
977
+ this.unitOptions = []
978
+ this.$refs.paged.$refs.cri.model.f_unit = ''
979
+ if(!f_residential_area){
980
+ return
981
+ }
982
+ let criteria = {
983
+ items: 'f_building',
984
+ tablename: 't_check_plan_item',
985
+ condition: `f_building IS NOT NULL AND f_building != '' AND f_residential_area = '${f_residential_area}'`,
986
+ groupitem: 'f_building order by f_building+0'
987
+ }
988
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
989
+ if(result.code == 200){
990
+ result.data.rows.forEach(item => this.buildOptions.push({label:item.f_building,value:item.f_building}))
991
+ }
992
+ this.buildOptions.sort((a,b)=>{
993
+ return Number(a.label)- Number(b.label)
994
+ })
995
+ //tag)
996
+ },
997
+ getUnits(f_building){
998
+ //tag)
999
+ this.unitOptions = []
1000
+ this.$refs.paged.$refs.cri.model.f_unit = ''
1001
+ if(!f_building){
1002
+ return
1003
+ }
1004
+ let criteria = {
1005
+ items: 'f_unit',
1006
+ tablename: 't_check_plan_item',
1007
+ condition: `f_unit IS NOT NULL AND f_unit != '' AND f_residential_area = '${this.$refs.paged.$refs.cri.model.f_residential_area}' AND f_building = '${f_building}'`,
1008
+ groupitem: 'f_unit'
1009
+ }
1010
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1011
+ if(result.code == 200){
1012
+ result.data.rows.forEach(item => this.unitOptions.push({label:item.f_unit,value:item.f_unit}))
1013
+ }
1014
+ },
1015
+ getPlanCount(){
1016
+ this.upcomingCount = 0
1017
+ this.tempSaveCount = 0
1018
+ this.doneCount = 0
1019
+ this.allPlanCount = 0
1020
+ let criteria = {
1021
+ items: 'count(id) count',
1022
+ tablename: 't_check_plan_item',
1023
+ condition: `f_state = '未检'`,
1024
+ groupitem: 'f_state'
1025
+ }
1026
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1027
+ if(result.code && result.code == 200){
1028
+ if(result.data.rows[0] && !isNaN(result.data.rows[0].count)) {
1029
+ this.upcomingCount = result.data.rows[0].count
1030
+ }
1031
+ }
1032
+ criteria = {
1033
+ items: 'count(id) count',
1034
+ tablename: 't_check_plan_item',
1035
+ condition: `(f_complete = '' or f_complete is null or f_complete = '未完成') AND f_state = '已检'`,
1036
+ groupitem: 'f_state'
1037
+ }
1038
+ result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1039
+ if(result.code && result.code == 200){
1040
+ if(result.data.rows[0] && !isNaN(result.data.rows[0].count)){
1041
+ this.tempSaveCount = result.data.rows[0].count
1042
+ }
1043
+ }
1044
+ criteria = {
1045
+ items: 'count(id) count',
1046
+ tablename: 't_check_plan_item',
1047
+ condition: `f_complete = '已完成' AND f_state = '已检'`,
1048
+ groupitem: 'f_state'
1049
+ }
1050
+ result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1051
+ if(result.code && result.code == 200){
1052
+ if(result.data.rows[0] && !isNaN(result.data.rows[0].count)){
1053
+ this.doneCount = result.data.rows[0].count
1054
+ }
1055
+ }
1056
+ this.allPlanCount = this.upcomingCount + this.tempSaveCount + this.doneCount
1057
+
1058
+ //tag
1059
+ //tag
1060
+ //tag
1061
+ //tag
1062
+ },
1063
+ getAllPlanName(){
1064
+ this.planNameOptions = []
1065
+ this.$refs.paged.$refs.cri.model.f_plan_name = ''
1066
+ let criteria = {
1067
+ items: 'f_plan_name',
1068
+ tablename: 't_check_plan',
1069
+ condition: `f_plan_name IS NOT NULL AND f_plan_name != ''`,
1070
+ groupitem: 'f_plan_name'
1071
+ }
1072
+ let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
1073
+ //tag)
1074
+ if(result.code == 200){
1075
+ result.data.rows.forEach(item => this.planNameOptions.push({label:item.f_plan_name,value:item.f_plan_name}))
1076
+ }
1077
+ //tag)
1078
+ },
1079
+ setPlanParam(detailsType, event) {
1080
+ if (event.srcElement.checked) {
1081
+ this.planparam.push(detailsType)
1082
+ //tag
1083
+ } else {
1084
+ if(this.planparam.length>0){
1085
+ let planid= this.planparam.findIndex((value) => {
1086
+ return value === detailsType
1087
+ })
1088
+ this.planparam.splice(planid, 1)
1089
+ //tag
1090
+
1091
+ }
1092
+
1093
+ }
1094
+ }
1095
+ }
1096
+ }
1097
+ </script>