safecheck-client 3.0.30-62-t10 → 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 (246) 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 +16 -60
  30. package/src/components/pc/PaperChazhiMain.vue +504 -504
  31. package/src/components/pc/PaperDefectMain.vue +879 -866
  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/android/PhoneUpUserinfo.vue +1376 -1376
  77. package/src/filiale/bayan/pc/CheckDetail.vue +205 -205
  78. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -1110
  79. package/src/filiale/bayan/pc/DefectPaperNew.vue +1239 -1239
  80. package/src/filiale/bayan/pc/PaperList.vue +900 -900
  81. package/src/filiale/bayan/pc/SelectCheckPlan.vue +396 -396
  82. package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -1066
  83. package/src/filiale/dexin/pc/PaperList.vue +805 -805
  84. package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -1085
  85. package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -928
  86. package/src/filiale/fugou/pc/PaperList.vue +911 -911
  87. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  88. package/src/filiale/fugou/pc/checkUserList.vue +904 -904
  89. package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -977
  90. package/src/filiale/fugu/pc/SelectCheckPlan.vue +273 -273
  91. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +688 -688
  92. package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -1009
  93. package/src/filiale/ganquan/pc/PaperList.vue +654 -654
  94. package/src/filiale/ganquan/pc/PaperVisitMain.vue +166 -166
  95. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +234 -234
  96. package/src/filiale/ganquan/pc/checkUserList.vue +681 -681
  97. package/src/filiale/gehua/pc/PaperList.vue +558 -558
  98. package/src/filiale/gehua/pc/checkUserList.vue +720 -720
  99. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +471 -471
  100. package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -988
  101. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -1127
  102. package/src/filiale/hanzhong/pc/CheckUserList.vue +755 -755
  103. package/src/filiale/hanzhong/pc/PaperList.vue +702 -702
  104. package/src/filiale/huaran/pc/PaperList.vue +843 -843
  105. package/src/filiale/huaran/pc/checkPlanList.vue +419 -419
  106. package/src/filiale/huaran/pc/checkUserList.vue +900 -900
  107. package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -800
  108. package/src/filiale/huatong/pc/PaperList.vue +789 -789
  109. package/src/filiale/huayin/pc/PaperList.vue +621 -621
  110. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -1011
  111. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +479 -479
  112. package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -1062
  113. package/src/filiale/jingyang/pc/PaperList.vue +793 -793
  114. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -543
  115. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
  116. package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -1011
  117. package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -1090
  118. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -897
  119. package/src/filiale/kelai/pc/PaperList.vue +596 -596
  120. package/src/filiale/kelai/pc/checkUserList.vue +698 -698
  121. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -963
  122. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +1011 -1011
  123. package/src/filiale/liaoyuan/pc/PaperList.vue +637 -637
  124. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -373
  125. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +467 -467
  126. package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -927
  127. package/src/filiale/lixian/pc/PaperChazhiMain.vue +540 -540
  128. package/src/filiale/lixian/pc/PaperDefectMain.vue +551 -551
  129. package/src/filiale/lixian/pc/PaperList.vue +620 -620
  130. package/src/filiale/lixian/pc/checkPlanList.vue +366 -366
  131. package/src/filiale/lixian/pc/checkUserList.vue +761 -761
  132. package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -976
  133. package/src/filiale/minsheng/pc/checkUserList.vue +806 -806
  134. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -1012
  135. package/src/filiale/pingxiang/pc/PaperList.vue +595 -595
  136. package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -1072
  137. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +220 -220
  138. package/src/filiale/qianneng/pc/PaperList.vue +777 -777
  139. package/src/filiale/qianneng/pc/checkPlanList.vue +429 -429
  140. package/src/filiale/qianneng/pc/checkUserList.vue +871 -871
  141. package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -895
  142. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -858
  143. package/src/filiale/rizhao/pc/PaperList.vue +714 -714
  144. package/src/filiale/rongchuang/pc/PaperList.vue +812 -812
  145. package/src/filiale/rongchuang/pc/checkUserList.vue +621 -621
  146. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -447
  147. package/src/filiale/shanxian/pc/CheckDetail.vue +205 -205
  148. package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -1114
  149. package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -1096
  150. package/src/filiale/shanxian/pc/PaperList.vue +785 -785
  151. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +324 -324
  152. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  153. package/src/filiale/shaoguan/pc/PaperList.vue +589 -589
  154. package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -1161
  155. package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -893
  156. package/src/filiale/shexian/pc/PaperList.vue +822 -822
  157. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +463 -463
  158. package/src/filiale/shimen/pc/CheckSearchUser.vue +927 -927
  159. package/src/filiale/shimen/pc/PaperDefectMain.vue +589 -589
  160. package/src/filiale/shimen/pc/PaperList.vue +547 -547
  161. package/src/filiale/shiquan/pc/checkUserList.vue +755 -755
  162. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -512
  163. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
  164. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -864
  165. package/src/filiale/siyang/pc/PaperList.vue +834 -834
  166. package/src/filiale/siyang/pc/checkPlanList.vue +367 -367
  167. package/src/filiale/siyang/pc/checkUserList.vue +765 -765
  168. package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -891
  169. package/src/filiale/tongchuan/pc/CheckDetail.vue +205 -205
  170. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +502 -502
  171. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +246 -246
  172. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1045 -1045
  173. package/src/filiale/tongchuan/pc/DefectPaper.vue +764 -764
  174. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +593 -593
  175. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +213 -213
  176. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  177. package/src/filiale/tongchuan/pc/PaperList.vue +670 -670
  178. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +296 -296
  179. package/src/filiale/tongchuan/pc/checkUserList.vue +639 -639
  180. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
  181. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  182. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +297 -297
  183. package/src/filiale/weinan/pc/CheckNoDetail.vue +259 -259
  184. package/src/filiale/weinan/pc/CheckPlanUserList.vue +338 -338
  185. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -1078
  186. package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -1096
  187. package/src/filiale/weinan/pc/PaperDefectMain.vue +576 -576
  188. package/src/filiale/weinan/pc/PaperList.vue +674 -674
  189. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +299 -299
  190. package/src/filiale/weinan/pc/SelectCheckPlan.vue +389 -389
  191. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -446
  192. package/src/filiale/weinan/pc/checkPlanList.vue +456 -456
  193. package/src/filiale/weinan/pc/checkUserList.vue +712 -712
  194. package/src/filiale/weinanct/pc/PaperList.vue +593 -593
  195. package/src/filiale/wensu/pc/CheckDetail.vue +205 -205
  196. package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -1238
  197. package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -1148
  198. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  199. package/src/filiale/wensu/pc/checkUserList.vue +650 -650
  200. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +456 -456
  201. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +217 -217
  202. package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -991
  203. package/src/filiale/wenxi/pc/DefectPaper.vue +663 -663
  204. package/src/filiale/wenxi/pc/PaperDefectMain.vue +790 -790
  205. package/src/filiale/wenxi/pc/PaperList.vue +949 -949
  206. package/src/filiale/wenxi/pc/checkPlanList.vue +517 -517
  207. package/src/filiale/wenxi/pc/checkUserList.vue +695 -695
  208. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +515 -515
  209. package/src/filiale/wuan/pc/PaperList.vue +562 -562
  210. package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -959
  211. package/src/filiale/wuhai/pc/PaperList.vue +785 -785
  212. package/src/filiale/wuhai/pc/checkUserList.vue +611 -611
  213. package/src/filiale/xilan/pc/PaperList.vue +795 -795
  214. package/src/filiale/xilan/pc/checkUserList.vue +772 -772
  215. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +425 -425
  216. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +216 -216
  217. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  218. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -538
  219. package/src/filiale/xinkang/pc/PaperDefectMain.vue +525 -525
  220. package/src/filiale/xinkang/pc/PaperList.vue +603 -603
  221. package/src/filiale/xinkang/pc/checkUserList.vue +639 -639
  222. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
  223. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
  224. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  225. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
  226. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -1046
  227. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
  228. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -1092
  229. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -1105
  230. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -557
  231. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -872
  232. package/src/filiale/yongzhou/pc/PaperList.vue +798 -798
  233. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -364
  234. package/src/filiale/yongzhou/pc/checkUserList.vue +752 -752
  235. package/src/filiale/yongzhou/pc/communityDetail.vue +194 -194
  236. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -138
  237. package/src/filiale/yongzhou/pc/safeDetail.vue +539 -539
  238. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -455
  239. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -267
  240. package/src/filiale/yuansheng/pc/PaperList.vue +621 -621
  241. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
  242. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +495 -495
  243. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +515 -515
  244. package/src/filiale/zhongsheng/pc/PaperList.vue +644 -644
  245. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +923 -923
  246. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +465 -465
@@ -1,296 +1,296 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' class="search_area" @condition-changed='$parent.search' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div :class="{'form-group col-sm-6':$parent.$parent.$parent.showItem,'form-group col-sm-4':!$parent.$parent.$parent.showItem}" style="margin: 0">
8
- <role-selector-safe
9
- :value-multiple="true"
10
- :value-close="false"
11
- role-name="安检员"
12
- role-lable="安&ensp;检&ensp;员"
13
- @re-res="$parent.$parent.getRes"
14
- :value.sync="model.f_checker_id"
15
- v-model="model.f_checker_id">
16
- </role-selector-safe>
17
- </div>
18
- <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
19
- <label class="font_normal_body">计划起始</label>
20
- <datepicker
21
- :value.sync="$parent.$parent.f_check_start"
22
- placeholder='起始月份' style="width:60%"
23
- :disabled-days-of-week="[]"
24
- :format="'yyyy-MM'"
25
- :select-month="true"
26
- :show-rest-button="reset">
27
- </datepicker>
28
- </div>
29
- <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
30
- <label class="font_normal_body">计划截止</label>
31
- <datepicker
32
- :value.sync="$parent.$parent.f_check_end"
33
- placeholder='结束月份' style="width:60%"
34
- :disabled-days-of-week="[]"
35
- :format="'yyyy-MM'"
36
- :select-month="true"
37
- :show-rest-button="reset">
38
- </datepicker>
39
- </div>
40
- <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" >
41
- <label class="font_normal_body">安检状态</label>
42
- <v-select :value.sync="model.f_last_check_state" :options='$parent.$parent.checkStates' placeholder='上次安检状态' close-on-select
43
- style="width:60% " class="select select_list" v-model='model.f_last_check_state' condition="i.f_last_check_state = '{}'">
44
- </v-select>
45
- </div>-->
46
- <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
47
- <label class="font_normal_body">安检起始</label>
48
- <datepicker
49
- :value.sync="$parent.$parent.f_start_time"
50
- placeholder='安检起始' style="width:60%"
51
- :show-rest-button="reset">
52
- </datepicker>
53
- </div>
54
- <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
55
- <label class="font_normal_body">安检截止</label>
56
- <datepicker
57
- :value.sync="$parent.$parent.f_end_time"
58
- placeholder='安检截止' style="width:60%"
59
- :show-rest-button="reset">
60
- </datepicker>
61
- </div>
62
- <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
63
- <!--<label class="font_normal_body">安检起始</label>-->
64
- <!--<datepicker-->
65
- <!--:value.sync="$parent.$parent.f_start_time"-->
66
- <!--placeholder='起始时间' style="width:60%"-->
67
- <!--:disabled-days-of-week="[]"-->
68
- <!--:format="'yyyy-MM-dd'"-->
69
- <!--:show-rest-button="reset">-->
70
- <!--</datepicker>-->
71
- <!--</div>-->
72
- <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
73
- <!--<label class="font_normal_body">安检结束</label>-->
74
- <!--<datepicker-->
75
- <!--:value.sync="$parent.$parent.f_end_time"-->
76
- <!--placeholder='结束时间' style="width:60%"-->
77
- <!--:disabled-days-of-week="[]"-->
78
- <!--:format="'yyyy-MM-dd'"-->
79
- <!--:show-rest-button="reset">-->
80
- <!--</datepicker>-->
81
- <!--</div>-->
82
- <div style="width: auto;margin-top:8px;float: right" :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
83
- <export-excel :data="$parent.$parent.searchData"
84
- :field="$parent.$parent.excelHeaders"
85
- progress="safeGetExportProgress"
86
- sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="planCount" template-name='安检计划明细' ></export-excel>
87
- <button type="button" class="button_search button_spacing" @click="search()">查询</button>
88
- <!--<div class="button_spacing"-->
89
- <!--:class="{'button_shrink_top':$parent.criteriaShow,'button_shrink_bottom':!$parent.criteriaShow}"-->
90
- <!--@click="$parent.$parent.hidden()">-->
91
- <!--</div>-->
92
- <div class="button_spacing"
93
- :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
94
- @click="$parent.$parent.hiddenr()"></div>
95
- </div>
96
- </div>
97
- </div>
98
- </criteria>
99
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
100
- <template partial='head'>
101
- <tr>
102
- <th>安检员</th>
103
- <th>计划总数</th>
104
- <!-- <th>计划中未入户</th>-->
105
- <!-- <th>计划中已入户</th>-->
106
- <th>入户</th>
107
- <th>到访不遇</th>
108
- <th>拒检</th>
109
- <th>无计划总数</th>
110
- <th>无计划入户</th>
111
- <th>无计划到访不遇</th>
112
- <th>无计划拒检</th>
113
- </tr>
114
- </template>
115
- <template partial='body'>
116
- <td style="text-align: center">{{row.f_checker}}</td>
117
- <td style="text-align: center">{{row.plannum}}</td>
118
- <!-- <td style="text-align: center">{{row.wrj}}</td>-->
119
- <!-- <td style="text-align: center">{{row.yrj}}</td>-->
120
- <td style="text-align: center">{{row.ruhu}}</td>
121
- <td style="text-align: center">{{row.daofang}}</td>
122
- <td style="text-align: center">{{row.jujian}}</td>
123
- <td style="text-align: center">{{row.no_plan_num}}</td>
124
- <td style="text-align: center">{{row.noruhu}}</td>
125
- <td style="text-align: center">{{row.nodaofang}}</td>
126
- <td style="text-align: center">{{row.nojujian}}</td>
127
- </template>
128
- <template partial="foot">
129
- <td style="text-align: center"><span><b>合计:</b></span></td>
130
- <td style="text-align: center">{{model.sums.plannum}}</td>
131
- <!-- <td style="text-align: center">{{model.sums.wrj}}</td>-->
132
- <!-- <td style="text-align: center">{{model.sums.yrj}}</td>-->
133
- <td style="text-align: center">{{model.sums.ruhu}}</td>
134
- <td style="text-align: center">{{model.sums.daofang}}</td>
135
- <td style="text-align: center">{{model.sums.jujian}}</td>
136
- <td style="text-align: center">{{model.sums.no_plan_num}}</td>
137
- <td style="text-align: center">{{model.sums.noruhu}}</td>
138
- <td style="text-align: center">{{model.sums.nodaofang}}</td>
139
- <td style="text-align: center">{{model.sums.nojujian}}</td>
140
- </template>
141
- </data-grid>
142
- </criteria-paged>
143
- </div>
144
- </template>
145
- <script>
146
- import {PagedList} from 'vue-client'
147
-
148
-
149
- export default {
150
- title: '安检计划查询',
151
- data() {
152
- let options = []
153
- let year = (new Date()).getFullYear()
154
- for (let i = year - 8; i <= year + 1; i++)
155
- options.push({label: i + '', value: i + ''})
156
- let model = new PagedList('api/af-safecheck/sql/planCount', 20, {
157
- f_filialeids: 'this.f_filialeids',
158
- f_start_time: 'this.f_start_time',
159
- condition1:'this.condition1',
160
- condition2:'this.condition2',
161
- condition3:'this.condition3',
162
- f_end_time: 'this.f_end_time'
163
- }, {plannum: '', ruhu: '', jujian: '', daofang: '',no_plan_num:'',noruhu:'',nodaofang:'',nojujian:''})
164
- model.f_filialeids = '('+this.$login.f.orgid+')'
165
- return {
166
- excelHeaders:{
167
- 'f_checker': '安检员',
168
- 'plannum': '计划总数',
169
- // 'yrj': '计划中已入户',
170
- // 'wrj': '计划中未入户',
171
- 'ruhu': '入户',
172
- 'jujian': '拒检',
173
- 'daofang': '到访不遇',
174
- 'no_plan_num': '无计划总数',
175
- 'noruhu': '无计划入户',
176
- 'nojujian': '无计划拒检',
177
- 'nodaofang': '无计划到访不遇'
178
- },
179
- searchData:{
180
- condition:"1=1",
181
- f_plan_year:year[0],
182
- f_checker:'',
183
- f_filialeids:'('+this.$login.f.orgid+')',
184
- f_start_time:'',
185
- f_end_time:''
186
- },
187
- checker: this.$login.f,
188
- checkers: [],
189
- checkersname: [],
190
- checkStates: this.$appdata.getParam('安检状态'),
191
- f: this.$login.f,
192
- criteriaShow: false,
193
- model: model,
194
- c_year_list: options,
195
- f_check_start:'',
196
- f_check_end: '',
197
- f_start_time:'',
198
- f_end_time:''
199
- }
200
- },
201
- methods: {
202
- hidden() {
203
- this.criteriaShow = !this.criteriaShow
204
- },
205
- hiddenr() {
206
- this.$parent.showItem = !this.$parent.showItem
207
- },
208
- search(args) {
209
- let tempStr = args.condition
210
- let condition1 =tempStr
211
- let condition2 =tempStr
212
- let condition3 = ' and 1=1 '
213
- if (this.f_check_start) {
214
- condition1 += ` AND f_plan_year >= ${this.f_check_start.substr(0,4)} `
215
- condition1 += ` AND f_plan_month >= ${this.f_check_start.substr(5,2)} `
216
- }
217
- if (this.f_check_end) {
218
- condition1 += ` AND f_plan_year <= ${this.f_check_end.substr(0,4)} `
219
- condition1 += ` AND f_plan_month <= ${this.f_check_end.substr(5,2)} `
220
- }
221
- if(this.f_start_time){
222
- condition2 += ` AND f_offsite_time >= '${this.f_start_time} 00:00:00'`
223
- }
224
- if (this.f_end_time){
225
- condition2 += ` AND f_offsite_time <= '${this.f_end_time} 23:59:59'`
226
- }
227
- if (this.$refs.paged.$refs.cri.model.f_checker_id){
228
- debugger
229
- condition3 += ` AND f_checker in ${this.$refs.paged.$refs.cri.model.f_checker_id} `
230
- condition2 += ` AND f_checker_name in ${this.$refs.paged.$refs.cri.model.f_checker_id} `
231
- }
232
- this.model.f_start_time=this.f_start_time
233
- this.model.f_end_time=this.f_end_time
234
- this.model.condition1=condition1
235
- this.model.condition2=condition2
236
- this.model.condition3=condition3
237
- this.model.search(args.condition, args.model)
238
- },
239
- getRes(obj){
240
- this.model.f_filialeids = this.$login.convertToIn(obj.resids);
241
- //tag
242
- }
243
- },
244
- ready() {
245
- this.model.id = this.$login.f.id
246
- this.model.f_subcompany = this.$login.f.f_fengongsi
247
- this.model.f_filialeid = this.$login.f.orgid
248
- },
249
-
250
- watch: {
251
- 'model.condition'(val) {
252
- if(val){
253
- this.searchData.condition = val
254
- }
255
- },
256
- 'model.f_checker'(val) {
257
- if(val){
258
- this.searchData.f_checker = val
259
- }
260
- },
261
- 'f_start_time'(val) {
262
- if(val){
263
- this.searchData.f_start_time = val
264
- }
265
- },
266
- 'f_end_time'(val) {
267
- if(val){
268
- this.searchData.f_end_time = val
269
- }
270
- },
271
- 'checker'() {
272
- // //tag
273
- //tag
274
- this.model.chosenOrg = this.checker[0]
275
- },
276
- 'model.rows.length'() {
277
- // 如果查询无结果,将合计置为0
278
- if(this.model.rows.length < 1 &&this. model.sums){
279
- this.model.sums.yrj = 0
280
- this.model.sums.no_plan_num = 0
281
- this.model.sums.wrj = 0
282
- this.model.sums.ruhu = 0
283
- this.model.sums.jujian = 0
284
- this.model.sums.daofang = 0
285
- }
286
- }
287
- },
288
- computed: {
289
- selected() {
290
- // //tag
291
- // this.$parent.showItem=!this.$parent.showItem
292
- return this.$refs.paged.$refs.grid.selected
293
- }
294
- }
295
- }
296
- </script>
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' class="search_area" @condition-changed='$parent.search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div :class="{'form-group col-sm-6':$parent.$parent.$parent.showItem,'form-group col-sm-4':!$parent.$parent.$parent.showItem}" style="margin: 0">
8
+ <role-selector-safe
9
+ :value-multiple="true"
10
+ :value-close="false"
11
+ role-name="安检员"
12
+ role-lable="安&ensp;检&ensp;员"
13
+ @re-res="$parent.$parent.getRes"
14
+ :value.sync="model.f_checker_id"
15
+ v-model="model.f_checker_id">
16
+ </role-selector-safe>
17
+ </div>
18
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
19
+ <label class="font_normal_body">计划起始</label>
20
+ <datepicker
21
+ :value.sync="$parent.$parent.f_check_start"
22
+ placeholder='起始月份' style="width:60%"
23
+ :disabled-days-of-week="[]"
24
+ :format="'yyyy-MM'"
25
+ :select-month="true"
26
+ :show-rest-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
30
+ <label class="font_normal_body">计划截止</label>
31
+ <datepicker
32
+ :value.sync="$parent.$parent.f_check_end"
33
+ placeholder='结束月份' style="width:60%"
34
+ :disabled-days-of-week="[]"
35
+ :format="'yyyy-MM'"
36
+ :select-month="true"
37
+ :show-rest-button="reset">
38
+ </datepicker>
39
+ </div>
40
+ <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" >
41
+ <label class="font_normal_body">安检状态</label>
42
+ <v-select :value.sync="model.f_last_check_state" :options='$parent.$parent.checkStates' placeholder='上次安检状态' close-on-select
43
+ style="width:60% " class="select select_list" v-model='model.f_last_check_state' condition="i.f_last_check_state = '{}'">
44
+ </v-select>
45
+ </div>-->
46
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
47
+ <label class="font_normal_body">安检起始</label>
48
+ <datepicker
49
+ :value.sync="$parent.$parent.f_start_time"
50
+ placeholder='安检起始' style="width:60%"
51
+ :show-rest-button="reset">
52
+ </datepicker>
53
+ </div>
54
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
55
+ <label class="font_normal_body">安检截止</label>
56
+ <datepicker
57
+ :value.sync="$parent.$parent.f_end_time"
58
+ placeholder='安检截止' style="width:60%"
59
+ :show-rest-button="reset">
60
+ </datepicker>
61
+ </div>
62
+ <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
63
+ <!--<label class="font_normal_body">安检起始</label>-->
64
+ <!--<datepicker-->
65
+ <!--:value.sync="$parent.$parent.f_start_time"-->
66
+ <!--placeholder='起始时间' style="width:60%"-->
67
+ <!--:disabled-days-of-week="[]"-->
68
+ <!--:format="'yyyy-MM-dd'"-->
69
+ <!--:show-rest-button="reset">-->
70
+ <!--</datepicker>-->
71
+ <!--</div>-->
72
+ <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
73
+ <!--<label class="font_normal_body">安检结束</label>-->
74
+ <!--<datepicker-->
75
+ <!--:value.sync="$parent.$parent.f_end_time"-->
76
+ <!--placeholder='结束时间' style="width:60%"-->
77
+ <!--:disabled-days-of-week="[]"-->
78
+ <!--:format="'yyyy-MM-dd'"-->
79
+ <!--:show-rest-button="reset">-->
80
+ <!--</datepicker>-->
81
+ <!--</div>-->
82
+ <div style="width: auto;margin-top:8px;float: right" :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
83
+ <export-excel :data="$parent.$parent.searchData"
84
+ :field="$parent.$parent.excelHeaders"
85
+ progress="safeGetExportProgress"
86
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="planCount" template-name='安检计划明细' ></export-excel>
87
+ <button type="button" class="button_search button_spacing" @click="search()">查询</button>
88
+ <!--<div class="button_spacing"-->
89
+ <!--:class="{'button_shrink_top':$parent.criteriaShow,'button_shrink_bottom':!$parent.criteriaShow}"-->
90
+ <!--@click="$parent.$parent.hidden()">-->
91
+ <!--</div>-->
92
+ <div class="button_spacing"
93
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
94
+ @click="$parent.$parent.hiddenr()"></div>
95
+ </div>
96
+ </div>
97
+ </div>
98
+ </criteria>
99
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
100
+ <template partial='head'>
101
+ <tr>
102
+ <th>安检员</th>
103
+ <th>计划总数</th>
104
+ <!-- <th>计划中未入户</th>-->
105
+ <!-- <th>计划中已入户</th>-->
106
+ <th>入户</th>
107
+ <th>到访不遇</th>
108
+ <th>拒检</th>
109
+ <th>无计划总数</th>
110
+ <th>无计划入户</th>
111
+ <th>无计划到访不遇</th>
112
+ <th>无计划拒检</th>
113
+ </tr>
114
+ </template>
115
+ <template partial='body'>
116
+ <td style="text-align: center">{{row.f_checker}}</td>
117
+ <td style="text-align: center">{{row.plannum}}</td>
118
+ <!-- <td style="text-align: center">{{row.wrj}}</td>-->
119
+ <!-- <td style="text-align: center">{{row.yrj}}</td>-->
120
+ <td style="text-align: center">{{row.ruhu}}</td>
121
+ <td style="text-align: center">{{row.daofang}}</td>
122
+ <td style="text-align: center">{{row.jujian}}</td>
123
+ <td style="text-align: center">{{row.no_plan_num}}</td>
124
+ <td style="text-align: center">{{row.noruhu}}</td>
125
+ <td style="text-align: center">{{row.nodaofang}}</td>
126
+ <td style="text-align: center">{{row.nojujian}}</td>
127
+ </template>
128
+ <template partial="foot">
129
+ <td style="text-align: center"><span><b>合计:</b></span></td>
130
+ <td style="text-align: center">{{model.sums.plannum}}</td>
131
+ <!-- <td style="text-align: center">{{model.sums.wrj}}</td>-->
132
+ <!-- <td style="text-align: center">{{model.sums.yrj}}</td>-->
133
+ <td style="text-align: center">{{model.sums.ruhu}}</td>
134
+ <td style="text-align: center">{{model.sums.daofang}}</td>
135
+ <td style="text-align: center">{{model.sums.jujian}}</td>
136
+ <td style="text-align: center">{{model.sums.no_plan_num}}</td>
137
+ <td style="text-align: center">{{model.sums.noruhu}}</td>
138
+ <td style="text-align: center">{{model.sums.nodaofang}}</td>
139
+ <td style="text-align: center">{{model.sums.nojujian}}</td>
140
+ </template>
141
+ </data-grid>
142
+ </criteria-paged>
143
+ </div>
144
+ </template>
145
+ <script>
146
+ import {PagedList} from 'vue-client'
147
+
148
+
149
+ export default {
150
+ title: '安检计划查询',
151
+ data() {
152
+ let options = []
153
+ let year = (new Date()).getFullYear()
154
+ for (let i = year - 8; i <= year + 1; i++)
155
+ options.push({label: i + '', value: i + ''})
156
+ let model = new PagedList('api/af-safecheck/sql/planCount', 20, {
157
+ f_filialeids: 'this.f_filialeids',
158
+ f_start_time: 'this.f_start_time',
159
+ condition1:'this.condition1',
160
+ condition2:'this.condition2',
161
+ condition3:'this.condition3',
162
+ f_end_time: 'this.f_end_time'
163
+ }, {plannum: '', ruhu: '', jujian: '', daofang: '',no_plan_num:'',noruhu:'',nodaofang:'',nojujian:''})
164
+ model.f_filialeids = '('+this.$login.f.orgid+')'
165
+ return {
166
+ excelHeaders:{
167
+ 'f_checker': '安检员',
168
+ 'plannum': '计划总数',
169
+ // 'yrj': '计划中已入户',
170
+ // 'wrj': '计划中未入户',
171
+ 'ruhu': '入户',
172
+ 'jujian': '拒检',
173
+ 'daofang': '到访不遇',
174
+ 'no_plan_num': '无计划总数',
175
+ 'noruhu': '无计划入户',
176
+ 'nojujian': '无计划拒检',
177
+ 'nodaofang': '无计划到访不遇'
178
+ },
179
+ searchData:{
180
+ condition:"1=1",
181
+ f_plan_year:year[0],
182
+ f_checker:'',
183
+ f_filialeids:'('+this.$login.f.orgid+')',
184
+ f_start_time:'',
185
+ f_end_time:''
186
+ },
187
+ checker: this.$login.f,
188
+ checkers: [],
189
+ checkersname: [],
190
+ checkStates: this.$appdata.getParam('安检状态'),
191
+ f: this.$login.f,
192
+ criteriaShow: false,
193
+ model: model,
194
+ c_year_list: options,
195
+ f_check_start:'',
196
+ f_check_end: '',
197
+ f_start_time:'',
198
+ f_end_time:''
199
+ }
200
+ },
201
+ methods: {
202
+ hidden() {
203
+ this.criteriaShow = !this.criteriaShow
204
+ },
205
+ hiddenr() {
206
+ this.$parent.showItem = !this.$parent.showItem
207
+ },
208
+ search(args) {
209
+ let tempStr = args.condition
210
+ let condition1 =tempStr
211
+ let condition2 =tempStr
212
+ let condition3 = ' and 1=1 '
213
+ if (this.f_check_start) {
214
+ condition1 += ` AND f_plan_year >= ${this.f_check_start.substr(0,4)} `
215
+ condition1 += ` AND f_plan_month >= ${this.f_check_start.substr(5,2)} `
216
+ }
217
+ if (this.f_check_end) {
218
+ condition1 += ` AND f_plan_year <= ${this.f_check_end.substr(0,4)} `
219
+ condition1 += ` AND f_plan_month <= ${this.f_check_end.substr(5,2)} `
220
+ }
221
+ if(this.f_start_time){
222
+ condition2 += ` AND f_offsite_time >= '${this.f_start_time} 00:00:00'`
223
+ }
224
+ if (this.f_end_time){
225
+ condition2 += ` AND f_offsite_time <= '${this.f_end_time} 23:59:59'`
226
+ }
227
+ if (this.$refs.paged.$refs.cri.model.f_checker_id){
228
+ debugger
229
+ condition3 += ` AND f_checker in ${this.$refs.paged.$refs.cri.model.f_checker_id} `
230
+ condition2 += ` AND f_checker_name in ${this.$refs.paged.$refs.cri.model.f_checker_id} `
231
+ }
232
+ this.model.f_start_time=this.f_start_time
233
+ this.model.f_end_time=this.f_end_time
234
+ this.model.condition1=condition1
235
+ this.model.condition2=condition2
236
+ this.model.condition3=condition3
237
+ this.model.search(args.condition, args.model)
238
+ },
239
+ getRes(obj){
240
+ this.model.f_filialeids = this.$login.convertToIn(obj.resids);
241
+ //tag
242
+ }
243
+ },
244
+ ready() {
245
+ this.model.id = this.$login.f.id
246
+ this.model.f_subcompany = this.$login.f.f_fengongsi
247
+ this.model.f_filialeid = this.$login.f.orgid
248
+ },
249
+
250
+ watch: {
251
+ 'model.condition'(val) {
252
+ if(val){
253
+ this.searchData.condition = val
254
+ }
255
+ },
256
+ 'model.f_checker'(val) {
257
+ if(val){
258
+ this.searchData.f_checker = val
259
+ }
260
+ },
261
+ 'f_start_time'(val) {
262
+ if(val){
263
+ this.searchData.f_start_time = val
264
+ }
265
+ },
266
+ 'f_end_time'(val) {
267
+ if(val){
268
+ this.searchData.f_end_time = val
269
+ }
270
+ },
271
+ 'checker'() {
272
+ // //tag
273
+ //tag
274
+ this.model.chosenOrg = this.checker[0]
275
+ },
276
+ 'model.rows.length'() {
277
+ // 如果查询无结果,将合计置为0
278
+ if(this.model.rows.length < 1 &&this. model.sums){
279
+ this.model.sums.yrj = 0
280
+ this.model.sums.no_plan_num = 0
281
+ this.model.sums.wrj = 0
282
+ this.model.sums.ruhu = 0
283
+ this.model.sums.jujian = 0
284
+ this.model.sums.daofang = 0
285
+ }
286
+ }
287
+ },
288
+ computed: {
289
+ selected() {
290
+ // //tag
291
+ // this.$parent.showItem=!this.$parent.showItem
292
+ return this.$refs.paged.$refs.grid.selected
293
+ }
294
+ }
295
+ }
296
+ </script>