safecheck-client 3.0.30-61-t1 → 3.0.30-61-t3

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 (272) hide show
  1. package/package.json +2 -2
  2. package/src/components/CheckerCount/CheckCountUserList.vue +2 -2
  3. package/src/components/CheckerCount/ZhouKouCheckCount.vue +3 -3
  4. package/src/components/DefectDealMain/DefectListNew.vue +1 -1
  5. package/src/components/DefectDealMain/DefectPaperNew.vue +4 -4
  6. package/src/components/ExportExcel.vue +342 -340
  7. package/src/components/NewDefectList/DefectListNew.vue +1 -1
  8. package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
  9. package/src/components/android/ClockIn.vue +1 -1
  10. package/src/components/android/DoorService.vue +1 -1
  11. package/src/components/callincheck/CallInPlan.vue +148 -148
  12. package/src/components/checkplan/CheckDetail.vue +4 -4
  13. package/src/components/checkplan/SelectCheckPlan.vue +2 -2
  14. package/src/components/createcheckplan/CreatePlan.vue +4 -4
  15. package/src/components/createcheckplan/CreatePlanWuan.vue +5 -5
  16. package/src/components/createcheckplan/DelPlanRepeat.vue +4 -4
  17. package/src/components/createcheckplan/PlanList.vue +2 -2
  18. package/src/components/createcheckplan/PlanUersList.vue +2 -2
  19. package/src/components/defect/DefectPaper.vue +4 -4
  20. package/src/components/defect/DefectPaperWeiXiu.vue +4 -4
  21. package/src/components/defects/AddDefectModal.vue +120 -120
  22. package/src/components/defects/AddDevice.vue +95 -95
  23. package/src/components/defects/CheckPaperSearch.vue +349 -349
  24. package/src/components/defects/DefectSeting.vue +1 -1
  25. package/src/components/defects/DevicesSeting.vue +106 -106
  26. package/src/components/equipment/CheckRate.vue +4 -4
  27. package/src/components/equipment/CheckerRate.vue +4 -4
  28. package/src/components/equipment/MonthCheckRate.vue +4 -4
  29. package/src/components/filialCircle/AddCircleFiliale.vue +114 -114
  30. package/src/components/inspections/InspectionList.vue +2 -2
  31. package/src/components/inspections/InspectionLists.vue +2 -2
  32. package/src/components/inspections/InspectionListss.vue +2 -2
  33. package/src/components/issueplan/IssuePlanAction.vue +1 -1
  34. package/src/components/levelplan/AdjustPlan.vue +1 -1
  35. package/src/components/levelplan/CheckerLeft.vue +1 -1
  36. package/src/components/levelplan/CheckerPlanAdjust.vue +2 -2
  37. package/src/components/levelplan/CheckerRight.vue +1 -1
  38. package/src/components/map/AMapTrailShowZk.vue +185 -185
  39. package/src/components/map/FootPrintList.vue +1 -1
  40. package/src/components/map/PersonTrack.vue +1 -1
  41. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  42. package/src/components/metterfiles/MetterFiles.vue +1 -1
  43. package/src/components/metterfiles/MetterfilesChange.vue +162 -162
  44. package/src/components/metterfiles/UserFiles.vue +1 -1
  45. package/src/components/metterfiles/Userfileschange.vue +2 -2
  46. package/src/components/noplan/NoPlanSearchUser.vue +4 -4
  47. package/src/components/olddata/OldPaperList.vue +2 -2
  48. package/src/components/paper/PaperList.vue +2 -2
  49. package/src/components/paper/RepairVerifyForm.vue +76 -76
  50. package/src/components/paper/VerifyForm.vue +107 -107
  51. package/src/components/paper/filialeCheckInfo.vue +2 -2
  52. package/src/components/pc/AddToCheckBook.vue +2 -2
  53. package/src/components/pc/CheckBook.vue +1 -1
  54. package/src/components/pc/CheckBookDetails.vue +194 -194
  55. package/src/components/pc/CheckBookList.vue +3 -3
  56. package/src/components/pc/CheckBookSearchArea.vue +4 -4
  57. package/src/components/pc/CheckBookSearchUser.vue +4 -4
  58. package/src/components/pc/CheckBookSearchUserList.vue +1 -1
  59. package/src/components/pc/CheckNoDetail.vue +2 -2
  60. package/src/components/pc/DefectDeal.vue +2 -2
  61. package/src/components/pc/Edit.vue +126 -126
  62. package/src/components/pc/NewCheckpaper.vue +34 -31
  63. package/src/components/pc/PaperChazhiMain.vue +2 -2
  64. package/src/components/pc/PaperDefectMain.vue +2 -2
  65. package/src/components/pc/PaperEdit.vue +2 -2
  66. package/src/components/pc/PaperVisitMain.vue +2 -2
  67. package/src/components/pc/SafeVisitHistory.vue +2 -2
  68. package/src/components/pc/SafecheckDeviceList.vue +2 -2
  69. package/src/components/pc/SelectCheckNoPlan.vue +3 -3
  70. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +2 -2
  71. package/src/components/planmanage/checkPlanList.vue +2 -2
  72. package/src/components/planmanage/checkUserList.vue +3 -3
  73. package/src/components/querycheckpaper/CheckSearchUser.vue +5 -5
  74. package/src/components/querycheckpaper/CheckSearchUserNew.vue +5 -5
  75. package/src/components/querycheckpaper/ShebeiSearchUser.vue +4 -4
  76. package/src/components/report/CheckPlanAreaList.vue +2 -2
  77. package/src/components/report/CheckPlanUserList.vue +2 -2
  78. package/src/components/report/NoCheckplanSafecheck.vue +2 -2
  79. package/src/components/rongcheng/CheckSearchArea.vue +2 -2
  80. package/src/components/rongcheng/CheckSearchUser.vue +2 -2
  81. package/src/components/rongcheng/CheckSearchUserNo.vue +2 -2
  82. package/src/components/rongcheng/CheckUserList.vue +2 -2
  83. package/src/components/rongcheng/DefectPaper.vue +4 -4
  84. package/src/components/rongcheng/PaperListAJ.vue +2 -2
  85. package/src/components/rongcheng/PaperListNPAJ.vue +2 -2
  86. package/src/components/rongcheng/PaperListNPSQ.vue +2 -2
  87. package/src/components/rongcheng/PaperListSQ.vue +2 -2
  88. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +2 -2
  89. package/src/components/rongcheng/report/CheckPlanUserList.vue +4 -4
  90. package/src/components/shaoguan/CheckPlanUserList.vue +2 -2
  91. package/src/components/shaoguan/DefectPaper.vue +2 -2
  92. package/src/components/shaoguan/PaperList.vue +3 -3
  93. package/src/components/userfile/UserFile.vue +1 -1
  94. package/src/components/userfile/UserInfoAudit.vue +2 -2
  95. package/src/components/userfile/UserfileChange.vue +1 -1
  96. package/src/components/userfileaudit/UserfileChangeaudit.vue +1 -1
  97. package/src/filiale/ALshan/pc/CheckSearchUser.vue +4 -4
  98. package/src/filiale/ALshan/pc/checkUserList.vue +3 -3
  99. package/src/filiale/ancheng/pc/PaperList.vue +3 -3
  100. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +2 -2
  101. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +5 -5
  102. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +4 -4
  103. package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1 -1
  104. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +2 -2
  105. package/src/filiale/ankangyihua/pc/PaperList.vue +3 -3
  106. package/src/filiale/ankangyihua/pc/checkUserList.vue +3 -3
  107. package/src/filiale/bayan/pc/PaperList.vue +3 -3
  108. package/src/filiale/fugou/pc/PaperList.vue +2 -2
  109. package/src/filiale/fugu/pc/CheckSearchUser.vue +5 -5
  110. package/src/filiale/fugu/pc/SelectCheckPlan.vue +2 -2
  111. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +3 -3
  112. package/src/filiale/ganquan/pc/DefectPaperNew.vue +2 -2
  113. package/src/filiale/ganquan/pc/PaperList.vue +3 -3
  114. package/src/filiale/ganquan/pc/PaperVisitMain.vue +2 -2
  115. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +2 -2
  116. package/src/filiale/ganquan/pc/checkUserList.vue +3 -3
  117. package/src/filiale/gehua/pc/PaperList.vue +2 -2
  118. package/src/filiale/gehua/pc/checkUserList.vue +3 -3
  119. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +2 -2
  120. package/src/filiale/guangxi/pc/DefectListNew.vue +1 -1
  121. package/src/filiale/guangxi/pc/DefectPaperNew.vue +3 -3
  122. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +5 -5
  123. package/src/filiale/hanzhong/pc/CheckUserList.vue +3 -3
  124. package/src/filiale/hanzhong/pc/PaperList.vue +3 -3
  125. package/src/filiale/huatong/pc/PaperDefectMain.vue +2 -2
  126. package/src/filiale/huatong/pc/PaperList.vue +3 -3
  127. package/src/filiale/huayin/pc/PaperList.vue +3 -3
  128. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +5 -5
  129. package/src/filiale/jiaocheng/pc/DefectListNew.vue +1 -1
  130. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +2 -2
  131. package/src/filiale/jingyang/pc/CheckSearchUser.vue +5 -5
  132. package/src/filiale/jingyang/pc/PaperList.vue +3 -3
  133. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -2
  134. package/src/filiale/kelai/pc/CheckSearchUser.vue +5 -5
  135. package/src/filiale/kelai/pc/DefectListNew.vue +1 -1
  136. package/src/filiale/kelai/pc/DefectPaperNew.vue +3 -3
  137. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +1 -1
  138. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +3 -3
  139. package/src/filiale/kelai/pc/PaperList.vue +3 -3
  140. package/src/filiale/kelai/pc/checkUserList.vue +3 -3
  141. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +2 -2
  142. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +2 -2
  143. package/src/filiale/liaoyuan/pc/PaperList.vue +1 -1
  144. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +2 -2
  145. package/src/filiale/lixian/pc/CheckSearchUser.vue +4 -4
  146. package/src/filiale/lixian/pc/PaperChazhiMain.vue +2 -2
  147. package/src/filiale/lixian/pc/PaperDefectMain.vue +2 -2
  148. package/src/filiale/lixian/pc/PaperList.vue +3 -3
  149. package/src/filiale/lixian/pc/checkPlanList.vue +2 -2
  150. package/src/filiale/lixian/pc/checkUserList.vue +3 -3
  151. package/src/filiale/minsheng/pc/CheckSearchUser.vue +5 -5
  152. package/src/filiale/minsheng/pc/DefectListNew.vue +1 -1
  153. package/src/filiale/minsheng/pc/checkUserList.vue +3 -3
  154. package/src/filiale/pingxiang/pc/DefectListNew.vue +1 -1
  155. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +3 -3
  156. package/src/filiale/pingxiang/pc/PaperList.vue +3 -3
  157. package/src/filiale/qianneng/pc/DefectListNew.vue +1 -1
  158. package/src/filiale/qianneng/pc/DefectPaperNew.vue +3 -3
  159. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +2 -2
  160. package/src/filiale/qianneng/pc/PaperList.vue +3 -3
  161. package/src/filiale/qianneng/pc/checkPlanList.vue +4 -4
  162. package/src/filiale/qianneng/pc/checkUserList.vue +5 -5
  163. package/src/filiale/qingjian/pc/PaperDefectMain.vue +2 -2
  164. package/src/filiale/qingtongxia/pc/DefectListNew.vue +1 -1
  165. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +2 -2
  166. package/src/filiale/rizhao/pc/PaperList.vue +3 -3
  167. package/src/filiale/rongchuang/pc/checkUserList.vue +3 -3
  168. package/src/filiale/shanxian/pc/CheckDetail.vue +4 -4
  169. package/src/filiale/shanxian/pc/CheckSearchUser.vue +5 -5
  170. package/src/filiale/shanxian/pc/DefectPaperNew.vue +4 -4
  171. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +2 -2
  172. package/src/filiale/shanxian/pc/checkUserList.vue +3 -3
  173. package/src/filiale/shaoguan/pc/PaperList.vue +2 -2
  174. package/src/filiale/shexian/pc/DefectListNew.vue +1 -1
  175. package/src/filiale/shexian/pc/DefectPaperNew.vue +3 -3
  176. package/src/filiale/shexian/pc/PaperDefectMain.vue +2 -2
  177. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +2 -2
  178. package/src/filiale/shimen/pc/CheckSearchUser.vue +4 -4
  179. package/src/filiale/shimen/pc/PaperDefectMain.vue +2 -2
  180. package/src/filiale/shimen/pc/PaperList.vue +2 -2
  181. package/src/filiale/shiquan/pc/checkUserList.vue +3 -3
  182. package/src/filiale/tianke/pc/DefectListNew.vue +1 -1
  183. package/src/filiale/tianke/pc/PaperDefectMain.vue +2 -2
  184. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +1 -1
  185. package/src/filiale/tongchuan/pc/CheckBookList.vue +3 -3
  186. package/src/filiale/tongchuan/pc/CheckDetail.vue +4 -4
  187. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +2 -2
  188. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +2 -2
  189. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +4 -4
  190. package/src/filiale/tongchuan/pc/DefectPaper.vue +2 -2
  191. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +4 -4
  192. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +2 -2
  193. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -2
  194. package/src/filiale/tongchuan/pc/PaperList.vue +2 -2
  195. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +2 -2
  196. package/src/filiale/tongchuan/pc/checkUserList.vue +3 -3
  197. package/src/filiale/weinan/pc/CheckBook.vue +1 -1
  198. package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -194
  199. package/src/filiale/weinan/pc/CheckBookList.vue +3 -3
  200. package/src/filiale/weinan/pc/CheckBookSearchUser.vue +4 -4
  201. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +1 -1
  202. package/src/filiale/weinan/pc/CheckDetail.vue +4 -4
  203. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +4 -4
  204. package/src/filiale/weinan/pc/CheckNoDetail.vue +4 -4
  205. package/src/filiale/weinan/pc/CheckPlanUserList.vue +2 -2
  206. package/src/filiale/weinan/pc/DefectPaperNew.vue +2 -2
  207. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  208. package/src/filiale/weinan/pc/PaperDefectMain.vue +3 -3
  209. package/src/filiale/weinan/pc/PaperList.vue +3 -3
  210. package/src/filiale/weinan/pc/PersonTrack.vue +1 -1
  211. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +3 -3
  212. package/src/filiale/weinan/pc/SelectCheckPlan.vue +3 -3
  213. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +3 -3
  214. package/src/filiale/weinan/pc/checkPlanList.vue +2 -2
  215. package/src/filiale/weinan/pc/checkUserList.vue +3 -3
  216. package/src/filiale/weinanct/pc/PaperList.vue +3 -3
  217. package/src/filiale/wensu/pc/CheckDetail.vue +4 -4
  218. package/src/filiale/wensu/pc/CheckSearchUser.vue +6 -6
  219. package/src/filiale/wensu/pc/DefectListNew.vue +1 -1
  220. package/src/filiale/wensu/pc/DefectPaperNew.vue +3 -3
  221. package/src/filiale/wensu/pc/SelectCheckPlan.vue +2 -2
  222. package/src/filiale/wensu/pc/checkUserList.vue +3 -3
  223. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +2 -2
  224. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +2 -2
  225. package/src/filiale/wenxi/pc/CheckSearchUser.vue +5 -5
  226. package/src/filiale/wenxi/pc/DefectPaper.vue +4 -4
  227. package/src/filiale/wenxi/pc/PaperDefectMain.vue +2 -2
  228. package/src/filiale/wenxi/pc/PaperList.vue +4 -4
  229. package/src/filiale/wenxi/pc/checkPlanList.vue +4 -4
  230. package/src/filiale/wenxi/pc/checkUserList.vue +3 -3
  231. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +4 -4
  232. package/src/filiale/wuan/pc/PaperList.vue +2 -2
  233. package/src/filiale/wuhai/pc/CheckSearchUser.vue +4 -4
  234. package/src/filiale/wuhai/pc/checkUserList.vue +3 -3
  235. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +2 -2
  236. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +2 -2
  237. package/src/filiale/xinkang/pc/CheckSearchUser.vue +4 -4
  238. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +4 -4
  239. package/src/filiale/xinkang/pc/PaperDefectMain.vue +2 -2
  240. package/src/filiale/xinkang/pc/PaperList.vue +3 -3
  241. package/src/filiale/xinkang/pc/checkUserList.vue +3 -3
  242. package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +3 -3
  243. package/src/filiale/yangchunboneng/pc/CheckBook.vue +1 -1
  244. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -213
  245. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +3 -3
  246. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +4 -4
  247. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +2 -2
  248. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +2 -2
  249. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +5 -5
  250. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +1 -1
  251. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +3 -3
  252. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +2 -2
  253. package/src/filiale/yangchunboneng/pc/PaperList.vue +3 -3
  254. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +2 -2
  255. package/src/filiale/yongzhou/pc/PaperList.vue +2 -2
  256. package/src/filiale/yongzhou/pc/checkUserList.vue +3 -3
  257. package/src/filiale/yongzhou/pc/communityDetail.vue +2 -2
  258. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +2 -2
  259. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +2 -2
  260. package/src/filiale/yongzhou/pc/safeDetail.vue +2 -2
  261. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  262. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  263. package/src/filiale/yuansheng/pc/DefectListNew.vue +1 -1
  264. package/src/filiale/yuansheng/pc/PaperList.vue +3 -3
  265. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +3 -3
  266. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +2 -2
  267. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +4 -4
  268. package/src/filiale/zhongsheng/pc/PaperList.vue +3 -3
  269. package/src/filiale/zhongyi/pc/DefectListNew.vue +1 -1
  270. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +4 -4
  271. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
  272. package/src/plugins/LoadCheckParams.js +59 -59
@@ -1,107 +1,107 @@
1
- <template>
2
- <div>
3
- <validator name='v'>
4
- <a href="#" class="btn btn-primary" @click="this.$back('items')">&lt;&lt;</a>
5
- <form novalidate class="form-horizontal">
6
- <div class="form-group">
7
- <label class="col-sm-2 control-lable">审核人:</label>
8
- <div class="col-sm-8">
9
- <input readonly='readonly' class="form-control" type="text" v-model="item.f_approved_by" v-validate:f_approved_by='{ required: true }' />
10
- </div>
11
- </div>
12
- <div class="form-group">
13
- <label class="col-sm-2 control-lable">审核结果:</label>
14
- <div class="col-sm-8">
15
- <input readonly='readonly' class="form-control" type="text" v-model="item.f_approved" v-validate:f_approved='{ required: true }' />
16
- </div>
17
- </div>
18
- <div class="form-group">
19
- <label class="col-sm-2 control-lable">审核时间:</label>
20
- <div class="col-sm-8">
21
- <input readonly='readonly' class="form-control" type="text" v-model="item.f_approved_time"/>
22
- </div>
23
- </div>
24
- <div class="form-group">
25
- <label class="col-sm-2 control-lable">审核备注:</label>
26
- <div class="col-sm-8">
27
- <textarea class="form-control" type="text" v-model="item.f_approved_note"></textarea>
28
- </div>
29
- </div>
30
- <div class="form-group col-sm-12">
31
- <button :disabled="(item.f_approved != '未审核' && item.f_approved != '重检')" type="button" class="btn btn-primary col-sm-3" @click="approve">
32
- <span class="glyphicon glyphicon-ok"></span> 通过
33
- </button>
34
- <button :disabled="(item.f_approved != '未审核' && item.f_approved != '重检')" type="button" class="btn btn-primary col-sm-3" @click="disapprove">
35
- <span class="glyphicon glyphicon-remove"></span> 打回
36
- </button>
37
- </div>
38
- </form>
39
- </validator>
40
- </div>
41
-
42
- </template>
43
-
44
- <script>
45
- import * as Util from '../Util'
46
- import co from 'co'
47
- import Vue from 'vue'
48
-
49
- let syncApprove = function * (self) {
50
- yield self.$resetpost('rs/logic/ApprovePaper', {data:{item: self.item}}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'}).then(
51
- (res)=>{
52
- if(res.data.code == 200){
53
- alert("安检单审核通过!")
54
- self.$back('items')
55
- }
56
- }
57
- )
58
- }
59
-
60
- let syncDisapprove = function * (self) {
61
- yield self.$resetpost('rs/logic/DisapprovePaper', {data:{item: self.item}}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'}).then((res)=> {
62
- if (res.data.code == 200) {
63
- alert("安检单已打回!")
64
- self.$back('items')
65
- }
66
- })
67
- }
68
-
69
- let noPlanDisapprove = function * (self) {
70
- yield self.$resetpost('rs/logic/NoPlanDisapprove', {data: self.item}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'}).then((res)=> {
71
- if (res.data.code == 200) {
72
- alert("安检单已打回!")
73
- self.$back('items')
74
- }
75
- })
76
- }
77
- export default {
78
- title: '安检单审核',
79
- props: ['item', 'name'],
80
- ready () {
81
- if(this.item.f_approved == '未审核') {
82
- this.item.f_approved_time = Util.toStandardTimeString()
83
- this.item.f_approved_by = this.$login.f.name
84
- }
85
- },
86
- methods: {
87
- approve () {
88
- this.item.f_approved = '已审核'
89
- let gen = syncApprove(this)
90
- return co(gen)
91
- },
92
- disapprove () {
93
- if(this.item.f_no_checkplan == '无计划安检'){
94
- this.item.f_approved = '打回'
95
- let gen = noPlanDisapprove(this)
96
- return co(gen)
97
- }
98
- else {
99
- this.item.f_approved = '打回'
100
- let gen = syncDisapprove(this)
101
- return co(gen)
102
- }
103
- },
104
- }
105
- }
106
-
107
- </script>
1
+ <template>
2
+ <div>
3
+ <validator name='v'>
4
+ <a href="#" class="btn btn-primary" @click="this.$back('items')">&lt;&lt;</a>
5
+ <form novalidate class="form-horizontal">
6
+ <div class="form-group">
7
+ <label class="col-sm-2 control-lable">审核人:</label>
8
+ <div class="col-sm-8">
9
+ <input readonly='readonly' class="form-control" type="text" v-model="item.f_approved_by" v-validate:f_approved_by='{ required: true }' />
10
+ </div>
11
+ </div>
12
+ <div class="form-group">
13
+ <label class="col-sm-2 control-lable">审核结果:</label>
14
+ <div class="col-sm-8">
15
+ <input readonly='readonly' class="form-control" type="text" v-model="item.f_approved" v-validate:f_approved='{ required: true }' />
16
+ </div>
17
+ </div>
18
+ <div class="form-group">
19
+ <label class="col-sm-2 control-lable">审核时间:</label>
20
+ <div class="col-sm-8">
21
+ <input readonly='readonly' class="form-control" type="text" v-model="item.f_approved_time"/>
22
+ </div>
23
+ </div>
24
+ <div class="form-group">
25
+ <label class="col-sm-2 control-lable">审核备注:</label>
26
+ <div class="col-sm-8">
27
+ <textarea class="form-control" type="text" v-model="item.f_approved_note"></textarea>
28
+ </div>
29
+ </div>
30
+ <div class="form-group col-sm-12">
31
+ <button :disabled="(item.f_approved != '未审核' && item.f_approved != '重检')" type="button" class="btn btn-primary col-sm-3" @click="approve">
32
+ <span class="glyphicon glyphicon-ok"></span> 通过
33
+ </button>
34
+ <button :disabled="(item.f_approved != '未审核' && item.f_approved != '重检')" type="button" class="btn btn-primary col-sm-3" @click="disapprove">
35
+ <span class="glyphicon glyphicon-remove"></span> 打回
36
+ </button>
37
+ </div>
38
+ </form>
39
+ </validator>
40
+ </div>
41
+
42
+ </template>
43
+
44
+ <script>
45
+ import * as Util from '../Util'
46
+ import co from 'co'
47
+ import Vue from 'vue'
48
+
49
+ let syncApprove = function * (self) {
50
+ yield self.$resetpost('api/af-safecheck/logic/ApprovePaper', {data:{item: self.item}}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'}).then(
51
+ (res)=>{
52
+ if(res.data.code == 200){
53
+ alert("安检单审核通过!")
54
+ self.$back('items')
55
+ }
56
+ }
57
+ )
58
+ }
59
+
60
+ let syncDisapprove = function * (self) {
61
+ yield self.$resetpost('api/af-safecheck/logic/DisapprovePaper', {data:{item: self.item}}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'}).then((res)=> {
62
+ if (res.data.code == 200) {
63
+ alert("安检单已打回!")
64
+ self.$back('items')
65
+ }
66
+ })
67
+ }
68
+
69
+ let noPlanDisapprove = function * (self) {
70
+ yield self.$resetpost('api/af-safecheck/logic/NoPlanDisapprove', {data: self.item}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'}).then((res)=> {
71
+ if (res.data.code == 200) {
72
+ alert("安检单已打回!")
73
+ self.$back('items')
74
+ }
75
+ })
76
+ }
77
+ export default {
78
+ title: '安检单审核',
79
+ props: ['item', 'name'],
80
+ ready () {
81
+ if(this.item.f_approved == '未审核') {
82
+ this.item.f_approved_time = Util.toStandardTimeString()
83
+ this.item.f_approved_by = this.$login.f.name
84
+ }
85
+ },
86
+ methods: {
87
+ approve () {
88
+ this.item.f_approved = '已审核'
89
+ let gen = syncApprove(this)
90
+ return co(gen)
91
+ },
92
+ disapprove () {
93
+ if(this.item.f_no_checkplan == '无计划安检'){
94
+ this.item.f_approved = '打回'
95
+ let gen = noPlanDisapprove(this)
96
+ return co(gen)
97
+ }
98
+ else {
99
+ this.item.f_approved = '打回'
100
+ let gen = syncDisapprove(this)
101
+ return co(gen)
102
+ }
103
+ },
104
+ }
105
+ }
106
+
107
+ </script>
@@ -6,10 +6,10 @@
6
6
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
7
  <div class="row">
8
8
  <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
9
- <export-excel-safe :data="$parent.$parent.searchData"
9
+ <export-excel :data="$parent.$parent.searchData"
10
10
  :field="$parent.$parent.excelHeaders"
11
11
  progress="safeGetExportProgress"
12
- sqlurl="rs/logic/SafeExportExcel" sql-name="FilialeCheckCount" template-name='当前周期各公司安检汇总情况'></export-excel-safe>
12
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="FilialeCheckCount" template-name='当前周期各公司安检汇总情况'></export-excel-safe>
13
13
 
14
14
  <button class="button_spacing button_search" @click="search()">查询</button>
15
15
  </div>
@@ -105,7 +105,7 @@
105
105
  return;
106
106
  }
107
107
  if(this.$parent.$refs.tabs.active ===0){
108
- new HttpResetClass().load('POST', 'rs/logic/updateCheckBook', {data: {f_check_book_id: this.model.f_check_book_num,
108
+ new HttpResetClass().load('POST', 'api/af-safecheck/logic/updateCheckBook', {data: {f_check_book_id: this.model.f_check_book_num,
109
109
  f_check_book_type:'小区',condition:userCondition}},
110
110
  {resolveMsg: null, rejectMsg: '添加失败'}).then(res=>{
111
111
  if(res && res.data){
@@ -121,7 +121,7 @@
121
121
  }
122
122
  })
123
123
  }else{
124
- new HttpResetClass().load('POST', 'rs/logic/updateCheckBook', {data: {f_check_book_id: this.model.f_check_book_num,
124
+ new HttpResetClass().load('POST', 'api/af-safecheck/logic/updateCheckBook', {data: {f_check_book_id: this.model.f_check_book_num,
125
125
  f_check_book_type:'单位',condition:userCondition}},
126
126
  {resolveMsg: null, rejectMsg: '添加失败'}).then(res=>{
127
127
  if(res && res.data){
@@ -152,7 +152,7 @@ export default {
152
152
  this.needProps.cbc=[]
153
153
  this.needProps.sliceArea=[]
154
154
  let http = new HttpResetClass()
155
- let getMeterReadingBooks = await http.load('POST','rs/logic/getMeterBooksData',
155
+ let getMeterReadingBooks = await http.load('POST','api/af-safecheck/logic/getMeterBooksData',
156
156
  {data: {f_orgid: "('"+this.$login.f.orgid+"')"}},
157
157
  {resolveMsg: null, rejectMsg: '获取失败!!!'})
158
158
  this.needProps.cbc = [{label: '全部', value: ''}]
@@ -1,194 +1,194 @@
1
- <template>
2
- <div class="auto select-overspread">
3
- <validator name='v'>
4
- <form class="form-horizontal" novalidate>
5
- <ul class="nav nav-tabs" style="margin-bottom: 10px">
6
- <li class="active"><a href="#">片区信息</a></li>
7
- </ul>
8
- <div class="row" style="margin-top: 10px">
9
- <div class="col-sm-12 form-group" style="margin: 0">
10
- <role-selector-safe
11
- @alluser="getUsers"
12
- @re-res="getRes"
13
- role-name="安检员"
14
- role-lable="安&nbsp;检&nbsp;员&nbsp;"
15
- :value.sync="checkBook.f_checker_name"
16
- v-model="checkBook.f_checker_name">
17
- </role-selector-safe>
18
- </div>
19
- <!-- <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_type.required ? 'has-error' : '']">-->
20
- <!-- <label class="font_normal_body">表册类型</label>-->
21
- <!-- <input type="text" v-show="false" v-model="checkBook.f_check_book_type"-->
22
- <!-- :value.sync="checkBook.f_check_book_type"-->
23
- <!-- v-validate:f_check_book_type='{required: true }'>-->
24
- <!-- <v-select :value.sync="checkBook.f_check_book_type" v-model='checkBook.f_check_book_type'-->
25
- <!-- :value-single="true" style="width: 60%"-->
26
- <!-- class="select_list select"-->
27
- <!-- :options='bookTypes' placeholder=''-->
28
- <!-- close-on-select></v-select>-->
29
- <!-- </div>-->
30
- <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_user_type.required ? 'has-error' : '']">
31
- <label class="font_normal_body">用户类型</label>
32
- <input type="text" v-show="false" v-model="checkBook.f_user_type"
33
- v-validate:f_user_type='{required: true }'>
34
- <v-select :value.sync="checkBook.f_user_type" v-model='checkBook.f_user_type'
35
- :value-single="true" style="width: 60%"
36
- class="select_list select"
37
- :options='userTypes' placeholder=''
38
- close-on-select></v-select>
39
- </div>
40
- <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_name.required ? 'has-error' : '']">
41
- <label class="font_normal_body">片区名称</label>
42
- <input type="text" class="input_search" v-model="checkBook.f_check_book_name"
43
- style="width: 60%" v-validate:f_check_book_name='{ required: true }'>
44
- </div>
45
- <div class="form-group col-sm-6" style="margin-top: 20px">
46
- <label class="font_normal_body">执行日期</label>
47
- <datepicker
48
- :value.sync="checkBook.f_run_date"
49
- style="width: 60%"
50
- :format="'yyyy-MM-dd'"
51
- v-model="checkBook.f_run_date"
52
- >
53
- </datepicker>
54
- </div>
55
- <div class="form-group col-sm-6" style="margin-top: 20px">
56
- <label class="font_normal_body">执行周期</label>
57
- <input type="number" class="input_search" v-model="checkBook.f_around_time"
58
- style="width: 60%" >
59
- </div>
60
- <div class="form-group col-sm-6" style="margin-top: 20px">
61
- <label class="font_normal_body">周期单位</label>
62
- <v-select :value.sync="checkBook.f_around_unit" v-model='checkBook.f_around_unit'
63
- :value-single="true" style="width: 60%"
64
- class="select_list select"
65
- :options='aroundUnit' placeholder=''
66
- close-on-select></v-select>
67
- </div>
68
-
69
-
70
- <!-- <div class="form-group col-sm-6" style="margin-top: 20px">-->
71
- <!-- <label class="font_normal_body">自动下发</label>-->
72
- <!-- <v-select :value.sync="checkBook.f_is_auto" v-model='checkBook.f_is_auto'-->
73
- <!-- :value-single="true" style="width: 60%"-->
74
- <!-- class="select_list select"-->
75
- <!-- :options='autos' placeholder=''-->
76
- <!-- close-on-select></v-select>-->
77
- <!-- </div>-->
78
- </div>
79
- </form>
80
- <div style="text-align:right;height:auto;margin-top:6px;margin-right: 10%">
81
- <button @click="confirm()" class="button_search">确认</button>
82
- <!-- <button @click="deleteBook()" class="button_delete">删除</button>-->
83
- <button @click="close()" class="button_clear">取消</button>
84
- </div>
85
- </validator>
86
- </div>
87
- </template>
88
- <script>
89
- import * as Util from "../../components/Util";
90
- import bus from "../../bus";
91
- import {HttpResetClass} from 'vue-client'
92
-
93
- export default {
94
- data () {
95
- return {
96
- aroundUnit: [{label: '年', value: '年'}, {label: '月', value: '月'}, {label: '日', value: '日'}],
97
- bookTypes:[{label: '用户', value: '用户'}, {label: '小区', value: '小区'}],
98
- userTypes:[{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
99
- autos:[{label: '是', value: '是'}, {label: '否', value: '否'}],
100
- allUsers:[],
101
- checkBook: {
102
- f_check_book_name: '',
103
- f_run_date: '',
104
- f_around_time: '',
105
- f_around_unit: '',
106
- f_create_date: '',
107
- f_create_person: '',
108
- f_user_type:'',
109
- f_orgid: '',
110
- f_is_auto:'否',
111
- f_check_book_type:"小区",
112
- f_checker_name: '',
113
- f_checker_id:'',
114
- }
115
- }
116
- },
117
- props: ['row','showtype'],
118
- watch: {
119
- 'checkBook.f_checker_name' (val) {
120
- const user = this.allUsers.filter(item=>item.name==val);
121
- if(user.length>0){
122
- this.checkBook.f_checker_id = user[0]["id"]
123
- }
124
- console.log("777",this.checkBook)
125
- },
126
- row (row) {
127
- this.changeCheckBook(row)
128
- }
129
- },
130
- ready () {
131
- // console.log(this.$login.f.orgid)
132
- this.changeCheckBook(this.row)
133
- this.checkBook.f_user_type = this.showtype
134
- console.log('row', JSON.stringify(this.row))
135
- },
136
- methods: {
137
- changeCheckBook (row) {
138
- console.log('row改变了', row)
139
- if (row && row.id) {
140
- console.log('进入修改赋值')
141
- this.checkBook = row
142
- }
143
- },
144
- deleteBook () {
145
- console.log('delete', this.row)
146
- },
147
- close () {
148
- console.log('关闭')
149
- this.$parent.showItem = false
150
- },
151
- confirm () {
152
- if(!this.checkBook.f_check_book_name){
153
- this.$showMessage('请填写片区名称')
154
- return
155
- }
156
- // if(!this.checkBook.f_check_book_type){
157
- // this.$showMessage('请选择表册类型')
158
- // return
159
- // }
160
- if(!this.checkBook.f_user_type){
161
- this.$showMessage('请选择用户类型')
162
- return
163
-
164
- }
165
- this.checkBook.f_orgid = this.$login.f.orgid
166
- this.checkBook.f_create_person = this.$login.f.name
167
- this.checkBook.f_create_date = Util.toStandardDateString()
168
- console.log('checkbook', this.checkBook)
169
- let http = new HttpResetClass()
170
- http.load('POST', 'rs/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
171
- {resolveMsg: '保存片区信息成功', rejectMsg: '保存片区信息失败'}).then(res => {
172
- if (res.data.code === 200) {
173
- this.$showMessage('保存片区信息成功',['confirm']).then(res=>{
174
- if (res==='confirm'){
175
- bus.$emit('fresh-main')
176
- }
177
- })
178
- }else{
179
- this.$showMessage('保存片区信息失败')
180
- }
181
- })
182
- },
183
- getRes (obj) {
184
- if (obj.resids) {
185
- this.checkBook.f_orgid = obj.resids[0]
186
- console.log('id', this.checkBook.f_orgid)
187
- }
188
- },
189
- getUsers(obj){
190
- this.allUsers = obj
191
- }
192
- }
193
- }
194
- </script>
1
+ <template>
2
+ <div class="auto select-overspread">
3
+ <validator name='v'>
4
+ <form class="form-horizontal" novalidate>
5
+ <ul class="nav nav-tabs" style="margin-bottom: 10px">
6
+ <li class="active"><a href="#">片区信息</a></li>
7
+ </ul>
8
+ <div class="row" style="margin-top: 10px">
9
+ <div class="col-sm-12 form-group" style="margin: 0">
10
+ <role-selector-safe
11
+ @alluser="getUsers"
12
+ @re-res="getRes"
13
+ role-name="安检员"
14
+ role-lable="安&nbsp;检&nbsp;员&nbsp;"
15
+ :value.sync="checkBook.f_checker_name"
16
+ v-model="checkBook.f_checker_name">
17
+ </role-selector-safe>
18
+ </div>
19
+ <!-- <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_type.required ? 'has-error' : '']">-->
20
+ <!-- <label class="font_normal_body">表册类型</label>-->
21
+ <!-- <input type="text" v-show="false" v-model="checkBook.f_check_book_type"-->
22
+ <!-- :value.sync="checkBook.f_check_book_type"-->
23
+ <!-- v-validate:f_check_book_type='{required: true }'>-->
24
+ <!-- <v-select :value.sync="checkBook.f_check_book_type" v-model='checkBook.f_check_book_type'-->
25
+ <!-- :value-single="true" style="width: 60%"-->
26
+ <!-- class="select_list select"-->
27
+ <!-- :options='bookTypes' placeholder=''-->
28
+ <!-- close-on-select></v-select>-->
29
+ <!-- </div>-->
30
+ <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_user_type.required ? 'has-error' : '']">
31
+ <label class="font_normal_body">用户类型</label>
32
+ <input type="text" v-show="false" v-model="checkBook.f_user_type"
33
+ v-validate:f_user_type='{required: true }'>
34
+ <v-select :value.sync="checkBook.f_user_type" v-model='checkBook.f_user_type'
35
+ :value-single="true" style="width: 60%"
36
+ class="select_list select"
37
+ :options='userTypes' placeholder=''
38
+ close-on-select></v-select>
39
+ </div>
40
+ <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_name.required ? 'has-error' : '']">
41
+ <label class="font_normal_body">片区名称</label>
42
+ <input type="text" class="input_search" v-model="checkBook.f_check_book_name"
43
+ style="width: 60%" v-validate:f_check_book_name='{ required: true }'>
44
+ </div>
45
+ <div class="form-group col-sm-6" style="margin-top: 20px">
46
+ <label class="font_normal_body">执行日期</label>
47
+ <datepicker
48
+ :value.sync="checkBook.f_run_date"
49
+ style="width: 60%"
50
+ :format="'yyyy-MM-dd'"
51
+ v-model="checkBook.f_run_date"
52
+ >
53
+ </datepicker>
54
+ </div>
55
+ <div class="form-group col-sm-6" style="margin-top: 20px">
56
+ <label class="font_normal_body">执行周期</label>
57
+ <input type="number" class="input_search" v-model="checkBook.f_around_time"
58
+ style="width: 60%" >
59
+ </div>
60
+ <div class="form-group col-sm-6" style="margin-top: 20px">
61
+ <label class="font_normal_body">周期单位</label>
62
+ <v-select :value.sync="checkBook.f_around_unit" v-model='checkBook.f_around_unit'
63
+ :value-single="true" style="width: 60%"
64
+ class="select_list select"
65
+ :options='aroundUnit' placeholder=''
66
+ close-on-select></v-select>
67
+ </div>
68
+
69
+
70
+ <!-- <div class="form-group col-sm-6" style="margin-top: 20px">-->
71
+ <!-- <label class="font_normal_body">自动下发</label>-->
72
+ <!-- <v-select :value.sync="checkBook.f_is_auto" v-model='checkBook.f_is_auto'-->
73
+ <!-- :value-single="true" style="width: 60%"-->
74
+ <!-- class="select_list select"-->
75
+ <!-- :options='autos' placeholder=''-->
76
+ <!-- close-on-select></v-select>-->
77
+ <!-- </div>-->
78
+ </div>
79
+ </form>
80
+ <div style="text-align:right;height:auto;margin-top:6px;margin-right: 10%">
81
+ <button @click="confirm()" class="button_search">确认</button>
82
+ <!-- <button @click="deleteBook()" class="button_delete">删除</button>-->
83
+ <button @click="close()" class="button_clear">取消</button>
84
+ </div>
85
+ </validator>
86
+ </div>
87
+ </template>
88
+ <script>
89
+ import * as Util from "../../components/Util";
90
+ import bus from "../../bus";
91
+ import {HttpResetClass} from 'vue-client'
92
+
93
+ export default {
94
+ data () {
95
+ return {
96
+ aroundUnit: [{label: '年', value: '年'}, {label: '月', value: '月'}, {label: '日', value: '日'}],
97
+ bookTypes:[{label: '用户', value: '用户'}, {label: '小区', value: '小区'}],
98
+ userTypes:[{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
99
+ autos:[{label: '是', value: '是'}, {label: '否', value: '否'}],
100
+ allUsers:[],
101
+ checkBook: {
102
+ f_check_book_name: '',
103
+ f_run_date: '',
104
+ f_around_time: '',
105
+ f_around_unit: '',
106
+ f_create_date: '',
107
+ f_create_person: '',
108
+ f_user_type:'',
109
+ f_orgid: '',
110
+ f_is_auto:'否',
111
+ f_check_book_type:"小区",
112
+ f_checker_name: '',
113
+ f_checker_id:'',
114
+ }
115
+ }
116
+ },
117
+ props: ['row','showtype'],
118
+ watch: {
119
+ 'checkBook.f_checker_name' (val) {
120
+ const user = this.allUsers.filter(item=>item.name==val);
121
+ if(user.length>0){
122
+ this.checkBook.f_checker_id = user[0]["id"]
123
+ }
124
+ console.log("777",this.checkBook)
125
+ },
126
+ row (row) {
127
+ this.changeCheckBook(row)
128
+ }
129
+ },
130
+ ready () {
131
+ // console.log(this.$login.f.orgid)
132
+ this.changeCheckBook(this.row)
133
+ this.checkBook.f_user_type = this.showtype
134
+ console.log('row', JSON.stringify(this.row))
135
+ },
136
+ methods: {
137
+ changeCheckBook (row) {
138
+ console.log('row改变了', row)
139
+ if (row && row.id) {
140
+ console.log('进入修改赋值')
141
+ this.checkBook = row
142
+ }
143
+ },
144
+ deleteBook () {
145
+ console.log('delete', this.row)
146
+ },
147
+ close () {
148
+ console.log('关闭')
149
+ this.$parent.showItem = false
150
+ },
151
+ confirm () {
152
+ if(!this.checkBook.f_check_book_name){
153
+ this.$showMessage('请填写片区名称')
154
+ return
155
+ }
156
+ // if(!this.checkBook.f_check_book_type){
157
+ // this.$showMessage('请选择表册类型')
158
+ // return
159
+ // }
160
+ if(!this.checkBook.f_user_type){
161
+ this.$showMessage('请选择用户类型')
162
+ return
163
+
164
+ }
165
+ this.checkBook.f_orgid = this.$login.f.orgid
166
+ this.checkBook.f_create_person = this.$login.f.name
167
+ this.checkBook.f_create_date = Util.toStandardDateString()
168
+ console.log('checkbook', this.checkBook)
169
+ let http = new HttpResetClass()
170
+ http.load('POST', 'api/af-safecheck/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
171
+ {resolveMsg: '保存片区信息成功', rejectMsg: '保存片区信息失败'}).then(res => {
172
+ if (res.data.code === 200) {
173
+ this.$showMessage('保存片区信息成功',['confirm']).then(res=>{
174
+ if (res==='confirm'){
175
+ bus.$emit('fresh-main')
176
+ }
177
+ })
178
+ }else{
179
+ this.$showMessage('保存片区信息失败')
180
+ }
181
+ })
182
+ },
183
+ getRes (obj) {
184
+ if (obj.resids) {
185
+ this.checkBook.f_orgid = obj.resids[0]
186
+ console.log('id', this.checkBook.f_orgid)
187
+ }
188
+ },
189
+ getUsers(obj){
190
+ this.allUsers = obj
191
+ }
192
+ }
193
+ }
194
+ </script>