safecheck-client 4.0.0-60 → 4.0.0-61

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 (225) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +31 -31
  3. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  4. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  5. package/src/components/android/AddPlanItem.vue +447 -447
  6. package/src/components/android/AddPlanItemYy.vue +451 -451
  7. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  8. package/src/components/android/AndroidDefectDetails.vue +725 -725
  9. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  10. package/src/components/android/Devices.vue +327 -327
  11. package/src/components/android/Devicesm.vue +327 -327
  12. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  13. package/src/components/android/PhoneRecordInfo.vue +113 -113
  14. package/src/components/android/PhoneSellInfo.vue +113 -113
  15. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  16. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  17. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  18. package/src/components/android/SafePlanItem.vue +509 -509
  19. package/src/components/android/UserinfoSelect.vue +714 -714
  20. package/src/components/android/examples/SafeListExamples.vue +296 -296
  21. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  22. package/src/components/android/recheck/Recheck.vue +402 -402
  23. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  24. package/src/components/checkplan/checkmsg.vue +459 -459
  25. package/src/components/defect/DefectList.vue +507 -507
  26. package/src/components/defect/DefectListWeixiu.vue +484 -484
  27. package/src/components/filialCircle/CircleList.vue +139 -139
  28. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  29. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  30. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  31. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  32. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  33. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  34. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  35. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  36. package/src/components/pc/AnnouncementPC.vue +524 -524
  37. package/src/components/pc/DefectList.vue +742 -742
  38. package/src/components/pc/DeviceChange.vue +1068 -1068
  39. package/src/components/pc/SafeVisitInfo.vue +261 -261
  40. package/src/components/planmanage/PlanManage.vue +886 -886
  41. package/src/components/planmanage/checkPlanList.vue +368 -368
  42. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  43. package/src/components/report/HiddenSituation.vue +165 -165
  44. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  45. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  46. package/src/components/rongcheng/DefectList.vue +560 -560
  47. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  48. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  49. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  50. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  51. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  52. package/src/components/shaoguan/DefectList.vue +473 -473
  53. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  54. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  55. package/src/components/userfile/SecurityAudit.vue +243 -243
  56. package/src/components/userfileNew/UserInfoAuditNew.vue +274 -274
  57. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  58. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  59. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  60. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  61. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  62. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  63. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  64. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  65. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  66. package/src/filiale/bayan/android/Edit.vue +132 -132
  67. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  68. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  69. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  70. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  71. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  72. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  73. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  74. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  75. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  76. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  77. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  78. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  79. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  80. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  81. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  82. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  83. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  84. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  85. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  86. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  87. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  88. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  89. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  90. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  91. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  92. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  93. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  94. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  95. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  96. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  97. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +437 -437
  98. package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +346 -346
  99. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  100. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  101. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  102. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  103. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  104. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  105. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  106. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  107. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  108. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  109. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  110. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  111. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  112. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  113. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  114. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2400 -2398
  115. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  116. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  117. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  118. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  119. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  120. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  121. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  122. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  123. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  124. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  125. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  126. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  127. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  128. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  129. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  130. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  131. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  132. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  133. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  134. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  135. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  136. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  137. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  138. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  139. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  140. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  141. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  142. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  143. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  144. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  145. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  146. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  147. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  148. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  149. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  150. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  151. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  152. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  153. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  154. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  155. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  156. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  157. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  158. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  159. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  160. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  161. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  162. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  163. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  164. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  165. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  166. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  167. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  168. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  169. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  170. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  171. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  172. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  173. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  174. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  175. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  176. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  177. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  178. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  179. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  180. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  181. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  182. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  183. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  184. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  185. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  186. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  187. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  188. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  189. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  190. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  191. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  192. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  193. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  194. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  195. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  196. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
  197. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  198. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  199. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  200. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  201. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  202. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  203. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  204. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  205. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  206. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  207. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  208. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  209. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  210. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  211. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  212. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  213. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2848 -2848
  214. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  215. package/src/filiale/yunchengminsheng/android.js +15 -15
  216. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  217. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  218. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  219. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  220. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  221. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  222. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  223. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  224. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  225. package/src/main.js +33 -32
@@ -1,368 +1,368 @@
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
- <div class="row">
7
- <label class="form-group font_normal_body"><b>计划信息</b></label>
8
- <div class="form-group col-sm-1" v-show="false">
9
- <!--隐藏条件-->
10
- <input type="text" class="input_search" v-model="model.f_plan_id"
11
- style="width: 95%" placeholder="计划id" condition=" i.f_plan_id='{}'">
12
- </div>
13
- <div class="form-group col-sm-1" >
14
- <input type="text" class="input_search" v-model="model.f_userinfo_code"
15
- style="width: 95%" placeholder="客户编号" condition="i.f_userinfo_code='{}'">
16
- </div>
17
- <div class="form-group col-sm-1" >
18
- <input type="text" class="input_search" v-model="model.f_user_name"
19
- style="width: 95%" placeholder="客户名称" condition="i.f_user_name like '%{}%'">
20
- </div>
21
- <div class="form-group col-sm-1" >
22
- <input type="text" class="input_search" v-model="model.f_address"
23
- style="width: 95%" placeholder="客户地址" condition="i.f_address like '%{}%'">
24
- </div>
25
- <!--<div class="form-group col-sm-1" >
26
- <v-select :width="'95%'"
27
- class="select select_list"
28
- :value.sync="$parent.$parent.f_state"
29
- v-model="$parent.$parent.f_state"
30
- :options='$parent.$parent.checkState'
31
- placeholder='安检状态'
32
- close-on-select
33
- value-single
34
- >
35
- </v-select>
36
- </div>-->
37
- <div class="form-group col-sm-3" >
38
- <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
39
- <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
40
- <!-- <button class="button_search" style="margin-right: 10px" @click="clear()">清除</button>-->
41
- <export-excel :data="$parent.$parent.exportParameter"
42
- :field="$parent.$parent.exportExcelField"
43
- style="margin-left: 0px"
44
- sqlurl="api/af-safecheck/logic/exportfile" sql-name="planItem"
45
- :template-name="'安检计划导出'" :choose-col="true">
46
- </export-excel>
47
- </div>
48
- <div class="form-group col-sm-2 safe_p">
49
- <label class="font_normal_body" :title="$parent.$parent.selectplan.f_plan_name">{{$parent.$parent.selectplan.f_plan_name?'当前选中 : '+$parent.$parent.selectplan.f_plan_name:''}}</label>
50
- </div>
51
- <div class="form-group col-sm-2" style="float: right">
52
- <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
53
- <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
54
- </div>
55
- <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
56
- <div slot="modal-header" class="modal-header">
57
- <h4 class="modal-title">
58
- 计划内用户查询条件
59
- </h4>
60
- </div>
61
- <div slot="modal-body" class="modal-body">
62
- <div class="row">
63
- <div class="form-group col-sm-4" >
64
- <label class="font_normal_body">是否已检:</label>
65
- <v-select
66
- class="select select_list"
67
- :value.sync="model.f_state"
68
- v-model="model.f_state"
69
- :options='$parent.$parent.checkState'
70
- @change="$parent.$parent.checkStateChange(model.f_state)"
71
- placeholder='请选择'
72
- condition="i.f_state='{}'"
73
- close-on-select
74
- value-single
75
- >
76
- </v-select>
77
- </div>
78
- <div class="form-group col-sm-4" >
79
- <label class="font_normal_body">安检结果:</label>
80
- <v-select
81
- class="select select_list"
82
- :value.sync="model.f_check_state"
83
- v-model="model.f_check_state"
84
- :options='$parent.$parent.checkResults'
85
- placeholder='请选择'
86
- condition="i.f_last_check_state='{}'"
87
- close-on-select
88
- value-single
89
- >
90
- </v-select>
91
- </div>
92
- <div class="form-group col-sm-4" >
93
- <label class="font_normal_body">安检起始:</label>
94
- <datepicker
95
- placeholder='请选择'
96
- style="width:60%"
97
- :disabled-days-of-week="[]"
98
- :format="'yyyy-MM-dd'"
99
- :show-rest-button="reset"
100
- :value.sync="model.f_startfile_time"
101
- v-model="model.f_startfile_time"
102
- condition="i.f_last_check_date >='{} 00:00:00'">
103
- </datepicker>
104
- </div>
105
- <div class="form-group col-sm-4" >
106
- <label class="font_normal_body">安检截止:</label>
107
- <datepicker
108
- placeholder='请选择'
109
- :disabled-days-of-week="[]"
110
- style="width:60%"
111
- :format="'yyyy-MM-dd'"
112
- :show-rest-button="reset"
113
- :value.sync="model.f_endfile_time"
114
- v-model="model.f_endfile_time"
115
- condition="i.f_last_check_date <='{} 00:00:00'">
116
- </datepicker>
117
- </div>
118
- </div>
119
- </div>
120
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
121
- <button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
122
- <button class="button_search" @click="$parent.$parent.cancel">取消</button>
123
- </div>
124
- </modal>
125
- </div>
126
- </div>
127
- </criteria>
128
- <data-grid :model="model" partial='list' class="table_sy">
129
-
130
- <template partial='head'>
131
- <tr>
132
- <th><nobr><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</nobr></th>
133
- <th><nobr>用户编号</nobr></th>
134
- <th><nobr>用户名称</nobr></th>
135
- <th><nobr>用户电话</nobr></th>
136
- <th><nobr>用户类型</nobr></th>
137
- <th><nobr>小区名称</nobr></th>
138
- <th><nobr>安检状态</nobr></th>
139
- <th><nobr>地址</nobr></th>
140
- </tr>
141
- </template>
142
- <template partial='body'>
143
- <td style="text-align: center;white-space:nowrap;"><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.f_check_item_id)" @change="$parent.$parent.$parent.setCheckes(row.f_check_item_id)" /></td>
144
- <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
145
- <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
146
- <td style="text-align: center"><nobr>{{row.f_user_phone}}</nobr></td>
147
- <td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
148
- <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
149
- <td style="text-align: center"><nobr>{{row.f_state==='已检'?row.f_last_check_state:'未检'}}</nobr></td>
150
- <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
151
- </template>
152
- </data-grid>
153
- </criteria-paged>
154
- <modal :show.sync="showPlanModal" v-ref:modalp>
155
- <div slot="modal-header" class="modal-header">
156
- <h4 class="modal-title">
157
- 计划内用户调整
158
- </h4>
159
- </div>
160
- <div slot="modal-body" class="modal-body">
161
- <plan-chooser :f.sync="userlogin.orgid" v-ref:chooser></plan-chooser>
162
- </div>
163
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
164
- <button class="button_search" style="margin-right: 15px" @click="dragtoOtherPlanIteem">确认</button>
165
- <button class="button_search" @click="cancel">取消</button>
166
- </div>
167
- </modal>
168
- </div>
169
- </template>
170
-
171
- <script>
172
- import {HttpResetClass, PagedList} from "vue-client";
173
- import Vue from "vue";
174
-
175
- export default {
176
- name: "PlanManage",
177
- title: '计划管理',
178
- data() {
179
- return {
180
- model:new PagedList('/api/af-safecheck/sql/planItem', 100, {}),
181
- isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
182
- a:'1',
183
- opt:[{label:"测试",value:"测试"}],
184
- showCondtion:false,
185
- checkAll:false,
186
- checkes:[],
187
- checkResults:[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}],
188
- checkState:[{label:'全部',value:''},{label:'未检',value:'未检'},{label:'已检',value:'已检'}],
189
- showPlanModal:false,
190
- exportExcelField: {
191
- 'f_userinfo_code':'用户编号',
192
- 'f_user_name':'用户名称',
193
- 'f_user_type':'用户类型',
194
- 'f_residential_area':'小区名称',
195
- 'f_state':'安检状态',
196
- 'f_address':'地址',
197
- 'f_user_phone':'用户电话',
198
- 'f_newfile_date':'建档日期'
199
- }
200
- }
201
- },
202
- props:["selectplan","userlogin"],
203
- ready(){
204
-
205
- },
206
- computed:{
207
- exportParameter(){
208
- // excel 导出条件拼接
209
- return {
210
- condition: this.$refs.paged.model.condition,
211
- groupName: this.groupNameForSql
212
- }
213
- }
214
- },
215
- methods:{
216
- clear(){
217
- this.model.f_plan_id = '';
218
- this.model.f_userinfo_code = '';
219
- this.model.f_user_name = '';
220
- this.model.f_address='';
221
- },
222
- //将某个计划下的一项拖到另一个计划
223
- async dragtoOtherPlanIteem() {
224
- //tag)
225
-
226
- if (!this.$refs.modalp.$children[0].selectedRow.id) {
227
- this.$showMessage("请选择需要调整到那个计划中!")
228
- return
229
- }
230
- this.$parent.isSend=true
231
- try{
232
- let res=await new HttpResetClass().load("POST", "/api/af-safecheck/logic/UpCheckPlanItem", {
233
- data:{
234
- f_operator:this.userlogin.name,
235
- f_plan_id:this.$refs.modalp.$children[0].selectedRow.id,
236
- condition:this.model.condition,
237
- switchCheckAll:true,
238
- checkAll:this.checkAll,
239
- param:this.checkes,
240
- columnName: "i.id"
241
- }
242
- }, {resolveMsg: null, rejectMsg: null})
243
- this.$parent.isSend=false
244
- if(res.data.code==200){
245
- this.$showMessage("更换安检计划成功!")
246
- this.$parent.refreshPlan()
247
- }else{
248
- this.$showMessage("更换安检计划失败!")
249
- }
250
- }catch (e) {
251
- this.$parent.isSend=false
252
- this.$showMessage("更换安检计划失败!")
253
- }
254
- },
255
- showplanModal(){
256
- if(!this.selectplan || !this.selectplan.id){
257
- this.$showMessage("请先打开一个计划再进行操作")
258
- return
259
- }
260
- if(!this.checkAll && this.checkes.length==0){
261
- this.$showMessage("请先在计划中勾选你要调整的用户!")
262
- return
263
- }
264
- this.showPlanModal=true
265
- },
266
- showUserCondition(){
267
- this.showCondtion=true
268
- },
269
- isChecked(v) {
270
- // 如果全选,不在的按选中算,否则,在的按选中算
271
- if (this.checkAll) {
272
- return this.checkes.indexOf(v) == -1
273
- } else {
274
- return this.checkes.indexOf(v) != -1
275
- }
276
- },
277
- setCheckAll() {
278
- this.checkAll=this.checkAll?false:true;
279
- // 全选改变后,清空选中数据
280
- this.checkes = []
281
- },
282
- setCheckes(id) {
283
- let index=this.checkes.indexOf(id)
284
- if(index<0){
285
- this.checkes.push(id)
286
- }else{
287
- this.checkes.splice(index,1)
288
- }
289
- },
290
- cancel(){
291
- this.showCondtion=false
292
- this.showPlanModal=false
293
- },
294
- selfSearch (args) {
295
- if(!this.selectplan.id){
296
- this.$showMessage("请先选择一个计划!")
297
- return
298
- }
299
- this.cancel()
300
- this.checkes=[]
301
- this.checkAll=false
302
- args.condition+= ` and i.f_state!= '作废'`
303
- this.model.search(args.condition, args.model, args.condValue)
304
- },
305
- checkStateChange(val){
306
- if(val=='未检'){
307
- this.checkResults=[]
308
- this.$refs.paged.$refs.criteria.model.f_check_state=''
309
- }else{
310
- this.checkResults=[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}]
311
- }
312
- },
313
- //修改计划项状态为作废
314
- async delPlanItem() {
315
- if(!this.selectplan || !this.selectplan.id){
316
- this.$showMessage("请先打开一个计划再进行操作")
317
- return
318
- }
319
- if(!this.checkAll && this.checkes.length==0){
320
- this.$showMessage("请先在计划中勾选你要作废的用户!")
321
- return
322
- }
323
- this.$showMessage("此操作无法撤回,确定要执行作废安检单操作吗?",['confirm','cancel']).then((button)=>{
324
- if(button=='confirm'){
325
- let resu=new HttpResetClass().load("POST", "/api/af-safecheck/logic/UpCheckPlanItemState", {
326
- data: {
327
- f_operator:this.userlogin.name,
328
- condition:this.model.condition,
329
- switchCheckAll:true,
330
- checkAll:this.checkAll,
331
- param:this.checkes,
332
- columnName: "i.id"
333
- }
334
- }, {resolveMsg: null, rejectMsg: null}).then((resu)=>{
335
-
336
- //tag)
337
- if(resu.data.code==200){
338
- this.$showMessage("移除安检单成功! 成功移除:"+resu.data.res.up+"条"+(resu.data.res.noup>0?"有"+resu.data.res.noup+"条已经不是 ‘未检’ 状态!":""))
339
- //this.checkes=[]
340
- //this.checkAll=false
341
- this.$parent.refresh()
342
- }else{
343
- this.$showMessage("取消安检计划失败!")
344
- }
345
- })
346
- }
347
- })
348
- }
349
- },
350
- watch:{
351
- 'selectplan.id' (){
352
- //tag
353
- if(this.selectplan.id){
354
- this.$refs.paged.$refs.criteria.model.f_plan_id=this.selectplan.id
355
- this.$refs.paged.$refs.criteria.search()
356
- }
357
- }
358
- }
359
- }
360
- </script>
361
-
362
- <style scoped>
363
- .safe_p{
364
- white-space: nowrap;
365
- overflow: hidden;
366
- text-overflow: ellipsis;
367
- }
368
- </style>
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
+ <div class="row">
7
+ <label class="form-group font_normal_body"><b>计划信息</b></label>
8
+ <div class="form-group col-sm-1" v-show="false">
9
+ <!--隐藏条件-->
10
+ <input type="text" class="input_search" v-model="model.f_plan_id"
11
+ style="width: 95%" placeholder="计划id" condition=" i.f_plan_id='{}'">
12
+ </div>
13
+ <div class="form-group col-sm-1" >
14
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
15
+ style="width: 95%" placeholder="客户编号" condition="i.f_userinfo_code='{}'">
16
+ </div>
17
+ <div class="form-group col-sm-1" >
18
+ <input type="text" class="input_search" v-model="model.f_user_name"
19
+ style="width: 95%" placeholder="客户名称" condition="i.f_user_name like '%{}%'">
20
+ </div>
21
+ <div class="form-group col-sm-1" >
22
+ <input type="text" class="input_search" v-model="model.f_address"
23
+ style="width: 95%" placeholder="客户地址" condition="i.f_address like '%{}%'">
24
+ </div>
25
+ <!--<div class="form-group col-sm-1" >
26
+ <v-select :width="'95%'"
27
+ class="select select_list"
28
+ :value.sync="$parent.$parent.f_state"
29
+ v-model="$parent.$parent.f_state"
30
+ :options='$parent.$parent.checkState'
31
+ placeholder='安检状态'
32
+ close-on-select
33
+ value-single
34
+ >
35
+ </v-select>
36
+ </div>-->
37
+ <div class="form-group col-sm-3" >
38
+ <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
39
+ <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
40
+ <!-- <button class="button_search" style="margin-right: 10px" @click="clear()">清除</button>-->
41
+ <export-excel :data="$parent.$parent.exportParameter"
42
+ :field="$parent.$parent.exportExcelField"
43
+ style="margin-left: 0px"
44
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="planItem"
45
+ :template-name="'安检计划导出'" :choose-col="true">
46
+ </export-excel>
47
+ </div>
48
+ <div class="form-group col-sm-2 safe_p">
49
+ <label class="font_normal_body" :title="$parent.$parent.selectplan.f_plan_name">{{$parent.$parent.selectplan.f_plan_name?'当前选中 : '+$parent.$parent.selectplan.f_plan_name:''}}</label>
50
+ </div>
51
+ <div class="form-group col-sm-2" style="float: right">
52
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
53
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
54
+ </div>
55
+ <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
56
+ <div slot="modal-header" class="modal-header">
57
+ <h4 class="modal-title">
58
+ 计划内用户查询条件
59
+ </h4>
60
+ </div>
61
+ <div slot="modal-body" class="modal-body">
62
+ <div class="row">
63
+ <div class="form-group col-sm-4" >
64
+ <label class="font_normal_body">是否已检:</label>
65
+ <v-select
66
+ class="select select_list"
67
+ :value.sync="model.f_state"
68
+ v-model="model.f_state"
69
+ :options='$parent.$parent.checkState'
70
+ @change="$parent.$parent.checkStateChange(model.f_state)"
71
+ placeholder='请选择'
72
+ condition="i.f_state='{}'"
73
+ close-on-select
74
+ value-single
75
+ >
76
+ </v-select>
77
+ </div>
78
+ <div class="form-group col-sm-4" >
79
+ <label class="font_normal_body">安检结果:</label>
80
+ <v-select
81
+ class="select select_list"
82
+ :value.sync="model.f_check_state"
83
+ v-model="model.f_check_state"
84
+ :options='$parent.$parent.checkResults'
85
+ placeholder='请选择'
86
+ condition="i.f_last_check_state='{}'"
87
+ close-on-select
88
+ value-single
89
+ >
90
+ </v-select>
91
+ </div>
92
+ <div class="form-group col-sm-4" >
93
+ <label class="font_normal_body">安检起始:</label>
94
+ <datepicker
95
+ placeholder='请选择'
96
+ style="width:60%"
97
+ :disabled-days-of-week="[]"
98
+ :format="'yyyy-MM-dd'"
99
+ :show-rest-button="reset"
100
+ :value.sync="model.f_startfile_time"
101
+ v-model="model.f_startfile_time"
102
+ condition="i.f_last_check_date >='{} 00:00:00'">
103
+ </datepicker>
104
+ </div>
105
+ <div class="form-group col-sm-4" >
106
+ <label class="font_normal_body">安检截止:</label>
107
+ <datepicker
108
+ placeholder='请选择'
109
+ :disabled-days-of-week="[]"
110
+ style="width:60%"
111
+ :format="'yyyy-MM-dd'"
112
+ :show-rest-button="reset"
113
+ :value.sync="model.f_endfile_time"
114
+ v-model="model.f_endfile_time"
115
+ condition="i.f_last_check_date <='{} 00:00:00'">
116
+ </datepicker>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
121
+ <button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
122
+ <button class="button_search" @click="$parent.$parent.cancel">取消</button>
123
+ </div>
124
+ </modal>
125
+ </div>
126
+ </div>
127
+ </criteria>
128
+ <data-grid :model="model" partial='list' class="table_sy">
129
+
130
+ <template partial='head'>
131
+ <tr>
132
+ <th><nobr><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</nobr></th>
133
+ <th><nobr>用户编号</nobr></th>
134
+ <th><nobr>用户名称</nobr></th>
135
+ <th><nobr>用户电话</nobr></th>
136
+ <th><nobr>用户类型</nobr></th>
137
+ <th><nobr>小区名称</nobr></th>
138
+ <th><nobr>安检状态</nobr></th>
139
+ <th><nobr>地址</nobr></th>
140
+ </tr>
141
+ </template>
142
+ <template partial='body'>
143
+ <td style="text-align: center;white-space:nowrap;"><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.f_check_item_id)" @change="$parent.$parent.$parent.setCheckes(row.f_check_item_id)" /></td>
144
+ <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
145
+ <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
146
+ <td style="text-align: center"><nobr>{{row.f_user_phone}}</nobr></td>
147
+ <td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
148
+ <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
149
+ <td style="text-align: center"><nobr>{{row.f_state==='已检'?row.f_last_check_state:'未检'}}</nobr></td>
150
+ <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
151
+ </template>
152
+ </data-grid>
153
+ </criteria-paged>
154
+ <modal :show.sync="showPlanModal" v-ref:modalp>
155
+ <div slot="modal-header" class="modal-header">
156
+ <h4 class="modal-title">
157
+ 计划内用户调整
158
+ </h4>
159
+ </div>
160
+ <div slot="modal-body" class="modal-body">
161
+ <plan-chooser :f.sync="userlogin.orgid" v-ref:chooser></plan-chooser>
162
+ </div>
163
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
164
+ <button class="button_search" style="margin-right: 15px" @click="dragtoOtherPlanIteem">确认</button>
165
+ <button class="button_search" @click="cancel">取消</button>
166
+ </div>
167
+ </modal>
168
+ </div>
169
+ </template>
170
+
171
+ <script>
172
+ import {HttpResetClass, PagedList} from "vue-client";
173
+ import Vue from "vue";
174
+
175
+ export default {
176
+ name: "PlanManage",
177
+ title: '计划管理',
178
+ data() {
179
+ return {
180
+ model:new PagedList('/api/af-safecheck/sql/planItem', 100, {}),
181
+ isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
182
+ a:'1',
183
+ opt:[{label:"测试",value:"测试"}],
184
+ showCondtion:false,
185
+ checkAll:false,
186
+ checkes:[],
187
+ checkResults:[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}],
188
+ checkState:[{label:'全部',value:''},{label:'未检',value:'未检'},{label:'已检',value:'已检'}],
189
+ showPlanModal:false,
190
+ exportExcelField: {
191
+ 'f_userinfo_code':'用户编号',
192
+ 'f_user_name':'用户名称',
193
+ 'f_user_type':'用户类型',
194
+ 'f_residential_area':'小区名称',
195
+ 'f_state':'安检状态',
196
+ 'f_address':'地址',
197
+ 'f_user_phone':'用户电话',
198
+ 'f_newfile_date':'建档日期'
199
+ }
200
+ }
201
+ },
202
+ props:["selectplan","userlogin"],
203
+ ready(){
204
+
205
+ },
206
+ computed:{
207
+ exportParameter(){
208
+ // excel 导出条件拼接
209
+ return {
210
+ condition: this.$refs.paged.model.condition,
211
+ groupName: this.groupNameForSql
212
+ }
213
+ }
214
+ },
215
+ methods:{
216
+ clear(){
217
+ this.model.f_plan_id = '';
218
+ this.model.f_userinfo_code = '';
219
+ this.model.f_user_name = '';
220
+ this.model.f_address='';
221
+ },
222
+ //将某个计划下的一项拖到另一个计划
223
+ async dragtoOtherPlanIteem() {
224
+ //tag)
225
+
226
+ if (!this.$refs.modalp.$children[0].selectedRow.id) {
227
+ this.$showMessage("请选择需要调整到那个计划中!")
228
+ return
229
+ }
230
+ this.$parent.isSend=true
231
+ try{
232
+ let res=await new HttpResetClass().load("POST", "/api/af-safecheck/logic/UpCheckPlanItem", {
233
+ data:{
234
+ f_operator:this.userlogin.name,
235
+ f_plan_id:this.$refs.modalp.$children[0].selectedRow.id,
236
+ condition:this.model.condition,
237
+ switchCheckAll:true,
238
+ checkAll:this.checkAll,
239
+ param:this.checkes,
240
+ columnName: "i.id"
241
+ }
242
+ }, {resolveMsg: null, rejectMsg: null})
243
+ this.$parent.isSend=false
244
+ if(res.data.code==200){
245
+ this.$showMessage("更换安检计划成功!")
246
+ this.$parent.refreshPlan()
247
+ }else{
248
+ this.$showMessage("更换安检计划失败!")
249
+ }
250
+ }catch (e) {
251
+ this.$parent.isSend=false
252
+ this.$showMessage("更换安检计划失败!")
253
+ }
254
+ },
255
+ showplanModal(){
256
+ if(!this.selectplan || !this.selectplan.id){
257
+ this.$showMessage("请先打开一个计划再进行操作")
258
+ return
259
+ }
260
+ if(!this.checkAll && this.checkes.length==0){
261
+ this.$showMessage("请先在计划中勾选你要调整的用户!")
262
+ return
263
+ }
264
+ this.showPlanModal=true
265
+ },
266
+ showUserCondition(){
267
+ this.showCondtion=true
268
+ },
269
+ isChecked(v) {
270
+ // 如果全选,不在的按选中算,否则,在的按选中算
271
+ if (this.checkAll) {
272
+ return this.checkes.indexOf(v) == -1
273
+ } else {
274
+ return this.checkes.indexOf(v) != -1
275
+ }
276
+ },
277
+ setCheckAll() {
278
+ this.checkAll=this.checkAll?false:true;
279
+ // 全选改变后,清空选中数据
280
+ this.checkes = []
281
+ },
282
+ setCheckes(id) {
283
+ let index=this.checkes.indexOf(id)
284
+ if(index<0){
285
+ this.checkes.push(id)
286
+ }else{
287
+ this.checkes.splice(index,1)
288
+ }
289
+ },
290
+ cancel(){
291
+ this.showCondtion=false
292
+ this.showPlanModal=false
293
+ },
294
+ selfSearch (args) {
295
+ if(!this.selectplan.id){
296
+ this.$showMessage("请先选择一个计划!")
297
+ return
298
+ }
299
+ this.cancel()
300
+ this.checkes=[]
301
+ this.checkAll=false
302
+ args.condition+= ` and i.f_state!= '作废'`
303
+ this.model.search(args.condition, args.model, args.condValue)
304
+ },
305
+ checkStateChange(val){
306
+ if(val=='未检'){
307
+ this.checkResults=[]
308
+ this.$refs.paged.$refs.criteria.model.f_check_state=''
309
+ }else{
310
+ this.checkResults=[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}]
311
+ }
312
+ },
313
+ //修改计划项状态为作废
314
+ async delPlanItem() {
315
+ if(!this.selectplan || !this.selectplan.id){
316
+ this.$showMessage("请先打开一个计划再进行操作")
317
+ return
318
+ }
319
+ if(!this.checkAll && this.checkes.length==0){
320
+ this.$showMessage("请先在计划中勾选你要作废的用户!")
321
+ return
322
+ }
323
+ this.$showMessage("此操作无法撤回,确定要执行作废安检单操作吗?",['confirm','cancel']).then((button)=>{
324
+ if(button=='confirm'){
325
+ let resu=new HttpResetClass().load("POST", "/api/af-safecheck/logic/UpCheckPlanItemState", {
326
+ data: {
327
+ f_operator:this.userlogin.name,
328
+ condition:this.model.condition,
329
+ switchCheckAll:true,
330
+ checkAll:this.checkAll,
331
+ param:this.checkes,
332
+ columnName: "i.id"
333
+ }
334
+ }, {resolveMsg: null, rejectMsg: null}).then((resu)=>{
335
+
336
+ //tag)
337
+ if(resu.data.code==200){
338
+ this.$showMessage("移除安检单成功! 成功移除:"+resu.data.res.up+"条"+(resu.data.res.noup>0?"有"+resu.data.res.noup+"条已经不是 ‘未检’ 状态!":""))
339
+ //this.checkes=[]
340
+ //this.checkAll=false
341
+ this.$parent.refresh()
342
+ }else{
343
+ this.$showMessage("取消安检计划失败!")
344
+ }
345
+ })
346
+ }
347
+ })
348
+ }
349
+ },
350
+ watch:{
351
+ 'selectplan.id' (){
352
+ //tag
353
+ if(this.selectplan.id){
354
+ this.$refs.paged.$refs.criteria.model.f_plan_id=this.selectplan.id
355
+ this.$refs.paged.$refs.criteria.search()
356
+ }
357
+ }
358
+ }
359
+ }
360
+ </script>
361
+
362
+ <style scoped>
363
+ .safe_p{
364
+ white-space: nowrap;
365
+ overflow: hidden;
366
+ text-overflow: ellipsis;
367
+ }
368
+ </style>