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,245 +1,475 @@
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>
14
- </template>
15
- <script>
16
- import {HttpResetClass} from 'vue-client'
17
- import Vue from 'vue'
18
- export default {
19
- title: '报建功能业务控制层',
20
- props: ['selectdata','funcdata'],
21
- data () {
22
- return {
23
- data: null,
24
- show_data: null, // 给通用页面显示的数据
25
- showview: false, // 控制通用页面
26
- showUpload: false,
27
- showstop: false, // 控制终止
28
- showcancel: false // 控制撤销
29
- }
30
- },
31
- ready () {
32
- this.hasChange()
33
- },
34
- methods: {
35
- // json配置数据处理 比如下拉框的options
36
- async initializtionJson() {
37
- this.data = Object.assign({}, this.data, this.selectdata)
38
- this.data.fields.forEach(item => {
39
- if (!item.value) {
40
- if (item.value === 0) {
41
- item.value = 0
42
- } else {
43
- item.value = null
44
- }
45
- }
46
- if (item.default || item.default == 0) {
47
- item.value = item.default
48
- }
49
- if (this.selectdata[item.field]) {
50
- // 将json字符串格式化赋值给value
51
- if (String(this.selectdata[item.field]).startsWith("{")) {
52
- item.value = JSON.parse(this.selectdata[item.field])
53
- this.selectdata[item.field] = JSON.parse(this.selectdata[item.field])
54
- } else {
55
- item.value = this.selectdata[item.field]
56
- }
57
- } else {
58
- if (this.selectdata[item.field] === 0){
59
- item.value = 0
60
- }
61
- }
62
-
63
- // 如果配置类型为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
68
- }
69
- }
70
- })
71
-
72
- // 初始化 fields 可对数据进行特殊处理
73
- // this.initializeFields()
74
- // onetomany 数据获取
75
- if (this.data.onetomany) {
76
- for (let index = 0; index < this.data.onetomany.length; index++) {
77
- let res = null
78
- if (!this.data.onetomany[index].queryEvent || this.data.onetomany[index].queryEvent === 'default'){
79
- let http = new HttpResetClass()
80
- let data = {
81
- tablename: this.data.onetomany[index].tables[0],
82
- condition: `f_process_id='${this.selectdata.f_process_id}'`
83
- }
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]()
90
- }
91
-
92
- // 初始化 onetomany
93
- this.data.onetomany[index].rows = res.data
94
-
95
- // 初始化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
102
- }
103
- }
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
106
- }
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)
110
- if (temp && temp.length > 0) {
111
- this.data.onetomany[index].fields[j].options = temp
112
- }
113
- }
114
- }
115
- }
116
- }
117
-
118
- console.log('------------onetomany-------------')
119
- console.log(this.data.onetomany)
120
- // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
121
- let temp = JSON.parse(JSON.stringify(this.data))
122
-
123
- this.show_data = temp
124
- this.$nextTick(() => {
125
- this.showview = true
126
- })
127
- },
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
- }
139
-
140
- this.data = JSON.parse(JSON.stringify(this.funcdata))
141
-
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
- })
155
- }
156
-
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) {
180
- },
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
- })
190
- },
191
- // onetomany模态框默认监听监听事件
192
- async 'onetomanydelete'(i, j) {
193
- let http = new HttpResetClass()
194
- let data = {
195
- table: this.show_data.onetomany[i].tables[0],
196
- row: this.show_data.onetomany[i].rows[j]
197
- }
198
- let res = await http.load('POST', 'rs/logic/onetomanyDefaultDeleteEvent', {data: data}, {
199
- resolveMsg: null,
200
- rejectMsg: '删除失败'
201
- })
202
-
203
- if (res.data <= 0){
204
- this.$showMessage('删除失败')
205
- return
206
- }
207
-
208
- this.$dispatch('breakControl', this.show_data)
209
- },
210
- async 'onetomanyadd'(index) {
211
-
212
- let data = {
213
- f_process_id : this.show_data.f_process_id
214
- }
215
- this.show_data.onetomany[index].fields.forEach(item => {
216
- data[item.field] = item.value
217
- })
218
- let res = await this.$resetpost(
219
- `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
220
- data
221
- )
222
- this.$dispatch('breakControl', this.show_data)
223
- },
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 => {
229
- data[item.field] = item.value
230
- })
231
- let res = await this.$resetpost(
232
- `rs/entity/${this.show_data.onetomany[i].tables[0]}`,
233
- data
234
- )
235
-
236
- this.$dispatch('breakControl', this.show_data)
237
- },
238
- // onetomany模态框事件
239
- async 'onchange_modal'(index, i) {
240
- }
241
- },
242
- watch:{
243
- }
244
- }
245
- </script>
1
+ <template>
2
+ <service-view v-ref:serviceview :data="show_data" v-if="showview"></service-view>
3
+ </template>
4
+ <script>
5
+ import {HttpResetClass} from 'vue-client'
6
+ import Vue from 'vue'
7
+ export default {
8
+ title: '报建功能业务控制层',
9
+ props: ['selectdata'],
10
+ data () {
11
+ return {
12
+ show_data: null, // 给通用页面显示的数据
13
+ showview: false // 控制通用页面
14
+ }
15
+ },
16
+ ready () {
17
+ this.refurbish()
18
+ },
19
+ methods: {
20
+ async refurbish () {
21
+ // fields 字段填充值
22
+ for (const item of this.selectdata.fields) {
23
+ if (!item.value) {
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)
30
+ } else {
31
+ item.value = item.default
32
+ }
33
+ }
34
+
35
+ if (this.selectdata[item.field]) {
36
+ // 将json字符串格式化赋值给value
37
+ if (String(this.selectdata[item.field]).startsWith("{")) {
38
+ item.value = JSON.parse(this.selectdata[item.field])
39
+ } else {
40
+ item.value = this.selectdata[item.field]
41
+ }
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'}`)
50
+ }
51
+
52
+ // 如果配置类型为select,优先从参数列表获取options
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]()
71
+ }
72
+ }
73
+
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) {
94
+ let res = null
95
+ if (item.queryEvent) {
96
+ res = this[item.queryEvent]()
97
+ } else {
98
+ let data = {
99
+ tablename: item.tables[0],
100
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
101
+ }
102
+ res = await this.$resetpost(
103
+ 'rs/sql/applySingleTable',
104
+ {data: data},
105
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
106
+ )
107
+ }
108
+
109
+ item.rows = res.data
110
+
111
+ // 初始化onetomany中的fields
112
+ for (const field of item.fields) {
113
+ if (!field.value) {
114
+ if (field.value !== 0) {
115
+ field.value = null
116
+ }
117
+ }
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'}`)
126
+ }
127
+
128
+ if (field.type === 'select') {
129
+ let temp = this.$appdata.getParam(field.label)
130
+
131
+ if (temp && temp.length > 0) {
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
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+
146
+ // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
147
+ let temp = JSON.parse(JSON.stringify(this.selectdata))
148
+
149
+ this.show_data = temp
150
+ this.$nextTick(() => {
151
+ this.showview = true
152
+ })
153
+ },
154
+ // 金额转大写
155
+ smalltoBIG(n) {
156
+ let fraction = ['角', '分'];
157
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
158
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
159
+ let head = n < 0 ? '欠' : '';
160
+ n = Math.abs(n);
161
+
162
+ let s = '';
163
+
164
+ for (var i = 0; i < fraction.length; i++) {
165
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
166
+ }
167
+ s = s || '整';
168
+ n = Math.floor(n);
169
+
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(/^整$/, '零元整')
179
+ },
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
+ }
232
+ },
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) {
285
+ let http = new HttpResetClass()
286
+ let data = {
287
+ tablename: 't_apply',
288
+ condition: `${this.show_data.fields[index].field} = '${this.show_data.fields[index].value}'`
289
+ }
290
+ let res = await http.load('POST', 'rs/sql/applySingleTable', {data: data}, {
291
+ resolveMsg: null,
292
+ rejectMsg: `${this.show_data.fields[index].label}查询失败`
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' () {
302
+
303
+ let data = {
304
+ apply: this.show_data,
305
+ user: this.$login.f
306
+ }
307
+
308
+ let res = await this.$resetpost(
309
+ `rs/logic/stopApply`,
310
+ {data: data},
311
+ {resolveMsg: null, rejectMsg: '终止报建失败!!!'}
312
+ )
313
+
314
+ this.$dispatch('loadPage')
315
+ },
316
+ async 'pauseApply' () {
317
+
318
+ let data = {
319
+ apply: this.show_data,
320
+ user: this.$login.f
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
+ async 'modifyInfo'() {
332
+ if(this.selectdata.title === '费用修改'){
333
+ let data = {
334
+ tablename: 't_charge_record',
335
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
336
+ }
337
+ res = await this.$resetpost(
338
+ 'rs/sql/applySingleTable',
339
+ {data: data},
340
+ {resolveMsg: null, rejectMsg: '收费信息查看'}
341
+ )
342
+ if (res.data.length > 0){
343
+ this.$showMessage('用户已缴费,无法修改!!!', ['confirm']).then((res) => {
344
+ if (res === 'confirm') {
345
+ this.$dispatch('loadPage')
346
+ }
347
+ })
348
+ throw '用户已缴费,无法修改!!!'
349
+ }
350
+ }
351
+ console.log("保存数据")
352
+ let res = await this.$resetpost(
353
+ `rs/entity/t_apply`,
354
+ this.show_data,
355
+ {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
356
+ )
357
+
358
+ this.$dispatch('loadPage')
359
+ },
360
+ //身份证号码校验
361
+ 'checkIdnumber' (index) {
362
+ if(this.show_data.f_credentials === '身份证'){
363
+ var verify = /^[1-9]\d{5}(18|19|20|21)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/
364
+ if (!verify.test(this.show_data.fields[index].value)){
365
+ this.show_data.fields[index].value = null
366
+ this.$showAlert('身份证号码格式错误请重新输入!!!', 'warning', 3000)
367
+ }
368
+ }
369
+ },
370
+ //电话号码校验
371
+ 'checkPhone' (index) {
372
+ var verify = /^([1][0-9]{10})$/
373
+ if (!verify.test(this.show_data.fields[index].value)){
374
+ this.show_data.fields[index].value = null
375
+ this.$showAlert('电话号码格式错误请重新输入!!!', 'warning', 3000)
376
+ }
377
+ },
378
+ 'applyPaperChange' (index) {
379
+ console.log("测试是否进入")
380
+ if (this.show_data.f_paper_type === '专票') {
381
+ this.requiredLabels('购货单位名称','购货单位识别号', '购货单位银行账号', '购货单位地址电话')
382
+ }else {
383
+ this.electiveLabels( '购货单位识别号', '购货单位银行账号', '购货单位地址电话')
384
+ }
385
+ },
386
+ // 获取view层button事件
387
+ async 'button' (){
388
+ console.log("保存数据")
389
+ let res = await this.$resetpost(
390
+ `rs/entity/t_apply`,
391
+ this.show_data,
392
+ {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
393
+ )
394
+
395
+ this.$dispatch('loadPage')
396
+ },
397
+ // 失去焦点出触发事件
398
+ 'onchange' (index) {
399
+ },
400
+ 'onblur' (index) {},
401
+ 'oninput' (index) {},
402
+ 'initializtionView' () {},
403
+ async 'onchangeModal' (index, fieldIndex) {
404
+ },
405
+ async 'onblurModal' (index, fieldIndex) {
406
+
407
+ },
408
+ async 'oninputModal' (index, fieldIndex) {
409
+
410
+ },
411
+ async 'onetomanydelete' (index, rowIndex) {
412
+
413
+ let http = new HttpResetClass()
414
+
415
+ let res = await http.load(
416
+ 'DELETE',
417
+ `rs/entity/${this.show_data.onetomany[index].tables[0]}/${this.show_data.onetomany[index].rows[rowIndex].id}`,
418
+ null,
419
+ {resolveMsg: null, rejectMsg: '删除失败!!!'}
420
+ )
421
+
422
+ res = await this.$resetpost(
423
+ 'rs/entity/t_apply',
424
+ this.show_data
425
+ )
426
+
427
+ this.$dispatch('breakControl', this.show_data)
428
+ },
429
+ async 'onetomanyupdate' (index, rowIndex) {
430
+ let data = this.show_data.onetomany[index].rows[rowIndex]
431
+
432
+ this.show_data.onetomany[index].fields.forEach(item => {
433
+ data[item.field] = item.value
434
+ })
435
+ let res = await this.$resetpost(
436
+ `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
437
+ data
438
+ )
439
+
440
+ res = await this.$resetpost(
441
+ 'rs/entity/t_apply',
442
+ this.show_data
443
+ )
444
+
445
+ this.$dispatch('breakControl', this.show_data)
446
+ },
447
+ async 'onetomanyadd' (index) {
448
+ let data = {
449
+ f_process_id : this.show_data.f_process_id,
450
+ f_operator_id: this.$login.f.id,
451
+ f_operator: this.$login.f.name,
452
+ f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
453
+ f_orgid: this.$login.f.orgid,
454
+ f_orgname: this.$login.f.orgs
455
+ }
456
+ this.show_data.onetomany[index].fields.forEach(item => {
457
+ data[item.field] = item.value
458
+ })
459
+ let res = await this.$resetpost(
460
+ `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
461
+ data
462
+ )
463
+
464
+ res = await this.$resetpost(
465
+ 'rs/entity/t_apply',
466
+ this.show_data
467
+ )
468
+
469
+ this.$dispatch('breakControl', this.show_data)
470
+ }
471
+ },
472
+ watch:{
473
+ }
474
+ }
475
+ </script>