safecheck-client 4.0.0-101 → 4.0.0-103

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