safecheck-client 3.0.30-61-t2 → 3.0.30-61-t4

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 (288) hide show
  1. package/package.json +1 -1
  2. package/src/components/CheckerCount/CheckCountUserList.vue +3 -3
  3. package/src/components/CheckerCount/ZhouKouCheckCount.vue +3 -3
  4. package/src/components/DefectDealMain/DefectListNew.vue +2 -2
  5. package/src/components/DefectDealMain/DefectPaperNew.vue +5 -5
  6. package/src/components/ExportExcel.vue +342 -340
  7. package/src/components/NewDefectList/DefectListNew.vue +2 -2
  8. package/src/components/NewDefectList/DefectPaperNew.vue +4 -4
  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 +6 -6
  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/DefectList.vue +1 -1
  20. package/src/components/defect/DefectListWeixiu.vue +1 -1
  21. package/src/components/defect/DefectPaper.vue +4 -4
  22. package/src/components/defect/DefectPaperWeiXiu.vue +4 -4
  23. package/src/components/defects/AddDefectModal.vue +120 -120
  24. package/src/components/defects/AddDevice.vue +95 -95
  25. package/src/components/defects/CheckPaperSearch.vue +349 -349
  26. package/src/components/defects/DefectSeting.vue +1 -1
  27. package/src/components/defects/DevicesSeting.vue +106 -106
  28. package/src/components/equipment/CheckRate.vue +4 -4
  29. package/src/components/equipment/CheckerRate.vue +4 -4
  30. package/src/components/equipment/MonthCheckRate.vue +4 -4
  31. package/src/components/filialCircle/AddCircleFiliale.vue +114 -114
  32. package/src/components/inspections/InspectionList.vue +2 -2
  33. package/src/components/inspections/InspectionLists.vue +2 -2
  34. package/src/components/inspections/InspectionListss.vue +2 -2
  35. package/src/components/issueplan/IssuePlanAction.vue +1 -1
  36. package/src/components/levelplan/AdjustPlan.vue +1 -1
  37. package/src/components/levelplan/CheckerLeft.vue +1 -1
  38. package/src/components/levelplan/CheckerPlanAdjust.vue +2 -2
  39. package/src/components/levelplan/CheckerRight.vue +1 -1
  40. package/src/components/map/AMapTrailShowZk.vue +185 -185
  41. package/src/components/map/FootPrintList.vue +1 -1
  42. package/src/components/map/PersonTrack.vue +1 -1
  43. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  44. package/src/components/metterfiles/MetterFiles.vue +1 -1
  45. package/src/components/metterfiles/MetterfilesChange.vue +162 -162
  46. package/src/components/metterfiles/UserFiles.vue +1 -1
  47. package/src/components/metterfiles/Userfileschange.vue +2 -2
  48. package/src/components/noplan/NoPlanSearchUser.vue +6 -6
  49. package/src/components/olddata/OldPaperList.vue +2 -2
  50. package/src/components/paper/PaperList.vue +2 -2
  51. package/src/components/paper/RepairVerifyForm.vue +76 -76
  52. package/src/components/paper/VerifyForm.vue +107 -107
  53. package/src/components/paper/filialeCheckInfo.vue +2 -2
  54. package/src/components/pc/AddToCheckBook.vue +2 -2
  55. package/src/components/pc/CheckBook.vue +1 -1
  56. package/src/components/pc/CheckBookDetails.vue +194 -194
  57. package/src/components/pc/CheckBookList.vue +3 -3
  58. package/src/components/pc/CheckBookSearchArea.vue +4 -4
  59. package/src/components/pc/CheckBookSearchUser.vue +4 -4
  60. package/src/components/pc/CheckBookSearchUserList.vue +1 -1
  61. package/src/components/pc/CheckNoDetail.vue +3 -3
  62. package/src/components/pc/DefectDeal.vue +2 -2
  63. package/src/components/pc/Edit.vue +126 -126
  64. package/src/components/pc/NewCheckpaper.vue +4 -4
  65. package/src/components/pc/PaperChazhiMain.vue +2 -2
  66. package/src/components/pc/PaperDefectMain.vue +2 -2
  67. package/src/components/pc/PaperEdit.vue +3 -3
  68. package/src/components/pc/PaperVisitMain.vue +2 -2
  69. package/src/components/pc/SafeVisitHistory.vue +3 -3
  70. package/src/components/pc/SafecheckDeviceList.vue +3 -3
  71. package/src/components/pc/SelectCheckNoPlan.vue +4 -4
  72. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +2 -2
  73. package/src/components/planmanage/checkPlanList.vue +3 -3
  74. package/src/components/planmanage/checkUserList.vue +4 -4
  75. package/src/components/querycheckpaper/CheckSearchUser.vue +7 -7
  76. package/src/components/querycheckpaper/CheckSearchUserNew.vue +7 -7
  77. package/src/components/querycheckpaper/ShebeiSearchUser.vue +6 -6
  78. package/src/components/report/CheckPlanAreaList.vue +3 -3
  79. package/src/components/report/CheckPlanUserList.vue +3 -3
  80. package/src/components/report/NoCheckplanSafecheck.vue +3 -3
  81. package/src/components/rongcheng/CheckSearchArea.vue +3 -3
  82. package/src/components/rongcheng/CheckSearchUser.vue +2 -2
  83. package/src/components/rongcheng/CheckSearchUserNo.vue +2 -2
  84. package/src/components/rongcheng/CheckUserList.vue +3 -3
  85. package/src/components/rongcheng/DefectList.vue +1 -1
  86. package/src/components/rongcheng/DefectPaper.vue +4 -4
  87. package/src/components/rongcheng/PaperListAJ.vue +2 -2
  88. package/src/components/rongcheng/PaperListNPAJ.vue +2 -2
  89. package/src/components/rongcheng/PaperListNPSQ.vue +2 -2
  90. package/src/components/rongcheng/PaperListSQ.vue +2 -2
  91. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +2 -2
  92. package/src/components/rongcheng/report/CheckPlanUserList.vue +6 -6
  93. package/src/components/shaoguan/CheckPlanUserList.vue +3 -3
  94. package/src/components/shaoguan/DefectList.vue +1 -1
  95. package/src/components/shaoguan/DefectPaper.vue +2 -2
  96. package/src/components/shaoguan/PaperList.vue +3 -3
  97. package/src/components/userfile/UserFile.vue +1 -1
  98. package/src/components/userfile/UserInfoAudit.vue +2 -2
  99. package/src/components/userfile/UserfileChange.vue +1 -1
  100. package/src/components/userfileaudit/UserfileChangeaudit.vue +1 -1
  101. package/src/filiale/ALshan/pc/CheckSearchUser.vue +6 -6
  102. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +1 -1
  103. package/src/filiale/ALshan/pc/checkUserList.vue +4 -4
  104. package/src/filiale/ancheng/pc/PaperList.vue +3 -3
  105. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +3 -3
  106. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +7 -7
  107. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +1 -1
  108. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +4 -4
  109. package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1 -1
  110. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +2 -2
  111. package/src/filiale/ankangyihua/pc/PaperList.vue +3 -3
  112. package/src/filiale/ankangyihua/pc/checkUserList.vue +4 -4
  113. package/src/filiale/bayan/pc/PaperList.vue +3 -3
  114. package/src/filiale/fugou/pc/PaperList.vue +3 -3
  115. package/src/filiale/fugu/pc/CheckSearchUser.vue +7 -7
  116. package/src/filiale/fugu/pc/SelectCheckPlan.vue +2 -2
  117. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +4 -4
  118. package/src/filiale/ganquan/pc/DefectPaperNew.vue +3 -3
  119. package/src/filiale/ganquan/pc/PaperList.vue +3 -3
  120. package/src/filiale/ganquan/pc/PaperVisitMain.vue +2 -2
  121. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +2 -2
  122. package/src/filiale/ganquan/pc/checkUserList.vue +4 -4
  123. package/src/filiale/gehua/pc/PaperList.vue +2 -2
  124. package/src/filiale/gehua/pc/checkUserList.vue +4 -4
  125. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +3 -3
  126. package/src/filiale/guangxi/pc/DefectListNew.vue +2 -2
  127. package/src/filiale/guangxi/pc/DefectPaperNew.vue +4 -4
  128. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +7 -7
  129. package/src/filiale/hanzhong/pc/CheckUserList.vue +4 -4
  130. package/src/filiale/hanzhong/pc/PaperList.vue +3 -3
  131. package/src/filiale/huatong/android/SafecheckOrderV.vue +1 -1
  132. package/src/filiale/huatong/pc/PaperDefectMain.vue +2 -2
  133. package/src/filiale/huatong/pc/PaperList.vue +3 -3
  134. package/src/filiale/huayin/pc/PaperList.vue +3 -3
  135. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +7 -7
  136. package/src/filiale/jiaocheng/pc/DefectListNew.vue +2 -2
  137. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +3 -3
  138. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +1 -1
  139. package/src/filiale/jingyang/pc/CheckSearchUser.vue +7 -7
  140. package/src/filiale/jingyang/pc/PaperList.vue +3 -3
  141. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +3 -3
  142. package/src/filiale/kelai/pc/CheckSearchUser.vue +7 -7
  143. package/src/filiale/kelai/pc/DefectListNew.vue +2 -2
  144. package/src/filiale/kelai/pc/DefectPaperNew.vue +4 -4
  145. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +2 -2
  146. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +3 -3
  147. package/src/filiale/kelai/pc/PaperList.vue +3 -3
  148. package/src/filiale/kelai/pc/checkUserList.vue +4 -4
  149. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +2 -2
  150. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +1 -1
  151. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +3 -3
  152. package/src/filiale/liaoyuan/pc/PaperList.vue +1 -1
  153. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +3 -3
  154. package/src/filiale/lixian/pc/CheckSearchUser.vue +6 -6
  155. package/src/filiale/lixian/pc/PaperChazhiMain.vue +2 -2
  156. package/src/filiale/lixian/pc/PaperDefectMain.vue +2 -2
  157. package/src/filiale/lixian/pc/PaperList.vue +3 -3
  158. package/src/filiale/lixian/pc/checkPlanList.vue +3 -3
  159. package/src/filiale/lixian/pc/checkUserList.vue +4 -4
  160. package/src/filiale/minsheng/pc/CheckSearchUser.vue +7 -7
  161. package/src/filiale/minsheng/pc/DefectListNew.vue +2 -2
  162. package/src/filiale/minsheng/pc/checkUserList.vue +4 -4
  163. package/src/filiale/pingxiang/pc/DefectListNew.vue +2 -2
  164. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +4 -4
  165. package/src/filiale/pingxiang/pc/PaperList.vue +3 -3
  166. package/src/filiale/qianneng/pc/DefectListNew.vue +2 -2
  167. package/src/filiale/qianneng/pc/DefectPaperNew.vue +4 -4
  168. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +3 -3
  169. package/src/filiale/qianneng/pc/PaperList.vue +3 -3
  170. package/src/filiale/qianneng/pc/checkPlanList.vue +6 -6
  171. package/src/filiale/qianneng/pc/checkUserList.vue +7 -7
  172. package/src/filiale/qingjian/pc/PaperDefectMain.vue +2 -2
  173. package/src/filiale/qingtongxia/pc/DefectListNew.vue +2 -2
  174. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +2 -2
  175. package/src/filiale/rizhao/pc/DefectList.vue +1 -1
  176. package/src/filiale/rizhao/pc/PaperList.vue +3 -3
  177. package/src/filiale/rongchuang/pc/checkUserList.vue +4 -4
  178. package/src/filiale/shanxian/pc/CheckDetail.vue +6 -6
  179. package/src/filiale/shanxian/pc/CheckSearchUser.vue +7 -7
  180. package/src/filiale/shanxian/pc/DefectPaperNew.vue +5 -5
  181. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +2 -2
  182. package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
  183. package/src/filiale/shaoguan/pc/PaperList.vue +2 -2
  184. package/src/filiale/shexian/pc/DefectListNew.vue +2 -2
  185. package/src/filiale/shexian/pc/DefectPaperNew.vue +4 -4
  186. package/src/filiale/shexian/pc/PaperDefectMain.vue +2 -2
  187. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +3 -3
  188. package/src/filiale/shimen/pc/CheckSearchUser.vue +6 -6
  189. package/src/filiale/shimen/pc/DefectList.vue +1 -1
  190. package/src/filiale/shimen/pc/PaperDefectMain.vue +2 -2
  191. package/src/filiale/shimen/pc/PaperList.vue +2 -2
  192. package/src/filiale/shiquan/pc/checkUserList.vue +4 -4
  193. package/src/filiale/tianke/pc/DefectListNew.vue +2 -2
  194. package/src/filiale/tianke/pc/PaperDefectMain.vue +2 -2
  195. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +1 -1
  196. package/src/filiale/tongchuan/pc/CheckBookList.vue +3 -3
  197. package/src/filiale/tongchuan/pc/CheckDetail.vue +6 -6
  198. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +3 -3
  199. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +3 -3
  200. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +6 -6
  201. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +1 -1
  202. package/src/filiale/tongchuan/pc/DefectPaper.vue +2 -2
  203. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +4 -4
  204. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +3 -3
  205. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -2
  206. package/src/filiale/tongchuan/pc/PaperList.vue +3 -3
  207. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +2 -2
  208. package/src/filiale/tongchuan/pc/checkUserList.vue +4 -4
  209. package/src/filiale/weinan/pc/CheckBook.vue +1 -1
  210. package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -194
  211. package/src/filiale/weinan/pc/CheckBookList.vue +3 -3
  212. package/src/filiale/weinan/pc/CheckBookSearchUser.vue +4 -4
  213. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +1 -1
  214. package/src/filiale/weinan/pc/CheckDetail.vue +6 -6
  215. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +6 -6
  216. package/src/filiale/weinan/pc/CheckNoDetail.vue +6 -6
  217. package/src/filiale/weinan/pc/CheckPlanUserList.vue +3 -3
  218. package/src/filiale/weinan/pc/DefectPaperNew.vue +3 -3
  219. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  220. package/src/filiale/weinan/pc/PaperDefectMain.vue +3 -3
  221. package/src/filiale/weinan/pc/PaperList.vue +3 -3
  222. package/src/filiale/weinan/pc/PersonTrack.vue +1 -1
  223. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +4 -4
  224. package/src/filiale/weinan/pc/SelectCheckPlan.vue +3 -3
  225. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +3 -3
  226. package/src/filiale/weinan/pc/checkPlanList.vue +3 -3
  227. package/src/filiale/weinan/pc/checkUserList.vue +4 -4
  228. package/src/filiale/weinanct/pc/PaperList.vue +3 -3
  229. package/src/filiale/wensu/pc/CheckDetail.vue +6 -6
  230. package/src/filiale/wensu/pc/CheckSearchUser.vue +8 -8
  231. package/src/filiale/wensu/pc/DefectListNew.vue +2 -2
  232. package/src/filiale/wensu/pc/DefectPaperNew.vue +5 -5
  233. package/src/filiale/wensu/pc/SelectCheckPlan.vue +2 -2
  234. package/src/filiale/wensu/pc/checkUserList.vue +4 -4
  235. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +3 -3
  236. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +3 -3
  237. package/src/filiale/wenxi/pc/CheckSearchUser.vue +7 -7
  238. package/src/filiale/wenxi/pc/DefectList.vue +1 -1
  239. package/src/filiale/wenxi/pc/DefectPaper.vue +4 -4
  240. package/src/filiale/wenxi/pc/PaperDefectMain.vue +3 -3
  241. package/src/filiale/wenxi/pc/PaperList.vue +5 -5
  242. package/src/filiale/wenxi/pc/checkPlanList.vue +6 -6
  243. package/src/filiale/wenxi/pc/checkUserList.vue +4 -4
  244. package/src/filiale/wuan/pc/DefectListWeixiu.vue +1 -1
  245. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +4 -4
  246. package/src/filiale/wuan/pc/PaperList.vue +2 -2
  247. package/src/filiale/wuhai/pc/CheckSearchUser.vue +6 -6
  248. package/src/filiale/wuhai/pc/checkUserList.vue +4 -4
  249. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +3 -3
  250. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +3 -3
  251. package/src/filiale/xinkang/pc/CheckSearchUser.vue +6 -6
  252. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +1 -1
  253. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +4 -4
  254. package/src/filiale/xinkang/pc/PaperDefectMain.vue +2 -2
  255. package/src/filiale/xinkang/pc/PaperList.vue +3 -3
  256. package/src/filiale/xinkang/pc/checkUserList.vue +4 -4
  257. package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +3 -3
  258. package/src/filiale/yangchunboneng/pc/CheckBook.vue +1 -1
  259. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -213
  260. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +3 -3
  261. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +4 -4
  262. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +2 -2
  263. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +3 -3
  264. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +7 -7
  265. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +2 -2
  266. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +4 -4
  267. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +2 -2
  268. package/src/filiale/yangchunboneng/pc/PaperList.vue +3 -3
  269. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +3 -3
  270. package/src/filiale/yongzhou/pc/PaperList.vue +2 -2
  271. package/src/filiale/yongzhou/pc/checkUserList.vue +4 -4
  272. package/src/filiale/yongzhou/pc/communityDetail.vue +3 -3
  273. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +3 -3
  274. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +3 -3
  275. package/src/filiale/yongzhou/pc/safeDetail.vue +3 -3
  276. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +3 -3
  277. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  278. package/src/filiale/yuansheng/pc/DefectListNew.vue +2 -2
  279. package/src/filiale/yuansheng/pc/PaperList.vue +3 -3
  280. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +4 -4
  281. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +3 -3
  282. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +1 -1
  283. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +4 -4
  284. package/src/filiale/zhongsheng/pc/PaperList.vue +3 -3
  285. package/src/filiale/zhongyi/pc/DefectListNew.vue +2 -2
  286. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +6 -6
  287. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
  288. package/src/plugins/LoadCheckParams.js +59 -59
@@ -38,13 +38,13 @@
38
38
  </div>
39
39
  <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
40
40
 
41
- <export-excel-safe :data="$parent.$parent.searchData"
41
+ <export-excel :data="$parent.$parent.searchData"
42
42
  :field="$parent.$parent.excelHeaders"
43
43
  :choose-col="true"
44
- sqlurl="rs/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检结果明细'></export-excel-safe>
44
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检结果明细'></export-excel>
45
45
  <!-- <export-excel :data="$parent.$parent.getCondition" -->
46
46
  <!-- :field="$parent.$parent.getfield"-->
47
- <!-- sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'-->
47
+ <!-- sqlurl="api/af-safecheck/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'-->
48
48
  <!-- :choose-col="true"></export-excel>-->
49
49
  <!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
50
50
  <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
@@ -59,12 +59,12 @@
59
59
  :defaultfield="$parent.$parent.defaultPrint"
60
60
  titletable="无计划安检汇总" :starthead="$parent.$parent.getstart"
61
61
  ></print-data-safe>
62
- <export-excel-safe :data="$parent.$parent.searchData"
62
+ <export-excel :data="$parent.$parent.searchData"
63
63
  :field="$parent.$parent.excelHeaders"
64
- sqlurl="rs/logic/SafeExportExcel"
64
+ sqlurl="api/af-safecheck/logic/SafeExportExcel"
65
65
  sql-name="SafecheckSummary"
66
66
  :template-name="$parent.$parent.excelTitle">
67
- </export-excel-safe>
67
+ </export-excel>
68
68
 
69
69
  <button type="button" name="button" class="button_search" style="margin-left: 9px" @click="search">查询</button>
70
70
  </div>
@@ -37,10 +37,10 @@
37
37
  </div>
38
38
  <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
39
39
 
40
- <export-excel-safe :data="$parent.$parent.searchData"
40
+ <export-excel :data="$parent.$parent.searchData"
41
41
  :field="$parent.$parent.excelHeaders"
42
42
  :choose-col="true"
43
- sqlurl="rs/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检记录明细'></export-excel-safe>
43
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检记录明细'></export-excel>
44
44
  <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
45
45
 
46
46
  <button class="button_spacing button_search" @click="search()">查询</button>
@@ -39,12 +39,12 @@
39
39
  <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUploadCodeCondition()">导入编号</button>
40
40
  <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.clearUserInfoId()">清空编号</button>
41
41
  <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
42
- <export-excel-safe :data="$parent.$parent.exportParameter"
42
+ <export-excel :data="$parent.$parent.exportParameter"
43
43
  :field="$parent.$parent.exportExcelField"
44
44
  style="margin-left: 0px"
45
- sqlurl="rs/logic/SafeExportExcel" sql-name="FetchUserFileByOrgNoRuHuSXQ"
45
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="FetchUserFileByOrgNoRuHuSXQ"
46
46
  template-name='用户信息' :choose-col="true">
47
- </export-excel-safe>
47
+ </export-excel>
48
48
  </div>
49
49
  <div class="form-group col-sm-1" style="float: right">
50
50
  <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.dragtoPlanItem()">添入计划</button>
@@ -566,7 +566,7 @@
566
566
  this.cbc=[]
567
567
  this.sliceArea=[]
568
568
  let http = new HttpResetClass()
569
- let getMeterReadingBooks = await http.load('POST','rs/logic/getMeterBooksData',
569
+ let getMeterReadingBooks = await http.load('POST','api/af-safecheck/logic/getMeterBooksData',
570
570
  {data: {f_orgid: "('"+this.userlogin.orgid+"')"}},
571
571
  {resolveMsg: null, rejectMsg: '获取失败!!!'})
572
572
  this.cbc = [{label: '全部', value: ''}]
@@ -57,11 +57,11 @@
57
57
  </role-selector-safe>
58
58
  </div>
59
59
  <div style="float: right">
60
- <export-excel-safe :data="$parent.$parent.searchData"
60
+ <export-excel :data="$parent.$parent.searchData"
61
61
  :field="$parent.$parent.excelHeaders"
62
62
  progress="safeGetExportProgress"
63
- sqlurl="rs/logic/SafeExportExcel" sql-name="communityDetail" template-name='小区隐患明细'
64
- :choose-col="true"></export-excel-safe>
63
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="communityDetail" template-name='小区隐患明细'
64
+ :choose-col="true"></export-excel>
65
65
  </div>
66
66
  <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model" :field="$parent.$parent.excelHeaders"
67
67
  :defaultfield="$parent.$parent.defaultPrint" :chooserow="true"
@@ -48,11 +48,11 @@
48
48
  </role-selector-safe>
49
49
  </div>
50
50
  <div style="float: right">
51
- <export-excel-safe :data="$parent.$parent.searchData"
51
+ <export-excel :data="$parent.$parent.searchData"
52
52
  :field="$parent.$parent.excelHeaders"
53
53
  progress="safeGetExportProgress"
54
- sqlurl="rs/logic/SafeExportExcel" sql-name="communityTypeDetailG"
55
- template-name='工商隐患类型明细' :choose-col="true"></export-excel-safe>
54
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="communityTypeDetailG"
55
+ template-name='工商隐患类型明细' :choose-col="true"></export-excel>
56
56
  </div>
57
57
  <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model" :field="$parent.$parent.excelHeaders"
58
58
  :defaultfield="$parent.$parent.defaultPrint" :chooserow="true"
@@ -48,11 +48,11 @@
48
48
  </role-selector-safe>
49
49
  </div>
50
50
  <div style="float: right">
51
- <export-excel-safe :data="$parent.$parent.searchData"
51
+ <export-excel :data="$parent.$parent.searchData"
52
52
  :field="$parent.$parent.excelHeaders"
53
53
  progress="safeGetExportProgress"
54
- sqlurl="rs/logic/SafeExportExcel" sql-name="communityTypeDetailM"
55
- template-name='居民隐患类型明细' :choose-col="true"></export-excel-safe>
54
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="communityTypeDetailM"
55
+ template-name='居民隐患类型明细' :choose-col="true"></export-excel>
56
56
  </div>
57
57
  <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model" :field="$parent.$parent.excelHeaders"
58
58
  :defaultfield="$parent.$parent.defaultPrint" :chooserow="true"
@@ -57,11 +57,11 @@
57
57
  </role-selector-safe>
58
58
  </div>
59
59
  <div style="float: right">
60
- <export-excel-safe :data="$parent.$parent.searchData"
60
+ <export-excel :data="$parent.$parent.searchData"
61
61
  :field="$parent.$parent.excelHeaders"
62
62
  progress="safeGetExportProgress"
63
- sqlurl="rs/logic/SafeExportExcel" sql-name="safeDetail" template-name='安检情况明细'
64
- :choose-col="true"></export-excel-safe>
63
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="safeDetail" template-name='安检情况明细'
64
+ :choose-col="true"></export-excel>
65
65
  </div>
66
66
  <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model"
67
67
  :field="$parent.$parent.excelHeaders"
@@ -59,11 +59,11 @@
59
59
  </role-selector-safe>
60
60
  </div>
61
61
  <div style="float: right">
62
- <export-excel-safe :data="$parent.$parent.searchData"
62
+ <export-excel :data="$parent.$parent.searchData"
63
63
  :field="$parent.$parent.excelHeaders"
64
64
  progress="safeGetExportProgress"
65
- sqlurl="rs/logic/SafeExportExcel" sql-name="safeStatisticsDay" template-name='安检报表日'
66
- :choose-col="true"></export-excel-safe>
65
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="safeStatisticsDay" template-name='安检报表日'
66
+ :choose-col="true"></export-excel>
67
67
  </div>
68
68
  <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model"
69
69
  :field="$parent.$parent.excelHeaders"
@@ -58,10 +58,10 @@
58
58
  </role-selector-safe>
59
59
  </div>
60
60
  <div style="float: right">
61
- <export-excel-safe :data="$parent.$parent.searchData"
61
+ <export-excel :data="$parent.$parent.searchData"
62
62
  :field="$parent.$parent.excelHeaders"
63
63
  progress="safeGetExportProgress"
64
- sqlurl="rs/logic/SafeExportExcel" sql-name="safeStatisticsMonth" template-name='安检报表月' :choose-col="true"></export-excel-safe>
64
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="safeStatisticsMonth" template-name='安检报表月' :choose-col="true"></export-excel>
65
65
  </div>
66
66
  <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model"
67
67
  :field="$parent.$parent.excelHeaders"
@@ -293,7 +293,7 @@ const sendRepair = function* (self) {
293
293
  uploadData.model.f_repairitems = repairitems
294
294
  //tag)
295
295
  // 调工单接口
296
- let result = yield self.$resetpost('/rs/logic/callerSend', uploadData)
296
+ let result = yield self.$resetpost('/api/af-safecheck/logic/callerSend', uploadData)
297
297
  //tag)
298
298
  if (result.data.f_service_id) {
299
299
  const data = {
@@ -417,7 +417,7 @@ export default {
417
417
  info:info
418
418
  }
419
419
  let http = new HttpResetClass()
420
- http.load('POST', 'rs/logic/DefectAuditUpdate', data, {resolveMsg: null, rejectMsg: null}).then((res) => {
420
+ http.load('POST', 'api/af-safecheck/logic/DefectAuditUpdate', data, {resolveMsg: null, rejectMsg: null}).then((res) => {
421
421
  if(res.data.code == 200){
422
422
  this.model.search(`f_repaire_type != '无隐患'`, {})
423
423
  this.showSolveModal = false
@@ -32,13 +32,13 @@
32
32
  </div>
33
33
  <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
34
34
 
35
- <export-excel-safe :data="$parent.$parent.searchData"
35
+ <export-excel :data="$parent.$parent.searchData"
36
36
  :field="$parent.$parent.excelHeaders"
37
37
  :choose-col="true"
38
- sqlurl="rs/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检计划明细'></export-excel-safe>
38
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检计划明细'></export-excel>
39
39
  <!-- <export-excel :data="$parent.$parent.getCondition" -->
40
40
  <!-- :field="$parent.$parent.getfield"-->
41
- <!-- sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'-->
41
+ <!-- sqlurl="api/af-safecheck/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'-->
42
42
  <!-- :choose-col="true"></export-excel>-->
43
43
  <!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
44
44
  <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
@@ -332,11 +332,11 @@
332
332
  <!--<div class="form-group col-sm-4 button-range" >
333
333
 
334
334
  <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
335
- <export-excel-safe :data="$parent.$parent.exportParameter"
335
+ <export-excel :data="$parent.$parent.exportParameter"
336
336
  :field="$parent.$parent.excelHeaders"
337
- sqlurl="rs/logic/SafeExportExcel" sql-name="planItem"
337
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="planItem"
338
338
  template-name='安检计划明细' :choose-col="true">
339
- </export-excel-safe>
339
+ </export-excel>
340
340
 
341
341
  </div>-->
342
342
  </div>
@@ -550,7 +550,7 @@
550
550
  this.cbc=[]
551
551
  this.sliceArea=[]
552
552
  let http = new HttpResetClass()
553
- let getMeterReadingBooks = await http.load('POST','rs/logic/getMeterBooksData',
553
+ let getMeterReadingBooks = await http.load('POST','api/af-safecheck/logic/getMeterBooksData',
554
554
  {data: {f_orgid: "('"+this.userlogin.orgid+"')"}},
555
555
  {resolveMsg: null, rejectMsg: '获取失败!!!'})
556
556
  this.cbc = [{label: '全部', value: ''}]
@@ -57,11 +57,11 @@
57
57
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
58
58
  @click="$parent.$parent.hidden()">
59
59
  </div>
60
- <!-- <export-excel-safe :data="$parent.$parent.exportParameter"
60
+ <!-- <export-excel :data="$parent.$parent.exportParameter"
61
61
  :field="$parent.$parent.exportExcelField"
62
- sqlurl="rs/logic/SafeExportExcel" sql-name="getCheckPlanAreaList"
62
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="getCheckPlanAreaList"
63
63
  template-name='安检汇总' :choose-col="true">
64
- </export-excel-safe>-->
64
+ </export-excel>-->
65
65
  <button id="btnaaaa" style="float: right" class="button_search"
66
66
  @click="$parent.$parent.exportexcel()"
67
67
  v-el:cx>导出</button>
@@ -298,7 +298,7 @@ const sendRepair = function* (self) {
298
298
  uploadData.model.f_repairitems = repairitems
299
299
  //tag)
300
300
  // 调工单接口
301
- let result = yield self.$resetpost('/rs/logic/callerSend', uploadData)
301
+ let result = yield self.$resetpost('/api/af-safecheck/logic/callerSend', uploadData)
302
302
  //tag)
303
303
  if (result.data.f_service_id) {
304
304
  let updateRes = yield self.$resetpost('/api/af-safecheck/logic/updateDefectState', {itemsId: self.$login.convertToIn(rows.map(row => row.id))})
@@ -50,10 +50,10 @@
50
50
  @click="$parent.$parent.hidden()"></div>
51
51
  <button style="float: right" class="button_search button_spacing" @click="search">查询</button>
52
52
  <div style="float: right">
53
- <export-excel-safe :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
53
+ <export-excel :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
54
54
  :field="$parent.$parent.getfield"
55
55
  progress="safeGetExportProgress"
56
- sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检隐患明细' :choose-col="true"></export-excel-safe>
56
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检隐患明细' :choose-col="true"></export-excel>
57
57
  </div>
58
58
  </div>
59
59
  </div>
@@ -152,10 +152,10 @@
152
152
  @click="$parent.$parent.hidden()"></div>
153
153
  <button style="float: right" class="button_search button_spacing" @click="search">查询</button>
154
154
  <div style="float: right">
155
- <export-excel-safe :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
155
+ <export-excel :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
156
156
  :field="$parent.$parent.getfield"
157
157
  progress="safeGetExportProgress"
158
- sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检计划明细' :choose-col="true"></export-excel-safe>
158
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检计划明细' :choose-col="true"></export-excel>
159
159
  </div>
160
160
  </div>
161
161
  </div>
@@ -37,13 +37,13 @@
37
37
  </div>
38
38
  <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
39
39
 
40
- <export-excel-safe :data="$parent.$parent.searchData"
40
+ <export-excel :data="$parent.$parent.searchData"
41
41
  :field="$parent.$parent.excelHeaders"
42
42
  :choose-col="true"
43
- sqlurl="rs/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检计划明细'></export-excel-safe>
43
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检计划明细'></export-excel>
44
44
  <!-- <export-excel :data="$parent.$parent.getCondition" -->
45
45
  <!-- :field="$parent.$parent.getfield"-->
46
- <!-- sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'-->
46
+ <!-- sqlurl="api/af-safecheck/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'-->
47
47
  <!-- :choose-col="true"></export-excel>-->
48
48
  <!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
49
49
  <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
@@ -291,7 +291,7 @@ const sendRepair = function* (self) {
291
291
  uploadData.model.f_repairitems = repairitems
292
292
  //tag)
293
293
  // 调工单接口
294
- let result = yield self.$resetpost('/rs/logic/callerSend', uploadData)
294
+ let result = yield self.$resetpost('/api/af-safecheck/logic/callerSend', uploadData)
295
295
  //tag)
296
296
  if (result.data.f_service_id) {
297
297
  const data = {
@@ -413,7 +413,7 @@ export default {
413
413
  info:info
414
414
  }
415
415
  let http = new HttpResetClass()
416
- http.load('POST', 'rs/logic/DefectAuditUpdate', data, {resolveMsg: null, rejectMsg: null}).then((res) => {
416
+ http.load('POST', 'api/af-safecheck/logic/DefectAuditUpdate', data, {resolveMsg: null, rejectMsg: null}).then((res) => {
417
417
  if(res.data.code == 200){
418
418
  this.model.search(`f_repaire_type != '无隐患'`, {})
419
419
  this.showSolveModal = false
@@ -28,10 +28,10 @@
28
28
  placeholder="地址" condition="f_address like '%{}%'">
29
29
  </div>
30
30
  <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
31
- <export-excel-safe :data="$parent.$parent.searchData"
31
+ <export-excel :data="$parent.$parent.searchData"
32
32
  :field="$parent.$parent.excelHeaders"
33
- sqlurl="rs/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
34
- template-name='用户安检情况'></export-excel-safe>
33
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
34
+ template-name='用户安检情况'></export-excel>
35
35
  <button type="button" class="button_search button_spacing" @click="search()">查询</button>
36
36
  <div style="float: right" class="button_spacing"
37
37
  :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
@@ -186,10 +186,10 @@
186
186
  placeholder="用户姓名" condition="f_user_name like '%{}%'">
187
187
  </div>
188
188
  <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
189
- <export-excel-safe :data="$parent.$parent.searchData"
189
+ <export-excel :data="$parent.$parent.searchData"
190
190
  :field="$parent.$parent.excelHeaders"
191
- sqlurl="rs/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
192
- template-name='用户安检情况'></export-excel-safe>
191
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
192
+ template-name='用户安检情况'></export-excel>
193
193
  <button type="button" class="button_search button_spacing" @click="search()">查询</button>
194
194
  <div style="float: right" class="button_spacing"
195
195
  :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
@@ -32,10 +32,10 @@
32
32
  </div>
33
33
  <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
34
34
 
35
- <export-excel-safe :data="$parent.$parent.searchData"
35
+ <export-excel :data="$parent.$parent.searchData"
36
36
  :field="$parent.$parent.excelHeaders"
37
37
  progress="safeGetExportProgress"
38
- sqlurl="rs/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细'></export-excel-safe>
38
+ sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细'></export-excel>
39
39
  <!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
40
40
  <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
41
41
 
@@ -1,59 +1,59 @@
1
- import Vue from 'vue'
2
- import {HttpResetClass} from 'vue-client'
3
- import GetCheckParam from './GetCheckParams'
4
- let loadMeterBookGen = async function (f_filialeid) {
5
- let http = new HttpResetClass()
6
- if (GetCheckParam.meterbooks.length === 0) {
7
- let getMeterBooks = await http.load('POST', 'rs/logic/sale_getMeterBooksData', {data: {f_orgid: f_filialeid || Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
8
- if (getMeterBooks.data) {
9
- LoadCheckParam.organizeBooksData(getMeterBooks.data)
10
- }
11
- }
12
- }
13
- let LoadCheckParam = {
14
- install (Vue, options) {
15
- // 给vue增添对话框显示方法
16
- Vue.LoadCheckParam = Vue.prototype.$LoadCheckParam = LoadCheckParam
17
- },
18
- // 加载抄表册
19
- async loadMeterBook (f_filialeid) {
20
- await loadMeterBookGen(f_filialeid)
21
- },
22
- organizeBooksData (fromSystem) {
23
- fromSystem.meterbooks.forEach((item, index) => {
24
- GetCheckParam.meterbooks[index] = {}
25
- GetCheckParam.meterbooks[index].label = item.f_book_name
26
- GetCheckParam.meterbooks[index].value = item.id
27
- })
28
- var i=0
29
- fromSystem.meterbooks.forEach((item, index) => {
30
- if(item.f_book_code){
31
- GetCheckParam.bookcodes[i] = {}
32
- GetCheckParam.bookcodes[i].label = item.f_book_code
33
- GetCheckParam.bookcodes[i].value = item.id
34
- i++
35
- }
36
- })
37
- },
38
-
39
- isReset (val) {
40
- if (GetCheckParam.gasbrands.length > 0) {
41
- if (GetCheckParam.gasbrands[0].value.f_using_orgid !== val) {
42
- return true
43
- }
44
- }
45
- if (GetCheckParam.prices.length > 0) {
46
- if (GetCheckParam.prices[0].f_filialeid !== val) {
47
- return true
48
- }
49
- }
50
- if (GetCheckParam.adjustables.length > 0) {
51
- if (GetCheckParam.adjustables[0].value.f_filialeid !== val) {
52
- return true
53
- }
54
- }
55
- }
56
-
57
- }
58
-
59
- export default LoadCheckParam
1
+ import Vue from 'vue'
2
+ import {HttpResetClass} from 'vue-client'
3
+ import GetCheckParam from './GetCheckParams'
4
+ let loadMeterBookGen = async function (f_filialeid) {
5
+ let http = new HttpResetClass()
6
+ if (GetCheckParam.meterbooks.length === 0) {
7
+ let getMeterBooks = await http.load('POST', 'api/af-safecheck/logic/sale_getMeterBooksData', {data: {f_orgid: f_filialeid || Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
8
+ if (getMeterBooks.data) {
9
+ LoadCheckParam.organizeBooksData(getMeterBooks.data)
10
+ }
11
+ }
12
+ }
13
+ let LoadCheckParam = {
14
+ install (Vue, options) {
15
+ // 给vue增添对话框显示方法
16
+ Vue.LoadCheckParam = Vue.prototype.$LoadCheckParam = LoadCheckParam
17
+ },
18
+ // 加载抄表册
19
+ async loadMeterBook (f_filialeid) {
20
+ await loadMeterBookGen(f_filialeid)
21
+ },
22
+ organizeBooksData (fromSystem) {
23
+ fromSystem.meterbooks.forEach((item, index) => {
24
+ GetCheckParam.meterbooks[index] = {}
25
+ GetCheckParam.meterbooks[index].label = item.f_book_name
26
+ GetCheckParam.meterbooks[index].value = item.id
27
+ })
28
+ var i=0
29
+ fromSystem.meterbooks.forEach((item, index) => {
30
+ if(item.f_book_code){
31
+ GetCheckParam.bookcodes[i] = {}
32
+ GetCheckParam.bookcodes[i].label = item.f_book_code
33
+ GetCheckParam.bookcodes[i].value = item.id
34
+ i++
35
+ }
36
+ })
37
+ },
38
+
39
+ isReset (val) {
40
+ if (GetCheckParam.gasbrands.length > 0) {
41
+ if (GetCheckParam.gasbrands[0].value.f_using_orgid !== val) {
42
+ return true
43
+ }
44
+ }
45
+ if (GetCheckParam.prices.length > 0) {
46
+ if (GetCheckParam.prices[0].f_filialeid !== val) {
47
+ return true
48
+ }
49
+ }
50
+ if (GetCheckParam.adjustables.length > 0) {
51
+ if (GetCheckParam.adjustables[0].value.f_filialeid !== val) {
52
+ return true
53
+ }
54
+ }
55
+ }
56
+
57
+ }
58
+
59
+ export default LoadCheckParam