safecheck-client 4.0.1-40 → 4.0.1-41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +31 -31
  3. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  4. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  5. package/src/components/NewDefectList/DefectListNew.vue +663 -663
  6. package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
  7. package/src/components/Util/SafecheckUpload.vue +281 -281
  8. package/src/components/android/AddPlanItem.vue +447 -447
  9. package/src/components/android/AddPlanItemYy.vue +451 -451
  10. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  11. package/src/components/android/AndroidDefectDetails.vue +769 -769
  12. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  13. package/src/components/android/Devices.vue +327 -327
  14. package/src/components/android/Devicesm.vue +327 -327
  15. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  16. package/src/components/android/PhoneRecordInfo.vue +113 -113
  17. package/src/components/android/PhoneSellInfo.vue +113 -113
  18. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  19. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  20. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  21. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  22. package/src/components/android/SafePlanItem.vue +509 -509
  23. package/src/components/android/SafeRightTree.vue +218 -218
  24. package/src/components/android/SafecheckDevices.vue +1340 -1340
  25. package/src/components/android/examples/SafeListExamples.vue +296 -296
  26. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  27. package/src/components/android/recheck/Recheck.vue +402 -402
  28. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  29. package/src/components/checkplan/checkmsg.vue +459 -459
  30. package/src/components/defect/DefectList.vue +507 -507
  31. package/src/components/defect/DefectListWeixiu.vue +484 -484
  32. package/src/components/filialCircle/CircleList.vue +139 -139
  33. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  34. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  35. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  36. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  37. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  38. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  39. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  40. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  41. package/src/components/map/PersonTrack.vue +226 -226
  42. package/src/components/paper/PaperList.vue +797 -797
  43. package/src/components/paper/RegionalList.vue +220 -220
  44. package/src/components/pc/AnnouncementPC.vue +524 -524
  45. package/src/components/pc/CheckBook.vue +303 -303
  46. package/src/components/pc/CheckBookArea.vue +146 -146
  47. package/src/components/pc/CheckBookCompany.vue +144 -144
  48. package/src/components/pc/CheckBookDetails.vue +161 -161
  49. package/src/components/pc/CheckBookEntry.vue +60 -60
  50. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  51. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  52. package/src/components/pc/CheckBookSearchUser.vue +659 -659
  53. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  54. package/src/components/pc/DefectList.vue +742 -742
  55. package/src/components/pc/DeviceChange.vue +1068 -1068
  56. package/src/components/pc/PaperDefectMain.vue +880 -880
  57. package/src/components/pc/SafeVisitInfo.vue +261 -261
  58. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  59. package/src/components/report/HiddenSituation.vue +165 -165
  60. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  61. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  62. package/src/components/rongcheng/DefectList.vue +560 -560
  63. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  64. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  65. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  66. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  67. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  68. package/src/components/shaoguan/DefectList.vue +473 -473
  69. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  70. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  71. package/src/components/userfile/SecurityAudit.vue +243 -243
  72. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  73. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  74. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  75. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  76. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  77. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  78. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  79. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  80. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  81. package/src/filiale/bayan/android/Edit.vue +132 -132
  82. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  83. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  84. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  85. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  86. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  87. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  88. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  89. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  90. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  91. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  92. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  93. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  94. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  95. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  96. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  97. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  98. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  99. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  100. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  101. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  102. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  103. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  104. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  105. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  106. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  107. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  108. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  109. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  110. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  111. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  112. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  113. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  114. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  115. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  116. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  117. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  118. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  119. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  120. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  121. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  122. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  123. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  124. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  125. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  126. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  127. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  128. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  129. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  130. package/src/filiale/meihekou/android/CurrentCreate.vue +1038 -1038
  131. package/src/filiale/meihekou/android/MeterReading.vue +110 -110
  132. package/src/filiale/meihekou/android/PaperFeedback.vue +1542 -1542
  133. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1307
  134. package/src/filiale/meihekou/android/SafecheckDevices.vue +1340 -1340
  135. package/src/filiale/meihekou/android/SafecheckOrderV.vue +301 -287
  136. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  137. package/src/filiale/meihekou/android.js +22 -22
  138. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -0
  139. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  140. package/src/filiale/meihekou/pc/PaperList.vue +810 -0
  141. package/src/filiale/meihekou/pc.js +2 -0
  142. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  143. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  144. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  145. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  146. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  147. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  148. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  149. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  150. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  151. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  152. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  153. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  154. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  155. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  156. package/src/filiale/qingjian/pc.js +15 -15
  157. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  158. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  159. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  160. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  161. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  162. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  163. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  164. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  165. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  166. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  167. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  168. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  169. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  170. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  171. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  172. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  173. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  174. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  175. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  176. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  177. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  178. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  179. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  180. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  181. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  182. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  183. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  184. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  185. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  186. package/src/filiale/taiyuan/pc/DefectDeal.vue +1033 -1033
  187. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -1976
  188. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -891
  189. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -798
  190. package/src/filiale/taiyuan/pc.js +15 -15
  191. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  192. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  193. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  194. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  195. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  196. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  197. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  198. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  199. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  200. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  201. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  202. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  203. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  204. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  205. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  206. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  207. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  208. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  209. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  210. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  211. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  212. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  213. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  214. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  215. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  216. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  217. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  218. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  219. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  220. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  221. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  222. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  223. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  224. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  225. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  226. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  227. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  228. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  229. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  230. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  231. package/src/filiale/xinkang/android/AddPlanItem.vue +413 -413
  232. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  233. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1474 -1474
  234. package/src/filiale/xinkang/pc/PaperList.vue +596 -596
  235. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  236. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  237. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  238. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  239. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  240. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  241. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  242. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  243. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  244. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  245. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  246. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  247. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  248. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  249. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  250. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  251. package/src/filiale/yunchengminsheng/android.js +15 -15
  252. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -811
  253. package/src/filiale/yunchengminsheng/pc.js +15 -15
  254. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  255. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  256. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  257. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  258. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  259. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  260. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  261. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  262. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  263. package/src/main.js +2 -1
@@ -1,167 +1,167 @@
1
- <template>
2
- <div id='app' class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false'>
4
- <criteria partial='criteria' @condition-changed='$parent.search' class="search_area">
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-4 form-group">
8
- <role-selector-safe role-name="安检员" role-lable="安&ensp;检&ensp;员" @re-res="$parent.$parent.getRes"
9
- :value.sync="model.f_checker_id" v-model="model.f_checker_id" condition="f_checker_name like '%{}%'">
10
- </role-selector-safe>
11
- </div>
12
- <div class="col-sm-2 form-group">
13
- <label for="startDate" class="font_normal_body">开始日期:</label>
14
- <datepicker id="startDate" placeholder="开始日期" v-model="model.startDate" :value.sync="model.startDate"
15
- style="width: 60%;" :disabled-days-of-Week="[]" :format="'yyyy-MM-dd 00:00:00'"
16
- :show-reset-button="reset">
17
- </datepicker>
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label for="endDate" class="font_normal_body">结束日期:</label>
21
- <datepicker id="endDate" placeholder="结束日期" v-model="model.endDate" :value.sync="model.endDate"
22
- :disabled-days-of-Week="[]" style="width: 60%;" :format="'yyyy-MM-dd 23:59:59'"
23
- :show-reset-button="reset">
24
- </datepicker>
25
- </div>
26
- <div class="col-sm-4 form-group" style="margin-top: 8px">
27
- <button class="button_search button_spacing" @click="search()">查询</button>
28
- <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
29
- <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
30
- </div>
31
- </div>
32
- <div class="row">
33
- <div class="col-sm-2 form-group">
34
- <label class="font_normal_body">用气性质</label>
35
- <v-select class="select_list select" placeholder='用气性质' style="width: 60%" v-model='model.userType'
36
- :value.sync="model.userType" :options='$parent.$parent.userTypes' condition="tuf.f_gasproperties in {} "
37
- :multiple="true"></v-select>
38
- </div>
39
- <div class="col-sm-2 form-group">
40
- <label class="font_normal_body">气表类型</label>
41
- <v-select class="select_list select" placeholder='气表类型' style="width: 60%" v-model='model.tableType'
42
- :value.sync="model.tableType" :options='$parent.$parent.tableTypes'
43
- condition="tuf.f_meter_classify = '{}'" :value-single="true" close-on-select clear-button></v-select>
44
- </div>
45
- <div class="col-sm-2 form-group">
46
- <label class="font_normal_body">气表品牌</label>
47
- <v-select class="select_list select" placeholder='气表类型' style="width: 60%" v-model='model.tableBrand'
48
- :value.sync="model.tableBrand" :options='$parent.$parent.tableBrands'
49
- condition="gb.f_meter_brand = '{}'" :value-single="true" close-on-select clear-button></v-select>
50
- </div>
51
- </div>
52
- </div>
53
- </criteria>
54
- <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
55
- <table class='tableprint' style="margin: 0px auto">
56
- <thead>
57
- <tr>
58
- <th colspan='5' style="font-weight: normal; text-align: left;">
59
- <h3 style="text-align: center">隐患报表</h3>
60
- </th>
61
- </tr>
62
- <tr>
63
- <th colspan='5' style="font-weight: normal; text-align: center;">
64
- 隐患户数:{{ $parent.hiddenHouseholds }}&nbsp;&nbsp;&nbsp;
65
- 隐患发生数:{{ $parent.hiddenNumber }}&nbsp;&nbsp;&nbsp;
66
- 开始时间:{{ model.model.startDate }}&nbsp;&nbsp;&nbsp;
67
- 结束时间:{{ model.model.endDate }}
68
- </th>
69
- </tr>
70
- </thead>
71
- <tr>
72
- <th colspan='5' style="font-weight: normal;">
73
- {{{ model.data.substring(26, model.data.length - 8) }}}
74
- </th>
75
- </tr>
76
- </table>
77
- </div>
78
- </criteria-paged>
79
- </div>
80
-
81
- </template>
82
-
83
- <script>
84
- import { DataModel, HttpResetClass } from 'vue-client'
85
-
86
- export default {
87
- title: '隐患报表',
88
- data() {
89
-
90
- let model = new DataModel('/api/af-safecheck/report/hiddensituation', {
91
- startDate: 'this.model.startDate',
92
- endDate: 'this.model.endDate',
93
- f_filialeid: 'this.f_filialeid'
94
- })
95
- model.f_filialeid = '(' + this.$login.f.orgid + ')'
96
- return {
97
- userTypes: [{ label: '全部', value: '' }, ...this.$appdata.getParam('用气性质')],
98
- tableTypes: [{ label: '全部', value: '' }, ...this.$appdata.getParam('气表类型')],
99
- tableBrands: [{ label: '全部', value: '' }],
100
- filialeNameStr: '',
101
- hiddenNumber: '',
102
- hiddenHouseholds: '',
103
- filialeCodeStr: '',
104
- userid: this.$login.f.id,
105
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
106
- model: model
107
- }
108
- },
109
- methods: {
110
- search(args) {
111
- this.model.search(args.condition, args.model)
112
- let dateCondition
113
- if (args.model.startDate && args.model.endDate) {
114
- dateCondition = `f_offsite_time BETWEEN '${args.model.startDate}' AND '${args.model.endDate}'`
115
- } else if (args.model.startDate) {
116
- dateCondition = `f_offsite_time >= '${args.model.startDate}'`
117
- } else if (args.model.endDate) {
118
- dateCondition = `f_offsite_time <= '${args.model.endDate}'`
119
- }
120
- if (dateCondition){
121
- this.getHiddenNumber(dateCondition)
122
- this.getHiddenHouseholds(dateCondition)
123
- }
124
- },
125
- getRes(obj) {
126
- this.model.f_filialeid = this.$login.convertToIn(obj.resids)
127
- },
128
- getHiddenNumber(condition) {
129
- new HttpResetClass().load("POST", `/api/af-safecheck/sql/defectDetails`,
130
- { data: { condition: condition } },
131
- { resolveMsg: null, rejectMsg: null }).then(resp => {
132
- this.$set('hiddenNumber',resp.data.length)
133
- })
134
- },
135
- getHiddenHouseholds(condition) {
136
- new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_GroupBy`,
137
- { data: { items: "f_userinfoid", tablename: "t_check_paper", groupitem: "f_userinfoid", condition: ` f_defect_content LIKE '%有隐患%' and ${condition}` } },
138
- { resolveMsg: null, rejectMsg: null }).then(resp => {
139
- this.$set('hiddenHouseholds',resp.data.length)
140
- })
141
- },
142
- getTableBrands() {
143
- new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
144
- { data: { items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 ` } },
145
- { resolveMsg: null, rejectMsg: null }).then((resp) => {
146
- resp.data.forEach((result) => {
147
- this.tableBrands.push({ label: result.f_meter_brand, value: result.f_meter_brand })
148
- })
149
- })
150
- },
151
- },
152
- ready() {
153
- this.getTableBrands()
154
- },
155
- computed: {
156
- selected() {
157
- return this.$refs.grid.selected
158
- }
159
- // outlets () {
160
- // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
161
- // },
162
- // operator () {
163
- // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
164
- // }
165
- }
166
- }
167
- </script>
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false'>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' class="search_area">
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-4 form-group">
8
+ <role-selector-safe role-name="安检员" role-lable="安&ensp;检&ensp;员" @re-res="$parent.$parent.getRes"
9
+ :value.sync="model.f_checker_id" v-model="model.f_checker_id" condition="f_checker_name like '%{}%'">
10
+ </role-selector-safe>
11
+ </div>
12
+ <div class="col-sm-2 form-group">
13
+ <label for="startDate" class="font_normal_body">开始日期:</label>
14
+ <datepicker id="startDate" placeholder="开始日期" v-model="model.startDate" :value.sync="model.startDate"
15
+ style="width: 60%;" :disabled-days-of-Week="[]" :format="'yyyy-MM-dd 00:00:00'"
16
+ :show-reset-button="reset">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" class="font_normal_body">结束日期:</label>
21
+ <datepicker id="endDate" placeholder="结束日期" v-model="model.endDate" :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]" style="width: 60%;" :format="'yyyy-MM-dd 23:59:59'"
23
+ :show-reset-button="reset">
24
+ </datepicker>
25
+ </div>
26
+ <div class="col-sm-4 form-group" style="margin-top: 8px">
27
+ <button class="button_search button_spacing" @click="search()">查询</button>
28
+ <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
29
+ <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
30
+ </div>
31
+ </div>
32
+ <div class="row">
33
+ <div class="col-sm-2 form-group">
34
+ <label class="font_normal_body">用气性质</label>
35
+ <v-select class="select_list select" placeholder='用气性质' style="width: 60%" v-model='model.userType'
36
+ :value.sync="model.userType" :options='$parent.$parent.userTypes' condition="tuf.f_gasproperties in {} "
37
+ :multiple="true"></v-select>
38
+ </div>
39
+ <div class="col-sm-2 form-group">
40
+ <label class="font_normal_body">气表类型</label>
41
+ <v-select class="select_list select" placeholder='气表类型' style="width: 60%" v-model='model.tableType'
42
+ :value.sync="model.tableType" :options='$parent.$parent.tableTypes'
43
+ condition="tuf.f_meter_classify = '{}'" :value-single="true" close-on-select clear-button></v-select>
44
+ </div>
45
+ <div class="col-sm-2 form-group">
46
+ <label class="font_normal_body">气表品牌</label>
47
+ <v-select class="select_list select" placeholder='气表类型' style="width: 60%" v-model='model.tableBrand'
48
+ :value.sync="model.tableBrand" :options='$parent.$parent.tableBrands'
49
+ condition="gb.f_meter_brand = '{}'" :value-single="true" close-on-select clear-button></v-select>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ </criteria>
54
+ <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
55
+ <table class='tableprint' style="margin: 0px auto">
56
+ <thead>
57
+ <tr>
58
+ <th colspan='5' style="font-weight: normal; text-align: left;">
59
+ <h3 style="text-align: center">隐患报表</h3>
60
+ </th>
61
+ </tr>
62
+ <tr>
63
+ <th colspan='5' style="font-weight: normal; text-align: center;">
64
+ 隐患户数:{{ $parent.hiddenHouseholds }}&nbsp;&nbsp;&nbsp;
65
+ 隐患发生数:{{ $parent.hiddenNumber }}&nbsp;&nbsp;&nbsp;
66
+ 开始时间:{{ model.model.startDate }}&nbsp;&nbsp;&nbsp;
67
+ 结束时间:{{ model.model.endDate }}
68
+ </th>
69
+ </tr>
70
+ </thead>
71
+ <tr>
72
+ <th colspan='5' style="font-weight: normal;">
73
+ {{{ model.data.substring(26, model.data.length - 8) }}}
74
+ </th>
75
+ </tr>
76
+ </table>
77
+ </div>
78
+ </criteria-paged>
79
+ </div>
80
+
81
+ </template>
82
+
83
+ <script>
84
+ import { DataModel, HttpResetClass } from 'vue-client'
85
+
86
+ export default {
87
+ title: '隐患报表',
88
+ data() {
89
+
90
+ let model = new DataModel('/api/af-safecheck/report/hiddensituation', {
91
+ startDate: 'this.model.startDate',
92
+ endDate: 'this.model.endDate',
93
+ f_filialeid: 'this.f_filialeid'
94
+ })
95
+ model.f_filialeid = '(' + this.$login.f.orgid + ')'
96
+ return {
97
+ userTypes: [{ label: '全部', value: '' }, ...this.$appdata.getParam('用气性质')],
98
+ tableTypes: [{ label: '全部', value: '' }, ...this.$appdata.getParam('气表类型')],
99
+ tableBrands: [{ label: '全部', value: '' }],
100
+ filialeNameStr: '',
101
+ hiddenNumber: '',
102
+ hiddenHouseholds: '',
103
+ filialeCodeStr: '',
104
+ userid: this.$login.f.id,
105
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
106
+ model: model
107
+ }
108
+ },
109
+ methods: {
110
+ search(args) {
111
+ this.model.search(args.condition, args.model)
112
+ let dateCondition
113
+ if (args.model.startDate && args.model.endDate) {
114
+ dateCondition = `f_offsite_time BETWEEN '${args.model.startDate}' AND '${args.model.endDate}'`
115
+ } else if (args.model.startDate) {
116
+ dateCondition = `f_offsite_time >= '${args.model.startDate}'`
117
+ } else if (args.model.endDate) {
118
+ dateCondition = `f_offsite_time <= '${args.model.endDate}'`
119
+ }
120
+ if (dateCondition){
121
+ this.getHiddenNumber(dateCondition)
122
+ this.getHiddenHouseholds(dateCondition)
123
+ }
124
+ },
125
+ getRes(obj) {
126
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids)
127
+ },
128
+ getHiddenNumber(condition) {
129
+ new HttpResetClass().load("POST", `/api/af-safecheck/sql/defectDetails`,
130
+ { data: { condition: condition } },
131
+ { resolveMsg: null, rejectMsg: null }).then(resp => {
132
+ this.$set('hiddenNumber',resp.data.length)
133
+ })
134
+ },
135
+ getHiddenHouseholds(condition) {
136
+ new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_GroupBy`,
137
+ { data: { items: "f_userinfoid", tablename: "t_check_paper", groupitem: "f_userinfoid", condition: ` f_defect_content LIKE '%有隐患%' and ${condition}` } },
138
+ { resolveMsg: null, rejectMsg: null }).then(resp => {
139
+ this.$set('hiddenHouseholds',resp.data.length)
140
+ })
141
+ },
142
+ getTableBrands() {
143
+ new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
144
+ { data: { items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 ` } },
145
+ { resolveMsg: null, rejectMsg: null }).then((resp) => {
146
+ resp.data.forEach((result) => {
147
+ this.tableBrands.push({ label: result.f_meter_brand, value: result.f_meter_brand })
148
+ })
149
+ })
150
+ },
151
+ },
152
+ ready() {
153
+ this.getTableBrands()
154
+ },
155
+ computed: {
156
+ selected() {
157
+ return this.$refs.grid.selected
158
+ }
159
+ // outlets () {
160
+ // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
161
+ // },
162
+ // operator () {
163
+ // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
164
+ // }
165
+ }
166
+ }
167
+ </script>