apply-clients 7.1.35 → 7.1.36-yuchuan-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 (514) 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 +172 -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/src/android-bootstrap/less/.csscomb.json +304 -0
  23. package/src/android-bootstrap/less/.csslintrc +19 -0
  24. package/src/android-bootstrap/less/alerts.less +73 -0
  25. package/src/android-bootstrap/less/badges.less +66 -0
  26. package/src/android-bootstrap/less/bootstrap.less +56 -0
  27. package/src/android-bootstrap/less/breadcrumbs.less +26 -0
  28. package/src/android-bootstrap/less/button-groups.less +247 -0
  29. package/src/android-bootstrap/less/buttons.less +173 -0
  30. package/src/android-bootstrap/less/carousel.less +269 -0
  31. package/src/android-bootstrap/less/close.less +34 -0
  32. package/src/android-bootstrap/less/code.less +69 -0
  33. package/src/android-bootstrap/less/component-animations.less +33 -0
  34. package/src/android-bootstrap/less/dropdowns.less +216 -0
  35. package/src/android-bootstrap/less/forms.less +626 -0
  36. package/src/android-bootstrap/less/glyphicons.less +305 -0
  37. package/src/android-bootstrap/less/grid.less +84 -0
  38. package/src/android-bootstrap/less/input-groups.less +167 -0
  39. package/src/android-bootstrap/less/jumbotron.less +52 -0
  40. package/src/android-bootstrap/less/labels.less +64 -0
  41. package/src/android-bootstrap/less/list-group.less +141 -0
  42. package/src/android-bootstrap/less/media.less +66 -0
  43. package/src/android-bootstrap/less/mixins/alerts.less +14 -0
  44. package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
  45. package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
  46. package/src/android-bootstrap/less/mixins/buttons.less +69 -0
  47. package/src/android-bootstrap/less/mixins/center-block.less +7 -0
  48. package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
  49. package/src/android-bootstrap/less/mixins/forms.less +90 -0
  50. package/src/android-bootstrap/less/mixins/gradients.less +59 -0
  51. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
  52. package/src/android-bootstrap/less/mixins/grid.less +122 -0
  53. package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
  54. package/src/android-bootstrap/less/mixins/image.less +33 -0
  55. package/src/android-bootstrap/less/mixins/labels.less +12 -0
  56. package/src/android-bootstrap/less/mixins/list-group.less +30 -0
  57. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
  58. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
  59. package/src/android-bootstrap/less/mixins/opacity.less +8 -0
  60. package/src/android-bootstrap/less/mixins/pagination.less +24 -0
  61. package/src/android-bootstrap/less/mixins/panels.less +24 -0
  62. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
  63. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
  64. package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
  65. package/src/android-bootstrap/less/mixins/resize.less +6 -0
  66. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
  67. package/src/android-bootstrap/less/mixins/size.less +10 -0
  68. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
  69. package/src/android-bootstrap/less/mixins/table-row.less +44 -0
  70. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
  71. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
  72. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
  73. package/src/android-bootstrap/less/mixins.less +40 -0
  74. package/src/android-bootstrap/less/modals.less +151 -0
  75. package/src/android-bootstrap/less/navbar.less +660 -0
  76. package/src/android-bootstrap/less/navs.less +302 -0
  77. package/src/android-bootstrap/less/normalize.less +424 -0
  78. package/src/android-bootstrap/less/pager.less +76 -0
  79. package/src/android-bootstrap/less/pagination.less +89 -0
  80. package/src/android-bootstrap/less/panels.less +274 -0
  81. package/src/android-bootstrap/less/popovers.less +131 -0
  82. package/src/android-bootstrap/less/print.less +101 -0
  83. package/src/android-bootstrap/less/progress-bars.less +87 -0
  84. package/src/android-bootstrap/less/responsive-embed.less +35 -0
  85. package/src/android-bootstrap/less/responsive-utilities.less +194 -0
  86. package/src/android-bootstrap/less/scaffolding.less +161 -0
  87. package/src/android-bootstrap/less/tables.less +262 -0
  88. package/src/android-bootstrap/less/theme.less +291 -0
  89. package/src/android-bootstrap/less/thumbnails.less +36 -0
  90. package/src/android-bootstrap/less/tooltip.less +102 -0
  91. package/src/android-bootstrap/less/type.less +303 -0
  92. package/src/android-bootstrap/less/utilities.less +55 -0
  93. package/src/android-bootstrap/less/variables.less +896 -0
  94. package/src/android-bootstrap/less/wells.less +29 -0
  95. package/src/android.js +7 -4
  96. package/src/apply.js +83 -16
  97. package/src/applyAndroid.js +70 -28
  98. package/src/assets/marker-default.png +0 -0
  99. package/src/assets/myLocationIcon.png +0 -0
  100. package/src/assets//345/210/240/351/231/244.png +0 -0
  101. package/src/components/android/AppOnetomany.vue +301 -0
  102. package/src/components/android/AppServiceView.vue +603 -0
  103. package/src/components/android/AppSign.vue +231 -0
  104. package/src/components/android/AppTakePic.vue +142 -0
  105. package/src/components/android/AppUpload.vue +260 -0
  106. package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
  107. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
  108. package/src/components/android/Process/AppExplorationUser.vue +454 -0
  109. package/src/components/android/Process/AppServiceControl.vue +1397 -0
  110. package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
  111. package/src/components/android/Process/Processes/AppDevicesManagement.vue +339 -0
  112. package/src/components/android/Process/Processes/AppInstallationDetails.vue +867 -0
  113. package/src/components/android/Process/Processes/SurveyUserSign.vue +65 -0
  114. package/src/components/android/Process/Processes/newAppDevicesManagement.vue +344 -0
  115. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +669 -0
  116. package/src/components/android/Sign/AppSignTask.vue +183 -0
  117. package/src/components/android/Sign/SignProcess.vue +103 -0
  118. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -0
  119. package/src/components/android/Supervisory/AppSupervisoryCart.vue +128 -0
  120. package/src/components/android/Task/Build/BuildTsak.vue +114 -0
  121. package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -0
  122. package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -0
  123. package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -0
  124. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
  125. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
  126. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +427 -0
  127. package/src/components/android/Task/ShiGongXinXi/ShowBuild.vue +95 -0
  128. package/src/components/android/Task/Survey/SurveyTsak.vue +141 -0
  129. package/src/components/android/Task/UpBuild/UpBuildDui.vue +95 -0
  130. package/src/components/android/Task/UpBuild/UpBuildTsak.vue +95 -0
  131. package/src/components/android/Task/UpBuild/UpJianLi.vue +95 -0
  132. package/src/components/android/TaskGraph.vue +130 -0
  133. package/src/components/android/newPackage/customerServiceManager.vue +218 -0
  134. package/src/components/android/newPackage/designDrawings.vue +94 -0
  135. package/src/components/android/newPackage/detailedData.vue +24 -0
  136. package/src/components/android/newPackage/projectPrice.vue +218 -0
  137. package/src/components/image/dwg.png +0 -0
  138. package/src/components/image/dxf.png +0 -0
  139. package/src/components/product/ApplyCharge/ApplyChargeList.vue +568 -73
  140. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
  141. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
  142. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
  143. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
  144. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
  145. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
  146. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
  147. package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
  148. package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
  149. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -0
  150. package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -0
  151. package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -0
  152. package/src/components/product/ApplyMap/ApplyMapLocation.vue +850 -0
  153. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +414 -0
  154. package/src/components/product/ChongZheng/ApplyChongZhengSearch.vue +30 -0
  155. package/src/components/product/Function/InstallFunction.vue +56 -70
  156. package/src/components/product/Function/InstallInfoSelect.vue +193 -105
  157. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -245
  158. package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
  159. package/src/components/product/Ignition/IgnitionList.vue +236 -0
  160. package/src/components/product/Ignition/IgnitionListManage.vue +403 -0
  161. package/src/components/product/Ignition/IgnitionRecord.vue +357 -0
  162. package/src/components/product/List/ShowDevices.vue +279 -0
  163. package/src/components/product/Onetomany.vue +377 -0
  164. package/src/components/product/Print/BuildOrder/buildOrderList.vue +445 -0
  165. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +252 -0
  166. package/src/components/product/Print/BuildOrder/printGaiXianOrder.vue +232 -0
  167. package/src/components/product/Print/OrderPrint/GaiXianOrder.vue +281 -0
  168. package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
  169. package/src/components/product/Print/img/R-C.jpg +0 -0
  170. package/src/components/product/Process/ExplorationSelect.vue +580 -347
  171. package/src/components/product/Process/ExplorationUser.vue +118 -98
  172. package/src/components/product/Process/NewExplorationUser.vue +184 -0
  173. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
  174. package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
  175. package/src/components/product/Process/Processes/InstallationDetails.vue +845 -276
  176. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  177. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  178. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  179. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  180. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  181. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -0
  182. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -0
  183. package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
  184. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +59 -113
  185. package/src/components/product/Process/Processes/chargeManagement.vue +492 -350
  186. package/src/components/product/Process/Processes/devicesManagement.vue +374 -0
  187. package/src/components/product/Process/Processes/newDevicesManagement.vue +379 -0
  188. package/src/components/product/Process/Processes/newInstallationDetails.vue +718 -0
  189. package/src/components/product/Process/Processes/satisfactionShow.vue +202 -0
  190. package/src/components/product/Process/Processes/selectApply.vue +250 -0
  191. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
  192. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -0
  193. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -0
  194. package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
  195. package/src/components/product/Process/Service/ServiceControl.vue +2155 -856
  196. package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
  197. package/src/components/product/Report/ReportItems.vue +79 -0
  198. package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
  199. package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
  200. package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
  201. package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
  202. package/src/components/product/ServiceView.vue +557 -680
  203. package/src/components/product/Stop/StopApply.vue +105 -0
  204. package/src/components/product/Stop/StopApplyList.vue +224 -0
  205. package/src/components/product/Supervisory/ExportExcel.vue +360 -0
  206. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -0
  207. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +454 -73
  208. package/src/components/product/Supervisory/SupervisoryControl.vue +28 -35
  209. package/src/components/product/Supervisory/SupervisoryList.vue +536 -208
  210. package/src/components/product/Supervisory/SupervisoryhCart.vue +52 -36
  211. package/src/components/product/VueUtils/ApplyUpload.vue +70 -47
  212. package/src/components/product/VueUtils/HighMeter.vue +208 -0
  213. package/src/expandcssAndroid.less +1034 -0
  214. package/src/main.js +5 -1
  215. package/src/public/history/HistoryApplyList.vue +108 -0
  216. package/src/public/history/PublicHistoryApply.vue +39 -0
  217. package/src/public/history/PublicSupervisoryhCart.vue +72 -0
  218. package/src/public/order/PublicOrderApply.vue +387 -0
  219. package/static/images/lefticon/yingyechaxun.png +0 -0
  220. package/static/images/lefticon/zongheyewu.png +0 -0
  221. package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  222. 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
  223. package/static/images/lefticonNew//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  224. package/static/images/lefticonNew//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  225. package/static/images/lefticonNew//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  226. package/static/images/lefticonNew//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  227. package/static/images/lefticonNew//345/233/276/345/261/202577.png +0 -0
  228. package/{dist-android/static/psicon.png → static/images/lefticonNew//345/233/276/345/261/2028/346/213/267/350/264/23513.png} +0 -0
  229. package/static/images/lefticonNew//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  230. package/static/images/lefticonNew//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  231. package/static/images/lefticonNew//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  232. package/static/images/lefticonNew//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  233. package/static/images/lefticonNew//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  234. package/static/images/lefticonNew//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  235. package/static/images/lefticonNew//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  236. package/static/images/lefticonNew//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  237. package/static/images/lefticonNew//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  238. package/static/images/lefticonNew//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  239. package/static/images/lefticonNew//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  240. package/static/images/lefticonNew//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  241. package/static/images/lefticonNew//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  242. package/static/images/lefticonNew//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  243. package/static/images/lefticonNew//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  244. package/static/images/lefticonNew//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  245. package/static/images/lefticonNew//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  246. package/yarn-error.log +9976 -0
  247. package/dist-android/index.html +0 -3
  248. package/dist-android/static/.gitkeep +0 -0
  249. package/dist-android/static/0.js +0 -2
  250. package/dist-android/static/0.js.map +0 -1
  251. package/dist-android/static/1.js +0 -2
  252. package/dist-android/static/1.js.map +0 -1
  253. package/dist-android/static/10.js +0 -2
  254. package/dist-android/static/10.js.map +0 -1
  255. package/dist-android/static/100.js +0 -2
  256. package/dist-android/static/100.js.map +0 -1
  257. package/dist-android/static/11.js +0 -2
  258. package/dist-android/static/11.js.map +0 -1
  259. package/dist-android/static/12.js +0 -2
  260. package/dist-android/static/12.js.map +0 -1
  261. package/dist-android/static/13.js +0 -2
  262. package/dist-android/static/13.js.map +0 -1
  263. package/dist-android/static/14.js +0 -2
  264. package/dist-android/static/14.js.map +0 -1
  265. package/dist-android/static/15.js +0 -2
  266. package/dist-android/static/15.js.map +0 -1
  267. package/dist-android/static/16.js +0 -2
  268. package/dist-android/static/16.js.map +0 -1
  269. package/dist-android/static/17.js +0 -2
  270. package/dist-android/static/17.js.map +0 -1
  271. package/dist-android/static/18.js +0 -2
  272. package/dist-android/static/18.js.map +0 -1
  273. package/dist-android/static/19.js +0 -2
  274. package/dist-android/static/19.js.map +0 -1
  275. package/dist-android/static/2.js +0 -2
  276. package/dist-android/static/2.js.map +0 -1
  277. package/dist-android/static/20.js +0 -2
  278. package/dist-android/static/20.js.map +0 -1
  279. package/dist-android/static/21.js +0 -2
  280. package/dist-android/static/21.js.map +0 -1
  281. package/dist-android/static/22.js +0 -2
  282. package/dist-android/static/22.js.map +0 -1
  283. package/dist-android/static/23.js +0 -2
  284. package/dist-android/static/23.js.map +0 -1
  285. package/dist-android/static/24.js +0 -2
  286. package/dist-android/static/24.js.map +0 -1
  287. package/dist-android/static/25.js +0 -2
  288. package/dist-android/static/25.js.map +0 -1
  289. package/dist-android/static/26.js +0 -2
  290. package/dist-android/static/26.js.map +0 -1
  291. package/dist-android/static/27.js +0 -2
  292. package/dist-android/static/27.js.map +0 -1
  293. package/dist-android/static/28.js +0 -2
  294. package/dist-android/static/28.js.map +0 -1
  295. package/dist-android/static/29.js +0 -2
  296. package/dist-android/static/29.js.map +0 -1
  297. package/dist-android/static/3.js +0 -2
  298. package/dist-android/static/3.js.map +0 -1
  299. package/dist-android/static/30.js +0 -2
  300. package/dist-android/static/30.js.map +0 -1
  301. package/dist-android/static/31.js +0 -2
  302. package/dist-android/static/31.js.map +0 -1
  303. package/dist-android/static/32.js +0 -2
  304. package/dist-android/static/32.js.map +0 -1
  305. package/dist-android/static/33.js +0 -2
  306. package/dist-android/static/33.js.map +0 -1
  307. package/dist-android/static/34.js +0 -2
  308. package/dist-android/static/34.js.map +0 -1
  309. package/dist-android/static/35.js +0 -2
  310. package/dist-android/static/35.js.map +0 -1
  311. package/dist-android/static/36.js +0 -2
  312. package/dist-android/static/36.js.map +0 -1
  313. package/dist-android/static/37.js +0 -2
  314. package/dist-android/static/37.js.map +0 -1
  315. package/dist-android/static/38.js +0 -2
  316. package/dist-android/static/38.js.map +0 -1
  317. package/dist-android/static/39.js +0 -2
  318. package/dist-android/static/39.js.map +0 -1
  319. package/dist-android/static/4.js +0 -2
  320. package/dist-android/static/4.js.map +0 -1
  321. package/dist-android/static/40.js +0 -2
  322. package/dist-android/static/40.js.map +0 -1
  323. package/dist-android/static/41.js +0 -2
  324. package/dist-android/static/41.js.map +0 -1
  325. package/dist-android/static/42.js +0 -2
  326. package/dist-android/static/42.js.map +0 -1
  327. package/dist-android/static/43.js +0 -2
  328. package/dist-android/static/43.js.map +0 -1
  329. package/dist-android/static/44.js +0 -2
  330. package/dist-android/static/44.js.map +0 -1
  331. package/dist-android/static/45.js +0 -2
  332. package/dist-android/static/45.js.map +0 -1
  333. package/dist-android/static/46.js +0 -2
  334. package/dist-android/static/46.js.map +0 -1
  335. package/dist-android/static/47.js +0 -2
  336. package/dist-android/static/47.js.map +0 -1
  337. package/dist-android/static/48.js +0 -2
  338. package/dist-android/static/48.js.map +0 -1
  339. package/dist-android/static/49.js +0 -2
  340. package/dist-android/static/49.js.map +0 -1
  341. package/dist-android/static/5.js +0 -2
  342. package/dist-android/static/5.js.map +0 -1
  343. package/dist-android/static/50.js +0 -2
  344. package/dist-android/static/50.js.map +0 -1
  345. package/dist-android/static/51.js +0 -2
  346. package/dist-android/static/51.js.map +0 -1
  347. package/dist-android/static/52.js +0 -2
  348. package/dist-android/static/52.js.map +0 -1
  349. package/dist-android/static/53.js +0 -2
  350. package/dist-android/static/53.js.map +0 -1
  351. package/dist-android/static/54.js +0 -2
  352. package/dist-android/static/54.js.map +0 -1
  353. package/dist-android/static/55.js +0 -2
  354. package/dist-android/static/55.js.map +0 -1
  355. package/dist-android/static/56.js +0 -2
  356. package/dist-android/static/56.js.map +0 -1
  357. package/dist-android/static/57.js +0 -2
  358. package/dist-android/static/57.js.map +0 -1
  359. package/dist-android/static/58.js +0 -2
  360. package/dist-android/static/58.js.map +0 -1
  361. package/dist-android/static/59.js +0 -2
  362. package/dist-android/static/59.js.map +0 -1
  363. package/dist-android/static/6.js +0 -2
  364. package/dist-android/static/6.js.map +0 -1
  365. package/dist-android/static/60.js +0 -2
  366. package/dist-android/static/60.js.map +0 -1
  367. package/dist-android/static/61.js +0 -2
  368. package/dist-android/static/61.js.map +0 -1
  369. package/dist-android/static/62.js +0 -2
  370. package/dist-android/static/62.js.map +0 -1
  371. package/dist-android/static/63.js +0 -2
  372. package/dist-android/static/63.js.map +0 -1
  373. package/dist-android/static/64.js +0 -2
  374. package/dist-android/static/64.js.map +0 -1
  375. package/dist-android/static/65.js +0 -2
  376. package/dist-android/static/65.js.map +0 -1
  377. package/dist-android/static/66.js +0 -2
  378. package/dist-android/static/66.js.map +0 -1
  379. package/dist-android/static/67.js +0 -2
  380. package/dist-android/static/67.js.map +0 -1
  381. package/dist-android/static/68.js +0 -2
  382. package/dist-android/static/68.js.map +0 -1
  383. package/dist-android/static/69.js +0 -2
  384. package/dist-android/static/69.js.map +0 -1
  385. package/dist-android/static/7.js +0 -6
  386. package/dist-android/static/7.js.map +0 -1
  387. package/dist-android/static/70.js +0 -2
  388. package/dist-android/static/70.js.map +0 -1
  389. package/dist-android/static/71.js +0 -2
  390. package/dist-android/static/71.js.map +0 -1
  391. package/dist-android/static/72.js +0 -2
  392. package/dist-android/static/72.js.map +0 -1
  393. package/dist-android/static/73.js +0 -2
  394. package/dist-android/static/73.js.map +0 -1
  395. package/dist-android/static/74.js +0 -2
  396. package/dist-android/static/74.js.map +0 -1
  397. package/dist-android/static/75.js +0 -2
  398. package/dist-android/static/75.js.map +0 -1
  399. package/dist-android/static/76.js +0 -2
  400. package/dist-android/static/76.js.map +0 -1
  401. package/dist-android/static/77.js +0 -2
  402. package/dist-android/static/77.js.map +0 -1
  403. package/dist-android/static/78.js +0 -2
  404. package/dist-android/static/78.js.map +0 -1
  405. package/dist-android/static/79.js +0 -2
  406. package/dist-android/static/79.js.map +0 -1
  407. package/dist-android/static/8.js +0 -2
  408. package/dist-android/static/8.js.map +0 -1
  409. package/dist-android/static/80.js +0 -2
  410. package/dist-android/static/80.js.map +0 -1
  411. package/dist-android/static/81.js +0 -2
  412. package/dist-android/static/81.js.map +0 -1
  413. package/dist-android/static/82.js +0 -2
  414. package/dist-android/static/82.js.map +0 -1
  415. package/dist-android/static/83.js +0 -2
  416. package/dist-android/static/83.js.map +0 -1
  417. package/dist-android/static/84.js +0 -2
  418. package/dist-android/static/84.js.map +0 -1
  419. package/dist-android/static/85.js +0 -2
  420. package/dist-android/static/85.js.map +0 -1
  421. package/dist-android/static/86.js +0 -2
  422. package/dist-android/static/86.js.map +0 -1
  423. package/dist-android/static/87.js +0 -2
  424. package/dist-android/static/87.js.map +0 -1
  425. package/dist-android/static/88.js +0 -2
  426. package/dist-android/static/88.js.map +0 -1
  427. package/dist-android/static/89.js +0 -2
  428. package/dist-android/static/89.js.map +0 -1
  429. package/dist-android/static/9.js +0 -3
  430. package/dist-android/static/9.js.map +0 -1
  431. package/dist-android/static/90.js +0 -2
  432. package/dist-android/static/90.js.map +0 -1
  433. package/dist-android/static/91.js +0 -2
  434. package/dist-android/static/91.js.map +0 -1
  435. package/dist-android/static/92.js +0 -2
  436. package/dist-android/static/92.js.map +0 -1
  437. package/dist-android/static/93.js +0 -2
  438. package/dist-android/static/93.js.map +0 -1
  439. package/dist-android/static/94.js +0 -2
  440. package/dist-android/static/94.js.map +0 -1
  441. package/dist-android/static/95.js +0 -2
  442. package/dist-android/static/95.js.map +0 -1
  443. package/dist-android/static/96.js +0 -2
  444. package/dist-android/static/96.js.map +0 -1
  445. package/dist-android/static/97.js +0 -2
  446. package/dist-android/static/97.js.map +0 -1
  447. package/dist-android/static/98.js +0 -2
  448. package/dist-android/static/98.js.map +0 -1
  449. package/dist-android/static/99.js +0 -2
  450. package/dist-android/static/99.js.map +0 -1
  451. package/dist-android/static/app.css +0 -2
  452. package/dist-android/static/app.css.map +0 -1
  453. package/dist-android/static/app.js +0 -80
  454. package/dist-android/static/app.js.map +0 -1
  455. package/dist-android/static/batchleft.png +0 -0
  456. package/dist-android/static/batchright.png +0 -0
  457. package/dist-android/static/bluemainbg.jpg +0 -0
  458. package/dist-android/static/config.json +0 -7
  459. package/dist-android/static/huangtengbiaozhi.png +0 -0
  460. package/dist-android/static/jingyin.jpg +0 -0
  461. package/dist-android/static/login_bg.jpg +0 -0
  462. package/dist-android/static/login_title.png +0 -0
  463. package/dist-android/static/login_title1.png +0 -0
  464. package/dist-android/static/loginbg.jpg +0 -0
  465. package/dist-android/static/loginlogo.png +0 -0
  466. package/dist-android/static/main_logo.png +0 -0
  467. package/dist-android/static/mainbg.jpg +0 -0
  468. package/dist-android/static/menulogo.png +0 -0
  469. package/dist-android/static/newmainbg.jpg +0 -0
  470. package/dist-android/static/singleleft.png +0 -0
  471. package/dist-android/static/singleright.png +0 -0
  472. package/dist-android/static/treeopen.png +0 -0
  473. package/dist-android/static/treeout.png +0 -0
  474. package/dist-android/static/treeset.png +0 -0
  475. package/dist-android/static/usericon.png +0 -0
  476. package/dist-android/static/workflow_apply.json +0 -766
  477. package/dist-android/static/xinxi.png +0 -0
  478. package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
  479. 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
  480. package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
  481. package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
  482. package/src/components/app_apply/Acceptance.vue +0 -298
  483. package/src/components/app_apply/ApplyApp.vue +0 -91
  484. package/src/components/app_apply/ApplyDownList.vue +0 -166
  485. package/src/components/app_apply/ApplyInfo.vue +0 -56
  486. package/src/components/app_apply/ApplyListUpload.vue +0 -258
  487. package/src/components/app_apply/ApplyToDoList.vue +0 -165
  488. package/src/components/app_apply/ApplyUserInfo.vue +0 -56
  489. package/src/components/app_apply/FieldExploration.vue +0 -267
  490. package/src/components/app_apply/PlaceControler.vue +0 -258
  491. package/src/components/app_apply/ServiceControl.vue +0 -267
  492. package/src/components/app_apply/ServiceView.vue +0 -355
  493. package/src/components/app_apply/ToolsPage.vue +0 -51
  494. package/src/components/app_apply/Ventilation.vue +0 -199
  495. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
  496. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  497. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  498. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  499. package/src/components/product/Process/Processes/printCharge.vue +0 -126
  500. package/src/components/product/Process/ShowBackReason.vue +0 -32
  501. package/src/components/product/ReportForm/GasIgnitionSummary.vue +0 -352
  502. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  503. package/src/components/product/VueUtils/Tree.vue +0 -330
  504. /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.eot +0 -0
  505. /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.svg +0 -0
  506. /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.ttf +0 -0
  507. /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff +0 -0
  508. /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff2 +0 -0
  509. /package/static/images/lefticon/{/345/256/211/346/243/200/346/237/245/347/234/213.png" → anjianjihua.png} +0 -0
  510. /package/static/images/lefticon/{/346/241/243/346/241/210/347/256/241/347/220/206.png" → danganguanli.png} +0 -0
  511. /package/static/images/lefticon/{/345/224/256/346/260/224/346/224/266/350/264/271.png" → shouqishoufei.png} +0 -0
  512. /package/static/images/lefticon/{/347/211/251/350/201/224/347/275/221/350/241/250.png" → wulianwang.png} +0 -0
  513. /package/static/images/lefticon/{/347/263/273/347/273/237/347/256/241/347/220/206.png" → xitongguanli.png} +0 -0
  514. /package/static/images/lefticon/{/345/221/274/345/217/253/347/263/273/347/273/237.png" → yuyinkefu.png} +0 -0
@@ -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]
84
- }
85
-
86
- // 如果配置类型为select,获取options
87
- if(item.type==='select'){
88
- item.options=[]
86
+ item.value = 0
89
87
  }
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,80 @@
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
+ if (this.selectdata.f_dispatching_type === '施工工队') {
160
+ this.showLabels('现场项目负责人', '安装单位', '建设单位', '监理单位', '土建单位', '检测单位')
161
+ this.requiredLabels( '小区')
162
+ }
163
+ // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
164
+ let temp = JSON.parse(JSON.stringify(this.data))
135
165
 
166
+ this.show_data = temp
167
+ this.$nextTick(() => {
168
+ if ((this.show_data.defname==='报装缴费' || this.show_data.defname==='收费标准') && !(this.$login.f.rolesnames.includes('营业厅报装')||this.$login.f.rolesnames.includes('市场部报装'))){
169
+ this.showview = false
170
+ this.$showMessage("对不起,您没有查看此节点的权限!")
171
+ }else {
172
+ this.showview = true
173
+ }
174
+ })
175
+ },
176
+ // json配置数据处理
177
+ async initializtion() {
136
178
  // 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
137
179
  if (this.nodeSnapshot && this.data.nodeSnapshot) {
138
180
  let http = new HttpResetClass()
@@ -140,7 +182,7 @@
140
182
  tablename: 't_node_snapshot',
141
183
  condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
142
184
  }
143
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
185
+ let res = await http.load('POST', 'rs/sql/applySingleTable', {data: data}, {
144
186
  resolveMsg: null,
145
187
  rejectMsg: null
146
188
  })
@@ -152,36 +194,375 @@
152
194
  this.data.title = data.title
153
195
  }
154
196
  }
197
+ },
198
+ hideLabels(...labels) {
199
+ console.log('报建性质1')
200
+ for (const item of this.data.fields) {
201
+ if (labels.includes(item.label)) {
202
+ item.hidden = true
203
+ }
204
+ }
205
+ },
206
+ electiveLabels(...labels) {
207
+ console.log('报建性质2')
208
+ for (const item of this.data.fields) {
209
+ if (labels.includes(item.label)) {
210
+ item.required = false
211
+ }
212
+ }
213
+ },
214
+ showLabels(...labels) {
215
+ console.log('报建性质3')
216
+ for (const item of this.data.fields) {
217
+ if (labels.includes(item.label)) {
218
+ item.hidden = false
219
+ }
220
+ }
221
+ },
222
+ requiredLabels(...labels) {
223
+ console.log('报建性质4')
224
+ for (const item of this.data.fields) {
225
+ if (labels.includes(item.label)) {
226
+ item.required = true
227
+ }
228
+ }
229
+ },
230
+ setLabelOptions(label, options) {
231
+ for (const item of this.show_data.fields) {
232
+ if (item.label === label) {
233
+ item.options = options
234
+ }
235
+ }
236
+ },
237
+ // 获取小区
238
+ async getResidentialArea () {
239
+ let data = {
240
+ tablename: 't_area_address',
241
+ condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
242
+ }
243
+ let http = new HttpResetClass()
244
+ let res = await http.load(
245
+ 'POST',
246
+ `rs/sql/applySingleTable`,
247
+ {data: data},
248
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
249
+ )
250
+ return res.data.map(item => {
251
+ return {
252
+ label: item.f_residential_area,
253
+ value: item.id
254
+ }
255
+ })
256
+ },
257
+ // 获取气表品牌
258
+ async getMeterBrand () {
259
+ let data = {
260
+ }
155
261
 
262
+ let http = new HttpResetClass()
263
+ let res = await http.load(
264
+ 'POST',
265
+ `rs/sql/getMeterBrand1`,
266
+ {data: data},
267
+ {resolveMsg: null, rejectMsg: '气表品牌查询失败!!!'}
268
+ )
156
269
 
157
- // 将所有field都不可修改,不可操作
158
- this.data.fields.forEach(item => {
159
- item.readonly = true
160
- item.disabled = true
270
+ return res.data
271
+ },
272
+ async meterBrandChenge (index) {
273
+ if (isEmpty(this.selectdata.f_meter_brand)) {
274
+ console.log("测试无表具")
275
+ return
276
+ }
277
+ let data = {
278
+ f_gasbrand_id: this.selectdata.f_meter_brand
279
+ }
280
+ let http = new HttpResetClass()
281
+ let res = await http.load(
282
+ 'POST',
283
+ `rs/sql/getGasModel`,
284
+ {data: data},
285
+ {resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
286
+ )
287
+ console.log("测试有表具",res.data)
288
+ return res.data
289
+ },
290
+ async getUserName() {
291
+ console.log('用户姓名查询')
292
+ if(this.selectdata.f_construction_unit_id){
293
+ let data = {
294
+ tablename: 't_user',
295
+ condition: `id='${this.selectdata.f_construction_unit_id}'`
296
+ }
297
+ let res = await this.$resetpost(
298
+ 'rs/sql/applySingleTable',
299
+ {data: data},
300
+ {resolveMsg: null, rejectMsg: null}
301
+ )
302
+ return res.data.map(item => {
303
+ return {
304
+ label: item.name,
305
+ value: item.id
306
+ }
307
+ })
308
+ }
309
+ return
310
+ },
311
+ async getConstructionWorker(){
312
+ let data = {
313
+ source: 'this.getParentByType($organization$).getChildByName($建设单位$).getChildren()',
314
+ userid: this.$login.f.id
315
+ }
316
+
317
+ let res = await this.$resetpost(
318
+ `rs/search`,
319
+ {data: data},
320
+ {resolveMsg: null, rejectMsg: '现场负责人查询失败!!!'}
321
+ )
322
+
323
+ return res.data.map(item => {
324
+ return {
325
+ label: item.name,
326
+ value: item.id
327
+ }
161
328
  })
162
- // 去除所有onetomany的操作
163
- if (this.data.onetomany) {
164
- this.data.onetomany.forEach(item => {
165
- item.hiddenOperate = true
329
+ },
330
+ // 安装单位签字人
331
+ async getConstructionUnitId () {
332
+ if (this.selectdata.f_construction_unit_id){
333
+ let data = {
334
+ tablename: 't_user',
335
+ condition: `id='${this.selectdata.f_construction_unit_id}'`
336
+ }
337
+ let res = await this.$resetpost(
338
+ 'rs/sql/applySingleTable',
339
+ {data: data},
340
+ {resolveMsg: null, rejectMsg: null}
341
+ )
342
+ return res.data.map(item => {
343
+ return {
344
+ label: item.name,
345
+ value: item.id
346
+ }
166
347
  })
167
348
  }
349
+ },
350
+ // 安装单位负责人
351
+ async getConstructionUnit () {
352
+ let data = {
353
+ source: 'this.getParentByType($organization$).getChildByName($工程施工队$).getChildren()',
354
+ userid: this.$login.f.id
355
+ }
168
356
 
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
357
+ let res = await this.$resetpost(
358
+ 'rs/search',
359
+ {data: data},
360
+ {resolveMsg: null, rejectMsg: '安装单位负责人查询失败!!!'}
361
+ )
362
+
363
+ return res.data.map(item => {
364
+ return {
365
+ label: item.name,
366
+ value: item.id
367
+ }
368
+ })
369
+ },
370
+ // 建设单位
371
+ async getConstructOperator () {
372
+ let data = {
373
+ source: 'this.getParentByType($organization$).getChildByName($建设单位$).getChildren()',
374
+ userid: this.$login.f.id
375
+ }
376
+
377
+ let res = await this.$resetpost(
378
+ 'rs/search',
379
+ {data: data},
380
+ {resolveMsg: null, rejectMsg: '建设单位人员查询失败!!!'}
381
+ )
382
+
383
+ return res.data.map(item => {
384
+ return {
385
+ label: item.name,
386
+ value: item.id
387
+ }
388
+ })
389
+ },
390
+ // 监理单位
391
+ async getSupervisorOperator () {
392
+ let data = {
393
+ source: 'this.getParentByType($organization$).getChildByName($监理单位$).getChildren()',
394
+ userid: this.$login.f.id
395
+ }
396
+
397
+ let res = await this.$resetpost(
398
+ 'rs/search',
399
+ {data: data},
400
+ {resolveMsg: null, rejectMsg: '监理单位人员查询失败!!!'}
401
+ )
402
+ return res.data.map(item => {
403
+ return {
404
+ label: item.name,
405
+ value: item.id
406
+ }
407
+ })
408
+ },
409
+ // 监理现场负责人
410
+ async getSupervisorOperatorId () {
411
+ let data = {
412
+ source: 'this.getParentByType($organization$).getChildByName($监理班组$).getChildren()',
413
+ userid: this.$login.f.id
414
+ }
415
+ let res = await this.$resetpost(
416
+ 'rs/search',
417
+ {data: data},
418
+ {resolveMsg: null, rejectMsg: '监理单位人员查询失败!!!'}
419
+ )
420
+ return res.data.map(item => {
421
+ return {
422
+ label: item.name,
423
+ value: item.id
424
+ }
425
+ })
426
+ },
427
+ // 土建单位
428
+ async getEngineeringOperator () {
429
+ let data = {
430
+ source: 'this.getParentByType($organization$).getChildByName($土建单位$).getChildren()',
431
+ userid: this.$login.f.id
432
+ }
433
+
434
+ let res = await this.$resetpost(
435
+ 'rs/search',
436
+ {data: data},
437
+ {resolveMsg: null, rejectMsg: '土建单位人员查询失败!!!'}
438
+ )
439
+ let result = res.data.map(item => {
440
+ return {
441
+ label: item.name,
442
+ value: item.id
443
+ }
444
+ })
445
+ if(this.selectdata.f_apply_nature === '散户' || this.selectdata.f_apply_type === '改线业务'){
446
+ result.push({label:'用户自理',value:'用户自理'})
447
+ }
448
+ result.push({label:'无',value:'无'})
449
+ return result
450
+ },
451
+ // 检测单位
452
+ async getCheckOperator () {
453
+ let data = {
454
+ source: 'this.getParentByType($organization$).getChildByName($检测单位$).getChildren()',
455
+ userid: this.$login.f.id
456
+ }
457
+
458
+ let res = await this.$resetpost(
459
+ 'rs/search',
460
+ {data: data},
461
+ {resolveMsg: null, rejectMsg: '检测单位人员查询失败!!!'}
462
+ )
463
+
464
+ let result = res.data.map(item => {
465
+ return {
466
+ label: item.name,
467
+ value: item.id
468
+ }
469
+ })
470
+ result.push({label:'无',value:'无'})
471
+ return result
472
+ },
473
+ // 户内出单日期
474
+ async getOutdoorsTime () {
475
+ for (const item of this.data.fields) {
476
+ if (item.label === '户内出单日期') {
477
+ item.value = this.data.f_release_date
478
+ this.data[item.field] = item.value
479
+ }else if(item.label === '庭院出单日期'){
480
+ item.value = this.data.f_release_date
481
+ this.data[item.field] = item.value
482
+ }
483
+ }
484
+ },
485
+ async getChargeDate() {
486
+ let data = {
487
+ tablename: 'activityins',
488
+ condition: `processid = '${this.data.f_process_id}' and defname = '报装缴费'`,
489
+ }
490
+
491
+ let http = new HttpResetClass()
492
+ let res = await http.load(
493
+ 'POST',
494
+ `rs/sql/applySingleTable`,
495
+ {data: data},
496
+ {resolveMsg: null, rejectMsg: null}
497
+ )
498
+ if (res.data[0]){
499
+ for (const item of this.data.fields) {
500
+ if (item.label === '缴费日期') {
501
+ item.value = res.data[0].finishtime
502
+ this.data[item.field] = item.value
503
+ }
504
+ }
505
+ }
506
+ },
507
+ async getSingAct() {
508
+ let data = {
509
+ f_process_id: this.data.f_process_id
510
+ }
511
+ let http = new HttpResetClass()
512
+ let res = await http.load(
513
+ 'POST',
514
+ `rs/sql/getSingAct`,
515
+ {data: data},
516
+ {resolveMsg: null, rejectMsg: '签字状态查询失败!!!'}
517
+ )
518
+ if (res.data.length > 0) {
519
+ for (const item of this.data.fields) {
520
+ if (item.label === '签字所在环节') {
521
+ item.value = res.data[0].defname
522
+ this.data[item.field] = item.value
523
+ }
524
+ }
181
525
  }
182
526
  }
183
527
  },
184
528
  events:{
529
+ // 工程派工初始化
530
+ async 'dispatchReadyEvent' () {
531
+ console.log("cscc")
532
+ if (isEmpty(this.show_data.f_meter_brand)) {
533
+ return
534
+ }
535
+ let data = {
536
+ f_gasbrand_id: this.show_data.f_meter_brand
537
+ }
538
+ let http = new HttpResetClass()
539
+ let res = await http.load(
540
+ 'POST',
541
+ `rs/sql/getGasModel`,
542
+ {data: data},
543
+ {resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
544
+ )
545
+
546
+ this.setLabelOptions('气表型号', res.data)
547
+ },
548
+ async 'buildReadyEvent' () {
549
+ console.log("cscc")
550
+ if (isEmpty(this.show_data.f_meter_brand)) {
551
+ return
552
+ }
553
+ let data = {
554
+ f_gasbrand_id: this.show_data.f_meter_brand
555
+ }
556
+ let http = new HttpResetClass()
557
+ let res = await http.load(
558
+ 'POST',
559
+ `rs/sql/getGasModel`,
560
+ {data: data},
561
+ {resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
562
+ )
563
+
564
+ this.setLabelOptions('气表型号', res.data)
565
+ }
185
566
  },
186
567
  watch: {
187
568
  deep: true