safecheck-client 4.0.0-8 → 4.0.0-81

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 (355) hide show
  1. package/.babelrc +5 -5
  2. package/.editorconfig +9 -9
  3. package/android.html +18 -18
  4. package/config/dev.env.js +6 -6
  5. package/config/index.js +38 -38
  6. package/config/prod.env.js +3 -3
  7. package/config/test.env.js +6 -6
  8. package/docs/AppBase.md +22 -22
  9. package/docs/Busy.md +14 -14
  10. package/docs/CriteriaPaged.md +47 -47
  11. package/docs/DataGrid.md +54 -54
  12. package/docs/DataModel.md +22 -22
  13. package/docs/Dynamic.md +42 -42
  14. package/docs/GetParams.md +11 -11
  15. package/docs/HttpBusy.md +13 -13
  16. package/docs/HttpStore.md +29 -29
  17. package/docs/MessageBox.md +28 -28
  18. package/docs/PagedList.md +29 -29
  19. package/docs/Pager.md +21 -21
  20. package/docs/Project.md +23 -23
  21. package/docs/Route.md +105 -105
  22. package/docs/SafetyCheck/AdjustPlan.md +13 -13
  23. package/docs/SafetyCheck/CheckerPlan.md +12 -12
  24. package/docs/Task.md +46 -46
  25. package/docs/TreeList.md +28 -28
  26. package/docs/TreeMixin.md +18 -18
  27. package/docs/all.md +10 -10
  28. package/docs/list.md +42 -42
  29. package/docs/partial.md +75 -75
  30. package/docs/selector.md +82 -82
  31. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
  32. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue-strap/345/217/230/346/233/264/350/256/260/345/275/225.md +7 -7
  33. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue/345/217/230/346/233/264/350/256/260/345/275/225.md +13 -13
  34. package/docs//345/274/200/345/217/221/346/226/207/346/241/243//345/274/200/345/217/221/347/216/257/345/242/203/350/256/276/347/275/256.md +77 -77
  35. package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
  36. package/examples/AddressList/App.vue +13 -13
  37. package/examples/AddressList/index.html +11 -11
  38. package/examples/DispatchList/App.vue +10 -10
  39. package/examples/DispatchList/BaseTree.vue +13 -13
  40. package/examples/DispatchList/Init.vue +22 -22
  41. package/examples/DispatchList/Test.vue +20 -20
  42. package/examples/DispatchList/index.html +11 -11
  43. package/examples/DispatchList/main.js +18 -18
  44. package/home.html +16 -16
  45. package/package.json +2 -2
  46. package/publish.bat +7 -7
  47. package/release.bat +5 -5
  48. package/src/Widget.vue +13 -13
  49. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  50. package/src/android-bootstrap/less/.csscomb.json +304 -304
  51. package/src/android-bootstrap/less/.csslintrc +19 -19
  52. package/src/android-bootstrap/less/alerts.less +73 -73
  53. package/src/android-bootstrap/less/badges.less +66 -66
  54. package/src/android-bootstrap/less/bootstrap.less +56 -56
  55. package/src/android-bootstrap/less/breadcrumbs.less +26 -26
  56. package/src/android-bootstrap/less/button-groups.less +247 -247
  57. package/src/android-bootstrap/less/buttons.less +173 -173
  58. package/src/android-bootstrap/less/carousel.less +269 -269
  59. package/src/android-bootstrap/less/close.less +34 -34
  60. package/src/android-bootstrap/less/code.less +69 -69
  61. package/src/android-bootstrap/less/component-animations.less +33 -33
  62. package/src/android-bootstrap/less/grid.less +84 -84
  63. package/src/android-bootstrap/less/input-groups.less +167 -167
  64. package/src/android-bootstrap/less/jumbotron.less +52 -52
  65. package/src/android-bootstrap/less/labels.less +64 -64
  66. package/src/android-bootstrap/less/list-group.less +141 -141
  67. package/src/android-bootstrap/less/media.less +66 -66
  68. package/src/android-bootstrap/less/mixins/alerts.less +14 -14
  69. package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
  70. package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
  71. package/src/android-bootstrap/less/mixins/buttons.less +69 -69
  72. package/src/android-bootstrap/less/mixins/center-block.less +7 -7
  73. package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
  74. package/src/android-bootstrap/less/mixins/forms.less +90 -90
  75. package/src/android-bootstrap/less/mixins/gradients.less +59 -59
  76. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
  77. package/src/android-bootstrap/less/mixins/grid.less +122 -122
  78. package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
  79. package/src/android-bootstrap/less/mixins/image.less +33 -33
  80. package/src/android-bootstrap/less/mixins/labels.less +12 -12
  81. package/src/android-bootstrap/less/mixins/list-group.less +30 -30
  82. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
  83. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
  84. package/src/android-bootstrap/less/mixins/opacity.less +8 -8
  85. package/src/android-bootstrap/less/mixins/pagination.less +24 -24
  86. package/src/android-bootstrap/less/mixins/panels.less +24 -24
  87. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
  88. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
  89. package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
  90. package/src/android-bootstrap/less/mixins/resize.less +6 -6
  91. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
  92. package/src/android-bootstrap/less/mixins/size.less +10 -10
  93. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
  94. package/src/android-bootstrap/less/mixins/table-row.less +44 -44
  95. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
  96. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
  97. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
  98. package/src/android-bootstrap/less/mixins.less +40 -40
  99. package/src/android-bootstrap/less/modals.less +151 -151
  100. package/src/android-bootstrap/less/navbar.less +660 -660
  101. package/src/android-bootstrap/less/navs.less +290 -290
  102. package/src/android-bootstrap/less/normalize.less +424 -424
  103. package/src/android-bootstrap/less/pager.less +76 -76
  104. package/src/android-bootstrap/less/pagination.less +89 -89
  105. package/src/android-bootstrap/less/panels.less +274 -274
  106. package/src/android-bootstrap/less/popovers.less +131 -131
  107. package/src/android-bootstrap/less/print.less +101 -101
  108. package/src/android-bootstrap/less/progress-bars.less +87 -87
  109. package/src/android-bootstrap/less/responsive-embed.less +35 -35
  110. package/src/android-bootstrap/less/responsive-utilities.less +194 -194
  111. package/src/android-bootstrap/less/scaffolding.less +161 -161
  112. package/src/android-bootstrap/less/tables.less +262 -262
  113. package/src/android-bootstrap/less/theme.less +291 -291
  114. package/src/android-bootstrap/less/thumbnails.less +36 -36
  115. package/src/android-bootstrap/less/tooltip.less +102 -102
  116. package/src/android-bootstrap/less/type.less +303 -303
  117. package/src/android-bootstrap/less/utilities.less +55 -55
  118. package/src/android-bootstrap/less/variables.less +896 -896
  119. package/src/android-bootstrap/less/wells.less +29 -29
  120. package/src/bootstrap/less/.csscomb.json +304 -304
  121. package/src/bootstrap/less/.csslintrc +19 -19
  122. package/src/bootstrap/less/alerts.less +73 -73
  123. package/src/bootstrap/less/badges.less +66 -66
  124. package/src/bootstrap/less/breadcrumbs.less +26 -26
  125. package/src/bootstrap/less/button-groups.less +247 -247
  126. package/src/bootstrap/less/buttons.less +172 -172
  127. package/src/bootstrap/less/carousel.less +269 -269
  128. package/src/bootstrap/less/close.less +34 -34
  129. package/src/bootstrap/less/code.less +69 -69
  130. package/src/bootstrap/less/component-animations.less +33 -33
  131. package/src/bootstrap/less/dropdowns.less +216 -216
  132. package/src/bootstrap/less/grid.less +84 -84
  133. package/src/bootstrap/less/input-groups.less +167 -167
  134. package/src/bootstrap/less/jumbotron.less +52 -52
  135. package/src/bootstrap/less/labels.less +64 -64
  136. package/src/bootstrap/less/list-group.less +141 -141
  137. package/src/bootstrap/less/media.less +66 -66
  138. package/src/bootstrap/less/mixins/alerts.less +14 -14
  139. package/src/bootstrap/less/mixins/background-variant.less +9 -9
  140. package/src/bootstrap/less/mixins/border-radius.less +18 -18
  141. package/src/bootstrap/less/mixins/buttons.less +69 -69
  142. package/src/bootstrap/less/mixins/center-block.less +7 -7
  143. package/src/bootstrap/less/mixins/clearfix.less +22 -22
  144. package/src/bootstrap/less/mixins/forms.less +90 -90
  145. package/src/bootstrap/less/mixins/gradients.less +59 -59
  146. package/src/bootstrap/less/mixins/grid-framework.less +92 -92
  147. package/src/bootstrap/less/mixins/grid.less +122 -122
  148. package/src/bootstrap/less/mixins/hide-text.less +21 -21
  149. package/src/bootstrap/less/mixins/image.less +33 -33
  150. package/src/bootstrap/less/mixins/labels.less +12 -12
  151. package/src/bootstrap/less/mixins/list-group.less +30 -30
  152. package/src/bootstrap/less/mixins/nav-divider.less +10 -10
  153. package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
  154. package/src/bootstrap/less/mixins/opacity.less +8 -8
  155. package/src/bootstrap/less/mixins/pagination.less +24 -24
  156. package/src/bootstrap/less/mixins/panels.less +24 -24
  157. package/src/bootstrap/less/mixins/progress-bar.less +10 -10
  158. package/src/bootstrap/less/mixins/reset-filter.less +8 -8
  159. package/src/bootstrap/less/mixins/reset-text.less +18 -18
  160. package/src/bootstrap/less/mixins/resize.less +6 -6
  161. package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
  162. package/src/bootstrap/less/mixins/size.less +10 -10
  163. package/src/bootstrap/less/mixins/tab-focus.less +9 -9
  164. package/src/bootstrap/less/mixins/table-row.less +44 -44
  165. package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
  166. package/src/bootstrap/less/mixins/text-overflow.less +8 -8
  167. package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
  168. package/src/bootstrap/less/mixins.less +40 -40
  169. package/src/bootstrap/less/modals.less +151 -151
  170. package/src/bootstrap/less/navbar.less +660 -660
  171. package/src/bootstrap/less/normalize.less +424 -424
  172. package/src/bootstrap/less/pagination.less +89 -89
  173. package/src/bootstrap/less/panels.less +275 -275
  174. package/src/bootstrap/less/popovers.less +131 -131
  175. package/src/bootstrap/less/print.less +101 -101
  176. package/src/bootstrap/less/progress-bars.less +87 -87
  177. package/src/bootstrap/less/responsive-embed.less +35 -35
  178. package/src/bootstrap/less/responsive-utilities.less +194 -194
  179. package/src/bootstrap/less/scaffolding.less +161 -161
  180. package/src/bootstrap/less/theme.less +291 -291
  181. package/src/bootstrap/less/thumbnails.less +36 -36
  182. package/src/bootstrap/less/tooltip.less +102 -102
  183. package/src/bootstrap/less/type.less +303 -303
  184. package/src/bootstrap/less/utilities.less +55 -55
  185. package/src/bootstrap/less/wells.less +29 -29
  186. package/src/components/FileUpload.vue +696 -696
  187. package/src/components/Hello.vue +39 -39
  188. package/src/components/LeftTree.vue +27 -27
  189. package/src/components/NewDefectList/DefectListNew.vue +11 -11
  190. package/src/components/NewDefectList/DefectPaperNew.vue +44 -44
  191. package/src/components/Util/ImgSelfSafePlus.vue +13 -3
  192. package/src/components/android/AndroidDefectDeal.vue +1 -1
  193. package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
  194. package/src/components/android/AndroidDefectDetails.vue +725 -0
  195. package/src/components/android/AttendanceTally.vue +116 -116
  196. package/src/components/android/BlackUserOnLine.vue +2 -2
  197. package/src/components/android/Blank.vue +10 -10
  198. package/src/components/android/CheckUnplanPage.vue +56 -56
  199. package/src/components/android/Checker.vue +12 -12
  200. package/src/components/android/CheckerAnnual.vue +81 -81
  201. package/src/components/android/CheckerAvarta.vue +82 -82
  202. package/src/components/android/EquipmentInspection.vue +348 -348
  203. package/src/components/android/FootprintMap.vue +120 -120
  204. package/src/components/android/HiddentroubleInvestigation.vue +192 -192
  205. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +1 -1
  206. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +4 -4
  207. package/src/components/android/MasterMain.vue +77 -77
  208. package/src/components/android/Menu.vue +132 -132
  209. package/src/components/android/NewCheckpaperAndroid.vue +28 -21
  210. package/src/components/android/PaperAlarm.vue +85 -85
  211. package/src/components/android/PaperDeviceNoncivil.vue +214 -214
  212. package/src/components/android/PaperFeedback.vue +15 -13
  213. package/src/components/android/PaperFeedbackTemp.vue +2 -2
  214. package/src/components/android/PhoneUpUserinfo.vue +20 -0
  215. package/src/components/android/PlumberAnnual.vue +83 -83
  216. package/src/components/android/PlumberAnnualDetail.vue +65 -65
  217. package/src/components/android/PlumberMonthly.vue +84 -84
  218. package/src/components/android/PostMap.vue +83 -83
  219. package/src/components/android/QueryCheckHistory.vue +122 -122
  220. package/src/components/android/QueryCheckHistoryItem.vue +62 -62
  221. package/src/components/android/RelieveRestrict.vue +1 -1
  222. package/src/components/android/RepairMain.vue +60 -60
  223. package/src/components/android/Repairman.vue +12 -12
  224. package/src/components/android/Restriction.vue +1 -1
  225. package/src/components/android/SafecheckDevices.vue +47 -2
  226. package/src/components/android/SafecheckOrderV.vue +2 -2
  227. package/src/components/android/SealBind.vue +392 -0
  228. package/src/components/android/SealManage.vue +250 -0
  229. package/src/components/android/StationMaster.vue +12 -12
  230. package/src/components/defects/DefectModal.vue +101 -101
  231. package/src/components/defects/DevicesAndItem.vue +39 -39
  232. package/src/components/inspections/inspectionFeedback.vue +2 -2
  233. package/src/components/issueplan/IssuePlanMain.vue +23 -23
  234. package/src/components/notice/NoticeForm.vue +100 -100
  235. package/src/components/notice/NoticeIssue.vue +20 -20
  236. package/src/components/paper/PaperList.vue +360 -332
  237. package/src/components/paper/PicViewer.vue +18 -18
  238. package/src/components/pc/AddToCheckBook.vue +100 -23
  239. package/src/components/pc/CheckBook.vue +2 -0
  240. package/src/components/pc/CheckBookDetails.vue +6 -39
  241. package/src/components/pc/CheckBookEntry.vue +6 -7
  242. package/src/components/pc/CheckBookList.vue +61 -72
  243. package/src/components/pc/CheckBookSearchArea.vue +20 -24
  244. package/src/components/pc/CheckBookSearchUser.vue +139 -84
  245. package/src/components/pc/CheckBookSearchUserList.vue +1 -2
  246. package/src/components/pc/CheckBookUser.vue +276 -44
  247. package/src/components/pc/NewCheckpaper.vue +14 -8
  248. package/src/components/pc/NewCheckpaperTemp.vue +5 -5
  249. package/src/components/pc/PaperDefectMain.vue +1 -0
  250. package/src/components/phonestate/MonthlyTraffic.vue +66 -66
  251. package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
  252. package/src/components/phonestate/PostMap.vue +82 -82
  253. package/src/components/planmanage/PlanManage.vue +825 -821
  254. package/src/components/planmanage/checkPlanList.vue +28 -0
  255. package/src/components/planmanage/checkUserList.vue +346 -346
  256. package/src/components/querycheckpaper/CheckSearchUser.vue +68 -68
  257. package/src/components/querycheckpaper/PaperItem.vue +59 -59
  258. package/src/components/report/CheckPlanAreaList.vue +266 -266
  259. package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
  260. package/src/components/rongcheng/PaperFeedback.vue +2 -2
  261. package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
  262. package/src/components/userfile/MeterFile.vue +145 -145
  263. package/src/components/userfile/MeterModify.vue +46 -46
  264. package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
  265. package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
  266. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  267. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
  268. package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
  269. package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
  270. package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
  271. package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
  272. package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
  273. package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
  274. package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
  275. package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
  276. package/src/filiale/jinhong/android/CurrentCreate.vue +1195 -0
  277. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +438 -363
  278. package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +346 -0
  279. package/src/filiale/jinhong/android.js +3 -1
  280. package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +511 -0
  281. package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
  282. package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
  283. package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
  284. package/src/filiale/jinhong/pc/PaperList.vue +823 -0
  285. package/src/filiale/jinhong/pc/PlanManage.vue +909 -0
  286. package/src/filiale/jinhong/pc/checkUserList.vue +776 -0
  287. package/src/filiale/jinhong/pc.js +11 -0
  288. package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
  289. package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
  290. package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
  291. package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
  292. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
  293. package/src/filiale/meihekou/android/AreaPlan.vue +569 -0
  294. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
  295. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
  296. package/src/filiale/meihekou/android/CurrentCreate.vue +1090 -0
  297. package/src/filiale/meihekou/android/MeterReading.vue +106 -0
  298. package/src/filiale/meihekou/android/PaperFeedback.vue +1538 -0
  299. package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -0
  300. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1276 -0
  301. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2407 -0
  302. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +787 -0
  303. package/src/filiale/meihekou/android.js +21 -0
  304. package/src/filiale/meihekou/pc.js +12 -0
  305. package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
  306. package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
  307. package/src/filiale/qingjian/pc/NewCheckpaper.vue +5 -11
  308. package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
  309. package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
  310. package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
  311. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
  312. package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
  313. package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
  314. package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
  315. package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
  316. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
  317. package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
  318. package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
  319. package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
  320. package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
  321. package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
  322. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1249 -0
  323. package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
  324. package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
  325. package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
  326. package/src/filiale/xiangyuanzhongai/android.js +3 -0
  327. package/src/filiale/xiangyuanzhongai/pc/DefectDeal.vue +1007 -0
  328. package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +795 -0
  329. package/src/filiale/xiangyuanzhongai/pc.js +2 -0
  330. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
  331. package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
  332. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
  333. package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
  334. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
  335. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
  336. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +4 -2
  337. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  338. package/src/filiale/yunchengminsheng/android.js +1 -0
  339. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +16 -5
  340. package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
  341. package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
  342. package/src/main.js +1 -1
  343. package/src/plugins/LoadData.js +10 -10
  344. package/src/plugins/LoadParams.js +24 -24
  345. package/src/safecheck-android.js +3 -0
  346. package/src/stores/wxconfig.js +10 -10
  347. package/src/utils/getNowDate.js +33 -33
  348. package/test/e2e/custom-assertions/elementCount.js +26 -26
  349. package/test/e2e/nightwatch.conf.js +40 -40
  350. package/test/e2e/runner.js +30 -30
  351. package/test/e2e/specs/test.js +13 -13
  352. package/test/unit/.eslintrc +5 -5
  353. package/test/unit/TestUtil.js +62 -62
  354. package/test/unit/context.html +20 -20
  355. package/test/unit/index.js +13 -13
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="flex-row">
2
+ <div class="flex-row" v-show="showinfo1">
3
3
  <div class="basic-main">
4
4
  <criteria-paged :model="model" v-ref:paged @sort="sort">
5
5
  <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
@@ -103,53 +103,53 @@
103
103
  </div>
104
104
 
105
105
 
106
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
107
- <label class="font_normal_body">安检状态</label>
108
- <v-select id="f_entry"
109
- class="select_list select"
110
- placeholder='安检状态' style="width: 60%"
111
- v-model='model.f_entry'
112
- :value.sync="$parent.$parent.model.f_entry"
113
- :options='$parent.$parent.f_entry_status'
114
- condition=""
115
- :value-single="true"
116
- close-on-select clear-button></v-select>
117
- </div>
118
- <div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
119
- <role-selector-safe
120
- role-name="安检员"
121
- role-lable="安&nbsp;检&nbsp;员&nbsp;"
122
- @re-res="$parent.$parent.getRes"
123
- :value.sync="model.f_checker_id"
124
- v-model="model.f_checker_id"
125
- condition="f_checker_name = '{}'">
126
- </role-selector-safe>
127
- </div>
128
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
129
- <label class="font_normal_body">片&emsp;&emsp;区</label>
130
- <v-select class="select_list select"
131
- placeholder='片区/管理站' style="width: 60%"
132
- :value.sync="model.f_slice_area" v-model="model.f_slice_area"
133
- :options='$parent.$parent.sliceArea'
134
- filer-key="name"
135
- close-on-select clear-button
136
- condition="f_slice_area='{}'"
137
- @change="$parent.$parent.getmeterbook(model.f_slice_area)"
138
- :value-single="true">
139
- </v-select>
140
- </div>
141
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
142
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
143
- <v-select class="select_list select"
144
- placeholder='抄表册' style="width: 60%"
145
- :value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
146
- :options='$parent.$parent.cbc'
147
- filer-key="name"
148
- close-on-select clear-button
149
- condition="f_meter_book_num={}"
150
- :value-single="true">
151
- </v-select>
152
- </div>
106
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
107
+ <label class="font_normal_body">安检状态</label>
108
+ <v-select id="f_entry"
109
+ class="select_list select"
110
+ placeholder='安检状态' style="width: 60%"
111
+ v-model='model.f_entry'
112
+ :value.sync="$parent.$parent.model.f_entry"
113
+ :options='$parent.$parent.f_entry_status'
114
+ condition=""
115
+ :value-single="true"
116
+ close-on-select clear-button></v-select>
117
+ </div>
118
+ <div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
119
+ <role-selector-safe
120
+ role-name="安检员"
121
+ role-lable="安&nbsp;检&nbsp;员&nbsp;"
122
+ @re-res="$parent.$parent.getRes"
123
+ :value.sync="model.f_checker_id"
124
+ v-model="model.f_checker_id"
125
+ condition="f_checker_name = '{}'">
126
+ </role-selector-safe>
127
+ </div>
128
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
129
+ <label class="font_normal_body">片&emsp;&emsp;区</label>
130
+ <v-select class="select_list select"
131
+ placeholder='片区/管理站' style="width: 60%"
132
+ :value.sync="model.f_slice_area" v-model="model.f_slice_area"
133
+ :options='$parent.$parent.sliceArea'
134
+ filer-key="name"
135
+ close-on-select clear-button
136
+ condition="f_slice_area='{}'"
137
+ @change="$parent.$parent.getmeterbook(model.f_slice_area)"
138
+ :value-single="true">
139
+ </v-select>
140
+ </div>
141
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
142
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
143
+ <v-select class="select_list select"
144
+ placeholder='抄表册' style="width: 60%"
145
+ :value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
146
+ :options='$parent.$parent.cbc'
147
+ filer-key="name"
148
+ close-on-select clear-button
149
+ condition="f_meter_book_num={}"
150
+ :value-single="true">
151
+ </v-select>
152
+ </div>
153
153
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
154
154
  <label class="font_normal_body">省&ensp;市&ensp;区</label>
155
155
  <v-select class="select_list select"
@@ -228,16 +228,16 @@
228
228
  </v-select>
229
229
  </div>
230
230
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
231
- <label class="font_normal_body">气表品牌</label>
231
+ <label class="font_normal_body">气表品牌</label>
232
232
  <v-select
233
- class="select_list select"
234
- placeholder='气表品牌' style="width: 60%"
235
- v-model='model.tableBrand'
236
- :value.sync="model.tableBrand"
237
- :options='$parent.$parent.tableBrands'
238
- condition="f_meter_brand = '{}'"
239
- :value-single="true"
240
- close-on-select clear-button></v-select>
233
+ class="select_list select"
234
+ placeholder='气表品牌' style="width: 60%"
235
+ v-model='model.tableBrand'
236
+ :value.sync="model.tableBrand"
237
+ :options='$parent.$parent.tableBrands'
238
+ condition="f_meter_brand = '{}'"
239
+ :value-single="true"
240
+ close-on-select clear-button></v-select>
241
241
  </div>
242
242
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
243
243
  <label class="font_normal_body">有无计划</label>
@@ -390,7 +390,7 @@
390
390
 
391
391
  </td>
392
392
  <td style="text-align: center" v-if="$parent.$parent.$parent.audioshow">
393
- <!-- <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>-->
393
+ <!-- <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>-->
394
394
  <audio controls="controls" v-if="row.f_recording1_path">
395
395
  <source type="audio/mpeg" :src="'rs/audio/file/'+row.f_recording1_path">
396
396
  </audio>
@@ -405,32 +405,34 @@
405
405
  <check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
406
406
  </div>
407
407
  </div>
408
+ <new-check-paper v-if="showinfo2" :f_plan_id="shouinfodata.f_check_plan_id" :item="shouinfodata" :role="'view'" v-on:showback="showback1"></new-check-paper>
409
+ <new-check-paper-temp v-if="showinfo3" :f_plan_id="shouinfodata.f_check_plan_id" :item="shouinfodata" :role="'view'" v-on:showback="showback2"></new-check-paper-temp>
408
410
  </template>
409
411
 
410
412
  <script>
411
- import {PagedList} from 'vue-client'
412
- import Vue from 'vue'
413
- import co from 'co'
414
- import AppData from '../../stores/AppData'
415
- import * as Util from '../Util'
416
- import getNowDate from "../../utils/getNowDate";
417
- import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
418
- import BenzAMRRecorder from 'benz-amr-recorder'
419
- import {toEndDateString, toStartDateString} from "../Util";
413
+ import {PagedList} from 'vue-client'
414
+ import Vue from 'vue'
415
+ import co from 'co'
416
+ import AppData from '../../stores/AppData'
417
+ import * as Util from '../Util'
418
+ import getNowDate from "../../utils/getNowDate";
419
+ import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
420
+ import BenzAMRRecorder from 'benz-amr-recorder'
421
+ import {toEndDateString, toStartDateString} from "../Util";
420
422
 
421
423
 
422
- let select = function* (self) {
423
- let http = new HttpResetClass()
424
- let getGasman = yield http.load('POST', '/rs/search', {
425
- source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
426
- userid: self.$login.f.id
427
- }, {resolveMsg: null, rejectMsg: null})
428
- ////tag
429
- self.checkersid.push({label: '全部', value: ''})
430
- getGasman.data.forEach((checker) => {
431
- self.checkersid.push({label: checker.name, value: checker.id})
432
- })
433
- }
424
+ let select = function* (self) {
425
+ let http = new HttpResetClass()
426
+ let getGasman = yield http.load('POST', '/rs/search', {
427
+ source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
428
+ userid: self.$login.f.id
429
+ }, {resolveMsg: null, rejectMsg: null})
430
+ ////tag
431
+ self.checkersid.push({label: '全部', value: ''})
432
+ getGasman.data.forEach((checker) => {
433
+ self.checkersid.push({label: checker.name, value: checker.id})
434
+ })
435
+ }
434
436
 
435
437
  export default {
436
438
  title: '安检结果查看',
@@ -461,6 +463,10 @@ export default {
461
463
  // }
462
464
  // model.f_subcompany = this.$login.f.f_fengongsi
463
465
  return {
466
+ showinfo1:true,
467
+ showinfo2:false,
468
+ showinfo3:false,
469
+ shouinfodata:{},
464
470
  tableBrands: [{label: '全部', value: ''}],
465
471
  audioshow: false,
466
472
  safeAudit: this.$appdata.getSingleValue('安检审核') == '是' ? true : false,
@@ -476,241 +482,263 @@ export default {
476
482
  model: model,
477
483
  excelHeaders: {
478
484
  //searchData:searchData,
479
- 'f_userinfo_code': '客户编号',
480
- 'f_user_name': '客户姓名',
481
- 'f_meternumber':'客户表号',
482
- 'f_user_phone':'客户电话',
483
- 'f_check_type': '客户类型',
484
- 'f_residential_area': '小区',
485
- 'f_address': '客户地址',
486
- 'f_entry_status': '安检状态',
487
- 'f_usegas': '用气状态',
488
- 'f_offsite_time': '安检时间',
489
- 'f_checker_name': '安检员',
490
- 'f_safecheck_type':'安检类型',
491
- 'f_repair_approved_note': '备注',
492
- 'f_gas_date': '开户时间',
493
- 'f_plan_name': '计划名称'
494
- },
495
- fun: this.$login.f,
496
- pcds:[],
497
- checkersid: [],
498
- approveds:this.$appdata.getParam('安检审核状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检审核状态')]:[{label: '全部', value: ''}],
499
- safetype: this.$appdata.getParam('安检类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检类型')]:[{label: '全部', value: ''}],
500
- criteriaShow: false,
501
- checktype: this.$appdata.getParam('用户类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]:[{label: '全部', value: ''}],
502
- f_check_type:[{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
503
- showModal: false,
504
- safe_types:this.$appdata.getParam('计划类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('计划类型')]:[{label: '全部', value: ''}],
505
- f_approval_states: this.$appdata.getParam('安检单审核状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检单审核状态')]:[{label: '全部', value: ''}],
506
- f_entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
507
- no_checkplans: this.$appdata.getParam('有无计划')?[{label: '全部', value: ''}, ...this.$appdata.getParam('有无计划')]:[{label: '全部', value: ''}],
508
- usegas: this.$appdata.getParam('用气状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用气状态')]:[{label: '全部', value: ''}],
509
- showcheckmsg: false,
510
- checkInfo: {},
511
- orderDefault: "'f_offsite_time'",
512
- orderFields: {
513
- f_offsite_time: 'no'
514
- },
515
- sliceArea: [],
516
- cbc:[]
517
- }
518
- },
519
- methods: {
520
- //气表品牌查询
521
- getTableBrands() {
522
- new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
523
- {data: {items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 `}},
524
- {resolveMsg: null, rejectMsg: null}).then((resp) => {
525
- resp.data.forEach((result) => {
526
- this.tableBrands.push({label: result.f_meter_brand, value: result.f_meter_brand})
527
- })
528
- })
529
- },
530
- //获取省市区列表
531
- getPcd(val){
532
- this.pcds = [{label:'全部',value:''}]
533
- new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
534
- {data:{items:"*",tablename:"t_pcd",orderitem:"id",condition:`f_orgid in ${val}`}},
535
- {resolveMsg: null, rejectMsg: null}).then((pcdlist)=>{
536
- pcdlist.data.forEach((result)=>{
537
- this.pcds.push({label:result.f_pcd,value:result.f_pcd})
538
- })
539
- })
485
+ 'f_userinfo_code': '客户编号',
486
+ 'f_user_name': '客户姓名',
487
+ 'f_meternumber':'客户表号',
488
+ 'f_user_phone':'客户电话',
489
+ 'f_check_type': '客户类型',
490
+ 'f_residential_area': '小区',
491
+ 'f_address': '客户地址',
492
+ 'f_entry_status': '安检状态',
493
+ 'f_usegas': '用气状态',
494
+ 'f_offsite_time': '安检时间',
495
+ 'f_checker_name': '安检员',
496
+ 'f_safecheck_type':'安检类型',
497
+ 'f_repair_approved_note': '备注',
498
+ 'f_gas_date': '开户时间',
499
+ 'f_plan_name': '计划名称'
540
500
  },
541
- showaudio(){
542
- //tag
543
- this.audioshow=!this.audioshow
544
- //tag
501
+ fun: this.$login.f,
502
+ pcds:[],
503
+ checkersid: [],
504
+ approveds:this.$appdata.getParam('安检审核状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检审核状态')]:[{label: '全部', value: ''}],
505
+ safetype: this.$appdata.getParam('安检类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检类型')]:[{label: '全部', value: ''}],
506
+ criteriaShow: false,
507
+ checktype: this.$appdata.getParam('用户类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]:[{label: '全部', value: ''}],
508
+ f_check_type:[{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
509
+ showModal: false,
510
+ safe_types:this.$appdata.getParam('计划类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('计划类型')]:[{label: '全部', value: ''}],
511
+ f_approval_states: this.$appdata.getParam('安检单审核状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检单审核状态')]:[{label: '全部', value: ''}],
512
+ f_entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
513
+ no_checkplans: this.$appdata.getParam('有无计划')?[{label: '全部', value: ''}, ...this.$appdata.getParam('有无计划')]:[{label: '全部', value: ''}],
514
+ usegas: this.$appdata.getParam('用气状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用气状态')]:[{label: '全部', value: ''}],
515
+ showcheckmsg: false,
516
+ checkInfo: {},
517
+ orderDefault: "'f_offsite_time'",
518
+ orderFields: {
519
+ f_offsite_time: 'no'
545
520
  },
546
- getmeterbook(val){
547
- this.cbc=[]
548
- this.cbc.push({
549
- label:'全部',
550
- value:''
521
+ sliceArea: [],
522
+ cbc:[]
523
+ }
524
+ },
525
+ created() {
526
+ // 使用 $on 监听事件
527
+ this.$root.$on('audit-status-changed', () => {
528
+ console.log('收到审核状态变更事件')
529
+ this.refresh()
530
+ })
531
+ },
532
+ beforeDestroy() {
533
+ // 记得在组件销毁前移除事件监听
534
+ this.$root.$off('audit-status-changed')
535
+ },
536
+ methods: {
537
+ showback1(){
538
+ this.showinfo1 = true
539
+ this.showinfo2 = false
540
+ },
541
+ showback2(){
542
+ this.showinfo1 = true
543
+ this.showinfo3 = false
544
+ },
545
+ //气表品牌查询
546
+ getTableBrands() {
547
+ new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
548
+ {data: {items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 `}},
549
+ {resolveMsg: null, rejectMsg: null}).then((resp) => {
550
+ resp.data.forEach((result) => {
551
+ this.tableBrands.push({label: result.f_meter_brand, value: result.f_meter_brand})
551
552
  })
552
- if (val==''){
553
+ })
554
+ },
555
+ //获取省市区列表
556
+ getPcd(val){
557
+ this.pcds = [{label:'全部',value:''}]
558
+ new HttpResetClass().load("POST", `/api/af-safecheck/sql/safe_singleTable_OrderBy`,
559
+ {data:{items:"*",tablename:"t_pcd",orderitem:"id",condition:`f_orgid in ${val}`}},
560
+ {resolveMsg: null, rejectMsg: null}).then((pcdlist)=>{
561
+ pcdlist.data.forEach((result)=>{
562
+ this.pcds.push({label:result.f_pcd,value:result.f_pcd})
563
+ })
564
+ })
565
+ },
566
+ showaudio(){
567
+ //tag
568
+ this.audioshow=!this.audioshow
569
+ //tag
570
+ },
571
+ getmeterbook(val){
572
+ this.cbc=[]
573
+ this.cbc.push({
574
+ label:'全部',
575
+ value:''
576
+ })
577
+ if (val==''){
553
578
 
554
- this.cbcs.forEach(res=>{
579
+ this.cbcs.forEach(res=>{
580
+ this.cbc.push({
581
+ label:res.f_book_name,
582
+ value:res.id
583
+ })
584
+ })
585
+ }else{
586
+ this.cbcs.forEach(res=>{
587
+ if (res.f_book_slice_area==val){
555
588
  this.cbc.push({
556
589
  label:res.f_book_name,
557
590
  value:res.id
558
591
  })
592
+ }
593
+ })
594
+ }
595
+ },
596
+ Mreadibook(val){
597
+ ////tag
598
+ ////tag
599
+ if (val){
600
+ new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
601
+ items: 'name',
602
+ tablename: 't_zone',
603
+ condition: `parentid in ${val}`,
604
+ orderitem: 'id'
605
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
606
+ this.sliceArea=[]
607
+ this.sliceArea.push({
608
+ label:'全部',
609
+ value:''
559
610
  })
560
- }else{
561
- this.cbcs.forEach(res=>{
562
- if (res.f_book_slice_area==val){
563
- this.cbc.push({
564
- label:res.f_book_name,
565
- value:res.id
566
- })
567
- }
568
- })
569
- }
570
- },
571
- Mreadibook(val){
572
- ////tag
573
- ////tag
574
- if (val){
575
- new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
576
- items: 'name',
577
- tablename: 't_zone',
578
- condition: `parentid in ${val}`,
579
- orderitem: 'id'
580
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
581
- this.sliceArea=[]
611
+ res.data.forEach(ress=>{
582
612
  this.sliceArea.push({
583
- label:'全部',
584
- value:''
585
- })
586
- res.data.forEach(ress=>{
587
- this.sliceArea.push({
588
- label:ress.name,
589
- value:ress.name
590
- })
613
+ label:ress.name,
614
+ value:ress.name
591
615
  })
592
-
593
616
  })
594
- }
595
- },
596
- getAllMeterBook(val){
597
- ////tag
598
- ////tag
599
- this.cbcs=[]
600
- if (val){
601
- new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
602
- items: 'f_book_name,f_book_slice_area,id',
603
- tablename: 't_meter_book',
604
- condition: `f_filiale_id in ${val}`,
605
- orderitem: 'id'
606
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
607
- res.data.forEach(ress=>{
608
- this.cbcs.push({
609
- id:ress.id,
610
- f_book_name:ress.f_book_name,
611
- f_book_slice_area:ress.f_book_slice_area
612
- })
617
+
618
+ })
619
+ }
620
+ },
621
+ getAllMeterBook(val){
622
+ ////tag
623
+ ////tag
624
+ this.cbcs=[]
625
+ if (val){
626
+ new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
627
+ items: 'f_book_name,f_book_slice_area,id',
628
+ tablename: 't_meter_book',
629
+ condition: `f_filiale_id in ${val}`,
630
+ orderitem: 'id'
631
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
632
+ res.data.forEach(ress=>{
633
+ this.cbcs.push({
634
+ id:ress.id,
635
+ f_book_name:ress.f_book_name,
636
+ f_book_slice_area:ress.f_book_slice_area
613
637
  })
614
- this.cbc=[]
638
+ })
639
+ this.cbc=[]
640
+ this.cbc.push({
641
+ label:'全部',
642
+ value:''
643
+ })
644
+ this.cbcs.forEach(res=>{
615
645
  this.cbc.push({
616
- label:'全部',
617
- value:''
618
- })
619
- this.cbcs.forEach(res=>{
620
- this.cbc.push({
621
- label:res.f_book_name,
622
- value:res.id
623
- })
646
+ label:res.f_book_name,
647
+ value:res.id
624
648
  })
625
649
  })
626
- }
627
- },
628
- getRes(obj) {
629
- this.model.f_filialeid = this.$login.convertToIn(obj.resids);
630
- this.searchData.f_filialeid = this.$login.convertToIn(obj.resids);
631
- this.Mreadibook(this.model.f_filialeid)
632
- this.getAllMeterBook(this.model.f_filialeid)
633
- this.getPcd(this.model.f_filialeid)
634
- //this.$refs.paged.$refs.criteria.search()
635
- },
650
+ })
651
+ }
652
+ },
653
+ getRes(obj) {
654
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids);
655
+ this.searchData.f_filialeid = this.$login.convertToIn(obj.resids);
656
+ this.Mreadibook(this.model.f_filialeid)
657
+ this.getAllMeterBook(this.model.f_filialeid)
658
+ this.getPcd(this.model.f_filialeid)
659
+ //this.$refs.paged.$refs.criteria.search()
660
+ },
636
661
 
637
- change(row) {
638
- if (row.f_safe_type == '已挂表未办卡安检'){
639
- row.f_upload_state = '已传'
640
- this.$goto('new-check-paper-temp', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
641
- return
642
- }
643
- row.f_upload_state = '已传'
644
- this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
645
- },
646
- showChooser() {
647
- this.showModal = true
648
- },
649
- hidden() {
650
- this.criteriaShow = !this.criteriaShow
651
- },
652
- refresh() {
653
- this.$refs.paged.$refs.criteria.search()
654
- },
655
- ok() {
656
- this.showModal = false
657
- if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
658
- this.model.f_plan_id = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
659
- this.model.f_check_plan=this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow
660
- }
661
- },
662
- cancel() {
663
- this.showModal = false
664
- this.model.f_check_plan = {f_plan_name: '', id: ''}
665
- this.model.f_plan_id=''
666
- },
667
- print(row) {
668
- this.showcheckmsg = true
669
- this.checkInfo = row
670
- },
662
+ change(row) {
663
+ row.f_upload_state = '已传'
664
+ this.shouinfodata = JSON.parse(JSON.stringify(row))
665
+ this.showinfo1 = false
666
+ if (row.f_safe_type == '已挂表未办卡安检'){
667
+ this.showinfo2 = false
668
+ this.showinfo3 = true
669
+ return
670
+ }
671
+ this.showinfo2 = true
672
+ this.showinfo3 = false
673
+ },
674
+ showChooser() {
675
+ this.showModal = true
676
+ },
677
+ hidden() {
678
+ this.criteriaShow = !this.criteriaShow
679
+ },
680
+ refresh() {
681
+ this.$refs.paged.$refs.criteria.search()
682
+ },
683
+ ok() {
684
+ this.showModal = false
685
+ if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
686
+ this.model.f_plan_id = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
687
+ this.model.f_check_plan=this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow
688
+ }
689
+ },
690
+ cancel() {
691
+ this.showModal = false
692
+ this.model.f_check_plan = {f_plan_name: '', id: ''}
693
+ this.model.f_plan_id=''
694
+ },
695
+ print(row) {
696
+ this.showcheckmsg = true
697
+ this.checkInfo = row
698
+ },
671
699
 
672
- sort(field, rule) {
673
- // 将所有排序方式设为不排序,实现相互排斥
674
- for (let key in this.orderFields) {
675
- if (key === field) {
676
- this.orderFields[key] = rule
677
- } else {
678
- this.orderFields[key] = 'no'
679
- }
680
- }
681
- // 如果新规则不排序,还原为默认排序
682
- if (rule === 'no') {
683
- this.model.paramSource.orderitem = `'${this.orderDefault}'`
700
+ sort(field, rule) {
701
+ // 将所有排序方式设为不排序,实现相互排斥
702
+ for (let key in this.orderFields) {
703
+ if (key === field) {
704
+ this.orderFields[key] = rule
684
705
  } else {
685
- this.model.paramSource.orderitem = `'${field} ${rule}'`
686
- }
687
- this.search()
688
- },
689
- search() {
690
- console.log('审核通过回调')
691
- this.$refs.paged.$refs.criteria.search()
692
- },
693
- selfSearch(args) {
694
- ////tag
695
- //args.condition+=" and f_check_type='民用'"
696
- if(args.model.f_check_date){
697
- const daysBefore = Number(args.model.f_check_date);
698
- if ( daysBefore > 0) {
699
- // 获取当前日期
700
- const now = new Date();
701
- // 计算三天前的日期
702
- const threeDaysBefore = new Date(now.getTime() - (daysBefore * 24 * 60 * 60 * 1000));
703
- // 如果需要格式化日期,可以使用Date对象的方法
704
- var formattedDate = threeDaysBefore.toISOString().split('T')[0];
705
- args.condition += ` and f_offsite_time <='${formattedDate} 23:59:59'`;
706
- } else {
707
- console.error('f_check_date不是一个有效的正整数');
708
- }
706
+ this.orderFields[key] = 'no'
709
707
  }
710
- this.model.search(args.condition, args.model, args.condValue)
711
708
  }
709
+ // 如果新规则不排序,还原为默认排序
710
+ if (rule === 'no') {
711
+ this.model.paramSource.orderitem = `'${this.orderDefault}'`
712
+ } else {
713
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
714
+ }
715
+ this.search()
712
716
  },
713
- ready() {
717
+ search() {
718
+ console.log('审核通过回调')
719
+ this.$refs.paged.$refs.criteria.search()
720
+ },
721
+ selfSearch(args) {
722
+ ////tag
723
+ //args.condition+=" and f_check_type='民用'"
724
+ if(args.model.f_check_date){
725
+ const daysBefore = Number(args.model.f_check_date);
726
+ if ( daysBefore > 0) {
727
+ // 获取当前日期
728
+ const now = new Date();
729
+ // 计算三天前的日期
730
+ const threeDaysBefore = new Date(now.getTime() - (daysBefore * 24 * 60 * 60 * 1000));
731
+ // 如果需要格式化日期,可以使用Date对象的方法
732
+ var formattedDate = threeDaysBefore.toISOString().split('T')[0];
733
+ args.condition += ` and f_offsite_time <='${formattedDate} 23:59:59'`;
734
+ } else {
735
+ console.error('f_check_date不是一个有效的正整数');
736
+ }
737
+ }
738
+ this.model.search(args.condition, args.model, args.condValue)
739
+ }
740
+ },
741
+ ready() {
714
742
  if(this.safeAudit){
715
743
  let oa = {
716
744
  'f_approved_by':'审核人',
@@ -721,48 +749,48 @@ export default {
721
749
  }
722
750
  this.excelHeaders = Object.assign({}, this.excelHeaders, oa)
723
751
  }
724
- this.function = this.f
725
- //获取气表品牌
726
- this.getTableBrands()
727
- let gen = select(this)
728
- //this.pianqu()
729
- this.Mreadibook(`('${this.$login.f.orgid}')`)
730
- co(gen)
731
- this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
732
- this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
733
- },
734
- watch: {
735
- 'model.f_no_checkplan'(val) {
736
- if (this.model.f_no_checkplan){
737
- this.searchData.f_no_checkplan = val
738
- }
739
- if (this.model.f_no_checkplan == '有计划安检') {
752
+ this.function = this.f
753
+ //获取气表品牌
754
+ this.getTableBrands()
755
+ let gen = select(this)
756
+ //this.pianqu()
757
+ this.Mreadibook(`('${this.$login.f.orgid}')`)
758
+ co(gen)
759
+ this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
760
+ this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
761
+ },
762
+ watch: {
763
+ 'model.f_no_checkplan'(val) {
764
+ if (this.model.f_no_checkplan){
765
+ this.searchData.f_no_checkplan = val
766
+ }
767
+ if (this.model.f_no_checkplan == '有计划安检') {
740
768
 
741
- this.showChooser()
742
- }
743
- },
744
- 'model.condition'(val) {
745
- if (val) {
746
- this.searchData.condition = val
747
- }
769
+ this.showChooser()
770
+ }
771
+ },
772
+ 'model.condition'(val) {
773
+ if (val) {
774
+ this.searchData.condition = val
775
+ }
748
776
 
749
- },
750
- 'model.f_entry'(val) {
751
- this.searchData.f_entry_status = val
752
- },
753
- 'model.f_plan_id'(val) {
754
- if (val) {
755
- this.searchData.f_plan_id = val
756
- }
757
- },
758
- 'model.f_slice_area'(val) {
759
- },
760
- 'model.f_approved'(val) {
761
- if (val) {
762
- this.searchData.f_approved = val
763
- }
764
- },
777
+ },
778
+ 'model.f_entry'(val) {
779
+ this.searchData.f_entry_status = val
780
+ },
781
+ 'model.f_plan_id'(val) {
782
+ if (val) {
783
+ this.searchData.f_plan_id = val
784
+ }
785
+ },
786
+ 'model.f_slice_area'(val) {
787
+ },
788
+ 'model.f_approved'(val) {
789
+ if (val) {
790
+ this.searchData.f_approved = val
791
+ }
765
792
  }
766
-
767
793
  }
794
+
795
+ }
768
796
  </script>