apply-clients 7.1.37 → 7.1.40

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 (611) hide show
  1. package/android.html +4 -0
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-client.js +8 -0
  4. package/build/dev-server.js +154 -0
  5. package/build/example-server.js +80 -0
  6. package/build/release.sh +28 -0
  7. package/build/utils.js +80 -0
  8. package/build/webpack.base.conf.js +123 -0
  9. package/build/webpack.baseandroid.conf.js +123 -0
  10. package/build/webpack.dev.conf.js +43 -0
  11. package/build/webpack.devandroid.conf.js +34 -0
  12. package/build/webpack.example.conf.js +49 -0
  13. package/build/webpack.prod.conf.js +60 -0
  14. package/build/webpack.prodandroid.conf.js +60 -0
  15. package/dist-android.7z +0 -0
  16. package/dist.7z +0 -0
  17. package/index.html +4 -1
  18. package/package.json +11 -7
  19. package/src/AndroidApp.vue +21 -14
  20. package/src/App.vue +18 -20
  21. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.eot +0 -0
  22. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.svg +0 -0
  23. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.ttf +0 -0
  24. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff +0 -0
  25. package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff2 +0 -0
  26. package/src/android-bootstrap/less/.csscomb.json +304 -0
  27. package/src/android-bootstrap/less/.csslintrc +19 -0
  28. package/src/android-bootstrap/less/alerts.less +73 -0
  29. package/src/android-bootstrap/less/badges.less +66 -0
  30. package/src/android-bootstrap/less/bootstrap.less +56 -0
  31. package/src/android-bootstrap/less/breadcrumbs.less +26 -0
  32. package/src/android-bootstrap/less/button-groups.less +247 -0
  33. package/src/android-bootstrap/less/buttons.less +173 -0
  34. package/src/android-bootstrap/less/carousel.less +269 -0
  35. package/src/android-bootstrap/less/close.less +34 -0
  36. package/src/android-bootstrap/less/code.less +69 -0
  37. package/src/android-bootstrap/less/component-animations.less +33 -0
  38. package/src/android-bootstrap/less/dropdowns.less +216 -0
  39. package/src/android-bootstrap/less/forms.less +626 -0
  40. package/src/android-bootstrap/less/glyphicons.less +305 -0
  41. package/src/android-bootstrap/less/grid.less +84 -0
  42. package/src/android-bootstrap/less/input-groups.less +167 -0
  43. package/src/android-bootstrap/less/jumbotron.less +52 -0
  44. package/src/android-bootstrap/less/labels.less +64 -0
  45. package/src/android-bootstrap/less/list-group.less +141 -0
  46. package/src/android-bootstrap/less/media.less +66 -0
  47. package/src/android-bootstrap/less/mixins/alerts.less +14 -0
  48. package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
  49. package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
  50. package/src/android-bootstrap/less/mixins/buttons.less +69 -0
  51. package/src/android-bootstrap/less/mixins/center-block.less +7 -0
  52. package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
  53. package/src/android-bootstrap/less/mixins/forms.less +90 -0
  54. package/src/android-bootstrap/less/mixins/gradients.less +59 -0
  55. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
  56. package/src/android-bootstrap/less/mixins/grid.less +122 -0
  57. package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
  58. package/src/android-bootstrap/less/mixins/image.less +33 -0
  59. package/src/android-bootstrap/less/mixins/labels.less +12 -0
  60. package/src/android-bootstrap/less/mixins/list-group.less +30 -0
  61. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
  62. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
  63. package/src/android-bootstrap/less/mixins/opacity.less +8 -0
  64. package/src/android-bootstrap/less/mixins/pagination.less +24 -0
  65. package/src/android-bootstrap/less/mixins/panels.less +24 -0
  66. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
  67. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
  68. package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
  69. package/src/android-bootstrap/less/mixins/resize.less +6 -0
  70. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
  71. package/src/android-bootstrap/less/mixins/size.less +10 -0
  72. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
  73. package/src/android-bootstrap/less/mixins/table-row.less +44 -0
  74. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
  75. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
  76. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
  77. package/src/android-bootstrap/less/mixins.less +40 -0
  78. package/src/android-bootstrap/less/modals.less +151 -0
  79. package/src/android-bootstrap/less/navbar.less +660 -0
  80. package/src/android-bootstrap/less/navs.less +302 -0
  81. package/src/android-bootstrap/less/normalize.less +424 -0
  82. package/src/android-bootstrap/less/pager.less +76 -0
  83. package/src/android-bootstrap/less/pagination.less +89 -0
  84. package/src/android-bootstrap/less/panels.less +274 -0
  85. package/src/android-bootstrap/less/popovers.less +131 -0
  86. package/src/android-bootstrap/less/print.less +101 -0
  87. package/src/android-bootstrap/less/progress-bars.less +87 -0
  88. package/src/android-bootstrap/less/responsive-embed.less +35 -0
  89. package/src/android-bootstrap/less/responsive-utilities.less +194 -0
  90. package/src/android-bootstrap/less/scaffolding.less +161 -0
  91. package/src/android-bootstrap/less/tables.less +262 -0
  92. package/src/android-bootstrap/less/theme.less +291 -0
  93. package/src/android-bootstrap/less/thumbnails.less +36 -0
  94. package/src/android-bootstrap/less/tooltip.less +102 -0
  95. package/src/android-bootstrap/less/type.less +303 -0
  96. package/src/android-bootstrap/less/utilities.less +55 -0
  97. package/src/android-bootstrap/less/variables.less +896 -0
  98. package/src/android-bootstrap/less/wells.less +29 -0
  99. package/src/android.js +7 -4
  100. package/src/apply.js +86 -69
  101. package/src/applyAndroid.js +56 -39
  102. package/src/assets//345/210/240/351/231/244.png +0 -0
  103. package/src/components/android/AppOnetomany.vue +301 -0
  104. package/src/components/android/AppServiceView.vue +568 -0
  105. package/src/components/android/AppSign.vue +219 -0
  106. package/src/components/android/AppTakePic.vue +142 -0
  107. package/src/components/android/AppUpload.vue +232 -0
  108. package/src/components/android/Ignition/VentilationIgnition.vue +395 -0
  109. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +432 -0
  110. package/src/components/android/Process/AppExplorationUser.vue +352 -0
  111. package/src/components/android/Process/AppServiceControl.vue +1051 -0
  112. package/src/components/android/Process/Processes/AppDevicesManagement.vue +336 -0
  113. package/src/components/android/Process/Processes/AppInstallationDetails.vue +776 -0
  114. package/src/components/android/Process/Processes/SurveyUserSign.vue +62 -0
  115. package/src/components/android/Sign/AppSignTask.vue +183 -0
  116. package/src/components/android/Sign/SignProcess.vue +103 -0
  117. package/src/components/android/Supervisory/AppProcessSupervisory.vue +183 -0
  118. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -0
  119. package/src/components/android/Task/Build/BuildTsak.vue +114 -0
  120. package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -0
  121. package/src/components/android/Task/Survey/SurveyTsak.vue +112 -0
  122. package/src/components/android/Task/UpBuild/UpBuildTsak.vue +95 -0
  123. package/src/components/android/TaskGraph.vue +130 -0
  124. package/src/components/android/newPackage/customerServiceManager.vue +218 -0
  125. package/src/components/android/newPackage/designDrawings.vue +94 -0
  126. package/src/components/android/newPackage/detailedData.vue +24 -0
  127. package/src/components/android/newPackage/projectPrice.vue +218 -0
  128. package/src/components/product/ApplyCharge/ApplyChargeList.vue +141 -62
  129. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
  130. package/src/components/product/Function/InstallFunction.vue +131 -147
  131. package/src/components/product/Function/InstallInfoSelect.vue +140 -105
  132. package/src/components/product/Function/Service/FunctionServiceControl.vue +323 -148
  133. package/src/components/product/Ignition/IgnitionDispatch.vue +348 -0
  134. package/src/components/product/Ignition/IgnitionRecord.vue +308 -0
  135. package/src/components/product/Onetomany.vue +377 -0
  136. package/src/components/product/Print/BuildOrder/buildOrderList.vue +288 -0
  137. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +230 -0
  138. package/src/components/product/Process/ExplorationSelect.vue +395 -347
  139. package/src/components/product/Process/ExplorationUser.vue +151 -135
  140. package/src/components/product/Process/Processes/ApplyMapCom.vue +83 -0
  141. package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
  142. package/src/components/product/Process/Processes/InstallationDetails.vue +619 -311
  143. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  144. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  145. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  146. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  147. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  148. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -0
  149. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +59 -113
  150. package/src/components/product/Process/Processes/chargeManagement.vue +546 -562
  151. package/src/components/product/Process/Processes/devicesManagement.vue +360 -0
  152. package/src/components/product/Process/Processes/satisfactionShow.vue +202 -0
  153. package/src/components/product/Process/Processes/selectApply.vue +250 -0
  154. package/src/components/product/Process/Processes/selectUserinfo.vue +231 -0
  155. package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
  156. package/src/components/product/Process/Service/ServiceControl.vue +1310 -639
  157. package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
  158. package/src/components/product/ServiceView.vue +557 -680
  159. package/src/components/product/Stop/StopApply.vue +105 -0
  160. package/src/components/product/Stop/StopApplyList.vue +224 -0
  161. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +167 -0
  162. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +393 -199
  163. package/src/components/product/Supervisory/SupervisoryControl.vue +110 -121
  164. package/src/components/product/Supervisory/SupervisoryList.vue +280 -208
  165. package/src/components/product/Supervisory/SupervisoryhCart.vue +52 -36
  166. package/src/components/product/VueUtils/ApplyUpload.vue +67 -52
  167. package/src/components/product/VueUtils/HighMeter.vue +208 -0
  168. package/src/expandcssAndroid.less +1034 -0
  169. package/src/main.js +27 -23
  170. package/src/public/history/HistoryApplyList.vue +108 -0
  171. package/src/public/history/PublicHistoryApply.vue +39 -0
  172. package/src/public/history/PublicSupervisoryhCart.vue +72 -0
  173. package/src/public/order/PublicOrderApply.vue +387 -0
  174. package/dist-android/index.html +0 -3
  175. package/dist-android/static/.gitkeep +0 -0
  176. package/dist-android/static/0.50054aa998577d450157.js +0 -2
  177. package/dist-android/static/0.js +0 -2
  178. package/dist-android/static/0.js.map +0 -1
  179. package/dist-android/static/1.0b685d8dcbf4f3a8a5b2.js +0 -1
  180. package/dist-android/static/1.js +0 -2
  181. package/dist-android/static/1.js.map +0 -1
  182. package/dist-android/static/10.2a698c421c0ff5f57336.js +0 -2
  183. package/dist-android/static/10.js +0 -2
  184. package/dist-android/static/10.js.map +0 -1
  185. package/dist-android/static/100.js +0 -2
  186. package/dist-android/static/100.js.map +0 -1
  187. package/dist-android/static/11.75a39568e320abbddcc2.js +0 -2
  188. package/dist-android/static/11.js +0 -2
  189. package/dist-android/static/11.js.map +0 -1
  190. package/dist-android/static/12.4ac0c584da492acc599d.js +0 -1
  191. package/dist-android/static/12.js +0 -2
  192. package/dist-android/static/12.js.map +0 -1
  193. package/dist-android/static/13.5471bac3b39798923a79.js +0 -1
  194. package/dist-android/static/13.js +0 -2
  195. package/dist-android/static/13.js.map +0 -1
  196. package/dist-android/static/14.ee274728fdeb5107c357.js +0 -1
  197. package/dist-android/static/14.js +0 -2
  198. package/dist-android/static/14.js.map +0 -1
  199. package/dist-android/static/15.a1dc233c1804ede2ba87.js +0 -1
  200. package/dist-android/static/15.js +0 -2
  201. package/dist-android/static/15.js.map +0 -1
  202. package/dist-android/static/16.5081ea8a90d0dacbc748.js +0 -1
  203. package/dist-android/static/16.js +0 -2
  204. package/dist-android/static/16.js.map +0 -1
  205. package/dist-android/static/17.5b5184c9a9337a88d4f9.js +0 -1
  206. package/dist-android/static/17.js +0 -2
  207. package/dist-android/static/17.js.map +0 -1
  208. package/dist-android/static/18.0c99e5cb0de0f76008f6.js +0 -1
  209. package/dist-android/static/18.js +0 -2
  210. package/dist-android/static/18.js.map +0 -1
  211. package/dist-android/static/19.b50c8bf85b8e7fb27e2a.js +0 -1
  212. package/dist-android/static/19.js +0 -2
  213. package/dist-android/static/19.js.map +0 -1
  214. package/dist-android/static/2.16718caad0da13b463a3.js +0 -1
  215. package/dist-android/static/2.js +0 -2
  216. package/dist-android/static/2.js.map +0 -1
  217. package/dist-android/static/20.8f6767f58df1fde18784.js +0 -1
  218. package/dist-android/static/20.js +0 -2
  219. package/dist-android/static/20.js.map +0 -1
  220. package/dist-android/static/21.026f5cbfd90d70d8dd3a.js +0 -1
  221. package/dist-android/static/21.js +0 -2
  222. package/dist-android/static/21.js.map +0 -1
  223. package/dist-android/static/22.4631f8885615e9b6ad6e.js +0 -1
  224. package/dist-android/static/22.js +0 -2
  225. package/dist-android/static/22.js.map +0 -1
  226. package/dist-android/static/23.437b569f91863452daeb.js +0 -1
  227. package/dist-android/static/23.js +0 -2
  228. package/dist-android/static/23.js.map +0 -1
  229. package/dist-android/static/24.f1310985a29496bc5fd8.js +0 -1
  230. package/dist-android/static/24.js +0 -2
  231. package/dist-android/static/24.js.map +0 -1
  232. package/dist-android/static/25.b6dcf8c6d26f44035506.js +0 -1
  233. package/dist-android/static/25.js +0 -2
  234. package/dist-android/static/25.js.map +0 -1
  235. package/dist-android/static/26.js +0 -2
  236. package/dist-android/static/26.js.map +0 -1
  237. package/dist-android/static/27.2185c9e2e7116302e1e1.js +0 -13
  238. package/dist-android/static/27.js +0 -2
  239. package/dist-android/static/27.js.map +0 -1
  240. package/dist-android/static/28.b429eaf351968226c395.js +0 -3
  241. package/dist-android/static/28.js +0 -2
  242. package/dist-android/static/28.js.map +0 -1
  243. package/dist-android/static/29.aed6b18ccda9ca3748ce.js +0 -3
  244. package/dist-android/static/29.js +0 -2
  245. package/dist-android/static/29.js.map +0 -1
  246. package/dist-android/static/3.761de5413a2ed045ab10.js +0 -1
  247. package/dist-android/static/3.js +0 -2
  248. package/dist-android/static/3.js.map +0 -1
  249. package/dist-android/static/30.567f5fbffc0601227294.js +0 -2
  250. package/dist-android/static/30.js +0 -2
  251. package/dist-android/static/30.js.map +0 -1
  252. package/dist-android/static/31.179f87c71c11fd562feb.js +0 -1
  253. package/dist-android/static/31.js +0 -2
  254. package/dist-android/static/31.js.map +0 -1
  255. package/dist-android/static/32.8d45d3f6c5e874582cff.js +0 -1
  256. package/dist-android/static/32.js +0 -2
  257. package/dist-android/static/32.js.map +0 -1
  258. package/dist-android/static/33.32fd8d2f4e6e7b065a5c.js +0 -1
  259. package/dist-android/static/33.js +0 -2
  260. package/dist-android/static/33.js.map +0 -1
  261. package/dist-android/static/34.df47f9984baec20bdf5b.js +0 -1
  262. package/dist-android/static/34.js +0 -2
  263. package/dist-android/static/34.js.map +0 -1
  264. package/dist-android/static/35.5883200f073b546cb1a3.js +0 -1
  265. package/dist-android/static/35.js +0 -2
  266. package/dist-android/static/35.js.map +0 -1
  267. package/dist-android/static/36.477f89087e507526163f.js +0 -1
  268. package/dist-android/static/36.js +0 -2
  269. package/dist-android/static/36.js.map +0 -1
  270. package/dist-android/static/37.b82438692bca848519f6.js +0 -1
  271. package/dist-android/static/37.js +0 -2
  272. package/dist-android/static/37.js.map +0 -1
  273. package/dist-android/static/38.83c950bebdb997be2ef8.js +0 -1
  274. package/dist-android/static/38.js +0 -2
  275. package/dist-android/static/38.js.map +0 -1
  276. package/dist-android/static/39.333e42c6dbabf1bf2706.js +0 -1
  277. package/dist-android/static/39.js +0 -2
  278. package/dist-android/static/39.js.map +0 -1
  279. package/dist-android/static/4.eb190515d001a4e1bebd.js +0 -13
  280. package/dist-android/static/4.js +0 -2
  281. package/dist-android/static/4.js.map +0 -1
  282. package/dist-android/static/40.f6807724af2482375d7c.js +0 -1
  283. package/dist-android/static/40.js +0 -2
  284. package/dist-android/static/40.js.map +0 -1
  285. package/dist-android/static/41.92f39c44002772179f48.js +0 -1
  286. package/dist-android/static/41.js +0 -2
  287. package/dist-android/static/41.js.map +0 -1
  288. package/dist-android/static/42.662a0643f36dc759abc0.js +0 -1
  289. package/dist-android/static/42.js +0 -2
  290. package/dist-android/static/42.js.map +0 -1
  291. package/dist-android/static/43.5b55816aa2ca7b510d72.js +0 -1
  292. package/dist-android/static/43.js +0 -2
  293. package/dist-android/static/43.js.map +0 -1
  294. package/dist-android/static/44.4a6af5dd359e3973dea4.js +0 -1
  295. package/dist-android/static/44.js +0 -2
  296. package/dist-android/static/44.js.map +0 -1
  297. package/dist-android/static/45.d5992c604ad9eb4f40d2.js +0 -1
  298. package/dist-android/static/45.js +0 -2
  299. package/dist-android/static/45.js.map +0 -1
  300. package/dist-android/static/46.aa87912e9361ab053234.js +0 -1
  301. package/dist-android/static/46.js +0 -2
  302. package/dist-android/static/46.js.map +0 -1
  303. package/dist-android/static/47.b9efca55c1ea582c59e7.js +0 -2
  304. package/dist-android/static/47.js +0 -2
  305. package/dist-android/static/47.js.map +0 -1
  306. package/dist-android/static/48.8902ce91c715d61c63ef.js +0 -1
  307. package/dist-android/static/48.js +0 -2
  308. package/dist-android/static/48.js.map +0 -1
  309. package/dist-android/static/49.dd2591b071fe1901d2f2.js +0 -2
  310. package/dist-android/static/49.js +0 -2
  311. package/dist-android/static/49.js.map +0 -1
  312. package/dist-android/static/5.304b463f21c8253aa514.js +0 -13
  313. package/dist-android/static/5.js +0 -2
  314. package/dist-android/static/5.js.map +0 -1
  315. package/dist-android/static/50.e49f64d967a7f7350105.js +0 -1
  316. package/dist-android/static/50.js +0 -2
  317. package/dist-android/static/50.js.map +0 -1
  318. package/dist-android/static/51.0d311b6815373c5a3b1b.js +0 -1
  319. package/dist-android/static/51.js +0 -2
  320. package/dist-android/static/51.js.map +0 -1
  321. package/dist-android/static/52.344f9d59bb5cb156380d.js +0 -1
  322. package/dist-android/static/52.js +0 -2
  323. package/dist-android/static/52.js.map +0 -1
  324. package/dist-android/static/53.289984b9a04a7d11ffef.js +0 -1
  325. package/dist-android/static/53.js +0 -2
  326. package/dist-android/static/53.js.map +0 -1
  327. package/dist-android/static/54.5808cc57ddb689577efe.js +0 -1
  328. package/dist-android/static/54.js +0 -2
  329. package/dist-android/static/54.js.map +0 -1
  330. package/dist-android/static/55.9874aac28d0d80b55860.js +0 -1
  331. package/dist-android/static/55.js +0 -2
  332. package/dist-android/static/55.js.map +0 -1
  333. package/dist-android/static/56.babac04ffcc93c5573ed.js +0 -1
  334. package/dist-android/static/56.js +0 -2
  335. package/dist-android/static/56.js.map +0 -1
  336. package/dist-android/static/57.ca9993d9b0137ec93a81.js +0 -1
  337. package/dist-android/static/57.js +0 -2
  338. package/dist-android/static/57.js.map +0 -1
  339. package/dist-android/static/58.be8a5ac661eb638aff79.js +0 -1
  340. package/dist-android/static/58.js +0 -2
  341. package/dist-android/static/58.js.map +0 -1
  342. package/dist-android/static/59.2d0116e8a66e13cbabe2.js +0 -1
  343. package/dist-android/static/59.js +0 -2
  344. package/dist-android/static/59.js.map +0 -1
  345. package/dist-android/static/6.3f10426d99466042d079.js +0 -13
  346. package/dist-android/static/6.js +0 -2
  347. package/dist-android/static/6.js.map +0 -1
  348. package/dist-android/static/60.e60b562292633421a3d7.js +0 -1
  349. package/dist-android/static/60.js +0 -2
  350. package/dist-android/static/60.js.map +0 -1
  351. package/dist-android/static/61.492b25e8e1b66366329b.js +0 -1
  352. package/dist-android/static/61.js +0 -2
  353. package/dist-android/static/61.js.map +0 -1
  354. package/dist-android/static/62.24924f3f6fd5f97975d1.js +0 -1
  355. package/dist-android/static/62.js +0 -2
  356. package/dist-android/static/62.js.map +0 -1
  357. package/dist-android/static/63.7628250218be54b5c52f.js +0 -1
  358. package/dist-android/static/63.js +0 -2
  359. package/dist-android/static/63.js.map +0 -1
  360. package/dist-android/static/64.0c2d7593ebede3d30dc8.js +0 -1
  361. package/dist-android/static/64.js +0 -2
  362. package/dist-android/static/64.js.map +0 -1
  363. package/dist-android/static/65.220dfd6b1dd8e75c9d08.js +0 -1
  364. package/dist-android/static/65.js +0 -2
  365. package/dist-android/static/65.js.map +0 -1
  366. package/dist-android/static/66.da91b8ed2181ced4a4de.js +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.75a3f13bea3c0ac4bbbe.js +0 -1
  370. package/dist-android/static/67.js +0 -2
  371. package/dist-android/static/67.js.map +0 -1
  372. package/dist-android/static/68.37aa2fd75666d1461dac.js +0 -1
  373. package/dist-android/static/68.js +0 -2
  374. package/dist-android/static/68.js.map +0 -1
  375. package/dist-android/static/69.e6a3e52929239e08b8d3.js +0 -1
  376. package/dist-android/static/69.js +0 -2
  377. package/dist-android/static/69.js.map +0 -1
  378. package/dist-android/static/7.57945431c1f505e425c1.js +0 -13
  379. package/dist-android/static/7.js +0 -6
  380. package/dist-android/static/7.js.map +0 -1
  381. package/dist-android/static/70.945cf028761bd66a2302.js +0 -1
  382. package/dist-android/static/70.js +0 -2
  383. package/dist-android/static/70.js.map +0 -1
  384. package/dist-android/static/71.0ae45dcfc105541b051d.js +0 -1
  385. package/dist-android/static/71.js +0 -2
  386. package/dist-android/static/71.js.map +0 -1
  387. package/dist-android/static/72.d89a35482e9c434d0bd0.js +0 -1
  388. package/dist-android/static/72.js +0 -2
  389. package/dist-android/static/72.js.map +0 -1
  390. package/dist-android/static/73.js +0 -2
  391. package/dist-android/static/73.js.map +0 -1
  392. package/dist-android/static/74.js +0 -2
  393. package/dist-android/static/74.js.map +0 -1
  394. package/dist-android/static/75.js +0 -2
  395. package/dist-android/static/75.js.map +0 -1
  396. package/dist-android/static/76.js +0 -2
  397. package/dist-android/static/76.js.map +0 -1
  398. package/dist-android/static/77.js +0 -2
  399. package/dist-android/static/77.js.map +0 -1
  400. package/dist-android/static/78.js +0 -2
  401. package/dist-android/static/78.js.map +0 -1
  402. package/dist-android/static/79.js +0 -2
  403. package/dist-android/static/79.js.map +0 -1
  404. package/dist-android/static/8.830a99f33590aeb637a3.js +0 -13
  405. package/dist-android/static/8.js +0 -2
  406. package/dist-android/static/8.js.map +0 -1
  407. package/dist-android/static/80.js +0 -2
  408. package/dist-android/static/80.js.map +0 -1
  409. package/dist-android/static/81.js +0 -2
  410. package/dist-android/static/81.js.map +0 -1
  411. package/dist-android/static/82.js +0 -2
  412. package/dist-android/static/82.js.map +0 -1
  413. package/dist-android/static/83.js +0 -2
  414. package/dist-android/static/83.js.map +0 -1
  415. package/dist-android/static/84.js +0 -2
  416. package/dist-android/static/84.js.map +0 -1
  417. package/dist-android/static/85.js +0 -2
  418. package/dist-android/static/85.js.map +0 -1
  419. package/dist-android/static/86.js +0 -2
  420. package/dist-android/static/86.js.map +0 -1
  421. package/dist-android/static/87.js +0 -2
  422. package/dist-android/static/87.js.map +0 -1
  423. package/dist-android/static/88.js +0 -2
  424. package/dist-android/static/88.js.map +0 -1
  425. package/dist-android/static/89.js +0 -2
  426. package/dist-android/static/89.js.map +0 -1
  427. package/dist-android/static/9.2432be88a7316649f45b.js +0 -12
  428. package/dist-android/static/9.js +0 -3
  429. package/dist-android/static/9.js.map +0 -1
  430. package/dist-android/static/90.js +0 -2
  431. package/dist-android/static/90.js.map +0 -1
  432. package/dist-android/static/91.js +0 -2
  433. package/dist-android/static/91.js.map +0 -1
  434. package/dist-android/static/92.js +0 -2
  435. package/dist-android/static/92.js.map +0 -1
  436. package/dist-android/static/93.js +0 -2
  437. package/dist-android/static/93.js.map +0 -1
  438. package/dist-android/static/94.js +0 -2
  439. package/dist-android/static/94.js.map +0 -1
  440. package/dist-android/static/95.js +0 -2
  441. package/dist-android/static/95.js.map +0 -1
  442. package/dist-android/static/96.js +0 -2
  443. package/dist-android/static/96.js.map +0 -1
  444. package/dist-android/static/97.js +0 -2
  445. package/dist-android/static/97.js.map +0 -1
  446. package/dist-android/static/98.js +0 -2
  447. package/dist-android/static/98.js.map +0 -1
  448. package/dist-android/static/99.js +0 -2
  449. package/dist-android/static/99.js.map +0 -1
  450. package/dist-android/static/app.css +0 -2
  451. package/dist-android/static/app.css.map +0 -1
  452. package/dist-android/static/app.js +0 -80
  453. package/dist-android/static/app.js.map +0 -1
  454. package/dist-android/static/appca71cf7af0c441a6b6ff.js +0 -135
  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/denglu.png +0 -0
  460. package/dist-android/static/doc.jpg +0 -0
  461. package/dist-android/static/huangtengbiaozhi.png +0 -0
  462. package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  463. package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  464. package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  465. package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  466. package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  467. package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  468. package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  469. package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  470. package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  471. package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  472. package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  473. package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  474. package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  475. package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  476. package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  477. package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  478. package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  479. package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  480. package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  481. package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  482. package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  483. package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  484. package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  485. package/dist-android/static/imgerror.jpg +0 -0
  486. package/dist-android/static/jingyin.jpg +0 -0
  487. package/dist-android/static/jsoneditor-icons.svg +0 -893
  488. package/dist-android/static/login_bg.jpg +0 -0
  489. package/dist-android/static/login_title.png +0 -0
  490. package/dist-android/static/login_title1.png +0 -0
  491. package/dist-android/static/loginbg.jpg +0 -0
  492. package/dist-android/static/loginlogo.png +0 -0
  493. package/dist-android/static/main_logo.png +0 -0
  494. package/dist-android/static/mainbg.jpg +0 -0
  495. package/dist-android/static/menulogo.png +0 -0
  496. package/dist-android/static/newStyle/clear.png +0 -0
  497. package/dist-android/static/newStyle/fife.png +0 -0
  498. package/dist-android/static/newStyle/hidden.png +0 -0
  499. package/dist-android/static/newStyle/label-clear.png +0 -0
  500. package/dist-android/static/newStyle/left-img.png +0 -0
  501. package/dist-android/static/newStyle/list_ok.png +0 -0
  502. package/dist-android/static/newStyle/login-check.png +0 -0
  503. package/dist-android/static/newStyle/login-con.png +0 -0
  504. package/dist-android/static/newStyle/login-do.gif +0 -0
  505. package/dist-android/static/newStyle/login-f.png +0 -0
  506. package/dist-android/static/newStyle/login-info.png +0 -0
  507. package/dist-android/static/newStyle/login-left.png +0 -0
  508. package/dist-android/static/newStyle/login-org.png +0 -0
  509. package/dist-android/static/newStyle/login-pwd.png +0 -0
  510. package/dist-android/static/newStyle/login-user.png +0 -0
  511. package/dist-android/static/newStyle/loginbg.gif +0 -0
  512. package/dist-android/static/newStyle/loginbg1280.gif +0 -0
  513. package/dist-android/static/newStyle/loginbg1366.gif +0 -0
  514. package/dist-android/static/newStyle/setting.png +0 -0
  515. package/dist-android/static/newStyle/setting1.png +0 -0
  516. package/dist-android/static/newStyle/shirk.png +0 -0
  517. package/dist-android/static/newStyle/stretch_bottom.png +0 -0
  518. package/dist-android/static/newStyle/stretch_left.png +0 -0
  519. package/dist-android/static/newStyle/stretch_right.png +0 -0
  520. package/dist-android/static/newStyle/stretch_top.png +0 -0
  521. package/dist-android/static/newStyle/system-off.png +0 -0
  522. package/dist-android/static/newmainbg.jpg +0 -0
  523. package/dist-android/static/pdf.jpg +0 -0
  524. package/dist-android/static/psicon.png +0 -0
  525. package/dist-android/static/singleleft.png +0 -0
  526. package/dist-android/static/singleright.png +0 -0
  527. package/dist-android/static/treeopen.png +0 -0
  528. package/dist-android/static/treeout.png +0 -0
  529. package/dist-android/static/treeset.png +0 -0
  530. package/dist-android/static/usericon.png +0 -0
  531. package/dist-android/static/workflow_apply.json +0 -766
  532. package/dist-android/static/xinxi.png +0 -0
  533. package/dist-android/static//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
  534. package/dist-android/static//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
  535. package/dist-android/static//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
  536. package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
  537. package/dist-android/static//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
  538. package/dist-android/static//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
  539. package/dist-android/static//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
  540. package/dist-android/static//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
  541. package/dist-android/static//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
  542. package/dist-android/static//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
  543. package/dist-android/static//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
  544. package/dist-android/static//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
  545. package/dist-android/static//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
  546. package/dist-android/static//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
  547. package/dist-android/static//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
  548. package/dist-android/static//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
  549. 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
  550. package/dist-android/static//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
  551. package/dist-android/static//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  552. package/dist-android/static//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
  553. package/dist-android/static//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
  554. package/dist-android/static//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
  555. package/dist-android/static//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
  556. package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
  557. package/dist-android/static//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
  558. package/dist-android/static//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
  559. package/dist-android/static//345/274/200/345/205/263/351/230/200.png +0 -0
  560. package/dist-android/static//345/275/242/347/212/2664.png +0 -0
  561. package/dist-android/static//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
  562. package/dist-android/static//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
  563. package/dist-android/static//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
  564. package/dist-android/static//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  565. package/dist-android/static//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
  566. package/dist-android/static//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
  567. package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
  568. package/dist-android/static//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
  569. package/dist-android/static//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
  570. package/dist-android/static//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
  571. package/dist-android/static//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
  572. package/dist-android/static//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
  573. package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
  574. package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
  575. package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
  576. package/dist-android/static//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
  577. package/dist-android/static//347/273/264/344/277/256/346/264/276/345/217/221.png +0 -0
  578. package/dist-android/static//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
  579. package/dist-android/static//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
  580. package/dist-android/static//350/260/203/344/273/267/350/241/245/345/267/256/347/274/264/350/264/271.png +0 -0
  581. package/dist-android/static//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
  582. package/dist-android/static//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
  583. package/dist-android/static//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
  584. package/dist-android/static//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
  585. package/dist-android/static//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
  586. package/dist-android/static//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
  587. package/dist-android/static//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
  588. package/dist-android/static//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
  589. package/src/components/app_apply/Acceptance.vue +0 -298
  590. package/src/components/app_apply/ApplyApp.vue +0 -91
  591. package/src/components/app_apply/ApplyDownList.vue +0 -166
  592. package/src/components/app_apply/ApplyInfo.vue +0 -56
  593. package/src/components/app_apply/ApplyListUpload.vue +0 -258
  594. package/src/components/app_apply/ApplyToDoList.vue +0 -165
  595. package/src/components/app_apply/ApplyUserInfo.vue +0 -56
  596. package/src/components/app_apply/FieldExploration.vue +0 -267
  597. package/src/components/app_apply/PlaceControler.vue +0 -258
  598. package/src/components/app_apply/ServiceControl.vue +0 -267
  599. package/src/components/app_apply/ServiceView.vue +0 -355
  600. package/src/components/app_apply/ToolsPage.vue +0 -51
  601. package/src/components/app_apply/Ventilation.vue +0 -199
  602. package/src/components/image/TXT.png +0 -0
  603. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
  604. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  605. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  606. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  607. package/src/components/product/Process/Processes/printCharge.vue +0 -126
  608. package/src/components/product/Process/ShowBackReason.vue +0 -32
  609. package/src/components/product/ReportForm/GasIgnitionSummary.vue +0 -352
  610. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  611. package/src/components/product/VueUtils/Tree.vue +0 -330
@@ -1,217 +1,379 @@
1
1
  <template>
2
- <component :is="funcdata.component" :data="show_data" v-if="showview" v-ref:component></component>
3
- <apply-upload v-if="showUpload"
4
- :blodid="show_data.f_process_id"
5
- :isupload = "true"
6
- :isdelete="true"
7
- :isusetype="true"
8
- :isremark = "true"
9
- :takeimg="false"
10
- :issearch="true"
11
- :defname="show_data.defname"
12
- >
13
- </apply-upload>
2
+ <service-view v-ref:serviceview :data="show_data" v-if="showview"></service-view>
14
3
  </template>
15
4
  <script>
16
5
  import {HttpResetClass} from 'vue-client'
17
6
  import Vue from 'vue'
18
7
  export default {
19
8
  title: '报建功能业务控制层',
20
- props: ['selectdata','funcdata'],
9
+ props: ['selectdata'],
21
10
  data () {
22
11
  return {
23
- data: null,
24
12
  show_data: null, // 给通用页面显示的数据
25
- showview: false, // 控制通用页面
26
- showUpload: false,
27
- showstop: false, // 控制终止
28
- showcancel: false // 控制撤销
13
+ showview: false // 控制通用页面
29
14
  }
30
15
  },
31
16
  ready () {
32
- this.hasChange()
17
+ this.refurbish()
33
18
  },
34
19
  methods: {
35
- // json配置数据处理 比如下拉框的options
36
- async initializtionJson() {
37
- this.data = Object.assign({}, this.data, this.selectdata)
38
- this.data.fields.forEach(item => {
20
+ async refurbish () {
21
+ // fields 字段填充值
22
+ for (const item of this.selectdata.fields) {
39
23
  if (!item.value) {
40
- if (item.value === 0) {
41
- item.value = 0
24
+ item.value = null
25
+ }
26
+
27
+ if (!item.value && (item.default || item.default === 0) && item.type !== 'datepicker') {
28
+ if (item.eval) {
29
+ item.value = eval(item.default)
42
30
  } else {
43
- item.value = null
31
+ item.value = item.default
44
32
  }
45
33
  }
46
- if (item.default || item.default == 0) {
47
- item.value = item.default
48
- }
34
+
49
35
  if (this.selectdata[item.field]) {
50
36
  // 将json字符串格式化赋值给value
51
37
  if (String(this.selectdata[item.field]).startsWith("{")) {
52
38
  item.value = JSON.parse(this.selectdata[item.field])
53
- this.selectdata[item.field] = JSON.parse(this.selectdata[item.field])
54
39
  } else {
55
40
  item.value = this.selectdata[item.field]
56
41
  }
57
- } else {
58
- if (this.selectdata[item.field] === 0){
59
- item.value = 0
60
- }
42
+ }
43
+ if (this.selectdata[item.field] === 0) {
44
+ item.value = 0
45
+ }
46
+
47
+ // datepicker
48
+ if (item.type === 'datepicker' && !item.value && item.default) {
49
+ item.value = new Date().Format(`${item.format ? item.format : 'yyyy-MM-dd HH:mm:ss'}`)
61
50
  }
62
51
 
63
52
  // 如果配置类型为select,优先从参数列表获取options
64
- if (item.type === 'select') {
65
- let temp = this.$appdata.getParam(item.label)
66
- if (temp && temp.length > 0 && item.label) {
67
- item.options = temp
53
+ if (item.type === 'select' || item.type === 'checkbox') {
54
+ if (item.param) {
55
+ let temp = this.$appdata.getParam(item.label)
56
+
57
+ if (temp && temp.length > 0) {
58
+ item.options = temp
59
+ }
60
+
61
+ if (item.paramLabel) {
62
+ temp = this.$appdata.getParam(item.paramLabel)
63
+ if (temp && temp.length > 0) {
64
+ item.options = temp
65
+ }
66
+ }
67
+ }
68
+
69
+ if (item.ready) {
70
+ item.options = await this[item.ready]()
68
71
  }
69
72
  }
70
- })
71
73
 
72
- // 初始化 fields 可对数据进行特殊处理
73
- // this.initializeFields()
74
- // onetomany 数据获取
75
- if (this.data.onetomany) {
76
- for (let index = 0; index < this.data.onetomany.length; index++) {
74
+
75
+ if (item.type === 'checkbox') {
76
+ if (this.selectdata[item.field]) {
77
+ item.value = JSON.parse(this.selectdata[item.field])
78
+ } else {
79
+ item.value = []
80
+ }
81
+ }
82
+ }
83
+
84
+ // 控制组件
85
+ if (this.selectdata.components) {
86
+ this.selectdata.components.forEach(item => {
87
+ item.mark = 2
88
+ })
89
+ }
90
+
91
+ // 初始化onetomany
92
+ if (this.selectdata.onetomany) {
93
+ for (const item of this.selectdata.onetomany) {
77
94
  let res = null
78
- if (!this.data.onetomany[index].queryEvent || this.data.onetomany[index].queryEvent === 'default'){
79
- let http = new HttpResetClass()
95
+ if (item.queryEvent) {
96
+ res = this[item.queryEvent]()
97
+ } else {
80
98
  let data = {
81
- tablename: this.data.onetomany[index].tables[0],
99
+ tablename: item.tables[0],
82
100
  condition: `f_process_id='${this.selectdata.f_process_id}'`
83
101
  }
84
- res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
85
- resolveMsg: null,
86
- rejectMsg: 'onetomany查询失败'
87
- })
88
- } else {
89
- res = this[this.data.onetomany[index].queryEvent]()
102
+ res = await this.$resetpost(
103
+ 'rs/sql/applySingleTable',
104
+ {data: data},
105
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
106
+ )
90
107
  }
91
108
 
92
- // 初始化 onetomany
93
- this.data.onetomany[index].rows = res.data
109
+ item.rows = res.data
94
110
 
95
111
  // 初始化onetomany中的fields
96
- for (let j = 0; j < this.data.onetomany[index].fields.length; j++) {
97
- if (!this.data.onetomany[index].fields[j].value) {
98
- if (this.data.onetomany[index].fields[j].value === 0) {
99
- this.data.onetomany[index].fields[j].value = 0
100
- } else {
101
- this.data.onetomany[index].fields[j].value = null
112
+ for (const field of item.fields) {
113
+ if (!field.value) {
114
+ if (field.value !== 0) {
115
+ field.value = null
102
116
  }
103
117
  }
104
- if (this.data.onetomany[index].fields[j].default || this.data.onetomany[index].fields[j].default == 0) {
105
- this.data.onetomany[index].fields[j].value = this.data.onetomany[index].fields[j].default
118
+
119
+ if (field.default || field.default === 0) {
120
+ field.value = field.default
121
+ }
122
+
123
+ // datepicker
124
+ if (field.type === 'datepicker' && !field.value && field.default) {
125
+ field.value = new Date().Format(`${field.format ? field.format : 'yyyy-MM-dd HH:mm:ss'}`)
106
126
  }
107
- // 如果配置类型为select,优先从参数列表获取options
108
- if (this.data.onetomany[index].fields[j].type === 'select') {
109
- let temp = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
127
+
128
+ if (field.type === 'select') {
129
+ let temp = this.$appdata.getParam(field.label)
130
+
110
131
  if (temp && temp.length > 0) {
111
- this.data.onetomany[index].fields[j].options = temp
132
+ field.options = temp
133
+ }
134
+
135
+ if (field.paramLabel) {
136
+ temp = this.$appdata.getParam(field.paramLabel)
137
+ if (temp && temp.length > 0) {
138
+ item.options = temp
139
+ }
112
140
  }
113
141
  }
114
142
  }
115
143
  }
116
144
  }
117
145
 
118
- console.log('------------onetomany-------------')
119
- console.log(this.data.onetomany)
120
146
  // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
121
- let temp = JSON.parse(JSON.stringify(this.data))
147
+ let temp = JSON.parse(JSON.stringify(this.selectdata))
122
148
 
123
149
  this.show_data = temp
124
150
  this.$nextTick(() => {
125
151
  this.showview = true
126
152
  })
127
153
  },
128
- // 功能组件显示控制
129
- hasChange(){
130
- if (this.funcdata.component === 'service-view') {
131
- if(this.funcdata.components) {
132
- this.funcdata.components.forEach(item => {
133
- item.mark = 0
134
- if (this.funcdata.title === '添加用户') {
135
- item.mark = 2
136
- }
137
- })
138
- }
154
+ // 金额转大写
155
+ smalltoBIG(n) {
156
+ let fraction = ['', '分'];
157
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
158
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
159
+ let head = n < 0 ? '欠' : '';
160
+ n = Math.abs(n);
139
161
 
140
- this.data = JSON.parse(JSON.stringify(this.funcdata))
162
+ let s = '';
141
163
 
142
- // 初始化要展示的数据结构
143
- this.initializtionJson()
144
- } else {
145
- this.show_data = JSON.parse(JSON.stringify(this.selectdata))
146
- if (this.funcdata.title === '附件') {
147
- this.$nextTick(() => {
148
- this.showUpload = true
149
- })
150
- return
151
- }
152
- this.$nextTick(() => {
153
- this.showview = true
154
- })
164
+ for (var i = 0; i < fraction.length; i++) {
165
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
155
166
  }
167
+ s = s || '整';
168
+ n = Math.floor(n);
156
169
 
157
- // if(this.funcdata.fields) {
158
- // this.data = this.funcdata
159
- // // 初始化要展示的数据结构
160
- // this.initializtion()
161
- // this.showview = true
162
- // this.showstop = false
163
- // this.showcancel = false
164
- // }
165
- // if (this.funcdata.title === '终止报建' && !this.funcdata.fields) {
166
- // this.showview = false
167
- // this.showstop = true
168
- // this.showcancel = false
169
- // }
170
- // if (this.funcdata.title === '撤销' && !this.funcdata.fields) {
171
- // this.showview = false
172
- // this.showstop = false
173
- // this.showcancel = true
174
- // }
175
- }
176
- },
177
- events: {
178
- // 打开onetomany模态框
179
- 'openAddModel'(index) {
170
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
171
+ let p = '';
172
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
173
+ p = digit[n % 10] + unit[1][j] + p;
174
+ n = Math.floor(n / 10);
175
+ }
176
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
177
+ }
178
+ return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
180
179
  },
181
- // 获取view层button事件
182
- async 'button' (model){
183
- model = Object.assign({}, this.selectdata, model)
184
- // 下发,提交,保存,退回都在后台处理
185
- let http = new HttpResetClass();
186
- http.load('POST','rs/entity/t_apply',model, {resolveMsg: null, rejectMsg: '数据保存失败'})
187
- .then(res => {
188
- this.$dispatch('query')
189
- })
180
+ getLableValue(label) {
181
+ for (const item of this.show_data.fields) {
182
+ if (item.label === label && item.type !== 'number') {
183
+ return item.value || ''
184
+ }
185
+ if (item.label === label && item.type === 'number') {
186
+ return item.value || 0
187
+ }
188
+ }
189
+ },
190
+ getLableOptions(label) {
191
+ for (const item of this.show_data.fields) {
192
+ if (item.label === label) {
193
+ return item.options
194
+ }
195
+ }
196
+ },
197
+ setLabelValue(label, value) {
198
+ for (const item of this.show_data.fields) {
199
+ if (item.label === label) {
200
+ item.value = value
201
+ this.show_data[item.field] = value
202
+ }
203
+ }
204
+ },
205
+ setLabelOptions(label, options) {
206
+ for (const item of this.show_data.fields) {
207
+ if (item.label === label) {
208
+ item.options = options
209
+ }
210
+ }
211
+ },
212
+ showLabels(...labels) {
213
+ for (const item of this.show_data.fields) {
214
+ if (labels.includes(item.label)) {
215
+ item.hidden = false
216
+ }
217
+ }
218
+ },
219
+ hideLabels(...labels) {
220
+ for (const item of this.show_data.fields) {
221
+ if (labels.includes(item.label)) {
222
+ item.hidden = true
223
+ }
224
+ }
225
+ },
226
+ showButtons(...buttons) {
227
+ for (const item of this.show_data.buttons) {
228
+ if (buttons.includes(item.button_name)) {
229
+ item.hidden = false
230
+ }
231
+ }
190
232
  },
191
- // onetomany模态框默认监听监听事件
192
- async 'onetomanydelete'(i, j) {
233
+ hideButtons(...buttons) {
234
+ for (const item of this.show_data.buttons) {
235
+ if (buttons.includes(item.button_name)) {
236
+ item.hidden = true
237
+ }
238
+ }
239
+ },
240
+ requiredLabels(...labels) {
241
+ for (const item of this.show_data.fields) {
242
+ if (labels.includes(item.label)) {
243
+ item.required = true
244
+ }
245
+ }
246
+ },
247
+ electiveLabels(...labels) {
248
+ for (const item of this.show_data.fields) {
249
+ if (labels.includes(item.label)) {
250
+ item.required = false
251
+ }
252
+ }
253
+ },
254
+ readonlyLabels(...labels) {
255
+ for (const item of this.show_data.fields) {
256
+ if (labels.includes(item.label)) {
257
+ item.readonly = true
258
+ item.disabled = true
259
+ }
260
+ }
261
+ },
262
+ readwriteLabels(...labels) {
263
+ for (const item of this.show_data.fields) {
264
+ if (labels.includes(item.label)) {
265
+ item.readonly = false
266
+ item.disabled = false
267
+ }
268
+ }
269
+ },
270
+ disabledButtons(...buttons) {
271
+ for (const item of this.show_data.buttons) {
272
+ if (buttons.includes(item.button_name)) {
273
+ item.disabled = true
274
+ }
275
+ }
276
+ },
277
+ enableButtons(...buttons) {
278
+ for (const item of this.show_data.buttons) {
279
+ if (buttons.includes(item.button_name)) {
280
+ item.disabled = false
281
+ }
282
+ }
283
+ },
284
+ async checkDuplicate(index) {
193
285
  let http = new HttpResetClass()
194
286
  let data = {
195
- table: this.show_data.onetomany[i].tables[0],
196
- row: this.show_data.onetomany[i].rows[j]
287
+ tablename: 't_apply',
288
+ condition: `${this.show_data.fields[index].field} = '${this.show_data.fields[index].value}'`
197
289
  }
198
- let res = await http.load('POST', 'rs/logic/onetomanyDefaultDeleteEvent', {data: data}, {
290
+ let res = await http.load('POST', 'rs/sql/applySingleTable', {data: data}, {
199
291
  resolveMsg: null,
200
- rejectMsg: '删除失败'
292
+ rejectMsg: `${this.show_data.fields[index].label}查询失败`
201
293
  })
294
+ if (res.data.length > 0) {
295
+ this.show_data.fields[index].value = null
296
+ this.$showAlert(`${this.show_data.fields[index].label}已存在!!!`, 'warning', 3000)
297
+ }
298
+ }
299
+ },
300
+ events: {
301
+ async 'stopApply' () {
202
302
 
203
- if (res.data <= 0){
204
- this.$showMessage('删除失败')
205
- return
303
+ let data = {
304
+ apply: this.show_data,
305
+ user: this.$login.f
206
306
  }
207
307
 
208
- this.$dispatch('breakControl', this.show_data)
308
+ let res = await this.$resetpost(
309
+ `rs/logic/stopApply`,
310
+ {data: data},
311
+ {resolveMsg: null, rejectMsg: '终止报建失败!!!'}
312
+ )
313
+
314
+ this.$dispatch('loadPage')
209
315
  },
210
- async 'onetomanyadd'(index) {
316
+ async 'pauseApply' () {
211
317
 
212
318
  let data = {
213
- f_process_id : this.show_data.f_process_id
319
+ apply: this.show_data,
320
+ user: this.$login.f
214
321
  }
322
+
323
+ let res = await this.$resetpost(
324
+ `rs/logic/pauseApply`,
325
+ {data: data},
326
+ {resolveMsg: null, rejectMsg: '暂停报建失败!!!'}
327
+ )
328
+
329
+ this.$dispatch('loadPage')
330
+ },
331
+ // 获取view层button事件
332
+ async 'button' (){
333
+
334
+ let res = await this.$resetpost(
335
+ `rs/entity/t_apply`,
336
+ this.show_data,
337
+ {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
338
+ )
339
+
340
+ this.$dispatch('loadPage')
341
+ },
342
+ // 失去焦点出触发事件
343
+ 'onchange' (index) {
344
+ },
345
+ 'onblur' (index) {},
346
+ 'oninput' (index) {},
347
+ 'initializtionView' () {},
348
+ async 'onchangeModal' (index, fieldIndex) {
349
+ },
350
+ async 'onblurModal' (index, fieldIndex) {
351
+
352
+ },
353
+ async 'oninputModal' (index, fieldIndex) {
354
+
355
+ },
356
+ async 'onetomanydelete' (index, rowIndex) {
357
+
358
+ let http = new HttpResetClass()
359
+
360
+ let res = await http.load(
361
+ 'DELETE',
362
+ `rs/entity/${this.show_data.onetomany[index].tables[0]}/${this.show_data.onetomany[index].rows[rowIndex].id}`,
363
+ null,
364
+ {resolveMsg: null, rejectMsg: '删除失败!!!'}
365
+ )
366
+
367
+ res = await this.$resetpost(
368
+ 'rs/entity/t_apply',
369
+ this.show_data
370
+ )
371
+
372
+ this.$dispatch('breakControl', this.show_data)
373
+ },
374
+ async 'onetomanyupdate' (index, rowIndex) {
375
+ let data = this.show_data.onetomany[index].rows[rowIndex]
376
+
215
377
  this.show_data.onetomany[index].fields.forEach(item => {
216
378
  data[item.field] = item.value
217
379
  })
@@ -219,24 +381,37 @@
219
381
  `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
220
382
  data
221
383
  )
384
+
385
+ res = await this.$resetpost(
386
+ 'rs/entity/t_apply',
387
+ this.show_data
388
+ )
389
+
222
390
  this.$dispatch('breakControl', this.show_data)
223
391
  },
224
- async 'onetomanyupdate'(i, j) {
225
- let onetomany = this.show_data.onetomany[i]
226
- let data = onetomany.rows[j]
227
-
228
- onetomany.fields.forEach(item => {
392
+ async 'onetomanyadd' (index) {
393
+ let data = {
394
+ f_process_id : this.show_data.f_process_id,
395
+ f_operator_id: this.$login.f.id,
396
+ f_operator: this.$login.f.name,
397
+ f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
398
+ f_orgid: this.$login.f.orgid,
399
+ f_orgname: this.$login.f.orgs
400
+ }
401
+ this.show_data.onetomany[index].fields.forEach(item => {
229
402
  data[item.field] = item.value
230
403
  })
231
404
  let res = await this.$resetpost(
232
- `rs/entity/${this.show_data.onetomany[i].tables[0]}`,
405
+ `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
233
406
  data
234
407
  )
235
408
 
409
+ res = await this.$resetpost(
410
+ 'rs/entity/t_apply',
411
+ this.show_data
412
+ )
413
+
236
414
  this.$dispatch('breakControl', this.show_data)
237
- },
238
- // onetomany模态框事件
239
- async 'onchange_modal'(index, i) {
240
415
  }
241
416
  },
242
417
  watch:{