safecheck-client 4.0.1-37 → 4.0.1-38

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 (237) 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/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/examples/SafeListExamples.vue +296 -296
  20. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  21. package/src/components/android/recheck/Recheck.vue +402 -402
  22. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  23. package/src/components/checkplan/checkmsg.vue +459 -459
  24. package/src/components/defect/DefectList.vue +507 -507
  25. package/src/components/defect/DefectListWeixiu.vue +484 -484
  26. package/src/components/filialCircle/CircleList.vue +139 -139
  27. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  28. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  29. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  30. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  31. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  32. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  33. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  34. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  35. package/src/components/map/PersonTrack.vue +226 -226
  36. package/src/components/paper/RegionalList.vue +220 -220
  37. package/src/components/pc/AnnouncementPC.vue +524 -524
  38. package/src/components/pc/DefectList.vue +742 -742
  39. package/src/components/pc/DeviceChange.vue +1068 -1068
  40. package/src/components/pc/SafeVisitInfo.vue +261 -261
  41. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  42. package/src/components/report/HiddenSituation.vue +165 -165
  43. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  44. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  45. package/src/components/rongcheng/DefectList.vue +560 -560
  46. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  47. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  48. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  49. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  50. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  51. package/src/components/shaoguan/DefectList.vue +473 -473
  52. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  53. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  54. package/src/components/userfile/SecurityAudit.vue +243 -243
  55. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  56. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  57. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  58. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  59. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  60. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  61. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  62. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  63. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  64. package/src/filiale/bayan/android/Edit.vue +132 -132
  65. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  66. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  67. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  68. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  69. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  70. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  71. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  72. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  73. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  74. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  75. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  76. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  77. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  78. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  79. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  80. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  81. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  82. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  83. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  84. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  85. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  86. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  87. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  88. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  89. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  90. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  91. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  92. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  93. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  94. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  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/MeterReading.vue +110 -106
  112. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1306
  113. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2432 -2431
  114. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  115. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  116. package/src/filiale/meihekou/pc.js +13 -13
  117. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  118. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  119. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  120. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  121. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  122. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  123. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  124. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  125. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  126. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  127. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  128. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  129. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  130. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  131. package/src/filiale/qingjian/pc.js +15 -15
  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/taiyuan/pc/DefectDeal.vue +1033 -1033
  162. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -1976
  163. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -891
  164. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -798
  165. package/src/filiale/taiyuan/pc.js +15 -15
  166. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  167. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  168. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  169. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  170. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  171. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  172. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  173. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  174. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  175. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  176. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  177. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  178. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  179. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  180. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  181. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  182. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  183. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  184. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  185. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  186. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  187. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  188. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  189. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  190. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  191. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  192. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  193. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  194. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  195. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  196. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  197. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  198. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  199. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  200. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  201. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  202. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  203. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  204. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  205. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  206. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  207. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  208. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  209. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  210. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  211. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  212. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  213. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  214. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  215. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  216. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  217. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  218. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  219. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  220. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  221. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  222. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  223. package/src/filiale/yunchengminsheng/android.js +15 -15
  224. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -811
  225. package/src/filiale/yunchengminsheng/pc.js +15 -15
  226. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  227. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  228. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  229. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  230. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  231. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  232. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  233. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  234. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  235. package/src/main.js +32 -33
  236. package/.trae/.ignore +0 -0
  237. package/.vscode/settings.json +0 -3
@@ -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>