apply-clients 7.1.35 → 7.1.36-1

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 (493) hide show
  1. package/.eslintrc.js +5 -1
  2. package/android.html +9 -0
  3. package/build/css-loaders.js +34 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server.js +166 -0
  6. package/build/example-server.js +80 -0
  7. package/build/release.sh +28 -0
  8. package/build/utils.js +80 -0
  9. package/build/webpack.base.conf.js +123 -0
  10. package/build/webpack.baseandroid.conf.js +123 -0
  11. package/build/webpack.dev.conf.js +43 -0
  12. package/build/webpack.devandroid.conf.js +34 -0
  13. package/build/webpack.example.conf.js +49 -0
  14. package/build/webpack.prod.conf.js +60 -0
  15. package/build/webpack.prodandroid.conf.js +60 -0
  16. package/dist-android.7z +0 -0
  17. package/dist.7z +0 -0
  18. package/index.html +10 -1
  19. package/package.json +14 -8
  20. package/src/AndroidApp.vue +21 -14
  21. package/src/App.vue +4 -6
  22. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.eot +0 -0
  23. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.svg +0 -0
  24. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.ttf +0 -0
  25. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff +0 -0
  26. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff2 +0 -0
  27. package/src/android-bootstrap/less/.csscomb.json +304 -0
  28. package/src/android-bootstrap/less/.csslintrc +19 -0
  29. package/src/android-bootstrap/less/alerts.less +73 -0
  30. package/src/android-bootstrap/less/badges.less +66 -0
  31. package/src/android-bootstrap/less/bootstrap.less +56 -0
  32. package/src/android-bootstrap/less/breadcrumbs.less +26 -0
  33. package/src/android-bootstrap/less/button-groups.less +247 -0
  34. package/src/android-bootstrap/less/buttons.less +173 -0
  35. package/src/android-bootstrap/less/carousel.less +269 -0
  36. package/src/android-bootstrap/less/close.less +34 -0
  37. package/src/android-bootstrap/less/code.less +69 -0
  38. package/src/android-bootstrap/less/component-animations.less +33 -0
  39. package/src/android-bootstrap/less/dropdowns.less +216 -0
  40. package/src/android-bootstrap/less/forms.less +626 -0
  41. package/src/android-bootstrap/less/glyphicons.less +305 -0
  42. package/src/android-bootstrap/less/grid.less +84 -0
  43. package/src/android-bootstrap/less/input-groups.less +167 -0
  44. package/src/android-bootstrap/less/jumbotron.less +52 -0
  45. package/src/android-bootstrap/less/labels.less +64 -0
  46. package/src/android-bootstrap/less/list-group.less +141 -0
  47. package/src/android-bootstrap/less/media.less +66 -0
  48. package/src/android-bootstrap/less/mixins/alerts.less +14 -0
  49. package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
  50. package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
  51. package/src/android-bootstrap/less/mixins/buttons.less +69 -0
  52. package/src/android-bootstrap/less/mixins/center-block.less +7 -0
  53. package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
  54. package/src/android-bootstrap/less/mixins/forms.less +90 -0
  55. package/src/android-bootstrap/less/mixins/gradients.less +59 -0
  56. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
  57. package/src/android-bootstrap/less/mixins/grid.less +122 -0
  58. package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
  59. package/src/android-bootstrap/less/mixins/image.less +33 -0
  60. package/src/android-bootstrap/less/mixins/labels.less +12 -0
  61. package/src/android-bootstrap/less/mixins/list-group.less +30 -0
  62. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
  63. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
  64. package/src/android-bootstrap/less/mixins/opacity.less +8 -0
  65. package/src/android-bootstrap/less/mixins/pagination.less +24 -0
  66. package/src/android-bootstrap/less/mixins/panels.less +24 -0
  67. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
  68. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
  69. package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
  70. package/src/android-bootstrap/less/mixins/resize.less +6 -0
  71. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
  72. package/src/android-bootstrap/less/mixins/size.less +10 -0
  73. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
  74. package/src/android-bootstrap/less/mixins/table-row.less +44 -0
  75. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
  76. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
  77. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
  78. package/src/android-bootstrap/less/mixins.less +40 -0
  79. package/src/android-bootstrap/less/modals.less +151 -0
  80. package/src/android-bootstrap/less/navbar.less +660 -0
  81. package/src/android-bootstrap/less/navs.less +302 -0
  82. package/src/android-bootstrap/less/normalize.less +424 -0
  83. package/src/android-bootstrap/less/pager.less +76 -0
  84. package/src/android-bootstrap/less/pagination.less +89 -0
  85. package/src/android-bootstrap/less/panels.less +274 -0
  86. package/src/android-bootstrap/less/popovers.less +131 -0
  87. package/src/android-bootstrap/less/print.less +101 -0
  88. package/src/android-bootstrap/less/progress-bars.less +87 -0
  89. package/src/android-bootstrap/less/responsive-embed.less +35 -0
  90. package/src/android-bootstrap/less/responsive-utilities.less +194 -0
  91. package/src/android-bootstrap/less/scaffolding.less +161 -0
  92. package/src/android-bootstrap/less/tables.less +262 -0
  93. package/src/android-bootstrap/less/theme.less +291 -0
  94. package/src/android-bootstrap/less/thumbnails.less +36 -0
  95. package/src/android-bootstrap/less/tooltip.less +102 -0
  96. package/src/android-bootstrap/less/type.less +303 -0
  97. package/src/android-bootstrap/less/utilities.less +55 -0
  98. package/src/android-bootstrap/less/variables.less +896 -0
  99. package/src/android-bootstrap/less/wells.less +29 -0
  100. package/src/android.js +7 -4
  101. package/src/apply.js +55 -15
  102. package/src/applyAndroid.js +65 -28
  103. package/src/assets/marker-default.png +0 -0
  104. package/src/assets/myLocationIcon.png +0 -0
  105. package/src/assets//345/210/240/351/231/244.png +0 -0
  106. package/src/components/android/AppOnetomany.vue +301 -0
  107. package/src/components/android/AppServiceView.vue +603 -0
  108. package/src/components/android/AppSign.vue +228 -0
  109. package/src/components/android/AppTakePic.vue +142 -0
  110. package/src/components/android/AppUpload.vue +260 -0
  111. package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
  112. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
  113. package/src/components/android/Process/AppExplorationUser.vue +454 -0
  114. package/src/components/android/Process/AppServiceControl.vue +1397 -0
  115. package/src/components/android/Process/Processes/AppDevicesManagement.vue +338 -0
  116. package/src/components/android/Process/Processes/AppInstallationDetails.vue +818 -0
  117. package/src/components/android/Process/Processes/SurveyUserSign.vue +65 -0
  118. package/src/components/android/Process/Processes/newAppDevicesManagement.vue +343 -0
  119. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +669 -0
  120. package/src/components/android/Sign/AppSignTask.vue +183 -0
  121. package/src/components/android/Sign/SignProcess.vue +103 -0
  122. package/src/components/android/Supervisory/AppProcessSupervisory.vue +298 -0
  123. package/src/components/android/Supervisory/AppSupervisoryCart.vue +128 -0
  124. package/src/components/android/Task/Build/BuildTsak.vue +114 -0
  125. package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -0
  126. package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -0
  127. package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -0
  128. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +427 -0
  129. package/src/components/android/Task/ShiGongXinXi/ShowBuild.vue +95 -0
  130. package/src/components/android/Task/Survey/SurveyTsak.vue +141 -0
  131. package/src/components/android/Task/UpBuild/UpBuildDui.vue +95 -0
  132. package/src/components/android/Task/UpBuild/UpBuildTsak.vue +95 -0
  133. package/src/components/android/Task/UpBuild/UpJianLi.vue +95 -0
  134. package/src/components/android/TaskGraph.vue +130 -0
  135. package/src/components/android/newPackage/customerServiceManager.vue +218 -0
  136. package/src/components/android/newPackage/designDrawings.vue +94 -0
  137. package/src/components/android/newPackage/detailedData.vue +24 -0
  138. package/src/components/android/newPackage/projectPrice.vue +218 -0
  139. package/src/components/image/dwg.png +0 -0
  140. package/src/components/image/dxf.png +0 -0
  141. package/src/components/product/ApplyCharge/ApplyChargeList.vue +541 -73
  142. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
  143. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -0
  144. package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -0
  145. package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -0
  146. package/src/components/product/ApplyMap/ApplyMapLocation.vue +850 -0
  147. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +414 -0
  148. package/src/components/product/ChongZheng/ApplyChongZhengSearch.vue +30 -0
  149. package/src/components/product/Function/InstallFunction.vue +56 -70
  150. package/src/components/product/Function/InstallInfoSelect.vue +191 -102
  151. package/src/components/product/Function/Service/FunctionServiceControl.vue +378 -148
  152. package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
  153. package/src/components/product/Ignition/IgnitionList.vue +232 -0
  154. package/src/components/product/Ignition/IgnitionListManage.vue +362 -0
  155. package/src/components/product/Ignition/IgnitionRecord.vue +318 -0
  156. package/src/components/product/List/ShowDevices.vue +277 -0
  157. package/src/components/product/Onetomany.vue +377 -0
  158. package/src/components/product/Print/BuildOrder/buildOrderList.vue +445 -0
  159. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +252 -0
  160. package/src/components/product/Print/BuildOrder/printGaiXianOrder.vue +232 -0
  161. package/src/components/product/Print/OrderPrint/GaiXianOrder.vue +281 -0
  162. package/src/components/product/Print/img/R-C.jpg +0 -0
  163. package/src/components/product/Process/ExplorationSelect.vue +467 -248
  164. package/src/components/product/Process/ExplorationUser.vue +155 -138
  165. package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
  166. package/src/components/product/Process/Processes/InstallationDetails.vue +793 -277
  167. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  168. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  169. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  170. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  171. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  172. package/src/components/product/Process/Processes/Print/printCharge.vue +246 -0
  173. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +221 -0
  174. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +59 -113
  175. package/src/components/product/Process/Processes/chargeManagement.vue +474 -350
  176. package/src/components/product/Process/Processes/devicesManagement.vue +373 -0
  177. package/src/components/product/Process/Processes/newDevicesManagement.vue +379 -0
  178. package/src/components/product/Process/Processes/newInstallationDetails.vue +718 -0
  179. package/src/components/product/Process/Processes/satisfactionShow.vue +202 -0
  180. package/src/components/product/Process/Processes/selectApply.vue +250 -0
  181. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -0
  182. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -0
  183. package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
  184. package/src/components/product/Process/Service/ServiceControl.vue +2000 -856
  185. package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
  186. package/src/components/product/ServiceView.vue +557 -680
  187. package/src/components/product/Stop/StopApply.vue +105 -0
  188. package/src/components/product/Stop/StopApplyList.vue +224 -0
  189. package/src/components/product/Supervisory/ExportExcel.vue +360 -0
  190. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -0
  191. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +425 -73
  192. package/src/components/product/Supervisory/SupervisoryControl.vue +28 -35
  193. package/src/components/product/Supervisory/SupervisoryList.vue +485 -208
  194. package/src/components/product/Supervisory/SupervisoryhCart.vue +52 -36
  195. package/src/components/product/VueUtils/ApplyUpload.vue +70 -47
  196. package/src/components/product/VueUtils/HighMeter.vue +208 -0
  197. package/src/expandcssAndroid.less +1034 -0
  198. package/src/main.js +5 -1
  199. package/src/public/history/HistoryApplyList.vue +108 -0
  200. package/src/public/history/PublicHistoryApply.vue +39 -0
  201. package/src/public/history/PublicSupervisoryhCart.vue +72 -0
  202. package/src/public/order/PublicOrderApply.vue +387 -0
  203. package/static/images/lefticon/{/345/256/211/346/243/200/346/237/245/347/234/213.png → anjianjihua.png} +0 -0
  204. package/static/images/lefticon/{/346/241/243/346/241/210/347/256/241/347/220/206.png → danganguanli.png} +0 -0
  205. package/static/images/lefticon/{/345/224/256/346/260/224/346/224/266/350/264/271.png → shouqishoufei.png} +0 -0
  206. package/static/images/lefticon/{/347/211/251/350/201/224/347/275/221/350/241/250.png → wulianwang.png} +0 -0
  207. package/static/images/lefticon/{/347/263/273/347/273/237/347/256/241/347/220/206.png → xitongguanli.png} +0 -0
  208. package/static/images/lefticon/{/347/273/274/345/220/210/346/237/245/350/257/242.png → yingyechaxun.png} +0 -0
  209. package/static/images/lefticon/{/345/221/274/345/217/253/347/263/273/347/273/237.png → yuyinkefu.png} +0 -0
  210. package/static/images/lefticon/{/347/273/274/345/220/210/344/270/232/345/212/241.png → zongheyewu.png} +0 -0
  211. package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  212. package/{dist-android/static/denglu.png → static/images/lefticonNew//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png} +0 -0
  213. package/static/images/lefticonNew//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  214. package/static/images/lefticonNew//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  215. package/static/images/lefticonNew//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  216. package/static/images/lefticonNew//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  217. package/static/images/lefticonNew//345/233/276/345/261/202577.png +0 -0
  218. package/{dist-android/static/psicon.png → static/images/lefticonNew//345/233/276/345/261/2028/346/213/267/350/264/23513.png} +0 -0
  219. package/static/images/lefticonNew//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  220. package/static/images/lefticonNew//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  221. package/static/images/lefticonNew//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  222. package/static/images/lefticonNew//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  223. package/static/images/lefticonNew//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  224. package/static/images/lefticonNew//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  225. package/static/images/lefticonNew//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  226. package/static/images/lefticonNew//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  227. package/static/images/lefticonNew//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  228. package/static/images/lefticonNew//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  229. package/static/images/lefticonNew//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  230. package/static/images/lefticonNew//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  231. package/static/images/lefticonNew//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  232. package/static/images/lefticonNew//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  233. package/static/images/lefticonNew//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  234. package/static/images/lefticonNew//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  235. package/static/images/lefticonNew//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  236. package/yarn-error.log +9976 -0
  237. package/dist-android/index.html +0 -3
  238. package/dist-android/static/.gitkeep +0 -0
  239. package/dist-android/static/0.js +0 -2
  240. package/dist-android/static/0.js.map +0 -1
  241. package/dist-android/static/1.js +0 -2
  242. package/dist-android/static/1.js.map +0 -1
  243. package/dist-android/static/10.js +0 -2
  244. package/dist-android/static/10.js.map +0 -1
  245. package/dist-android/static/100.js +0 -2
  246. package/dist-android/static/100.js.map +0 -1
  247. package/dist-android/static/11.js +0 -2
  248. package/dist-android/static/11.js.map +0 -1
  249. package/dist-android/static/12.js +0 -2
  250. package/dist-android/static/12.js.map +0 -1
  251. package/dist-android/static/13.js +0 -2
  252. package/dist-android/static/13.js.map +0 -1
  253. package/dist-android/static/14.js +0 -2
  254. package/dist-android/static/14.js.map +0 -1
  255. package/dist-android/static/15.js +0 -2
  256. package/dist-android/static/15.js.map +0 -1
  257. package/dist-android/static/16.js +0 -2
  258. package/dist-android/static/16.js.map +0 -1
  259. package/dist-android/static/17.js +0 -2
  260. package/dist-android/static/17.js.map +0 -1
  261. package/dist-android/static/18.js +0 -2
  262. package/dist-android/static/18.js.map +0 -1
  263. package/dist-android/static/19.js +0 -2
  264. package/dist-android/static/19.js.map +0 -1
  265. package/dist-android/static/2.js +0 -2
  266. package/dist-android/static/2.js.map +0 -1
  267. package/dist-android/static/20.js +0 -2
  268. package/dist-android/static/20.js.map +0 -1
  269. package/dist-android/static/21.js +0 -2
  270. package/dist-android/static/21.js.map +0 -1
  271. package/dist-android/static/22.js +0 -2
  272. package/dist-android/static/22.js.map +0 -1
  273. package/dist-android/static/23.js +0 -2
  274. package/dist-android/static/23.js.map +0 -1
  275. package/dist-android/static/24.js +0 -2
  276. package/dist-android/static/24.js.map +0 -1
  277. package/dist-android/static/25.js +0 -2
  278. package/dist-android/static/25.js.map +0 -1
  279. package/dist-android/static/26.js +0 -2
  280. package/dist-android/static/26.js.map +0 -1
  281. package/dist-android/static/27.js +0 -2
  282. package/dist-android/static/27.js.map +0 -1
  283. package/dist-android/static/28.js +0 -2
  284. package/dist-android/static/28.js.map +0 -1
  285. package/dist-android/static/29.js +0 -2
  286. package/dist-android/static/29.js.map +0 -1
  287. package/dist-android/static/3.js +0 -2
  288. package/dist-android/static/3.js.map +0 -1
  289. package/dist-android/static/30.js +0 -2
  290. package/dist-android/static/30.js.map +0 -1
  291. package/dist-android/static/31.js +0 -2
  292. package/dist-android/static/31.js.map +0 -1
  293. package/dist-android/static/32.js +0 -2
  294. package/dist-android/static/32.js.map +0 -1
  295. package/dist-android/static/33.js +0 -2
  296. package/dist-android/static/33.js.map +0 -1
  297. package/dist-android/static/34.js +0 -2
  298. package/dist-android/static/34.js.map +0 -1
  299. package/dist-android/static/35.js +0 -2
  300. package/dist-android/static/35.js.map +0 -1
  301. package/dist-android/static/36.js +0 -2
  302. package/dist-android/static/36.js.map +0 -1
  303. package/dist-android/static/37.js +0 -2
  304. package/dist-android/static/37.js.map +0 -1
  305. package/dist-android/static/38.js +0 -2
  306. package/dist-android/static/38.js.map +0 -1
  307. package/dist-android/static/39.js +0 -2
  308. package/dist-android/static/39.js.map +0 -1
  309. package/dist-android/static/4.js +0 -2
  310. package/dist-android/static/4.js.map +0 -1
  311. package/dist-android/static/40.js +0 -2
  312. package/dist-android/static/40.js.map +0 -1
  313. package/dist-android/static/41.js +0 -2
  314. package/dist-android/static/41.js.map +0 -1
  315. package/dist-android/static/42.js +0 -2
  316. package/dist-android/static/42.js.map +0 -1
  317. package/dist-android/static/43.js +0 -2
  318. package/dist-android/static/43.js.map +0 -1
  319. package/dist-android/static/44.js +0 -2
  320. package/dist-android/static/44.js.map +0 -1
  321. package/dist-android/static/45.js +0 -2
  322. package/dist-android/static/45.js.map +0 -1
  323. package/dist-android/static/46.js +0 -2
  324. package/dist-android/static/46.js.map +0 -1
  325. package/dist-android/static/47.js +0 -2
  326. package/dist-android/static/47.js.map +0 -1
  327. package/dist-android/static/48.js +0 -2
  328. package/dist-android/static/48.js.map +0 -1
  329. package/dist-android/static/49.js +0 -2
  330. package/dist-android/static/49.js.map +0 -1
  331. package/dist-android/static/5.js +0 -2
  332. package/dist-android/static/5.js.map +0 -1
  333. package/dist-android/static/50.js +0 -2
  334. package/dist-android/static/50.js.map +0 -1
  335. package/dist-android/static/51.js +0 -2
  336. package/dist-android/static/51.js.map +0 -1
  337. package/dist-android/static/52.js +0 -2
  338. package/dist-android/static/52.js.map +0 -1
  339. package/dist-android/static/53.js +0 -2
  340. package/dist-android/static/53.js.map +0 -1
  341. package/dist-android/static/54.js +0 -2
  342. package/dist-android/static/54.js.map +0 -1
  343. package/dist-android/static/55.js +0 -2
  344. package/dist-android/static/55.js.map +0 -1
  345. package/dist-android/static/56.js +0 -2
  346. package/dist-android/static/56.js.map +0 -1
  347. package/dist-android/static/57.js +0 -2
  348. package/dist-android/static/57.js.map +0 -1
  349. package/dist-android/static/58.js +0 -2
  350. package/dist-android/static/58.js.map +0 -1
  351. package/dist-android/static/59.js +0 -2
  352. package/dist-android/static/59.js.map +0 -1
  353. package/dist-android/static/6.js +0 -2
  354. package/dist-android/static/6.js.map +0 -1
  355. package/dist-android/static/60.js +0 -2
  356. package/dist-android/static/60.js.map +0 -1
  357. package/dist-android/static/61.js +0 -2
  358. package/dist-android/static/61.js.map +0 -1
  359. package/dist-android/static/62.js +0 -2
  360. package/dist-android/static/62.js.map +0 -1
  361. package/dist-android/static/63.js +0 -2
  362. package/dist-android/static/63.js.map +0 -1
  363. package/dist-android/static/64.js +0 -2
  364. package/dist-android/static/64.js.map +0 -1
  365. package/dist-android/static/65.js +0 -2
  366. package/dist-android/static/65.js.map +0 -1
  367. package/dist-android/static/66.js +0 -2
  368. package/dist-android/static/66.js.map +0 -1
  369. package/dist-android/static/67.js +0 -2
  370. package/dist-android/static/67.js.map +0 -1
  371. package/dist-android/static/68.js +0 -2
  372. package/dist-android/static/68.js.map +0 -1
  373. package/dist-android/static/69.js +0 -2
  374. package/dist-android/static/69.js.map +0 -1
  375. package/dist-android/static/7.js +0 -6
  376. package/dist-android/static/7.js.map +0 -1
  377. package/dist-android/static/70.js +0 -2
  378. package/dist-android/static/70.js.map +0 -1
  379. package/dist-android/static/71.js +0 -2
  380. package/dist-android/static/71.js.map +0 -1
  381. package/dist-android/static/72.js +0 -2
  382. package/dist-android/static/72.js.map +0 -1
  383. package/dist-android/static/73.js +0 -2
  384. package/dist-android/static/73.js.map +0 -1
  385. package/dist-android/static/74.js +0 -2
  386. package/dist-android/static/74.js.map +0 -1
  387. package/dist-android/static/75.js +0 -2
  388. package/dist-android/static/75.js.map +0 -1
  389. package/dist-android/static/76.js +0 -2
  390. package/dist-android/static/76.js.map +0 -1
  391. package/dist-android/static/77.js +0 -2
  392. package/dist-android/static/77.js.map +0 -1
  393. package/dist-android/static/78.js +0 -2
  394. package/dist-android/static/78.js.map +0 -1
  395. package/dist-android/static/79.js +0 -2
  396. package/dist-android/static/79.js.map +0 -1
  397. package/dist-android/static/8.js +0 -2
  398. package/dist-android/static/8.js.map +0 -1
  399. package/dist-android/static/80.js +0 -2
  400. package/dist-android/static/80.js.map +0 -1
  401. package/dist-android/static/81.js +0 -2
  402. package/dist-android/static/81.js.map +0 -1
  403. package/dist-android/static/82.js +0 -2
  404. package/dist-android/static/82.js.map +0 -1
  405. package/dist-android/static/83.js +0 -2
  406. package/dist-android/static/83.js.map +0 -1
  407. package/dist-android/static/84.js +0 -2
  408. package/dist-android/static/84.js.map +0 -1
  409. package/dist-android/static/85.js +0 -2
  410. package/dist-android/static/85.js.map +0 -1
  411. package/dist-android/static/86.js +0 -2
  412. package/dist-android/static/86.js.map +0 -1
  413. package/dist-android/static/87.js +0 -2
  414. package/dist-android/static/87.js.map +0 -1
  415. package/dist-android/static/88.js +0 -2
  416. package/dist-android/static/88.js.map +0 -1
  417. package/dist-android/static/89.js +0 -2
  418. package/dist-android/static/89.js.map +0 -1
  419. package/dist-android/static/9.js +0 -3
  420. package/dist-android/static/9.js.map +0 -1
  421. package/dist-android/static/90.js +0 -2
  422. package/dist-android/static/90.js.map +0 -1
  423. package/dist-android/static/91.js +0 -2
  424. package/dist-android/static/91.js.map +0 -1
  425. package/dist-android/static/92.js +0 -2
  426. package/dist-android/static/92.js.map +0 -1
  427. package/dist-android/static/93.js +0 -2
  428. package/dist-android/static/93.js.map +0 -1
  429. package/dist-android/static/94.js +0 -2
  430. package/dist-android/static/94.js.map +0 -1
  431. package/dist-android/static/95.js +0 -2
  432. package/dist-android/static/95.js.map +0 -1
  433. package/dist-android/static/96.js +0 -2
  434. package/dist-android/static/96.js.map +0 -1
  435. package/dist-android/static/97.js +0 -2
  436. package/dist-android/static/97.js.map +0 -1
  437. package/dist-android/static/98.js +0 -2
  438. package/dist-android/static/98.js.map +0 -1
  439. package/dist-android/static/99.js +0 -2
  440. package/dist-android/static/99.js.map +0 -1
  441. package/dist-android/static/app.css +0 -2
  442. package/dist-android/static/app.css.map +0 -1
  443. package/dist-android/static/app.js +0 -80
  444. package/dist-android/static/app.js.map +0 -1
  445. package/dist-android/static/batchleft.png +0 -0
  446. package/dist-android/static/batchright.png +0 -0
  447. package/dist-android/static/bluemainbg.jpg +0 -0
  448. package/dist-android/static/config.json +0 -7
  449. package/dist-android/static/huangtengbiaozhi.png +0 -0
  450. package/dist-android/static/jingyin.jpg +0 -0
  451. package/dist-android/static/login_bg.jpg +0 -0
  452. package/dist-android/static/login_title.png +0 -0
  453. package/dist-android/static/login_title1.png +0 -0
  454. package/dist-android/static/loginbg.jpg +0 -0
  455. package/dist-android/static/loginlogo.png +0 -0
  456. package/dist-android/static/main_logo.png +0 -0
  457. package/dist-android/static/mainbg.jpg +0 -0
  458. package/dist-android/static/menulogo.png +0 -0
  459. package/dist-android/static/newmainbg.jpg +0 -0
  460. package/dist-android/static/singleleft.png +0 -0
  461. package/dist-android/static/singleright.png +0 -0
  462. package/dist-android/static/treeopen.png +0 -0
  463. package/dist-android/static/treeout.png +0 -0
  464. package/dist-android/static/treeset.png +0 -0
  465. package/dist-android/static/usericon.png +0 -0
  466. package/dist-android/static/workflow_apply.json +0 -766
  467. package/dist-android/static/xinxi.png +0 -0
  468. package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
  469. package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
  470. package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
  471. package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
  472. package/src/components/app_apply/Acceptance.vue +0 -298
  473. package/src/components/app_apply/ApplyApp.vue +0 -91
  474. package/src/components/app_apply/ApplyDownList.vue +0 -166
  475. package/src/components/app_apply/ApplyInfo.vue +0 -56
  476. package/src/components/app_apply/ApplyListUpload.vue +0 -258
  477. package/src/components/app_apply/ApplyToDoList.vue +0 -165
  478. package/src/components/app_apply/ApplyUserInfo.vue +0 -56
  479. package/src/components/app_apply/FieldExploration.vue +0 -267
  480. package/src/components/app_apply/PlaceControler.vue +0 -258
  481. package/src/components/app_apply/ServiceControl.vue +0 -267
  482. package/src/components/app_apply/ServiceView.vue +0 -355
  483. package/src/components/app_apply/ToolsPage.vue +0 -51
  484. package/src/components/app_apply/Ventilation.vue +0 -199
  485. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
  486. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  487. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  488. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  489. package/src/components/product/Process/Processes/printCharge.vue +0 -126
  490. package/src/components/product/Process/ShowBackReason.vue +0 -32
  491. package/src/components/product/ReportForm/GasIgnitionSummary.vue +0 -352
  492. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  493. package/src/components/product/VueUtils/Tree.vue +0 -330
@@ -1,12 +1,13 @@
1
1
  <template>
2
2
  <div class="auto clearfix">
3
- <show-back-reason :selectdata="data"></show-back-reason>
3
+ <show-back-reason :selectdata="show_data"></show-back-reason>
4
4
  </div>
5
- <service-view v-ref:service_show :data="data" v-if="showview"></service-view>
5
+ <service-view v-ref:service_show :data="show_data" v-if="showview"></service-view>
6
6
  </template>
7
7
  <script>
8
8
  import Vue from 'vue'
9
9
  import {HttpResetClass} from 'vue-client'
10
+ import {isEmpty} from "../../../Util";
10
11
  // Date格式化
11
12
  Date.prototype.Format = function (fmt) {
12
13
  var o = {
@@ -39,58 +40,59 @@
39
40
  return {
40
41
  data: null, // 展示的数据
41
42
  json_datas: null, // json配置数据结构
42
- showview: false // 控制显示层显示
43
+ showview: false, // 控制显示层显示
44
+ show_data: null
43
45
  }
44
46
  },
45
47
  created () {
46
- this.initial()
48
+ this.refurbish()
47
49
  },
48
50
  methods: {
49
51
  // 初始化模块
50
- async initial() {
51
- this.showview = false
52
+ async refurbish() {
52
53
  this.json_datas = this.$workflow_vue
53
54
  let sum = 0
54
55
  let jsonData = {}
56
+ if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length === 0) {
57
+ this.$showMessage("网络故障,请刷新页面")
58
+ return
59
+ }
55
60
  this.json_datas.activitys.forEach(item => {
56
61
  if (this.selectdata.defname === item.title) {
57
- jsonData = item
58
- sum++
62
+ jsonData = item // 拿到当前节点的json配置信息
63
+ sum++ // 节点名一样的个数
59
64
  }
65
+ return this.selectdata.defname === item.title // 拿到当前节点的json配置信息
60
66
  })
61
67
  if (sum === 0) {
62
68
  this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
63
69
  return
64
70
  }
65
- if (sum === 1) {
66
- this.data = jsonData
67
- this.data = Object.assign({}, this.data, this.selectdata)
68
-
69
- await this.initializtion()
70
- this.showview = true
71
+ if (sum > 1) {
72
+ this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
71
73
  return
72
74
  }
73
- this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
74
- },
75
- // json配置数据处理
76
- async initializtion() {
77
- this.data.fields.forEach(item => {
78
75
 
76
+ this.data = null
77
+ this.data = jsonData
78
+ this.data = Object.assign({}, this.data, this.selectdata)
79
+
80
+ // fields 字段填充值
81
+ for (const item of this.data.fields) {
79
82
  if (this.selectdata[item.field]) {
80
83
  item.value = this.selectdata[item.field]
81
84
  }
82
85
  if (this.selectdata[item.field] === 0) {
83
- item.value = this.selectdata[item.field]
86
+ item.value = 0
84
87
  }
85
-
86
- // 如果配置类型为select,获取options
87
- if(item.type==='select'){
88
- item.options=[]
89
- }
90
- if (typeof item.value === 'string' && item.value.startsWith("{") && item.value.endsWith("}")) {
91
- item.value = JSON.parse(item.value)
88
+ item.readonly = true
89
+ item.disabled = true
90
+ if (item.logo) {
91
+ if (item.ready) {
92
+ item.options = await this[item.ready]()
93
+ }
92
94
  }
93
- })
95
+ }
94
96
 
95
97
  // 控制组件
96
98
  if (this.data.components) {
@@ -99,40 +101,71 @@
99
101
  })
100
102
  }
101
103
 
102
-
103
104
  // onetomany 数据获取
104
105
  if (this.data.onetomany) {
105
- for (let index = 0; index < this.data.onetomany.length; index++) {
106
- let http = new HttpResetClass()
107
- let data = {
108
- tablename: this.data.onetomany[index].tables[0],
109
- condition: `f_process_id='${this.selectdata.f_process_id}'`
110
- }
111
-
112
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
113
- resolveMsg: null,
114
- rejectMsg: 'onetomany查询失败'
115
- })
116
-
117
- // 初始化 onetomany
118
- this.data.onetomany[index].rows = res.data
119
-
120
- // 初始化onetomany中的fields
121
- for (let j = 0; j < this.data.onetomany[index].fields.length; j++) {
122
- // 如果配置类型为select,优先从参数列表获取options
123
- if (this.data.onetomany[index].fields[j].type === 'select') {
124
- let temp = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
125
- if (temp && temp.length > 0) {
126
- this.data.onetomany[index].fields[j].options = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
127
- }
106
+ for (const item of this.data.onetomany) {
107
+ let res = null
108
+ if (item.queryEvent) {
109
+ res = this[item.queryEvent]()
110
+ } else {
111
+ let data = {
112
+ tablename: item.tables[0],
113
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
128
114
  }
115
+ res = await this.$resetpost(
116
+ 'rs/sql/applySingleTable',
117
+ {data: data},
118
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
119
+ )
129
120
  }
121
+
122
+ item.rows = res.data
123
+
124
+ // 隐藏所有操作
125
+ item.hiddenOperate = true
130
126
  }
131
127
  }
128
+
132
129
  // 去除button
133
130
  this.data.buttons = null
134
131
 
132
+ // 完成时间和完成人,部门,分公司
133
+ if (this.selectdata.state === '结束') {
134
+ this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
135
+ this.data.operator = this.selectdata.person
136
+
137
+ let http = new HttpResetClass()
138
+ try {
139
+ let res = await http.load('POST', 'rs/search', {
140
+ source: 'this.getInfo()',
141
+ userid: this.selectdata.userid
142
+ }, {resolveMsg: null, rejectMsg: null})
143
+ let user = res.data
144
+ this.data.orgs = user.orgs
145
+ this.data.parentname = user.deps
146
+ } catch (e) {
147
+ this.data.orgs = this.$login.f.orgs
148
+ this.data.parentname = this.$login.f.deps
149
+ }
150
+ }
151
+ if (this.selectdata.f_apply_nature === '散户') {
152
+ this.hideLabels('营业执照', '小区')
153
+ this.electiveLabels('营业执照', '购货单位识别号', '购货单位银行账号', '购货单位地址电话', '小区')
154
+ }
155
+ if (this.selectdata.f_apply_nature === '小区') {
156
+ this.showLabels('营业执照', '小区', '小区名称')
157
+ this.requiredLabels( '小区')
158
+ }
159
+ // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
160
+ let temp = JSON.parse(JSON.stringify(this.data))
135
161
 
162
+ this.show_data = temp
163
+ this.$nextTick(() => {
164
+ this.showview = true
165
+ })
166
+ },
167
+ // json配置数据处理
168
+ async initializtion() {
136
169
  // 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
137
170
  if (this.nodeSnapshot && this.data.nodeSnapshot) {
138
171
  let http = new HttpResetClass()
@@ -140,7 +173,7 @@
140
173
  tablename: 't_node_snapshot',
141
174
  condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
142
175
  }
143
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
176
+ let res = await http.load('POST', 'rs/sql/applySingleTable', {data: data}, {
144
177
  resolveMsg: null,
145
178
  rejectMsg: null
146
179
  })
@@ -152,36 +185,355 @@
152
185
  this.data.title = data.title
153
186
  }
154
187
  }
188
+ },
189
+ hideLabels(...labels) {
190
+ console.log('报建性质1')
191
+ for (const item of this.data.fields) {
192
+ if (labels.includes(item.label)) {
193
+ item.hidden = true
194
+ }
195
+ }
196
+ },
197
+ electiveLabels(...labels) {
198
+ console.log('报建性质2')
199
+ for (const item of this.data.fields) {
200
+ if (labels.includes(item.label)) {
201
+ item.required = false
202
+ }
203
+ }
204
+ },
205
+ showLabels(...labels) {
206
+ console.log('报建性质3')
207
+ for (const item of this.data.fields) {
208
+ if (labels.includes(item.label)) {
209
+ item.hidden = false
210
+ }
211
+ }
212
+ },
213
+ requiredLabels(...labels) {
214
+ console.log('报建性质4')
215
+ for (const item of this.data.fields) {
216
+ if (labels.includes(item.label)) {
217
+ item.required = true
218
+ }
219
+ }
220
+ },
221
+ setLabelOptions(label, options) {
222
+ for (const item of this.show_data.fields) {
223
+ if (item.label === label) {
224
+ item.options = options
225
+ }
226
+ }
227
+ },
228
+ // 获取小区
229
+ async getResidentialArea () {
230
+ let data = {
231
+ tablename: 't_area_address',
232
+ condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
233
+ }
234
+ let http = new HttpResetClass()
235
+ let res = await http.load(
236
+ 'POST',
237
+ `rs/sql/applySingleTable`,
238
+ {data: data},
239
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
240
+ )
241
+ return res.data.map(item => {
242
+ return {
243
+ label: item.f_residential_area,
244
+ value: item.id
245
+ }
246
+ })
247
+ },
248
+ // 获取气表品牌
249
+ async getMeterBrand () {
250
+ let data = {
251
+ }
155
252
 
253
+ let http = new HttpResetClass()
254
+ let res = await http.load(
255
+ 'POST',
256
+ `rs/sql/getMeterBrand`,
257
+ {data: data},
258
+ {resolveMsg: null, rejectMsg: '气表品牌查询失败!!!'}
259
+ )
156
260
 
157
- // 将所有field都不可修改,不可操作
158
- this.data.fields.forEach(item => {
159
- item.readonly = true
160
- item.disabled = true
261
+ return res.data
262
+ },
263
+ async meterBrandChenge (index) {
264
+ if (isEmpty(this.selectdata.f_meter_brand)) {
265
+ console.log("测试无表具")
266
+ return
267
+ }
268
+ let data = {
269
+ f_gasbrand_id: this.selectdata.f_meter_brand
270
+ }
271
+ let http = new HttpResetClass()
272
+ let res = await http.load(
273
+ 'POST',
274
+ `rs/sql/getGasModel`,
275
+ {data: data},
276
+ {resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
277
+ )
278
+ console.log("测试有表具",res.data)
279
+ return res.data
280
+ },
281
+ async getUserName() {
282
+ console.log('用户姓名查询')
283
+ if(this.selectdata.f_construction_unit_id){
284
+ let data = {
285
+ tablename: 't_user',
286
+ condition: `id='${this.selectdata.f_construction_unit_id}'`
287
+ }
288
+ let res = await this.$resetpost(
289
+ 'rs/sql/applySingleTable',
290
+ {data: data},
291
+ {resolveMsg: null, rejectMsg: null}
292
+ )
293
+ return res.data.map(item => {
294
+ return {
295
+ label: item.name,
296
+ value: item.id
297
+ }
298
+ })
299
+ }
300
+ return
301
+ },
302
+ async getConstructionWorker(){
303
+ let data = {
304
+ source: 'this.getParentByType($organization$).getChildByName($建设单位$).getChildren()',
305
+ userid: this.$login.f.id
306
+ }
307
+
308
+ let res = await this.$resetpost(
309
+ `${this.$androidUtil.getProxyUrl()}/rs/search`,
310
+ {data: data},
311
+ {resolveMsg: null, rejectMsg: '现场负责人查询失败!!!'}
312
+ )
313
+
314
+ return res.data.map(item => {
315
+ return {
316
+ label: item.name,
317
+ value: item.id
318
+ }
161
319
  })
162
- // 去除所有onetomany的操作
163
- if (this.data.onetomany) {
164
- this.data.onetomany.forEach(item => {
165
- item.hiddenOperate = true
320
+ },
321
+ // 安装单位签字人
322
+ async getConstructionUnitId () {
323
+ if (this.selectdata.f_construction_unit_id){
324
+ let data = {
325
+ tablename: 't_user',
326
+ condition: `id='${this.selectdata.f_construction_unit_id}'`
327
+ }
328
+ let res = await this.$resetpost(
329
+ 'rs/sql/applySingleTable',
330
+ {data: data},
331
+ {resolveMsg: null, rejectMsg: null}
332
+ )
333
+ return res.data.map(item => {
334
+ return {
335
+ label: item.name,
336
+ value: item.id
337
+ }
166
338
  })
167
339
  }
340
+ },
341
+ // 安装单位负责人
342
+ async getConstructionUnit () {
343
+ let data = {
344
+ source: 'this.getParentByType($organization$).getChildByName($工程施工队$).getChildren()',
345
+ userid: this.$login.f.id
346
+ }
168
347
 
169
- // 完成时间和完成人,部门,分公司
170
- if (this.selectdata.state === '结束') {
171
- let http = new HttpResetClass()
172
- let res = await http.load('POST', 'rs/search', {
173
- source: 'this.getInfo()',
174
- userid: this.selectdata.userid
175
- }, {resolveMsg: null, rejectMsg: null})
176
- let user = res.data
177
- this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
178
- this.data.operator = this.selectdata.person
179
- this.data.f_filiale = user.orgs
180
- this.data.f_parentname = user.deps
348
+ let res = await this.$resetpost(
349
+ 'rs/search',
350
+ {data: data},
351
+ {resolveMsg: null, rejectMsg: '安装单位负责人查询失败!!!'}
352
+ )
353
+
354
+ return res.data.map(item => {
355
+ return {
356
+ label: item.name,
357
+ value: item.id
358
+ }
359
+ })
360
+ },
361
+ // 建设单位
362
+ async getConstructOperator () {
363
+ let data = {
364
+ source: 'this.getParentByType($organization$).getChildByName($建设单位$).getChildren()',
365
+ userid: this.$login.f.id
366
+ }
367
+
368
+ let res = await this.$resetpost(
369
+ 'rs/search',
370
+ {data: data},
371
+ {resolveMsg: null, rejectMsg: '建设单位人员查询失败!!!'}
372
+ )
373
+
374
+ return res.data.map(item => {
375
+ return {
376
+ label: item.name,
377
+ value: item.id
378
+ }
379
+ })
380
+ },
381
+ // 监理单位
382
+ async getSupervisorOperator () {
383
+ let data = {
384
+ source: 'this.getParentByType($organization$).getChildByName($监理单位$).getChildren()',
385
+ userid: this.$login.f.id
386
+ }
387
+
388
+ let res = await this.$resetpost(
389
+ 'rs/search',
390
+ {data: data},
391
+ {resolveMsg: null, rejectMsg: '监理单位人员查询失败!!!'}
392
+ )
393
+ return res.data.map(item => {
394
+ return {
395
+ label: item.name,
396
+ value: item.id
397
+ }
398
+ })
399
+ },
400
+ // 监理现场负责人
401
+ async getSupervisorOperatorId () {
402
+ let data = {
403
+ source: 'this.getParentByType($organization$).getChildByName($监理班组$).getChildren()',
404
+ userid: this.$login.f.id
405
+ }
406
+ let res = await this.$resetpost(
407
+ 'rs/search',
408
+ {data: data},
409
+ {resolveMsg: null, rejectMsg: '监理单位人员查询失败!!!'}
410
+ )
411
+ return res.data.map(item => {
412
+ return {
413
+ label: item.name,
414
+ value: item.id
415
+ }
416
+ })
417
+ },
418
+ // 土建单位
419
+ async getEngineeringOperator () {
420
+ let data = {
421
+ source: 'this.getParentByType($organization$).getChildByName($土建单位$).getChildren()',
422
+ userid: this.$login.f.id
423
+ }
424
+
425
+ let res = await this.$resetpost(
426
+ 'rs/search',
427
+ {data: data},
428
+ {resolveMsg: null, rejectMsg: '土建单位人员查询失败!!!'}
429
+ )
430
+ let result = res.data.map(item => {
431
+ return {
432
+ label: item.name,
433
+ value: item.id
434
+ }
435
+ })
436
+ if(this.selectdata.f_apply_nature === '散户'){
437
+ result.push({label:'用户自理',value:'用户自理'})
438
+ }
439
+ result.push({label:'无',value:'无'})
440
+ return result
441
+ },
442
+ // 检测单位
443
+ async getCheckOperator () {
444
+ let data = {
445
+ source: 'this.getParentByType($organization$).getChildByName($检测单位$).getChildren()',
446
+ userid: this.$login.f.id
447
+ }
448
+
449
+ let res = await this.$resetpost(
450
+ 'rs/search',
451
+ {data: data},
452
+ {resolveMsg: null, rejectMsg: '检测单位人员查询失败!!!'}
453
+ )
454
+
455
+ let result = res.data.map(item => {
456
+ return {
457
+ label: item.name,
458
+ value: item.id
459
+ }
460
+ })
461
+ result.push({label:'无',value:'无'})
462
+ return result
463
+ },
464
+ // 户内出单日期
465
+ async getOutdoorsTime () {
466
+ for (const item of this.data.fields) {
467
+ if (item.label === '户内出单日期') {
468
+ item.value = this.data.f_release_date
469
+ this.data[item.field] = item.value
470
+ }else if(item.label === '庭院出单日期'){
471
+ item.value = this.data.f_release_date
472
+ this.data[item.field] = item.value
473
+ }
474
+ }
475
+ },
476
+ async getChargeDate() {
477
+ let data = {
478
+ tablename: 'activityins',
479
+ condition: `processid = '${this.data.f_process_id}' and defname = '报装缴费'`,
480
+ }
481
+
482
+ let http = new HttpResetClass()
483
+ let res = await http.load(
484
+ 'POST',
485
+ `rs/sql/applySingleTable`,
486
+ {data: data},
487
+ {resolveMsg: null, rejectMsg: null}
488
+ )
489
+ for (const item of this.data.fields) {
490
+ if (item.label === '缴费日期') {
491
+ item.value = res.data[0].finishtime
492
+ this.data[item.field] = item.value
493
+ }
494
+ }
495
+ },
496
+ async getSingAct() {
497
+ let data = {
498
+ f_process_id: this.data.f_process_id
499
+ }
500
+ let http = new HttpResetClass()
501
+ let res = await http.load(
502
+ 'POST',
503
+ `rs/sql/getSingAct`,
504
+ {data: data},
505
+ {resolveMsg: null, rejectMsg: '签字状态查询失败!!!'}
506
+ )
507
+ if (res.data.length > 0) {
508
+ for (const item of this.data.fields) {
509
+ if (item.label === '签字所在环节') {
510
+ item.value = res.data[0].defname
511
+ this.data[item.field] = item.value
512
+ }
513
+ }
181
514
  }
182
515
  }
183
516
  },
184
517
  events:{
518
+ // 工程派工初始化
519
+ async 'dispatchReadyEvent' () {
520
+ console.log("cscc")
521
+ if (isEmpty(this.show_data.f_meter_brand)) {
522
+ return
523
+ }
524
+ let data = {
525
+ f_gasbrand_id: this.show_data.f_meter_brand
526
+ }
527
+ let http = new HttpResetClass()
528
+ let res = await http.load(
529
+ 'POST',
530
+ `rs/sql/getGasModel`,
531
+ {data: data},
532
+ {resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
533
+ )
534
+
535
+ this.setLabelOptions('气表型号', res.data)
536
+ },
185
537
  },
186
538
  watch: {
187
539
  deep: true
@@ -5,17 +5,17 @@
5
5
  <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
6
  </div>
7
7
  <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2">
9
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <new-supervisory-chart :selectdata="selectdata"></new-supervisory-chart>
10
10
  </div>
11
- <div class="col-sm-10">
11
+ <div class="col-sm-10" style="margin-top: 20px">
12
12
  <tabset v-ref:tabs :close="false">
13
13
  <tab :header='selectdata.defname'>
14
14
  <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
15
  </tab>
16
16
  <tab header='附件'>
17
17
  <apply-upload :blodid="selectdata.f_process_id"
18
- :isupload = "false"
18
+ :isupload = "projectStart"
19
19
  :isdelete="false"
20
20
  :isusetype="true"
21
21
  :isremark = "true"
@@ -49,19 +49,17 @@
49
49
  methods: {
50
50
  // 获取页面配置json文件
51
51
  async loadName () {
52
- let http = new HttpResetClass()
53
- let xmldata = {
54
- data: this.$login.f,
55
- workname: this.xmlname
52
+ let data = {
53
+ workname: this.selectdata.processname
56
54
  }
57
- let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
58
55
 
59
- if (res.data.code && res.data.code === 200) {
60
- Vue.prototype.$workflow_vue = res.data.workflow_vue
61
- } else {
62
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
63
- return
64
- }
56
+ let res = await this.$resetpost(
57
+ 'rs/logic/ApplyGetConfigs',
58
+ {data: data},
59
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
+ )
61
+
62
+ Vue.prototype.$workflow_vue = res.data
65
63
  }
66
64
  },
67
65
  events: {
@@ -76,25 +74,6 @@
76
74
  this.selectdata = val
77
75
  this.showtotal = false
78
76
 
79
- if (this.selectdata.f_apply_type === '开发商集体报装') {
80
- this.xmlname = '开发商集体报建流程'
81
- } else if (this.selectdata.f_apply_type === '散户报建') {
82
- this.xmlname = '散户报建流程'
83
- } else if (this.selectdata.f_apply_type === '工业户报装') {
84
- this.xmlname = '工商户报建流程'
85
- } else if (this.selectdata.f_apply_type === '商业户报建') {
86
- this.xmlname = '工商户报建流程'
87
- } else if (this.selectdata.f_apply_type === '工商户报装') {
88
- this.xmlname = '工商户报建流程'
89
- } else if (this.selectdata.f_apply_type === '散户集体报装') {
90
- this.xmlname = '散户集体报建流程'
91
- } else if (this.selectdata.f_apply_type === '煤改气报建') {
92
- this.xmlname = '散户集体报建流程'
93
- } else {
94
- this.$showMessage('暂无此类报装')
95
- return
96
- }
97
-
98
77
  // 获取配置文件
99
78
  await this.loadName()
100
79
 
@@ -112,9 +91,23 @@
112
91
  this.$refs.query.$refs.cp.pager = true
113
92
  // 调用查询
114
93
  this.$refs.query.$refs.cp.$refs.cri.search()
94
+ },
95
+ 'loadPage' () {
96
+ // 关闭详细
97
+ this.showtotal = false
98
+ // 显示列表数据
99
+ this.showData = true
100
+ // 显示分页
101
+ this.$refs.query.$refs.cp.pager = true
102
+ // 调用查询
103
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
104
+ }
105
+ },
106
+ computed: {
107
+ projectStart () {
108
+ return this.$login.r.includes('报装文件上传')
115
109
  }
116
110
  },
117
-
118
111
  watch: {
119
112
  }
120
113
  }