safecheck-client 3.0.30-62-t11 → 3.0.30-62-t12

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 (244) hide show
  1. package/examples/SafePlan/comp.js +1527 -1527
  2. package/examples/SafePlan-liaoyuan/comp.js +1432 -1432
  3. package/examples/SafePlan-shaoguan/comp.js +1190 -1190
  4. package/examples/SafePlan-tongchuan/comp.js +1480 -1480
  5. package/examples/SafePlan-wenxi/comp.js +1545 -1545
  6. package/examples/SafePlan-zhoukou/comp.js +1525 -1525
  7. package/examples/SafePlanrongcheng/comp.js +1141 -1141
  8. package/examples/SafePlanrongcheng-gs/comp.js +1140 -1140
  9. package/examples/SafePlanrongcheng-gssq/comp.js +1143 -1143
  10. package/examples/SafePlanrongcheng-mysq/comp.js +1144 -1144
  11. package/package.json +1 -1
  12. package/src/components/CheckerCount/ZhouKouCheckCount.vue +272 -272
  13. package/src/components/DefectDealMain/DefectPaperNew.vue +1052 -1052
  14. package/src/components/NewDefectList/DefectPaperNew.vue +1079 -1079
  15. package/src/components/checkplan/CheckDetail.vue +205 -205
  16. package/src/components/checkplan/SelectCheckPlan.vue +311 -311
  17. package/src/components/createcheckplan/PlanUersList.vue +137 -137
  18. package/src/components/defect/DefectPaper.vue +764 -764
  19. package/src/components/defect/DefectPaperWeiXiu.vue +508 -508
  20. package/src/components/inspections/InspectionList.vue +476 -476
  21. package/src/components/inspections/InspectionLists.vue +478 -478
  22. package/src/components/inspections/InspectionListss.vue +477 -477
  23. package/src/components/noplan/NoPlanSearchUser.vue +300 -300
  24. package/src/components/olddata/OldPaperList.vue +340 -340
  25. package/src/components/paper/PaperList.vue +790 -790
  26. package/src/components/paper/filialeCheckInfo.vue +111 -111
  27. package/src/components/pc/CheckNoDetail.vue +209 -209
  28. package/src/components/pc/DefectDeal.vue +997 -997
  29. package/src/components/pc/NewCheckpaper.vue +1957 -1957
  30. package/src/components/pc/PaperChazhiMain.vue +504 -504
  31. package/src/components/pc/PaperDefectMain.vue +1 -1
  32. package/src/components/pc/PaperEdit.vue +151 -151
  33. package/src/components/pc/PaperVisitMain.vue +179 -179
  34. package/src/components/pc/SafeVisitHistory.vue +208 -208
  35. package/src/components/pc/SafecheckDeviceList.vue +260 -260
  36. package/src/components/pc/SecurityCheckLedger.vue +133 -133
  37. package/src/components/pc/SelectCheckNoPlan.vue +278 -278
  38. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -281
  39. package/src/components/planmanage/checkPlanList.vue +369 -369
  40. package/src/components/planmanage/checkUserList.vue +773 -773
  41. package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
  42. package/src/components/querycheckpaper/CheckSearchUserNew.vue +1109 -1109
  43. package/src/components/querycheckpaper/ShebeiSearchUser.vue +690 -690
  44. package/src/components/report/CheckPlanAreaList.vue +505 -505
  45. package/src/components/report/CheckPlanUserList.vue +216 -216
  46. package/src/components/report/NoCheckplanSafecheck.vue +212 -212
  47. package/src/components/rongcheng/CheckSearchArea.vue +703 -703
  48. package/src/components/rongcheng/CheckSearchUser.vue +936 -936
  49. package/src/components/rongcheng/CheckSearchUserNo.vue +778 -778
  50. package/src/components/rongcheng/CheckUserList.vue +205 -205
  51. package/src/components/rongcheng/DefectPaper.vue +676 -676
  52. package/src/components/rongcheng/PaperListAJ.vue +434 -434
  53. package/src/components/rongcheng/PaperListNPAJ.vue +431 -431
  54. package/src/components/rongcheng/PaperListNPSQ.vue +455 -455
  55. package/src/components/rongcheng/PaperListSQ.vue +444 -444
  56. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +271 -271
  57. package/src/components/rongcheng/report/CheckPlanUserList.vue +228 -228
  58. package/src/components/safecheckNew/PaperList.vue +785 -785
  59. package/src/components/shaoguan/DefectPaper.vue +217 -217
  60. package/src/components/shaoguan/PaperList.vue +466 -466
  61. package/src/components/userfile/UserInfoAudit.vue +316 -316
  62. package/src/filiale/ALshan/pc/CheckSearchUser.vue +927 -927
  63. package/src/filiale/ALshan/pc/checkUserList.vue +714 -714
  64. package/src/filiale/ancheng/pc/PaperList.vue +659 -659
  65. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +512 -512
  66. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +1039 -1039
  67. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +545 -545
  68. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +864 -864
  69. package/src/filiale/ankangyihua/pc/PaperList.vue +656 -656
  70. package/src/filiale/ankangyihua/pc/checkUserList.vue +697 -697
  71. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  72. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  73. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  74. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  75. package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
  76. package/src/filiale/bayan/pc/CheckDetail.vue +205 -205
  77. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -1110
  78. package/src/filiale/bayan/pc/DefectPaperNew.vue +1239 -1239
  79. package/src/filiale/bayan/pc/PaperList.vue +900 -900
  80. package/src/filiale/bayan/pc/SelectCheckPlan.vue +396 -396
  81. package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -1066
  82. package/src/filiale/dexin/pc/PaperList.vue +805 -805
  83. package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -1085
  84. package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -928
  85. package/src/filiale/fugou/pc/PaperList.vue +911 -911
  86. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  87. package/src/filiale/fugou/pc/checkUserList.vue +904 -904
  88. package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -977
  89. package/src/filiale/fugu/pc/SelectCheckPlan.vue +273 -273
  90. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +688 -688
  91. package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -1009
  92. package/src/filiale/ganquan/pc/PaperList.vue +654 -654
  93. package/src/filiale/ganquan/pc/PaperVisitMain.vue +166 -166
  94. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +234 -234
  95. package/src/filiale/ganquan/pc/checkUserList.vue +681 -681
  96. package/src/filiale/gehua/pc/PaperList.vue +558 -558
  97. package/src/filiale/gehua/pc/checkUserList.vue +720 -720
  98. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +471 -471
  99. package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -988
  100. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -1127
  101. package/src/filiale/hanzhong/pc/CheckUserList.vue +755 -755
  102. package/src/filiale/hanzhong/pc/PaperList.vue +702 -702
  103. package/src/filiale/huaran/pc/PaperList.vue +843 -843
  104. package/src/filiale/huaran/pc/checkPlanList.vue +419 -419
  105. package/src/filiale/huaran/pc/checkUserList.vue +900 -900
  106. package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -800
  107. package/src/filiale/huatong/pc/PaperList.vue +789 -789
  108. package/src/filiale/huayin/pc/PaperList.vue +621 -621
  109. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -1011
  110. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +479 -479
  111. package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -1062
  112. package/src/filiale/jingyang/pc/PaperList.vue +793 -793
  113. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -543
  114. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
  115. package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -1011
  116. package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -1090
  117. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -897
  118. package/src/filiale/kelai/pc/PaperList.vue +596 -596
  119. package/src/filiale/kelai/pc/checkUserList.vue +698 -698
  120. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -963
  121. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +1011 -1011
  122. package/src/filiale/liaoyuan/pc/PaperList.vue +637 -637
  123. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -373
  124. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +467 -467
  125. package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -927
  126. package/src/filiale/lixian/pc/PaperChazhiMain.vue +540 -540
  127. package/src/filiale/lixian/pc/PaperDefectMain.vue +551 -551
  128. package/src/filiale/lixian/pc/PaperList.vue +620 -620
  129. package/src/filiale/lixian/pc/checkPlanList.vue +366 -366
  130. package/src/filiale/lixian/pc/checkUserList.vue +761 -761
  131. package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -976
  132. package/src/filiale/minsheng/pc/checkUserList.vue +806 -806
  133. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -1012
  134. package/src/filiale/pingxiang/pc/PaperList.vue +595 -595
  135. package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -1072
  136. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +220 -220
  137. package/src/filiale/qianneng/pc/PaperList.vue +777 -777
  138. package/src/filiale/qianneng/pc/checkPlanList.vue +429 -429
  139. package/src/filiale/qianneng/pc/checkUserList.vue +871 -871
  140. package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -895
  141. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -858
  142. package/src/filiale/rizhao/pc/PaperList.vue +714 -714
  143. package/src/filiale/rongchuang/pc/PaperList.vue +812 -812
  144. package/src/filiale/rongchuang/pc/checkUserList.vue +621 -621
  145. package/src/filiale/shanxian/pc/CheckDetail.vue +205 -205
  146. package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -1114
  147. package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -1096
  148. package/src/filiale/shanxian/pc/PaperList.vue +785 -785
  149. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +324 -324
  150. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  151. package/src/filiale/shaoguan/pc/PaperList.vue +589 -589
  152. package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -1161
  153. package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -893
  154. package/src/filiale/shexian/pc/PaperList.vue +822 -822
  155. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +463 -463
  156. package/src/filiale/shimen/pc/CheckSearchUser.vue +927 -927
  157. package/src/filiale/shimen/pc/PaperDefectMain.vue +589 -589
  158. package/src/filiale/shimen/pc/PaperList.vue +547 -547
  159. package/src/filiale/shiquan/pc/checkUserList.vue +755 -755
  160. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -512
  161. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
  162. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -864
  163. package/src/filiale/siyang/pc/PaperList.vue +834 -834
  164. package/src/filiale/siyang/pc/checkPlanList.vue +367 -367
  165. package/src/filiale/siyang/pc/checkUserList.vue +765 -765
  166. package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -891
  167. package/src/filiale/tongchuan/pc/CheckDetail.vue +205 -205
  168. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +502 -502
  169. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +246 -246
  170. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1045 -1045
  171. package/src/filiale/tongchuan/pc/DefectPaper.vue +764 -764
  172. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +593 -593
  173. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +213 -213
  174. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  175. package/src/filiale/tongchuan/pc/PaperList.vue +670 -670
  176. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +296 -296
  177. package/src/filiale/tongchuan/pc/checkUserList.vue +639 -639
  178. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
  179. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  180. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +297 -297
  181. package/src/filiale/weinan/pc/CheckNoDetail.vue +259 -259
  182. package/src/filiale/weinan/pc/CheckPlanUserList.vue +338 -338
  183. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -1078
  184. package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -1096
  185. package/src/filiale/weinan/pc/PaperDefectMain.vue +576 -576
  186. package/src/filiale/weinan/pc/PaperList.vue +674 -674
  187. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +299 -299
  188. package/src/filiale/weinan/pc/SelectCheckPlan.vue +389 -389
  189. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -446
  190. package/src/filiale/weinan/pc/checkPlanList.vue +456 -456
  191. package/src/filiale/weinan/pc/checkUserList.vue +712 -712
  192. package/src/filiale/weinanct/pc/PaperList.vue +593 -593
  193. package/src/filiale/wensu/pc/CheckDetail.vue +205 -205
  194. package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -1238
  195. package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -1148
  196. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  197. package/src/filiale/wensu/pc/checkUserList.vue +650 -650
  198. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +456 -456
  199. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +217 -217
  200. package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -991
  201. package/src/filiale/wenxi/pc/DefectPaper.vue +663 -663
  202. package/src/filiale/wenxi/pc/PaperDefectMain.vue +790 -790
  203. package/src/filiale/wenxi/pc/PaperList.vue +949 -949
  204. package/src/filiale/wenxi/pc/checkPlanList.vue +517 -517
  205. package/src/filiale/wenxi/pc/checkUserList.vue +695 -695
  206. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +515 -515
  207. package/src/filiale/wuan/pc/PaperList.vue +562 -562
  208. package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -959
  209. package/src/filiale/wuhai/pc/PaperList.vue +785 -785
  210. package/src/filiale/wuhai/pc/checkUserList.vue +611 -611
  211. package/src/filiale/xilan/pc/PaperList.vue +795 -795
  212. package/src/filiale/xilan/pc/checkUserList.vue +772 -772
  213. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +425 -425
  214. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +216 -216
  215. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  216. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -538
  217. package/src/filiale/xinkang/pc/PaperDefectMain.vue +525 -525
  218. package/src/filiale/xinkang/pc/PaperList.vue +603 -603
  219. package/src/filiale/xinkang/pc/checkUserList.vue +639 -639
  220. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
  221. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
  222. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  223. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
  224. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -1046
  225. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
  226. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -1092
  227. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -1105
  228. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -557
  229. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -872
  230. package/src/filiale/yongzhou/pc/PaperList.vue +798 -798
  231. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -364
  232. package/src/filiale/yongzhou/pc/checkUserList.vue +752 -752
  233. package/src/filiale/yongzhou/pc/communityDetail.vue +194 -194
  234. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -138
  235. package/src/filiale/yongzhou/pc/safeDetail.vue +539 -539
  236. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -455
  237. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -267
  238. package/src/filiale/yuansheng/pc/PaperList.vue +621 -621
  239. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
  240. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +495 -495
  241. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +515 -515
  242. package/src/filiale/zhongsheng/pc/PaperList.vue +644 -644
  243. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +923 -923
  244. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +465 -465
@@ -1,297 +1,297 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div partial>
6
- <!-- <p class="text-center" style="padding: 7px;"><b>安检计划项明细</b></p>-->
7
- <ul class="nav nav-tabs">
8
- <li role="presentation" class="active"><a style=" color: #5ac0d9 !important;">安检明细</a></li>
9
- </ul>
10
- <div class="row">
11
- <div class="form-group col-sm-4" >
12
- <label class="font_normal_body">安检状态</label>
13
- <v-select style="width:60% "
14
- class="select select_list"
15
- :value.sync="$parent.$parent.f_state"
16
- v-model="$parent.$parent.f_state"
17
- :options='$parent.$parent.checkState'
18
- placeholder='安检状态'
19
- close-on-select
20
- value-single
21
- >
22
- </v-select>
23
- </div>
24
- <div class="form-group col-sm-4" >
25
- <v-select style="width:60% "
26
- v-if="$parent.$parent.f_state=='未入户'"
27
- class="select select_list"
28
- :value.sync="$parent.$parent.f_noruhu"
29
- v-model="$parent.$parent.f_noruhu"
30
- :options='$parent.$parent.noChecks'
31
- placeholder='请选择状态'
32
- :multiple="true"
33
- >
34
- </v-select>
35
- </div>
36
- <div class="form-group col-sm-4 button-range" >
37
- <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
38
- <export-excel :data="$parent.$parent.exportParameter"
39
- :field="$parent.$parent.excelHeaders"
40
- sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="planItem"
41
- template-name='安检计划明细' :choose-col="true">
42
- </export-excel>
43
- <!--<export-excel-->
44
- <!--:data="{condition: $parent.$parent.condition}"-->
45
- <!--:field="$parent.$parent.getfield"-->
46
- <!--sqlurl="api/af-safecheck/logic/saleExport" sql-name="getGasUser" :template-name="$parent.$parent.pricename+'气价使用人'"-->
47
- <!--:choose-col="true"></export-excel>-->
48
-
49
- </div>
50
- </div>
51
- </div>
52
- </criteria>
53
- <data-grid :model="model" partial='list' class="table_sy">
54
-
55
- <template partial='head'>
56
- <tr>
57
- <th><nobr>计划名称</nobr></th>
58
- <th><nobr>用户编号</nobr></th>
59
- <th><nobr>用户名称</nobr></th>
60
- <th><nobr>小区名称</nobr></th>
61
- <th><nobr>地址</nobr></th>
62
- <th><nobr>安检状态</nobr></th>
63
- <th><nobr>是否安检</nobr></th>
64
- </tr>
65
- </template>
66
- <template partial='body'>
67
- <td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
68
- <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
69
- <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
70
- <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
71
- <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
72
- <td style="text-align: center"><nobr>{{row.f_last_check_state}}</nobr></td>
73
- <td style="text-align: center"><nobr>{{row.f_state}}</nobr></td>
74
- </template>
75
- </data-grid>
76
- </criteria-paged>
77
- </div>
78
- </template>
79
-
80
- <script>
81
- import { PagedList } from 'vue-client'
82
-
83
- export default {
84
- title: '安检计划项列表',
85
- data () {
86
- return {
87
- model: new PagedList('api/af-safecheck/sql/planItem', 20),
88
- checkState:[{label:'全部',value:''},{label:'入户',value:'入户'},{label:'未入户',value:'未入户'}],
89
- noChecks:[{label:'未检',value:'未检'},{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'复访不遇',value:'复访不遇'}],
90
- excelHeaders: {
91
- //用户编号 用户名称 用户电话 安检次数 用户类型 小区名称 地址 安检日期 安检状态 安检结果
92
- 'f_plan_name':'计划名称',
93
- 'f_userinfo_code': '用户编号',
94
- 'f_user_name': '用户名称',
95
- 'f_user_phone': '用户电话',
96
- //'count_item':'安检次数',
97
- 'f_user_type': '用户类型',
98
- 'openstate': '开户状态',
99
- 'f_residential_area': '小区名称',
100
- 'f_address':'地址',
101
- 'f_state':'是否已检',
102
- 'f_last_check_date':'安检日期',
103
- 'f_last_check_state': '安检状态'
104
- },
105
- f_state:'',
106
- f_noruhu:''
107
- }
108
- },
109
- props: [ 'check','checkstatus','checkstart','checkend','starttime','endtime','planname','residentialarea' ],
110
- watch: {
111
- 'check' (val) {
112
- let condition
113
- //tag
114
- condition = `i.f_checker_namehp='${this.check.f_checker_namehp}' and i.f_state!='作废' and i.f_filialeid = '${this.$login.f.orgid}'`
115
- if(this.checkstatus){
116
- condition += ` and cp.f_entry_status = '${this.checkstatus}'`
117
- }
118
- if (this.checkstart && this.checkend ) {
119
- let year1 = this.checkstart.substr(0,4)
120
- let year2 = this.checkend.substr(0,4)
121
- let month1 = this.checkstart.substr(5,2)
122
- let month2 = this.checkend.substr(5,2)
123
- if(year1 == year2){
124
- condition += ` and f_plan_year = ${year1} and f_plan_month >= ${month1} and f_plan_month <= ${month2}`
125
- }else{
126
- condition += ` and ((f_plan_year = ${year1} and f_plan_month >= ${month1}) or (f_plan_year = ${year2} and f_plan_month <= ${month2}) or (f_plan_year >${year1} and f_plan_year < ${year2}))`
127
- }
128
- }
129
- if(this.checkstart && !this.checkend){
130
- this.$showMessage('计划起始和截至时间必须同时选择!')
131
- return
132
- }
133
- if(!this.checkstart && this.checkend){
134
- this.$showMessage('计划起始和截至时间必须同时选择!')
135
- return
136
- }
137
- if(this.starttime){
138
- condition += ` and i.f_last_check_date > '${this.starttime} 00:00:00'`
139
- }
140
- if(this.endtime){
141
- condition += ` and i.f_last_check_date < '${this.endtime} 23:59:59'`
142
- }
143
- if(this.planname){
144
- condition += ` and c.id in (${this.planname})`
145
- }
146
- if(this.residentialarea){
147
- condition += ` and i.f_residential_area like '%${this.residentialarea}%'`
148
- }
149
- this.f_noruhu=[]
150
- this.f_state=''
151
- this.model.search(condition, {})
152
-
153
- }
154
- },
155
-
156
- ready () {
157
- //tag
158
- if (this.check) {
159
- let condition
160
- //tag
161
- condition = `i.f_checker_namehp='${this.check.f_checker_namehp}' and i.f_state!='作废' and i.f_filialeid = '${this.$login.f.orgid}' `
162
- if(this.checkstatus){
163
- condition += ` and cp.f_entry_status = '${this.checkstatus}'`
164
- }
165
- if (this.checkstart && this.checkend ) {
166
- let year1 = this.checkstart.substr(0,4)
167
- let year2 = this.checkend.substr(0,4)
168
- let month1 = this.checkstart.substr(5,2)
169
- let month2 = this.checkend.substr(5,2)
170
- if(year1 == year2){
171
- condition += ` and f_plan_year = ${year1} and f_plan_month >= ${month1} and f_plan_month <= ${month2}`
172
- }else{
173
- condition += ` and ((f_plan_year = ${year1} and f_plan_month >= ${month1}) or (f_plan_year = ${year2} and f_plan_month <= ${month2}) or (f_plan_year >${year1} and f_plan_year < ${year2}))`
174
- }
175
- }
176
- if(this.checkstart && !this.checkend){
177
- this.$showMessage('计划起始和截至时间必须同时选择!')
178
- return
179
- }
180
- if(!this.checkstart && this.checkend){
181
- this.$showMessage('计划起始和截至时间必须同时选择!')
182
- return
183
- }
184
- if(this.starttime){
185
- condition += ` and i.f_last_check_date > '${this.starttime} 00:00:00'`
186
- }
187
- if(this.endtime){
188
- condition += ` and i.f_last_check_date < '${this.endtime} 23:59:59'`
189
- }
190
- if(this.planname){
191
- condition += `and c.id in (${this.planname})`
192
- }
193
- if(this.residentialarea){
194
- condition += ` and i.f_residential_area like '%${this.residentialarea}%'`
195
- }
196
-
197
- this.model.search(condition, {})
198
- }
199
- },
200
- methods:{
201
- selfSearch(args){
202
- //
203
- if (this.check) {
204
- args.condition = `i.f_checker_namehp='${this.check.f_checker_namehp}' and i.f_state!='作废' and i.f_filialeid = '${this.$login.f.orgid}'`
205
- if(this.checkstatus){
206
- args.condition += ` and cp.f_entry_status = '${this.checkstatus}'`
207
- }
208
- if (this.checkstart && this.checkend ) {
209
- let year1 = this.checkstart.substr(0,4)
210
- let year2 = this.checkend.substr(0,4)
211
- let month1 = this.checkstart.substr(5,2)
212
- let month2 = this.checkend.substr(5,2)
213
- if(year1 == year2){
214
- args.condition += ` and f_plan_year = ${year1} and f_plan_month >= ${month1} and f_plan_month <= ${month2}`
215
- }else{
216
- args.condition += ` and ((f_plan_year = ${year1} and f_plan_month >= ${month1}) or (f_plan_year = ${year2} and f_plan_month <= ${month2}) or (f_plan_year >${year1} and f_plan_year < ${year2}))`
217
- }
218
- }
219
- if(this.checkstart && !this.checkend){
220
- this.$showMessage('计划起始和截至时间必须同时选择!')
221
- return
222
- }
223
- if(!this.checkstart && this.checkend){
224
- this.$showMessage('计划起始和截至时间必须同时选择!')
225
- return
226
- }
227
- if(this.starttime){
228
- args.condition += ` and i.f_last_check_date > '${this.starttime} 00:00:00'`
229
- }
230
- if(this.endtime){
231
- args.condition += ` and i.f_last_check_date < '${this.endtime} 23:59:59'`
232
- }
233
- if(this.residentialarea){
234
- args.condition += ` and i.f_residential_area like '%${this.residentialarea}%'`
235
- }
236
- if(this.planname){
237
- args.condition += ` and c.id in (${this.planname})`
238
- }
239
- //
240
- if( this.f_state){
241
- if(this.f_state=='入户'){
242
- args.condition=args.condition+" and i.f_state='已检' and i.f_last_check_state='入户'"
243
- }else if(this.f_state=='未入户'){
244
- if(this.f_noruhu && this.f_noruhu.length==1){
245
- if(this.f_noruhu[0]=='复访不遇'){
246
- args.condition += "and i.f_state='已检' and i.f_last_check_state='到访不遇' and i.f_check_version > 1 "
247
- }else{
248
- args.condition += this.f_noruhu[0]=='未检'?" and i.f_state='未检'":` and i.f_state='已检' and i.f_last_check_state='${this.f_noruhu[0]}'`
249
- }
250
- }else if(this.f_noruhu && this.f_noruhu.length==2){
251
- if(this.f_noruhu.indexOf('未检')!=-1){
252
- //
253
- if(this.f_noruhu.indexOf('到访不遇')!=-1){
254
- args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state='到访不遇'))"
255
- }else if(this.f_noruhu.indexOf('复访不遇')!=-1) {
256
- args.condition=args.condition + " and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state = '到访不遇' AND i.f_check_version >2))"
257
- }else{
258
- args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state='拒检'))"
259
- }
260
-
261
- }else{
262
- if(this.f_noruhu.indexOf('复访不遇')!=-1){
263
- if(this.f_noruhu.indexOf('到访不遇')!=-1){
264
- args.condition=args.condition + " and (i.f_state='已检' and (i.f_last_check_state='到访不遇'))"
265
- }else{
266
- args.condition=args.condition + " and i.f_state='已检' and ((i.f_last_check_state='到访不遇' and i.f_check_version >2) or i.f_last_check_state='拒检' )"
267
- }
268
- }else{
269
- args.condition=args.condition+" and (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检'))"
270
- }
271
- }
272
- }else{
273
- if(this.f_noruhu.indexOf('未检')!=-1){
274
- args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检')))"
275
- }
276
- else{
277
- args.condition=args.condition+" and (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检'))"
278
- }
279
- }
280
-
281
- }
282
-
283
- }
284
- this.model.search(args.condition, args.model)
285
- }
286
- }
287
- },
288
- computed: {
289
- // 导出到Excel的条件构造
290
- exportParameter() {
291
- return {
292
- condition: this.$refs.paged.model.condition
293
- }
294
- }
295
- },
296
- }
297
- </script>
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div partial>
6
+ <!-- <p class="text-center" style="padding: 7px;"><b>安检计划项明细</b></p>-->
7
+ <ul class="nav nav-tabs">
8
+ <li role="presentation" class="active"><a style=" color: #5ac0d9 !important;">安检明细</a></li>
9
+ </ul>
10
+ <div class="row">
11
+ <div class="form-group col-sm-4" >
12
+ <label class="font_normal_body">安检状态</label>
13
+ <v-select style="width:60% "
14
+ class="select select_list"
15
+ :value.sync="$parent.$parent.f_state"
16
+ v-model="$parent.$parent.f_state"
17
+ :options='$parent.$parent.checkState'
18
+ placeholder='安检状态'
19
+ close-on-select
20
+ value-single
21
+ >
22
+ </v-select>
23
+ </div>
24
+ <div class="form-group col-sm-4" >
25
+ <v-select style="width:60% "
26
+ v-if="$parent.$parent.f_state=='未入户'"
27
+ class="select select_list"
28
+ :value.sync="$parent.$parent.f_noruhu"
29
+ v-model="$parent.$parent.f_noruhu"
30
+ :options='$parent.$parent.noChecks'
31
+ placeholder='请选择状态'
32
+ :multiple="true"
33
+ >
34
+ </v-select>
35
+ </div>
36
+ <div class="form-group col-sm-4 button-range" >
37
+ <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
38
+ <export-excel :data="$parent.$parent.exportParameter"
39
+ :field="$parent.$parent.excelHeaders"
40
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="planItem"
41
+ template-name='安检计划明细' :choose-col="true">
42
+ </export-excel>
43
+ <!--<export-excel-->
44
+ <!--:data="{condition: $parent.$parent.condition}"-->
45
+ <!--:field="$parent.$parent.getfield"-->
46
+ <!--sqlurl="api/af-safecheck/logic/saleExport" sql-name="getGasUser" :template-name="$parent.$parent.pricename+'气价使用人'"-->
47
+ <!--:choose-col="true"></export-excel>-->
48
+
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </criteria>
53
+ <data-grid :model="model" partial='list' class="table_sy">
54
+
55
+ <template partial='head'>
56
+ <tr>
57
+ <th><nobr>计划名称</nobr></th>
58
+ <th><nobr>用户编号</nobr></th>
59
+ <th><nobr>用户名称</nobr></th>
60
+ <th><nobr>小区名称</nobr></th>
61
+ <th><nobr>地址</nobr></th>
62
+ <th><nobr>安检状态</nobr></th>
63
+ <th><nobr>是否安检</nobr></th>
64
+ </tr>
65
+ </template>
66
+ <template partial='body'>
67
+ <td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
68
+ <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
69
+ <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
70
+ <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
71
+ <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
72
+ <td style="text-align: center"><nobr>{{row.f_last_check_state}}</nobr></td>
73
+ <td style="text-align: center"><nobr>{{row.f_state}}</nobr></td>
74
+ </template>
75
+ </data-grid>
76
+ </criteria-paged>
77
+ </div>
78
+ </template>
79
+
80
+ <script>
81
+ import { PagedList } from 'vue-client'
82
+
83
+ export default {
84
+ title: '安检计划项列表',
85
+ data () {
86
+ return {
87
+ model: new PagedList('api/af-safecheck/sql/planItem', 20),
88
+ checkState:[{label:'全部',value:''},{label:'入户',value:'入户'},{label:'未入户',value:'未入户'}],
89
+ noChecks:[{label:'未检',value:'未检'},{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'复访不遇',value:'复访不遇'}],
90
+ excelHeaders: {
91
+ //用户编号 用户名称 用户电话 安检次数 用户类型 小区名称 地址 安检日期 安检状态 安检结果
92
+ 'f_plan_name':'计划名称',
93
+ 'f_userinfo_code': '用户编号',
94
+ 'f_user_name': '用户名称',
95
+ 'f_user_phone': '用户电话',
96
+ //'count_item':'安检次数',
97
+ 'f_user_type': '用户类型',
98
+ 'openstate': '开户状态',
99
+ 'f_residential_area': '小区名称',
100
+ 'f_address':'地址',
101
+ 'f_state':'是否已检',
102
+ 'f_last_check_date':'安检日期',
103
+ 'f_last_check_state': '安检状态'
104
+ },
105
+ f_state:'',
106
+ f_noruhu:''
107
+ }
108
+ },
109
+ props: [ 'check','checkstatus','checkstart','checkend','starttime','endtime','planname','residentialarea' ],
110
+ watch: {
111
+ 'check' (val) {
112
+ let condition
113
+ //tag
114
+ condition = `i.f_checker_namehp='${this.check.f_checker_namehp}' and i.f_state!='作废' and i.f_filialeid = '${this.$login.f.orgid}'`
115
+ if(this.checkstatus){
116
+ condition += ` and cp.f_entry_status = '${this.checkstatus}'`
117
+ }
118
+ if (this.checkstart && this.checkend ) {
119
+ let year1 = this.checkstart.substr(0,4)
120
+ let year2 = this.checkend.substr(0,4)
121
+ let month1 = this.checkstart.substr(5,2)
122
+ let month2 = this.checkend.substr(5,2)
123
+ if(year1 == year2){
124
+ condition += ` and f_plan_year = ${year1} and f_plan_month >= ${month1} and f_plan_month <= ${month2}`
125
+ }else{
126
+ condition += ` and ((f_plan_year = ${year1} and f_plan_month >= ${month1}) or (f_plan_year = ${year2} and f_plan_month <= ${month2}) or (f_plan_year >${year1} and f_plan_year < ${year2}))`
127
+ }
128
+ }
129
+ if(this.checkstart && !this.checkend){
130
+ this.$showMessage('计划起始和截至时间必须同时选择!')
131
+ return
132
+ }
133
+ if(!this.checkstart && this.checkend){
134
+ this.$showMessage('计划起始和截至时间必须同时选择!')
135
+ return
136
+ }
137
+ if(this.starttime){
138
+ condition += ` and i.f_last_check_date > '${this.starttime} 00:00:00'`
139
+ }
140
+ if(this.endtime){
141
+ condition += ` and i.f_last_check_date < '${this.endtime} 23:59:59'`
142
+ }
143
+ if(this.planname){
144
+ condition += ` and c.id in (${this.planname})`
145
+ }
146
+ if(this.residentialarea){
147
+ condition += ` and i.f_residential_area like '%${this.residentialarea}%'`
148
+ }
149
+ this.f_noruhu=[]
150
+ this.f_state=''
151
+ this.model.search(condition, {})
152
+
153
+ }
154
+ },
155
+
156
+ ready () {
157
+ //tag
158
+ if (this.check) {
159
+ let condition
160
+ //tag
161
+ condition = `i.f_checker_namehp='${this.check.f_checker_namehp}' and i.f_state!='作废' and i.f_filialeid = '${this.$login.f.orgid}' `
162
+ if(this.checkstatus){
163
+ condition += ` and cp.f_entry_status = '${this.checkstatus}'`
164
+ }
165
+ if (this.checkstart && this.checkend ) {
166
+ let year1 = this.checkstart.substr(0,4)
167
+ let year2 = this.checkend.substr(0,4)
168
+ let month1 = this.checkstart.substr(5,2)
169
+ let month2 = this.checkend.substr(5,2)
170
+ if(year1 == year2){
171
+ condition += ` and f_plan_year = ${year1} and f_plan_month >= ${month1} and f_plan_month <= ${month2}`
172
+ }else{
173
+ condition += ` and ((f_plan_year = ${year1} and f_plan_month >= ${month1}) or (f_plan_year = ${year2} and f_plan_month <= ${month2}) or (f_plan_year >${year1} and f_plan_year < ${year2}))`
174
+ }
175
+ }
176
+ if(this.checkstart && !this.checkend){
177
+ this.$showMessage('计划起始和截至时间必须同时选择!')
178
+ return
179
+ }
180
+ if(!this.checkstart && this.checkend){
181
+ this.$showMessage('计划起始和截至时间必须同时选择!')
182
+ return
183
+ }
184
+ if(this.starttime){
185
+ condition += ` and i.f_last_check_date > '${this.starttime} 00:00:00'`
186
+ }
187
+ if(this.endtime){
188
+ condition += ` and i.f_last_check_date < '${this.endtime} 23:59:59'`
189
+ }
190
+ if(this.planname){
191
+ condition += `and c.id in (${this.planname})`
192
+ }
193
+ if(this.residentialarea){
194
+ condition += ` and i.f_residential_area like '%${this.residentialarea}%'`
195
+ }
196
+
197
+ this.model.search(condition, {})
198
+ }
199
+ },
200
+ methods:{
201
+ selfSearch(args){
202
+ //
203
+ if (this.check) {
204
+ args.condition = `i.f_checker_namehp='${this.check.f_checker_namehp}' and i.f_state!='作废' and i.f_filialeid = '${this.$login.f.orgid}'`
205
+ if(this.checkstatus){
206
+ args.condition += ` and cp.f_entry_status = '${this.checkstatus}'`
207
+ }
208
+ if (this.checkstart && this.checkend ) {
209
+ let year1 = this.checkstart.substr(0,4)
210
+ let year2 = this.checkend.substr(0,4)
211
+ let month1 = this.checkstart.substr(5,2)
212
+ let month2 = this.checkend.substr(5,2)
213
+ if(year1 == year2){
214
+ args.condition += ` and f_plan_year = ${year1} and f_plan_month >= ${month1} and f_plan_month <= ${month2}`
215
+ }else{
216
+ args.condition += ` and ((f_plan_year = ${year1} and f_plan_month >= ${month1}) or (f_plan_year = ${year2} and f_plan_month <= ${month2}) or (f_plan_year >${year1} and f_plan_year < ${year2}))`
217
+ }
218
+ }
219
+ if(this.checkstart && !this.checkend){
220
+ this.$showMessage('计划起始和截至时间必须同时选择!')
221
+ return
222
+ }
223
+ if(!this.checkstart && this.checkend){
224
+ this.$showMessage('计划起始和截至时间必须同时选择!')
225
+ return
226
+ }
227
+ if(this.starttime){
228
+ args.condition += ` and i.f_last_check_date > '${this.starttime} 00:00:00'`
229
+ }
230
+ if(this.endtime){
231
+ args.condition += ` and i.f_last_check_date < '${this.endtime} 23:59:59'`
232
+ }
233
+ if(this.residentialarea){
234
+ args.condition += ` and i.f_residential_area like '%${this.residentialarea}%'`
235
+ }
236
+ if(this.planname){
237
+ args.condition += ` and c.id in (${this.planname})`
238
+ }
239
+ //
240
+ if( this.f_state){
241
+ if(this.f_state=='入户'){
242
+ args.condition=args.condition+" and i.f_state='已检' and i.f_last_check_state='入户'"
243
+ }else if(this.f_state=='未入户'){
244
+ if(this.f_noruhu && this.f_noruhu.length==1){
245
+ if(this.f_noruhu[0]=='复访不遇'){
246
+ args.condition += "and i.f_state='已检' and i.f_last_check_state='到访不遇' and i.f_check_version > 1 "
247
+ }else{
248
+ args.condition += this.f_noruhu[0]=='未检'?" and i.f_state='未检'":` and i.f_state='已检' and i.f_last_check_state='${this.f_noruhu[0]}'`
249
+ }
250
+ }else if(this.f_noruhu && this.f_noruhu.length==2){
251
+ if(this.f_noruhu.indexOf('未检')!=-1){
252
+ //
253
+ if(this.f_noruhu.indexOf('到访不遇')!=-1){
254
+ args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state='到访不遇'))"
255
+ }else if(this.f_noruhu.indexOf('复访不遇')!=-1) {
256
+ args.condition=args.condition + " and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state = '到访不遇' AND i.f_check_version >2))"
257
+ }else{
258
+ args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state='拒检'))"
259
+ }
260
+
261
+ }else{
262
+ if(this.f_noruhu.indexOf('复访不遇')!=-1){
263
+ if(this.f_noruhu.indexOf('到访不遇')!=-1){
264
+ args.condition=args.condition + " and (i.f_state='已检' and (i.f_last_check_state='到访不遇'))"
265
+ }else{
266
+ args.condition=args.condition + " and i.f_state='已检' and ((i.f_last_check_state='到访不遇' and i.f_check_version >2) or i.f_last_check_state='拒检' )"
267
+ }
268
+ }else{
269
+ args.condition=args.condition+" and (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检'))"
270
+ }
271
+ }
272
+ }else{
273
+ if(this.f_noruhu.indexOf('未检')!=-1){
274
+ args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检')))"
275
+ }
276
+ else{
277
+ args.condition=args.condition+" and (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检'))"
278
+ }
279
+ }
280
+
281
+ }
282
+
283
+ }
284
+ this.model.search(args.condition, args.model)
285
+ }
286
+ }
287
+ },
288
+ computed: {
289
+ // 导出到Excel的条件构造
290
+ exportParameter() {
291
+ return {
292
+ condition: this.$refs.paged.model.condition
293
+ }
294
+ }
295
+ },
296
+ }
297
+ </script>