safecheck-client 4.0.2-1 → 4.0.2-11

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 (262) hide show
  1. package/package.json +132 -132
  2. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  3. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  4. package/src/components/Util/RightTreeSafeDep.vue +362 -362
  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/CurrentCreateYy.vue +1051 -1051
  9. package/src/components/android/DailyworkloadQuery.vue +473 -473
  10. package/src/components/android/Devices.vue +327 -327
  11. package/src/components/android/Devicesm.vue +327 -327
  12. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  13. package/src/components/android/PhoneRecordInfo.vue +113 -113
  14. package/src/components/android/PhoneSellInfo.vue +113 -113
  15. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  16. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  17. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  18. package/src/components/android/SafePlanItem.vue +509 -509
  19. package/src/components/android/UploadPage.vue +232 -232
  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/map/PersonTrack.vue +226 -226
  37. package/src/components/paper/RegionalList.vue +220 -220
  38. package/src/components/paper/safetyledger.vue +194 -0
  39. package/src/components/pc/AnnouncementPC.vue +524 -524
  40. package/src/components/pc/DefectList.vue +742 -742
  41. package/src/components/pc/DefectMaterialLook.vue +98 -98
  42. package/src/components/pc/DeviceChange.vue +1068 -1068
  43. package/src/components/pc/PaperDefectMain.vue +905 -905
  44. package/src/components/pc/RoleSelectorDep.vue +166 -166
  45. package/src/components/pc/SafeVisitInfo.vue +261 -261
  46. package/src/components/planmanage/PlanManage.vue +10 -1
  47. package/src/components/report/CheckByPlan.vue +1 -1
  48. package/src/components/report/HiddenSituation.vue +165 -165
  49. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  50. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  51. package/src/components/rongcheng/DefectList.vue +560 -560
  52. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  53. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  54. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  55. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  56. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  57. package/src/components/shaoguan/DefectList.vue +473 -473
  58. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  59. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  60. package/src/components/userfile/SecurityAudit.vue +243 -243
  61. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  62. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  63. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  64. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  65. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  66. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  67. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  68. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  69. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  70. package/src/filiale/bayan/android/Edit.vue +132 -132
  71. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  72. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  73. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  74. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  75. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  76. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  77. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  78. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  79. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  80. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  81. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  82. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  83. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  84. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  85. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  86. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  87. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  88. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  89. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  90. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  91. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  92. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  93. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  94. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  95. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  96. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  97. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  98. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  99. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  100. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  101. package/src/filiale/jinhong/android/CurrentCreate.vue +8 -4
  102. package/src/filiale/jinhong/pc/CheckBookList.vue +393 -393
  103. package/src/filiale/jinhong/pc/PaperList.vue +853 -853
  104. package/src/filiale/jinhong/pc/PlanManage.vue +927 -927
  105. package/src/filiale/jinhong/pc/checkPlanList.vue +420 -420
  106. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  107. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  108. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  109. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  110. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  111. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  112. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  113. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  114. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  115. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  116. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  117. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  118. package/src/filiale/libo/android/CurrentCreate.vue +1091 -1091
  119. package/src/filiale/libo/android.js +15 -15
  120. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  121. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  122. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  123. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  124. package/src/filiale/meihekou/android/MeterReading.vue +110 -110
  125. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1307
  126. package/src/filiale/meihekou/android/SafecheckDevices.vue +6 -3
  127. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2448 -2446
  128. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  129. package/src/filiale/meihekou/pc/CheckDetail.vue +208 -0
  130. package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
  131. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  132. package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
  133. package/src/filiale/meihekou/pc.js +17 -15
  134. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  135. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  136. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  137. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  138. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  139. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  140. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  141. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  142. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  143. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  144. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  145. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  146. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  147. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  148. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +359 -359
  149. package/src/filiale/qingjian/pc.js +15 -15
  150. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  151. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  152. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  153. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  154. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  155. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  156. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  157. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  158. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  159. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  160. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  161. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  162. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  163. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  164. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  165. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  166. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  167. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  168. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  169. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  170. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  171. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  172. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  173. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  174. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  175. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  176. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  177. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  178. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  179. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -1976
  180. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -891
  181. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -798
  182. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  183. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  184. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  185. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  186. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  187. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  188. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  189. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  190. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  191. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  192. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  193. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  194. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  195. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  196. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  197. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  198. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  199. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  200. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  201. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  202. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  203. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  204. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  205. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  206. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  207. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  208. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  209. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  210. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  211. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  212. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  213. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  214. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  215. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  216. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  217. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  218. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  219. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  220. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  221. package/src/filiale/xiangyuanzhongai/android/AreaPlan.vue +570 -570
  222. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  223. package/src/filiale/xiangyuanzhongai/android/safeHistoryLook.vue +478 -478
  224. package/src/filiale/xiangyuanzhongai/android.js +16 -16
  225. package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
  226. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  227. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  228. package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
  229. package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
  230. package/src/filiale/xinliansihui/pc.js +13 -0
  231. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  232. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  233. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  234. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  235. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  236. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  237. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  238. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  239. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  240. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  241. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  242. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  243. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  244. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  245. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  246. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  247. package/src/filiale/yunchengminsheng/android.js +15 -15
  248. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -811
  249. package/src/filiale/yunchengminsheng/pc.js +15 -15
  250. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  251. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  252. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  253. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  254. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  255. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  256. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  257. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  258. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  259. package/src/main.js +32 -33
  260. package/src/safecheck.js +927 -924
  261. package/.trae/.ignore +0 -0
  262. package/.vscode/settings.json +0 -3
@@ -1,220 +1,220 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:paged >
5
- <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-2">
9
- <label class="control-label">公&emsp;&emsp;司</label>
10
- <right-tree @re-res="$parent.$parent.getRes" :initresid="$login.f.orgid">
11
- </right-tree>
12
- </div>
13
- <div class="form-group col-sm-2" >
14
- <label class="font_normal_body">区域</label>
15
- <v-select :value.sync="model.f_name" v-model='model.f_name'
16
- :value-single="true" style="width: 60%"
17
- class="select_list select"
18
- :options='$parent.$parent.areaList' placeholder='区域'
19
- close-on-select
20
- condition="f_name = '{}'"></v-select>
21
- </div>
22
- <div class="form-group col-sm-2" >
23
- <label class="font_normal_body">调压箱</label>
24
- <v-select :value.sync="model.f_adjustable_id" v-model='model.f_adjustable_id'
25
-
26
- :value-single="true" style="width: 60%"
27
- class="select_list select"
28
- :options='$parent.$parent.boxOptions' placeholder='调压箱'
29
- close-on-select
30
- condition="f_adjustable_id = '{}'"></v-select>
31
- </div>
32
- <div class="form-group col-sm-2" >
33
- <label class="font_normal_body">安检时间</label>
34
- <datepicker
35
- :default="true"
36
- :value.sync="model.start"
37
- placeholder='开始时间' style="width: 60%"
38
- :disabled-days-of-week="[]"
39
- :format="'yyyy-MM-dd 00:00:00'"
40
- :show-rest-button="reset"
41
- v-model="model.start"
42
- >
43
- </datepicker>
44
- </div>
45
- <div class="form-group col-sm-2" >
46
- <label class="font_normal_body">安检时间</label>
47
- <datepicker
48
- :default="true"
49
- :value.sync="model.end"
50
- placeholder='结束时间' style="width: 60%"
51
- :disabled-days-of-week="[]"
52
- :format="'yyyy-MM-dd 23:59:00'"
53
- :show-rest-button="reset"
54
- v-model="model.end">
55
- </datepicker>
56
- </div>
57
- <button class="button_spacing button_search" @click="$parent.$parent.search()">查询</button>
58
- <div style="float: right" class="button_spacing"
59
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
60
- @click="$parent.$parent.hidden()"></div>
61
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
62
- </div>
63
- </div>
64
- </div>
65
- </criteria>
66
- <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
67
- <template partial='head'>
68
- <tr>
69
- <th>
70
- <nobr>公司</nobr>
71
- </th>
72
- <th>
73
- <nobr>区域</nobr>
74
- </th>
75
- <th>
76
- <nobr>调压箱</nobr>
77
- </th>
78
- <th>
79
- <nobr>总用户数</nobr>
80
- </th>
81
- <th>
82
- <nobr>已检数</nobr>
83
- </th>
84
- <th>
85
- <nobr>未检数</nobr>
86
- </th>
87
- <th>
88
- <nobr>到访不遇</nobr>
89
- </th>
90
- <th>
91
- <nobr>拒检数</nobr>
92
- </th>
93
- <th>
94
- <nobr>隐患数</nobr>
95
- </th>
96
- <th>
97
- <nobr>已处理数</nobr>
98
- </th>
99
- <th>
100
- <nobr>未处理数</nobr>
101
- </th>
102
- <th>
103
- <nobr>安检完成率</nobr>
104
- </th>
105
- </tr>
106
- </template>
107
- <template partial='body'>
108
- <td style="text-align: center">{{row.f_orgname}}</td>
109
- <td style="text-align: center">{{row.f_name}}</td>
110
- <td style="text-align: center">{{row.f_adjustable_name}}</td>
111
- <td style="text-align: center">{{row.usertotal}}</td>
112
- <td style="text-align: center">{{row.ruhutotal}}</td>
113
- <td style="text-align: center">{{row.usertotal-row.ruhutotal}}</td>
114
- <td style="text-align: center">{{row.buyutotal}}</td>
115
- <td style="text-align: center">{{row.jujiantotal}}</td>
116
- <td style="text-align: center">{{row.f_defect_count}}</td>
117
- <td style="text-align: center">{{row.f_repair_count}}</td>
118
- <td style="text-align: center">{{row.weichuli}}</td>
119
- <td style="text-align: center">{{row.ruhulv}}</td>
120
- </template>
121
- </data-grid>
122
- </criteria-paged>
123
- </div>
124
- </div>
125
- </template>
126
-
127
- <script>
128
- import {HttpResetClass, PagedList} from 'vue-client'
129
- import * as Util from "util";
130
- export default {
131
- title: '安检区域汇总',
132
- data() {
133
- let model = new PagedList('rs/sql/regionalCheckList', 20,{
134
- start: 'this.start',
135
- end: 'this.end',
136
- })
137
- model.start = ''
138
- model.end = ''
139
- return {
140
- model: model,
141
- f_filialeids: '',
142
- areaList: [],
143
- boxOptions: [],
144
- }
145
- },
146
- methods: {
147
- //获取区域信息
148
- async getAreaList() {
149
- let resp = await new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
150
- data: {
151
- items:'*',
152
- tablename: 't_region',
153
- condition: `f_orgid = '${this.$login.f.orgid}'`,
154
- orderitem:'id'
155
- }
156
- }, {resolveMsg: null, rejectMsg: null})
157
- //tag)
158
- const areas = [{label: '全部', value: ''}]
159
- for (const item of resp.data) {
160
- areas.push({
161
- label: item.f_name,
162
- value: item.f_name
163
- })
164
- }
165
- this.areaList = areas
166
- },
167
- getAdjustableList() {
168
- new HttpResetClass().load('post', `/rs/sql/adjustableboxQuery`,
169
- {data: {condition: '1 = 1'}},
170
- {
171
- resolveMsg: null,
172
- rejectMsg: null
173
- }).then((res) => {
174
- const boxOptions =[{label: '全部', value: ''}]
175
- for (const data of res.data) {
176
- const one = {
177
- label: data.f_adjustable_name,
178
- value: data.id
179
- }
180
- boxOptions.push(one)
181
- }
182
- this.boxOptions = boxOptions
183
- }).catch((msg) => {
184
- })
185
- },
186
- getRes(obj) {
187
- this.f_filialeids = this.$login.convertToIn(obj.resids);
188
- },
189
- hidden() {
190
- this.criteriaShow = !this.criteriaShow
191
- },
192
- refresh() {
193
- this.$refs.paged.$refs.criteria.search()
194
- },
195
- search() {
196
- this.$refs.paged.$refs.criteria.search()
197
- },
198
- selfSearch(args) {
199
- if(args.model.start!=''){
200
- this.model.start = args.model.start
201
- }
202
- if(args.model.end!=''){
203
- this.model.end = args.model.end
204
- }
205
- if(this.f_filialeids!=''){
206
- args.condition += ` and f_orgid in ${this.f_filialeids}`
207
-
208
- }
209
- this.model.search(args.condition, args.model)
210
- }
211
- },
212
- ready() {
213
- this.getAdjustableList()
214
- this.getAreaList()
215
- this.search()
216
- },
217
- watch: { }
218
-
219
- }
220
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged >
5
+ <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2">
9
+ <label class="control-label">公&emsp;&emsp;司</label>
10
+ <right-tree @re-res="$parent.$parent.getRes" :initresid="$login.f.orgid">
11
+ </right-tree>
12
+ </div>
13
+ <div class="form-group col-sm-2" >
14
+ <label class="font_normal_body">区域</label>
15
+ <v-select :value.sync="model.f_name" v-model='model.f_name'
16
+ :value-single="true" style="width: 60%"
17
+ class="select_list select"
18
+ :options='$parent.$parent.areaList' placeholder='区域'
19
+ close-on-select
20
+ condition="f_name = '{}'"></v-select>
21
+ </div>
22
+ <div class="form-group col-sm-2" >
23
+ <label class="font_normal_body">调压箱</label>
24
+ <v-select :value.sync="model.f_adjustable_id" v-model='model.f_adjustable_id'
25
+
26
+ :value-single="true" style="width: 60%"
27
+ class="select_list select"
28
+ :options='$parent.$parent.boxOptions' placeholder='调压箱'
29
+ close-on-select
30
+ condition="f_adjustable_id = '{}'"></v-select>
31
+ </div>
32
+ <div class="form-group col-sm-2" >
33
+ <label class="font_normal_body">安检时间</label>
34
+ <datepicker
35
+ :default="true"
36
+ :value.sync="model.start"
37
+ placeholder='开始时间' style="width: 60%"
38
+ :disabled-days-of-week="[]"
39
+ :format="'yyyy-MM-dd 00:00:00'"
40
+ :show-rest-button="reset"
41
+ v-model="model.start"
42
+ >
43
+ </datepicker>
44
+ </div>
45
+ <div class="form-group col-sm-2" >
46
+ <label class="font_normal_body">安检时间</label>
47
+ <datepicker
48
+ :default="true"
49
+ :value.sync="model.end"
50
+ placeholder='结束时间' style="width: 60%"
51
+ :disabled-days-of-week="[]"
52
+ :format="'yyyy-MM-dd 23:59:00'"
53
+ :show-rest-button="reset"
54
+ v-model="model.end">
55
+ </datepicker>
56
+ </div>
57
+ <button class="button_spacing button_search" @click="$parent.$parent.search()">查询</button>
58
+ <div style="float: right" class="button_spacing"
59
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
60
+ @click="$parent.$parent.hidden()"></div>
61
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </criteria>
66
+ <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
67
+ <template partial='head'>
68
+ <tr>
69
+ <th>
70
+ <nobr>公司</nobr>
71
+ </th>
72
+ <th>
73
+ <nobr>区域</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>调压箱</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>总用户数</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>已检数</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>未检数</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>到访不遇</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>拒检数</nobr>
92
+ </th>
93
+ <th>
94
+ <nobr>隐患数</nobr>
95
+ </th>
96
+ <th>
97
+ <nobr>已处理数</nobr>
98
+ </th>
99
+ <th>
100
+ <nobr>未处理数</nobr>
101
+ </th>
102
+ <th>
103
+ <nobr>安检完成率</nobr>
104
+ </th>
105
+ </tr>
106
+ </template>
107
+ <template partial='body'>
108
+ <td style="text-align: center">{{row.f_orgname}}</td>
109
+ <td style="text-align: center">{{row.f_name}}</td>
110
+ <td style="text-align: center">{{row.f_adjustable_name}}</td>
111
+ <td style="text-align: center">{{row.usertotal}}</td>
112
+ <td style="text-align: center">{{row.ruhutotal}}</td>
113
+ <td style="text-align: center">{{row.usertotal-row.ruhutotal}}</td>
114
+ <td style="text-align: center">{{row.buyutotal}}</td>
115
+ <td style="text-align: center">{{row.jujiantotal}}</td>
116
+ <td style="text-align: center">{{row.f_defect_count}}</td>
117
+ <td style="text-align: center">{{row.f_repair_count}}</td>
118
+ <td style="text-align: center">{{row.weichuli}}</td>
119
+ <td style="text-align: center">{{row.ruhulv}}</td>
120
+ </template>
121
+ </data-grid>
122
+ </criteria-paged>
123
+ </div>
124
+ </div>
125
+ </template>
126
+
127
+ <script>
128
+ import {HttpResetClass, PagedList} from 'vue-client'
129
+ import * as Util from "util";
130
+ export default {
131
+ title: '安检区域汇总',
132
+ data() {
133
+ let model = new PagedList('rs/sql/regionalCheckList', 20,{
134
+ start: 'this.start',
135
+ end: 'this.end',
136
+ })
137
+ model.start = ''
138
+ model.end = ''
139
+ return {
140
+ model: model,
141
+ f_filialeids: '',
142
+ areaList: [],
143
+ boxOptions: [],
144
+ }
145
+ },
146
+ methods: {
147
+ //获取区域信息
148
+ async getAreaList() {
149
+ let resp = await new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
150
+ data: {
151
+ items:'*',
152
+ tablename: 't_region',
153
+ condition: `f_orgid = '${this.$login.f.orgid}'`,
154
+ orderitem:'id'
155
+ }
156
+ }, {resolveMsg: null, rejectMsg: null})
157
+ //tag)
158
+ const areas = [{label: '全部', value: ''}]
159
+ for (const item of resp.data) {
160
+ areas.push({
161
+ label: item.f_name,
162
+ value: item.f_name
163
+ })
164
+ }
165
+ this.areaList = areas
166
+ },
167
+ getAdjustableList() {
168
+ new HttpResetClass().load('post', `/rs/sql/adjustableboxQuery`,
169
+ {data: {condition: '1 = 1'}},
170
+ {
171
+ resolveMsg: null,
172
+ rejectMsg: null
173
+ }).then((res) => {
174
+ const boxOptions =[{label: '全部', value: ''}]
175
+ for (const data of res.data) {
176
+ const one = {
177
+ label: data.f_adjustable_name,
178
+ value: data.id
179
+ }
180
+ boxOptions.push(one)
181
+ }
182
+ this.boxOptions = boxOptions
183
+ }).catch((msg) => {
184
+ })
185
+ },
186
+ getRes(obj) {
187
+ this.f_filialeids = this.$login.convertToIn(obj.resids);
188
+ },
189
+ hidden() {
190
+ this.criteriaShow = !this.criteriaShow
191
+ },
192
+ refresh() {
193
+ this.$refs.paged.$refs.criteria.search()
194
+ },
195
+ search() {
196
+ this.$refs.paged.$refs.criteria.search()
197
+ },
198
+ selfSearch(args) {
199
+ if(args.model.start!=''){
200
+ this.model.start = args.model.start
201
+ }
202
+ if(args.model.end!=''){
203
+ this.model.end = args.model.end
204
+ }
205
+ if(this.f_filialeids!=''){
206
+ args.condition += ` and f_orgid in ${this.f_filialeids}`
207
+
208
+ }
209
+ this.model.search(args.condition, args.model)
210
+ }
211
+ },
212
+ ready() {
213
+ this.getAdjustableList()
214
+ this.getAreaList()
215
+ this.search()
216
+ },
217
+ watch: { }
218
+
219
+ }
220
+ </script>
@@ -0,0 +1,194 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged >
5
+ <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2" >
9
+ <label class="font_normal_body">客户编号</label>
10
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
11
+ style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
12
+ </div>
13
+ <div class="form-group col-sm-2" >
14
+ <label class="font_normal_body">客户名称</label>
15
+ <input type="text" class="input_search" v-model="model.f_user_name"
16
+ style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
17
+ </div>
18
+ <div class="form-group col-sm-2" >
19
+ <label class="font_normal_body">客户电话</label>
20
+ <input type="text" class="input_search" v-model="model.f_user_phone"
21
+ style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
22
+ </div>
23
+ <div class="form-group col-sm-2" >
24
+ <label class="font_normal_body">详细地址</label>
25
+ <input type="text" class="input_search" v-model="model.f_address"
26
+ style="width: 60%" placeholder="详细地址" condition="f_address like '%{}%'">
27
+ </div>
28
+ <div class="form-group col-sm-2" >
29
+ <label class="font_normal_body">整改措施</label>
30
+ <v-select class="select_list select"
31
+ placeholder='请选择' style="width: 60%"
32
+ :value.sync="model.f_is_repaired"
33
+ v-model="model.f_is_repaired"
34
+ :options='$parent.$parent.repaired'
35
+ filer-key="name"
36
+ close-on-select clear-button
37
+ condition="f_is_repaired in {}"
38
+ :multiple="true">
39
+ </v-select>
40
+ </div>
41
+ <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
42
+ <export-excel :data="$parent.$parent.searchData"
43
+ :field="$parent.$parent.excelHeaders"
44
+ :choose-col="true"
45
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="safetyledger" template-name='安检台账记录'></export-excel>
46
+ <button class="button_spacing button_search" @click="search()">查询</button>
47
+ <div style="float: right" class="button_spacing"
48
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
49
+ @click="$parent.$parent.hidden()"></div>
50
+ </div>
51
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
52
+ <label class="font_normal_body">开始时间</label>
53
+ <datepicker
54
+ :value.sync="model.f_check_start"
55
+ placeholder='开始时间' style="width: 60%"
56
+ :disabled-days-of-week="[]"
57
+ :format="'yyyy-MM-dd'"
58
+ :show-rest-button="reset"
59
+ v-model="model.f_check_start"
60
+ condition="f_offsite_time > ='{} 00:00:00'">
61
+ </datepicker>
62
+ </div>
63
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
64
+ <label class="font_normal_body">结束时间</label>
65
+ <datepicker
66
+ :value.sync="model.f_check_end"
67
+ placeholder='结束时间' style="width: 60%"
68
+ :disabled-days-of-week="[]"
69
+ :format="'yyyy-MM-dd'"
70
+ :show-rest-button="reset"
71
+ v-model="model.f_check_end"
72
+ condition="f_offsite_time <= '{} 23:59:59'">
73
+ </datepicker>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ </criteria>
78
+ <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
79
+ <template partial='head'>
80
+ <tr>
81
+ <th>
82
+ <nobr>企业名称</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>检查时间</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>镇(街道)</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>地址</nobr>
92
+ </th>
93
+ <th>
94
+ <nobr>用户名称</nobr>
95
+ </th>
96
+ <th>
97
+ <nobr>用户编号</nobr>
98
+ </th>
99
+ <th>
100
+ <nobr>用户类型</nobr>
101
+ </th>
102
+ <th>
103
+ <nobr>用气类型</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>隐患类别</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>隐患描述</nobr>
110
+ </th>
111
+ <th>
112
+ <nobr>整改措施</nobr>
113
+ </th>
114
+ </tr>
115
+ </template>
116
+ <template partial='body'>
117
+ <td style="text-align: center">{{row.f_filiale_name}}</td>
118
+ <td style="text-align: center">{{row.f_offsite_time}}</td>
119
+ <td style="text-align: center">{{row.f_street}}</td>
120
+ <td style="text-align: center">{{row.f_address}}</td>
121
+ <td style="text-align: center">{{row.f_user_name}}</td>
122
+ <td style="text-align: center">{{row.f_userinfo_code}}</td>
123
+ <td style="text-align: center">{{row.f_user_type}}</td>
124
+ <td style="text-align: center">{{ row.f_gas_type }}</td>
125
+ <td style="text-align: center">{{ row.f_device_type }}</td>
126
+ <td style="text-align: center">{{ row.f_item_name }}</td>
127
+ <td style="text-align: center">{{ row.f_is_repaired }}</td>
128
+ </template>
129
+ </data-grid>
130
+ </criteria-paged>
131
+ </div>
132
+ </div>
133
+ </template>
134
+
135
+ <script>
136
+ import {PagedList} from 'vue-client'
137
+ import co from 'co'
138
+ import * as Util from '../Util'
139
+ import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
140
+ export default {
141
+ title: '隐患台账',
142
+ data() {
143
+ let model = new PagedList('api/af-safecheck/sql/safetyledger', 20)
144
+ return {
145
+ model: model,
146
+ criteriaShow:false,
147
+ repaired: [{label: '全部', value: ''}, {label: '用户自行整改', value: '用户自行整改'}, {label: '现场已处理', value: '现场已处理'}, {label: '维修已处理', value: '维修已处理'}, {label: '转维修', value: '转维修'}],
148
+ excelHeaders: {
149
+ 'f_userinfo_code': '客户编号',
150
+ 'f_user_name': '客户姓名',
151
+ 'f_user_phone':'客户电话',
152
+ 'f_user_type': '客户类型',
153
+ 'f_residential_area': '小区',
154
+ 'f_address': '客户地址',
155
+ 'f_offsite_time': '安检时间',
156
+ 'excel_export_p0':'隐患照片1',
157
+ 'excel_export_p1':'隐患照片2',
158
+ 'excel_export_p2':'隐患照片3',
159
+ 'excel_export_p3':'隐患照片4',
160
+ 'excel_export_repair':'处理照片1',
161
+ 'excel_export_repair1':'处理照片2',
162
+ 'excel_export_other_dealpath1':'处理照片3',
163
+ 'excel_export_other_dealpath2':'处理照片4',
164
+ },
165
+ }
166
+ },
167
+ ready() {
168
+ this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
169
+ this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
170
+ this.search()
171
+ },
172
+ methods: {
173
+ hidden() {
174
+ this.criteriaShow = !this.criteriaShow
175
+ },
176
+ search() {
177
+ this.$refs.paged.$refs.criteria.search()
178
+ },
179
+ selfSearch(args) {
180
+ this.model.search(args.condition, args.model, args.condValue)
181
+ }
182
+ },
183
+ computed :{
184
+ searchData() {
185
+ return {condition: this.model.condition}
186
+ }
187
+ },
188
+ watch: {
189
+ },
190
+ beforeDestroy() {
191
+
192
+ }
193
+ }
194
+ </script>