safecheck-client 4.0.1-38 → 4.0.1-39

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 (238) hide show
  1. package/.trae/.ignore +0 -0
  2. package/.vscode/settings.json +3 -0
  3. package/package.json +132 -132
  4. package/src/App.vue +31 -31
  5. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  6. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  7. package/src/components/android/AddPlanItem.vue +447 -447
  8. package/src/components/android/AddPlanItemYy.vue +451 -451
  9. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  10. package/src/components/android/AndroidDefectDetails.vue +769 -769
  11. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  12. package/src/components/android/Devices.vue +327 -327
  13. package/src/components/android/Devicesm.vue +327 -327
  14. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  15. package/src/components/android/PhoneRecordInfo.vue +113 -113
  16. package/src/components/android/PhoneSellInfo.vue +113 -113
  17. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  18. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  19. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  20. package/src/components/android/SafePlanItem.vue +509 -509
  21. package/src/components/android/examples/SafeListExamples.vue +296 -296
  22. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  23. package/src/components/android/recheck/Recheck.vue +402 -402
  24. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  25. package/src/components/checkplan/CheckDetail.vue +1 -1
  26. package/src/components/checkplan/checkmsg.vue +459 -459
  27. package/src/components/defect/DefectList.vue +507 -507
  28. package/src/components/defect/DefectListWeixiu.vue +484 -484
  29. package/src/components/filialCircle/CircleList.vue +139 -139
  30. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  31. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  32. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  33. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  34. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  35. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  36. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  37. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  38. package/src/components/map/PersonTrack.vue +226 -226
  39. package/src/components/paper/RegionalList.vue +220 -220
  40. package/src/components/pc/AnnouncementPC.vue +524 -524
  41. package/src/components/pc/DefectList.vue +742 -742
  42. package/src/components/pc/DeviceChange.vue +1068 -1068
  43. package/src/components/pc/SafeVisitInfo.vue +261 -261
  44. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  45. package/src/components/report/HiddenSituation.vue +165 -165
  46. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  47. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  48. package/src/components/rongcheng/DefectList.vue +560 -560
  49. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  50. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  51. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  52. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  53. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  54. package/src/components/shaoguan/DefectList.vue +473 -473
  55. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  56. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  57. package/src/components/userfile/SecurityAudit.vue +243 -243
  58. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  59. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  60. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  61. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  62. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  63. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  64. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  65. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  66. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  67. package/src/filiale/bayan/android/Edit.vue +132 -132
  68. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  69. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  70. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  71. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  72. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  73. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  74. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  75. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  76. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  77. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  78. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  79. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  80. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  81. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  82. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  83. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  84. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  85. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  86. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  87. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  88. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  89. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  90. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  91. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  92. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  93. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  94. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  95. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  96. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  97. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  98. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  99. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  100. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  101. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  102. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  103. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  104. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  105. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  106. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  107. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  108. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  109. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  110. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  111. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  112. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  113. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  114. package/src/filiale/meihekou/android/MeterReading.vue +110 -110
  115. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1307
  116. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2432 -2432
  117. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  118. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  119. package/src/filiale/meihekou/pc.js +13 -13
  120. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  121. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  122. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  123. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  124. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  125. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  126. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  127. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  128. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  129. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  130. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  131. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  132. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  133. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  134. package/src/filiale/qingjian/pc.js +15 -15
  135. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  136. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  137. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  138. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  139. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  140. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  141. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  142. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  143. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  144. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  145. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  146. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  147. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  148. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  149. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  150. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  151. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  152. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  153. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  154. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  155. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  156. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  157. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  158. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  159. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  160. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  161. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  162. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  163. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  164. package/src/filiale/taiyuan/pc/DefectDeal.vue +1033 -1033
  165. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -1976
  166. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -891
  167. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -798
  168. package/src/filiale/taiyuan/pc.js +15 -15
  169. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  170. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  171. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  172. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  173. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  174. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  175. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  176. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  177. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  178. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  179. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  180. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  181. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  182. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  183. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  184. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  185. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  186. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  187. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  188. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  189. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  190. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  191. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  192. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  193. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  194. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  195. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  196. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  197. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  198. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  199. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  200. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  201. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  202. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  203. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  204. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  205. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  206. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  207. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  208. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  209. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  210. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  211. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  212. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  213. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  214. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  215. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  216. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  217. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  218. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  219. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  220. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  221. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  222. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  223. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  224. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  225. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  226. package/src/filiale/yunchengminsheng/android.js +15 -15
  227. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -811
  228. package/src/filiale/yunchengminsheng/pc.js +15 -15
  229. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  230. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  231. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  232. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  233. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  234. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  235. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  236. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  237. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  238. package/src/main.js +33 -32
@@ -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>