apply-clients 4.0.67 → 4.1.0-weinan

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 (459) hide show
  1. package/dist-android/index.html +3 -0
  2. package/dist-android/static/.gitkeep +0 -0
  3. package/dist-android/static/0.js +2 -0
  4. package/dist-android/static/0.js.map +1 -0
  5. package/dist-android/static/1.js +2 -0
  6. package/dist-android/static/1.js.map +1 -0
  7. package/dist-android/static/10.js +2 -0
  8. package/dist-android/static/10.js.map +1 -0
  9. package/dist-android/static/100.js +2 -0
  10. package/dist-android/static/100.js.map +1 -0
  11. package/dist-android/static/11.js +2 -0
  12. package/dist-android/static/11.js.map +1 -0
  13. package/dist-android/static/12.js +2 -0
  14. package/dist-android/static/12.js.map +1 -0
  15. package/dist-android/static/13.js +2 -0
  16. package/dist-android/static/13.js.map +1 -0
  17. package/dist-android/static/14.js +2 -0
  18. package/dist-android/static/14.js.map +1 -0
  19. package/dist-android/static/15.js +2 -0
  20. package/dist-android/static/15.js.map +1 -0
  21. package/dist-android/static/16.js +2 -0
  22. package/dist-android/static/16.js.map +1 -0
  23. package/dist-android/static/17.js +2 -0
  24. package/dist-android/static/17.js.map +1 -0
  25. package/dist-android/static/18.js +2 -0
  26. package/dist-android/static/18.js.map +1 -0
  27. package/dist-android/static/19.js +2 -0
  28. package/dist-android/static/19.js.map +1 -0
  29. package/dist-android/static/2.js +2 -0
  30. package/dist-android/static/2.js.map +1 -0
  31. package/dist-android/static/20.js +2 -0
  32. package/dist-android/static/20.js.map +1 -0
  33. package/dist-android/static/21.js +2 -0
  34. package/dist-android/static/21.js.map +1 -0
  35. package/dist-android/static/22.js +2 -0
  36. package/dist-android/static/22.js.map +1 -0
  37. package/dist-android/static/23.js +2 -0
  38. package/dist-android/static/23.js.map +1 -0
  39. package/dist-android/static/24.js +2 -0
  40. package/dist-android/static/24.js.map +1 -0
  41. package/dist-android/static/25.js +2 -0
  42. package/dist-android/static/25.js.map +1 -0
  43. package/dist-android/static/26.js +2 -0
  44. package/dist-android/static/26.js.map +1 -0
  45. package/dist-android/static/27.js +2 -0
  46. package/dist-android/static/27.js.map +1 -0
  47. package/dist-android/static/28.js +2 -0
  48. package/dist-android/static/28.js.map +1 -0
  49. package/dist-android/static/29.js +2 -0
  50. package/dist-android/static/29.js.map +1 -0
  51. package/dist-android/static/3.js +2 -0
  52. package/dist-android/static/3.js.map +1 -0
  53. package/dist-android/static/30.js +2 -0
  54. package/dist-android/static/30.js.map +1 -0
  55. package/dist-android/static/31.js +2 -0
  56. package/dist-android/static/31.js.map +1 -0
  57. package/dist-android/static/32.js +2 -0
  58. package/dist-android/static/32.js.map +1 -0
  59. package/dist-android/static/33.js +2 -0
  60. package/dist-android/static/33.js.map +1 -0
  61. package/dist-android/static/34.js +2 -0
  62. package/dist-android/static/34.js.map +1 -0
  63. package/dist-android/static/35.js +2 -0
  64. package/dist-android/static/35.js.map +1 -0
  65. package/dist-android/static/36.js +2 -0
  66. package/dist-android/static/36.js.map +1 -0
  67. package/dist-android/static/37.js +2 -0
  68. package/dist-android/static/37.js.map +1 -0
  69. package/dist-android/static/38.js +2 -0
  70. package/dist-android/static/38.js.map +1 -0
  71. package/dist-android/static/39.js +2 -0
  72. package/dist-android/static/39.js.map +1 -0
  73. package/dist-android/static/4.js +2 -0
  74. package/dist-android/static/4.js.map +1 -0
  75. package/dist-android/static/40.js +2 -0
  76. package/dist-android/static/40.js.map +1 -0
  77. package/dist-android/static/41.js +2 -0
  78. package/dist-android/static/41.js.map +1 -0
  79. package/dist-android/static/42.js +2 -0
  80. package/dist-android/static/42.js.map +1 -0
  81. package/dist-android/static/43.js +2 -0
  82. package/dist-android/static/43.js.map +1 -0
  83. package/dist-android/static/44.js +2 -0
  84. package/dist-android/static/44.js.map +1 -0
  85. package/dist-android/static/45.js +2 -0
  86. package/dist-android/static/45.js.map +1 -0
  87. package/dist-android/static/46.js +2 -0
  88. package/dist-android/static/46.js.map +1 -0
  89. package/dist-android/static/47.js +2 -0
  90. package/dist-android/static/47.js.map +1 -0
  91. package/dist-android/static/48.js +2 -0
  92. package/dist-android/static/48.js.map +1 -0
  93. package/dist-android/static/49.js +2 -0
  94. package/dist-android/static/49.js.map +1 -0
  95. package/dist-android/static/5.js +2 -0
  96. package/dist-android/static/5.js.map +1 -0
  97. package/dist-android/static/50.js +2 -0
  98. package/dist-android/static/50.js.map +1 -0
  99. package/dist-android/static/51.js +2 -0
  100. package/dist-android/static/51.js.map +1 -0
  101. package/dist-android/static/52.js +2 -0
  102. package/dist-android/static/52.js.map +1 -0
  103. package/dist-android/static/53.js +2 -0
  104. package/dist-android/static/53.js.map +1 -0
  105. package/dist-android/static/54.js +2 -0
  106. package/dist-android/static/54.js.map +1 -0
  107. package/dist-android/static/55.js +2 -0
  108. package/dist-android/static/55.js.map +1 -0
  109. package/dist-android/static/56.js +2 -0
  110. package/dist-android/static/56.js.map +1 -0
  111. package/dist-android/static/57.js +2 -0
  112. package/dist-android/static/57.js.map +1 -0
  113. package/dist-android/static/58.js +2 -0
  114. package/dist-android/static/58.js.map +1 -0
  115. package/dist-android/static/59.js +2 -0
  116. package/dist-android/static/59.js.map +1 -0
  117. package/dist-android/static/6.js +2 -0
  118. package/dist-android/static/6.js.map +1 -0
  119. package/dist-android/static/60.js +2 -0
  120. package/dist-android/static/60.js.map +1 -0
  121. package/dist-android/static/61.js +2 -0
  122. package/dist-android/static/61.js.map +1 -0
  123. package/dist-android/static/62.js +2 -0
  124. package/dist-android/static/62.js.map +1 -0
  125. package/dist-android/static/63.js +2 -0
  126. package/dist-android/static/63.js.map +1 -0
  127. package/dist-android/static/64.js +2 -0
  128. package/dist-android/static/64.js.map +1 -0
  129. package/dist-android/static/65.js +2 -0
  130. package/dist-android/static/65.js.map +1 -0
  131. package/dist-android/static/66.js +2 -0
  132. package/dist-android/static/66.js.map +1 -0
  133. package/dist-android/static/67.js +2 -0
  134. package/dist-android/static/67.js.map +1 -0
  135. package/dist-android/static/68.js +2 -0
  136. package/dist-android/static/68.js.map +1 -0
  137. package/dist-android/static/69.js +2 -0
  138. package/dist-android/static/69.js.map +1 -0
  139. package/dist-android/static/7.js +6 -0
  140. package/dist-android/static/7.js.map +1 -0
  141. package/dist-android/static/70.js +2 -0
  142. package/dist-android/static/70.js.map +1 -0
  143. package/dist-android/static/71.js +2 -0
  144. package/dist-android/static/71.js.map +1 -0
  145. package/dist-android/static/72.js +2 -0
  146. package/dist-android/static/72.js.map +1 -0
  147. package/dist-android/static/73.js +2 -0
  148. package/dist-android/static/73.js.map +1 -0
  149. package/dist-android/static/74.js +2 -0
  150. package/dist-android/static/74.js.map +1 -0
  151. package/dist-android/static/75.js +2 -0
  152. package/dist-android/static/75.js.map +1 -0
  153. package/dist-android/static/76.js +2 -0
  154. package/dist-android/static/76.js.map +1 -0
  155. package/dist-android/static/77.js +2 -0
  156. package/dist-android/static/77.js.map +1 -0
  157. package/dist-android/static/78.js +2 -0
  158. package/dist-android/static/78.js.map +1 -0
  159. package/dist-android/static/79.js +2 -0
  160. package/dist-android/static/79.js.map +1 -0
  161. package/dist-android/static/8.js +2 -0
  162. package/dist-android/static/8.js.map +1 -0
  163. package/dist-android/static/80.js +2 -0
  164. package/dist-android/static/80.js.map +1 -0
  165. package/dist-android/static/81.js +2 -0
  166. package/dist-android/static/81.js.map +1 -0
  167. package/dist-android/static/82.js +2 -0
  168. package/dist-android/static/82.js.map +1 -0
  169. package/dist-android/static/83.js +2 -0
  170. package/dist-android/static/83.js.map +1 -0
  171. package/dist-android/static/84.js +2 -0
  172. package/dist-android/static/84.js.map +1 -0
  173. package/dist-android/static/85.js +2 -0
  174. package/dist-android/static/85.js.map +1 -0
  175. package/dist-android/static/86.js +2 -0
  176. package/dist-android/static/86.js.map +1 -0
  177. package/dist-android/static/87.js +2 -0
  178. package/dist-android/static/87.js.map +1 -0
  179. package/dist-android/static/88.js +2 -0
  180. package/dist-android/static/88.js.map +1 -0
  181. package/dist-android/static/89.js +2 -0
  182. package/dist-android/static/89.js.map +1 -0
  183. package/dist-android/static/9.js +3 -0
  184. package/dist-android/static/9.js.map +1 -0
  185. package/dist-android/static/90.js +2 -0
  186. package/dist-android/static/90.js.map +1 -0
  187. package/dist-android/static/91.js +2 -0
  188. package/dist-android/static/91.js.map +1 -0
  189. package/dist-android/static/92.js +2 -0
  190. package/dist-android/static/92.js.map +1 -0
  191. package/dist-android/static/93.js +2 -0
  192. package/dist-android/static/93.js.map +1 -0
  193. package/dist-android/static/94.js +2 -0
  194. package/dist-android/static/94.js.map +1 -0
  195. package/dist-android/static/95.js +2 -0
  196. package/dist-android/static/95.js.map +1 -0
  197. package/dist-android/static/96.js +2 -0
  198. package/dist-android/static/96.js.map +1 -0
  199. package/dist-android/static/97.js +2 -0
  200. package/dist-android/static/97.js.map +1 -0
  201. package/dist-android/static/98.js +2 -0
  202. package/dist-android/static/98.js.map +1 -0
  203. package/dist-android/static/99.js +2 -0
  204. package/dist-android/static/99.js.map +1 -0
  205. package/dist-android/static/app.css +2 -0
  206. package/dist-android/static/app.css.map +1 -0
  207. package/dist-android/static/app.js +80 -0
  208. package/dist-android/static/app.js.map +1 -0
  209. package/dist-android/static/batchleft.png +0 -0
  210. package/dist-android/static/batchright.png +0 -0
  211. package/dist-android/static/bluemainbg.jpg +0 -0
  212. package/dist-android/static/config.json +7 -0
  213. package/dist-android/static/denglu.png +0 -0
  214. package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
  215. package/dist-android/static/glyphicons-halflings-regular.svg +288 -0
  216. package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
  217. package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
  218. package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
  219. package/dist-android/static/huangtengbiaozhi.png +0 -0
  220. package/dist-android/static/jingyin.jpg +0 -0
  221. package/dist-android/static/login_bg.jpg +0 -0
  222. package/dist-android/static/login_title.png +0 -0
  223. package/dist-android/static/login_title1.png +0 -0
  224. package/dist-android/static/loginbg.jpg +0 -0
  225. package/dist-android/static/loginlogo.png +0 -0
  226. package/dist-android/static/main_logo.png +0 -0
  227. package/dist-android/static/mainbg.jpg +0 -0
  228. package/dist-android/static/menulogo.png +0 -0
  229. package/dist-android/static/newmainbg.jpg +0 -0
  230. package/dist-android/static/psicon.png +0 -0
  231. package/dist-android/static/singleleft.png +0 -0
  232. package/dist-android/static/singleright.png +0 -0
  233. package/dist-android/static/treeopen.png +0 -0
  234. package/dist-android/static/treeout.png +0 -0
  235. package/dist-android/static/treeset.png +0 -0
  236. package/dist-android/static/usericon.png +0 -0
  237. package/dist-android/static/workflow_apply.json +766 -0
  238. package/dist-android/static/xinxi.png +0 -0
  239. package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
  240. 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
  241. package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
  242. package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
  243. package/index.html +26 -17
  244. package/package.json +13 -7
  245. package/src/App.vue +11 -114
  246. package/src/apply.js +49 -157
  247. package/src/applyAndroid.js +41 -49
  248. package/src/bootstrap/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
  249. package/src/bootstrap/guandao1.png +0 -0
  250. package/src/bootstrap/less/aofeng/animate.min.css +11 -0
  251. package/src/bootstrap/less/aofeng/standard.less +2121 -0
  252. package/src/bootstrap/less/aofeng/themeOne/BinaryTemplate.less +686 -0
  253. package/src/bootstrap/less/aofeng/themeOne/loginStyle.less +1586 -0
  254. package/src/bootstrap/less/aofeng/themeOne/systemStyle.less +2650 -0
  255. package/src/bootstrap/less/aofeng/themeOne.less +14 -0
  256. package/src/bootstrap/less/aofeng/themeTwo/newStyle1.less +415 -0
  257. package/src/bootstrap/less/aofeng/themeTwo.less +3 -0
  258. package/src/bootstrap/less/bootstrap.less +9 -0
  259. package/src/bootstrap/less/forms.less +2 -2
  260. package/src/bootstrap/less/glyphicons.less +2 -2
  261. package/src/bootstrap/less/less.7z +0 -0
  262. package/src/bootstrap/less/manageStyle/manageChile.less +180 -0
  263. package/src/bootstrap/less/manageStyle/manageStyle.less +1102 -0
  264. package/src/bootstrap/less/manageStyle/qinhuaStyle.less +116 -0
  265. package/src/bootstrap/less/manageStyle/safeStyle.less +498 -0
  266. package/src/bootstrap/less/manageStyle/telephoneanaly.less +92 -0
  267. package/src/bootstrap/less/navs.less +2 -3
  268. package/src/bootstrap/less/stand.less +207 -0
  269. package/src/bootstrap/less/standard.less +503 -0
  270. package/src/bootstrap/less/systemStyle.less +860 -0
  271. package/src/bootstrap/less/themeOne.less +36 -0
  272. package/src/bootstrap/less/themeTwo.less +29 -0
  273. package/src/bootstrap/less/variables.less +2 -1
  274. package/src/components/Util.js +4 -0
  275. package/src/components/app_apply/AppChargeManagement.vue +637 -0
  276. package/src/components/app_apply/ApplyApp.vue +5 -65
  277. package/src/components/app_apply/ApplyDownList.vue +2 -2
  278. package/src/components/app_apply/ApplyInfo.vue +1 -1
  279. package/src/components/app_apply/ApplyToDoList.vue +6 -42
  280. package/src/components/app_apply/ApplyUserInfo.vue +1 -1
  281. package/src/components/app_apply/FieldExploration.vue +2 -2
  282. package/src/components/app_apply/PlaceControler.vue +3 -7
  283. package/src/components/app_apply/ServiceControl.vue +11 -755
  284. package/src/components/app_apply/ServiceView.vue +16 -363
  285. package/src/components/app_apply/Ventilation.vue +2 -2
  286. package/src/components/image/doc.jpg +0 -0
  287. package/src/components/image/excel.jpg +0 -0
  288. package/src/components/image/pdf.jpg +0 -0
  289. package/src/components/image//345/233/276/345/261/20212.png +0 -0
  290. package/src/components/image//345/233/276/345/261/20213.png +0 -0
  291. package/src/components/image//345/233/276/345/261/20216.png +0 -0
  292. package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
  293. package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
  294. package/src/components/image//346/244/255/345/234/2062.png +0 -0
  295. package/src/components/image//346/244/255/345/234/2065.png +0 -0
  296. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
  297. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
  298. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
  299. package/src/components/image//347/273/2044.png +0 -0
  300. package/src/components/image//347/273/2045.png +0 -0
  301. package/src/components/image//347/273/2046.png +0 -0
  302. package/src/components/image//350/257/235/345/212/241/347/273/237/350/256/241/346/225/260/346/215/256/345/261/225/347/244/272.png +0 -0
  303. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -0
  304. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -0
  305. package/src/components/product/Function/InstallFunction.vue +120 -101
  306. package/src/components/product/Function/InstallInfoSelect.vue +267 -212
  307. package/src/components/product/Function/Service/FunctionServiceControl.vue +206 -579
  308. package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
  309. package/src/components/product/Function/functions/ApplyRecordCancel.vue +81 -114
  310. package/src/components/product/Function/functions/StopInstall.vue +76 -92
  311. package/src/components/product/Process/ExplorationSelect.vue +377 -463
  312. package/src/components/product/Process/ExplorationUser.vue +101 -110
  313. package/src/components/product/Process/Processes/InstallationDetails.vue +513 -0
  314. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  315. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1555 -0
  316. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  317. package/src/components/product/Process/Processes/chargeManagement.vue +540 -0
  318. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  319. package/src/components/product/Process/Processes/printCharge.vue +130 -0
  320. package/src/components/product/Process/Processes/recordcancel.vue +50 -0
  321. package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
  322. package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
  323. package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -0
  324. package/src/components/product/Process/Service/ServiceControl.vue +1222 -0
  325. package/src/components/product/Process/ShowBackReason.vue +21 -6
  326. package/src/components/product/ServiceView.vue +584 -605
  327. package/src/components/product/Stop/StopApply.vue +101 -0
  328. package/src/components/product/Stop/StopApplyList.vue +257 -0
  329. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +140 -153
  330. package/src/components/product/Supervisory/SupervisoryControl.vue +103 -139
  331. package/src/components/product/Supervisory/SupervisoryList.vue +145 -374
  332. package/src/components/product/Supervisory/SupervisoryhCart.vue +76 -75
  333. package/src/components/product/Test.vue +40 -0
  334. package/src/components/product/VueUtils/ApplyUpload.vue +261 -0
  335. package/src/components/product/VueUtils/Tree.vue +330 -0
  336. package/src/expandcss.less +571 -0
  337. package/src/main.js +8 -15
  338. package/src/stores/ApplyLoadParams.js +1 -2
  339. package/src/stores/PagedListLogic.js +173 -0
  340. package/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  341. package/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  342. package/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  343. package/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  344. package/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  345. package/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  346. package/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  347. package/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  348. package/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  349. package/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  350. package/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  351. package/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  352. package/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  353. package/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  354. package/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  355. package/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  356. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
  357. package/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  358. package/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  359. package/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  360. package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  361. package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  362. package/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  363. package/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  364. package/static/imgerror.jpg +0 -0
  365. package/static/newStyle/clear.png +0 -0
  366. package/static/newStyle/fife.png +0 -0
  367. package/static/newStyle/hidden.png +0 -0
  368. package/static/newStyle/label-clear.png +0 -0
  369. package/static/newStyle/left-img.png +0 -0
  370. package/static/newStyle/list_ok.png +0 -0
  371. package/static/newStyle/login-check.png +0 -0
  372. package/static/newStyle/login-con.png +0 -0
  373. package/static/newStyle/login-do.gif +0 -0
  374. package/static/newStyle/login-f.png +0 -0
  375. package/static/newStyle/login-info.png +0 -0
  376. package/static/newStyle/login-left.png +0 -0
  377. package/static/newStyle/login-org.png +0 -0
  378. package/static/newStyle/login-pwd.png +0 -0
  379. package/static/newStyle/login-user.png +0 -0
  380. package/static/newStyle/loginbg.gif +0 -0
  381. package/static/newStyle/loginbg1280.gif +0 -0
  382. package/static/newStyle/loginbg1366.gif +0 -0
  383. package/static/newStyle/setting.png +0 -0
  384. package/static/newStyle/setting1.png +0 -0
  385. package/static/newStyle/shirk.png +0 -0
  386. package/static/newStyle/stretch_bottom.png +0 -0
  387. package/static/newStyle/stretch_left.png +0 -0
  388. package/static/newStyle/stretch_right.png +0 -0
  389. package/static/newStyle/stretch_top.png +0 -0
  390. package/static/newStyle/system-off.png +0 -0
  391. package/ApplyClient.iml +0 -9
  392. package/src/assets//345/210/240/351/231/244.png +0 -0
  393. package/src/assets//346/212/245/350/243/205/344/270/232/345/212/241/347/253/226/345/261/2173.png +0 -0
  394. package/src/components/Utils.js +0 -301
  395. package/src/components/app_apply/AppBatchItem.vue +0 -501
  396. package/src/components/app_apply/AppImageUpload.vue +0 -402
  397. package/src/components/app_apply/PaperFeePic.vue +0 -867
  398. package/src/components/product/AllRecord.vue +0 -189
  399. package/src/components/product/Bill/BillGZK.vue +0 -78
  400. package/src/components/product/Bill/BillGZKMakeInfo.vue +0 -58
  401. package/src/components/product/Bill/BillGZKRecordInfo.vue +0 -199
  402. package/src/components/product/Bill/BillJLB.vue +0 -57
  403. package/src/components/product/Bill/BillJLBMakeInfo.vue +0 -37
  404. package/src/components/product/Bill/BillJLBRecordInfo.vue +0 -187
  405. package/src/components/product/Bill/BillKTK.vue +0 -57
  406. package/src/components/product/Bill/BillKTKMakeInfo.vue +0 -39
  407. package/src/components/product/Bill/BillKTKRecordInfo.vue +0 -193
  408. package/src/components/product/Bill/BillQRK.vue +0 -63
  409. package/src/components/product/Bill/BillQRKMakeInfo.vue +0 -79
  410. package/src/components/product/Bill/BillQRKRecordInfo.vue +0 -199
  411. package/src/components/product/Bill/BillSelect.vue +0 -66
  412. package/src/components/product/Bill/BillXSD.vue +0 -77
  413. package/src/components/product/Bill/BillXSDMakeInfo.vue +0 -206
  414. package/src/components/product/Bill/BillXSDRecordInfo.vue +0 -199
  415. package/src/components/product/Function/InstallInfoDown.vue +0 -78
  416. package/src/components/product/Function/functions/AddContract.vue +0 -256
  417. package/src/components/product/Function/functions/AllSelect.vue +0 -59
  418. package/src/components/product/Function/functions/InstallFee.vue +0 -661
  419. package/src/components/product/Function/functions/InstallFeeInfo.vue +0 -97
  420. package/src/components/product/Function/functions/PreparationFee.vue +0 -223
  421. package/src/components/product/Function/functions/PrestoreFee.vue +0 -630
  422. package/src/components/product/Function/functions/ReduceFee.vue +0 -143
  423. package/src/components/product/Function/functions/UpdateFee.vue +0 -229
  424. package/src/components/product/Function/functions/material_recording.vue +0 -237
  425. package/src/components/product/ImageUpload.vue +0 -575
  426. package/src/components/product/ImageUpload1.vue +0 -623
  427. package/src/components/product/Process/FireSelect.vue +0 -424
  428. package/src/components/product/Process/FireShunt.vue +0 -142
  429. package/src/components/product/Process/InstallationHouse.vue +0 -142
  430. package/src/components/product/Process/InstallationSelect.vue +0 -437
  431. package/src/components/product/Process/ModifyUserFiles.vue +0 -460
  432. package/src/components/product/Process/ProcessInfo/history_control.vue +0 -111
  433. package/src/components/product/Process/Processes/BatchItem.vue +0 -507
  434. package/src/components/product/Process/Processes/CustomerBuildingMessage.vue +0 -251
  435. package/src/components/product/Process/Processes/CustomerEquipmentMessage.vue +0 -172
  436. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -773
  437. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -711
  438. package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -298
  439. package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -850
  440. package/src/components/product/Process/Processes/SendOrder.vue +0 -47
  441. package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
  442. package/src/components/product/Process/Processes/Service/ServiceControl.vue +0 -2112
  443. package/src/components/product/Process/applymaterialManage.vue +0 -369
  444. package/src/components/product/Statistics/ApplyPaySearch/ApplyCheckBill.vue +0 -420
  445. package/src/components/product/Statistics/ApplyPaySearch/ApplyFinishSearch.vue +0 -365
  446. package/src/components/product/Statistics/ApplyPaySearch/ApplyPayBill4.vue +0 -582
  447. package/src/components/product/Statistics/ApplyPaySearch/ApplyPaySearch.vue +0 -363
  448. package/src/components/product/Statistics/ApplyPaySearch/MaterialSummary.vue +0 -373
  449. package/src/components/product/Statistics/ApplyStatisticsROOT.vue +0 -51
  450. package/src/components/product/Supervisory/SupervisoryBaseInfo.vue +0 -126
  451. package/src/components/product/VueUtils/ApplyAvatarUpload.vue +0 -125
  452. package/src/components/product/VueUtils/TabButton.vue +0 -149
  453. package/src/components/product/VueUtils/Tabs.vue +0 -67
  454. package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -258
  455. package/src/components/product/VueUtils/rightview/carddetail/BuildFeeDetail2.vue +0 -77
  456. package/src/components/product/VueUtils/rightview/carddetail/ChangeFeeDetail2.vue +0 -116
  457. package/src/components/product/VueUtils/rightview/carddetail/ReduceFeeDetail2.vue +0 -77
  458. package/src/components/product/VueUtils/rightview/carddetail/StopApplyDetail2.vue +0 -70
  459. package/src/components/product/material.vue +0 -32
@@ -1,618 +1,245 @@
1
1
  <template>
2
- <div>
3
- <service-view :data="data" v-if="showview" v-ref:serviceview ></service-view>
4
- <installfee :infee="selectdata" v-if="showinfee"></installfee>
5
- <!--预存款-->
6
- <preparationfee :selectdata="selectdata" v-if="showpreparation"></preparationfee>
7
- <!--预存报建收费-->
8
- <prestorefee :infee="selectdata" v-if="showprestorefee" v-ref:prestorefee></prestorefee>
9
- <!-- 费用变更 -->
10
- <!--<updatefee :upfee="selectdata" v-if="showupfee"></updatefee>-->
11
- <!-- 费用减免 -->
12
- <!--<reducefee :redufee="selectdata" v-if="showreducefee"></reducefee>-->
13
- <!-- 领取材料 -->
14
- <receive-batch :selectdata="selectdata" v-if="showreceivebatch" ></receive-batch>
15
- <!-- 添加合同 -->
16
- <addcontract :addcontract="selectdata" v-if="showcontract"></addcontract>
17
- <!-- 终止报建 -->
18
- <stop-install :stopapply="selectdata" v-if="showstop"></stop-install>
19
- <!-- 领料记录 -->
20
- <material_recording :infee="selectdata" v-if="show_material"></material_recording>
21
- </div>
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>
22
14
  </template>
23
15
  <script>
24
16
  import {HttpResetClass} from 'vue-client'
17
+ import Vue from 'vue'
25
18
  export default {
26
19
  title: '报建功能业务控制层',
27
20
  props: ['selectdata','funcdata'],
28
21
  data () {
29
22
  return {
30
- data:null,
31
- model:null,
32
- json_datas:null,
33
- showview:false,
34
-
35
- showreceivebatch:false,
36
- showcontract: false, // 补充协议
37
- showinfee: false, // 报建收费
38
- showprestorefee: false, // 开发商预存报建收费
39
- showstop: false, // 终止报建
40
- showbill: false, // 打印票据
41
- showpreparation: false, // 预付款
42
- show_material:false//报建材料
23
+ data: null,
24
+ show_data: null, // 给通用页面显示的数据
25
+ showview: false, // 控制通用页面
26
+ showUpload: false,
27
+ showstop: false, // 控制终止
28
+ showcancel: false // 控制撤销
43
29
  }
44
30
  },
31
+ ready () {
32
+ this.hasChange()
33
+ },
45
34
  methods: {
46
- // 派工单
47
- receiveBatch(){
48
- //this.$parent.$refs.installselectn(this.selectdata)
49
- // this.selectdata = row
50
- this.$parent.clishow= true
51
- this.$parent.show = false
52
-
53
- this.showreceivebatch = true
54
- this.show_material = false
55
- this.showview = false
56
- this.showinfee = false
57
- this.showprestorefee = false
58
- this.showupfee = false
59
- this.showreducefee = false
60
- this.showstop = false
61
- this.showcontract = false
62
- this.showbill = false
63
- this.showpreparation = false
64
- },
65
- // 领料记录
66
- materialRecord(){
67
- //this.$parent.$refs.installselectn(this.selectdata)
68
- // this.selectdata = row
69
- this.$parent.clishow= true
70
- this.$parent.show = false
71
-
72
- this.show_material = true
73
- this.showreceivebatch = false
74
- this.showview = false
75
- this.showinfee = false
76
- this.showprestorefee = false
77
- this.showupfee = false
78
- this.showreducefee = false
79
- this.showstop = false
80
- this.showcontract = false
81
- this.showbill = false
82
- this.showpreparation = false
83
- },
84
- // 预付款
85
- preparation(){
86
- //this.$parent.$refs.installselectn(this.selectdata)
87
- // this.selectdata = row
88
- this.$parent.clishow= true
89
- this.$parent.show = false
90
-
91
- this.showreceivebatch = false
92
- this.show_material = false
93
- this.showview = false
94
- this.showinfee = false
95
- this.showprestorefee = false
96
- this.showupfee = false
97
- this.showreducefee = false
98
- this.showstop = false
99
- this.showcontract = false
100
- this.showbill = false
101
- this.showpreparation = true
102
- },
103
- // 票据打印
104
- bill(){
105
- //this.$parent.$refs.installselectn(this.selectdata)
106
- // this.selectdata = row
107
- this.$parent.clishow= true
108
- this.$parent.show = false
109
-
110
- this.showreceivebatch = false
111
- this.showview = false
112
- this.showinfee = false
113
- this.showprestorefee = false
114
- this.showupfee = false
115
- this.showreducefee = false
116
- this.showstop = false
117
- this.showcontract = false
118
- this.showpreparation = false
119
- this.showbill = true
120
- this.show_material = false
121
- },
122
- // 补充合同
123
- contract() {
124
- //this.$parent.$refs.installselectn(this.selectdata)
125
- // this.selectdata = row
126
- this.$parent.clishow= true
127
- this.$parent.show = false
128
-
129
- this.showreceivebatch = false
130
- this.showview = false
131
- this.showinfee = false
132
- this.showprestorefee = false
133
- this.showupfee = false
134
- this.showreducefee = false
135
- this.showstop = false
136
- this.showbill = false
137
- this.showpreparation = false
138
- this.showcontract = true
139
- this.show_material = false
140
- },
141
- // 收费
142
- instalfee(str) {
143
- // this.$parent.$refs.installselect.clifun(this.selectdata)
144
- // this.selectdata = row
145
- this.$parent.clishow= true
146
- this.$parent.show = false
147
-
148
- this.showreceivebatch = false
149
- this.showview = false
150
- this.showupfee = false
151
- this.showreducefee = false
152
- this.showstop = false
153
- this.showcontract = false
154
- this.showbill = false
155
- this.showpreparation = false
156
- this.showprestorefee = false
157
- this.showinfee = false
158
- this.show_material = false
159
- // 采用开发商预付款方式收费
160
- if(str==='预付扣款'){
161
- this.showprestorefee = true
162
- }else {
163
- this.showinfee = true
164
- }
165
- },
166
- // 终止报建
167
- stopInstall() {
168
- // this.$dispatch('showline',this.selectdata)
169
- // this.$parent.$refs.installselect.clifun(this.selectdata)
170
- // this.selectdata = row
171
- this.$parent.clishow= true
172
- this.$parent.show = false
173
-
174
- this.showreceivebatch = false
175
- this.showview = false
176
- this.showbill = false
177
- this.showinfee = false
178
- this.showprestorefee = false
179
- this.showupfee = false
180
- this.showreducefee = false
181
- this.showcontract = false
182
- this.showpreparation = false
183
- this.showstop = false
184
- this.$nextTick(()=>{
185
- this.showstop = true
186
- })
187
- this.show_material = false
188
- },
189
-
190
-
191
-
192
35
  // json配置数据处理 比如下拉框的options
193
- async initializtion() {
194
- // selectdata 填充 data
195
- this.data=Object.assign({},this.data,this.selectdata)
196
- if(!this.data.fields){
197
- return
198
- }
199
- for(let i=0;i<this.data.fields.length;i++){
200
- if(this.selectdata[this.data.fields[i].field]){
201
- this.data.fields[i].value = this.selectdata[this.data.fields[i].field]
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
202
48
  }
203
- // 如果配置类型为select,获取options
204
- if(this.data.fields[i].type==='select'){
205
- console.log('获取"' + this.data.fields[i].label + '"参数结果=>' + JSON.stringify(this.$appdata.getParam(this.data.fields[i].label)))
206
- if(this.$appdata.getParam(this.data.fields[i].label)){
207
- console.log('不是undefined,该下拉框使用数据库参数')
208
- this.data.fields[i].options = this.$appdata.getParam(this.data.fields[i].label)
209
- }else{
210
- console.log('是undefined,该下拉框使用后台function_vue.json该field的默认下拉配置')
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
211
60
  }
212
61
  }
213
- if(typeof this.data.fields[i].value ==='string' && this.data.fields[i].value.startsWith("{")&&this.data.fields[i].value.endsWith("}")){
214
- this.data.fields[i].value = JSON.parse(this.data.fields[i].value)
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
+ }
215
69
  }
70
+ })
216
71
 
217
- if (this.data.fields[i].label == '县/区') {
218
- let loc = this.$login.f.f_orgids.split('.')
219
- // 获取区县
220
- console.log('初始化查询区县')
221
- let condition = `f_area is not null or f_area!=''`
222
- let http = new HttpResetClass()
223
- let res = await http.load('POST','rs/sql/singleTable_Final', {data: {items: 'f_area f_name',tablename: 't_user_address',orderitem: 'f_area',groupitem:'f_area',condition: condition}},{resolveMsg: null, rejectMsg: '获取区县失败!'})
224
- let areas = []
225
- res.data.forEach((row)=>{
226
- areas.push({label:row.f_name, value:row.f_name})
227
- })
228
- //修改:为了处理当只有一个县的时候,无法改变值触发change事件的问题
229
- areas.push({label:"请选择",value:""});
230
- this.data.fields[i].options = areas
231
- this.$refs.serviceview.update()
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
+ }
232
115
  }
233
116
  }
234
- },
235
- async hasChange(funcdata,row){
236
- this.selectdata = row
237
- if(funcdata.fields){
238
- if(funcdata){
239
- this.data = funcdata
240
- }else{
241
- this.data = this.funcdata
242
- }
243
117
 
244
- // 初始化要展示的数据结构
245
- this.initializtion()
246
- this.$parent.clishow= true
247
- this.$parent.show = false
118
+ console.log('------------onetomany-------------')
119
+ console.log(this.data.onetomany)
120
+ // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
121
+ let temp = JSON.parse(JSON.stringify(this.data))
248
122
 
123
+ this.show_data = temp
124
+ this.$nextTick(() => {
249
125
  this.showview = true
250
- this.showbill = false
251
- this.showinfee = false
252
- this.showprestorefee = false
253
- this.showcontract = false
254
- this.showpreparation = false
255
- this.showstop = false
256
- this.show_material = false
257
- }else if(this.funcdata){
258
- if(this.funcdata.title==='终止报建'){
259
- this.stopInstall()
260
- }
261
- if(this.funcdata.title==='预付扣款'){
262
- this.instalfee('预付扣款')
263
- }
264
- if(this.funcdata.title==='报建收费'){
265
- this.instalfee()
266
- }
267
- if(this.funcdata.title==='打印票据'){
268
- this.bill()
269
- }
270
- if(this.funcdata.title==='补充协议'){
271
- this.contract()
272
- }
273
- if(this.funcdata.title==='预付款'){
274
- this.preparation()
275
- }
276
- if(this.funcdata.title==='领料记录'){
277
- this.materialRecord()
278
- }
279
- if(this.funcdata.title==='派工单'){
280
- this.receiveBatch()
281
- }
282
- }else if(funcdata){
283
- if(funcdata.title==='终止报建'){
284
- this.stopInstall()
285
- }
286
- if(funcdata.title==='预付扣款'){
287
- this.instalfee('预付扣款')
288
- }
289
- if(funcdata.title==='报建收费'){
290
- this.instalfee()
291
- }
292
- if(funcdata.title==='打印票据'){
293
- this.bill()
294
- }
295
- if(funcdata.title==='补充协议'){
296
- this.contract()
297
- }
298
- if(funcdata.title==='预付款'){
299
- this.preparation()
300
- }
301
- if(funcdata.title==='领料记录'){
302
- this.materialRecord()
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
+ })
303
138
  }
304
- if(funcdata.title==='派工单'){
305
- this.receiveBatch()
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
306
151
  }
152
+ this.$nextTick(() => {
153
+ this.showview = true
154
+ })
307
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
+ // }
308
175
  }
309
176
  },
310
177
  events: {
311
- // 任意select选中时触发事件
312
- async 'select_cascade'(index){
313
- // 级联操作示例:
314
- /*
315
- if(this.data.activitys.ields[index].label==='报建类型'){
316
- for(let i=0;i<this.data.activitys.fields.length;i++){
317
- // 控制设置级联
318
- // 源select所选的值 this.data.activitys.fields[index].value
319
- if(this.data.activitys.fields[i].label==='级联测试2'){
320
- this.data.activitys.fields[i].options=[
321
- {label:'级联选项1',value:'级联选项1'},{label:'级联选项2',value:'级联选项2'},{label:'级联选项3',value:'级联选项3'}
322
- ]
323
- }
324
- }
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]
325
197
  }
326
- */
327
- if (this.$refs.serviceview.data.fields[index].label === '县/区') {
328
- let temp = this.$refs.serviceview.data.fields[index].value
329
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
330
- // 控制设置级联
331
- // 源select所选的值 this.$refs.serviceview.data.activitys.fields[index].value
332
- if (this.$refs.serviceview.data.fields[i].label === '乡镇') {
333
- this.$refs.serviceview.data.fields[i].value = ''
334
- this.$refs.serviceview.data.fields[i].options = []
335
- let rs = []
336
- console.log('县/区。。。', temp)
337
- // for (let j = 0; j < this.$login.f.f_allArea.length; j++) {
338
- // if (this.$login.f.f_allArea[j].label === temp) {
339
- // rs = this.$login.f.f_allArea[j].value
340
- // }
341
- // }
342
- let condition = `f_area = '${temp}' and (f_slice_area is not null or f_slice_area!='')`
343
- let http = new HttpResetClass()
344
- let res = await http.load('POST','rs/sql/singleTable_Final', {data: {items: 'f_slice_area f_name',tablename: 't_user_address',orderitem: 'f_slice_area',groupitem:'f_slice_area',condition: condition}},{resolveMsg: null, rejectMsg: '获取乡镇失败!'})
345
- let areas = []
346
- res.data.forEach((row)=>{
347
- areas.push({label:row.f_name, value:row.f_name})
348
- })
349
- console.log('获取乡镇=>' + JSON.stringify(areas))
350
- this.$refs.serviceview.data.fields[i].options = areas
351
- this.$refs.serviceview.update()
352
- }
353
- }
354
- }
198
+ let res = await http.load('POST', 'rs/logic/onetomanyDefaultDeleteEvent', {data: data}, {
199
+ resolveMsg: null,
200
+ rejectMsg: '删除失败'
201
+ })
355
202
 
356
- if (this.$refs.serviceview.data.fields[index].label === '乡镇') {
357
- let temp = this.$refs.serviceview.data.fields[index].value
358
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
359
- // 控制设置级联
360
- // 源select所选的值 this.$refs.serviceview.data.activitys.fields[index].value
361
- if (this.$refs.serviceview.data.fields[i].label === '街道') {
362
- this.$refs.serviceview.data.fields[i].value = ''
363
- this.$refs.serviceview.data.fields[i].options = []
364
- let rs = []
365
- console.log('乡镇。。。', temp)
366
- // for (let j = 0; j < this.$login.f.f_allArea.length; j++) {
367
- // if (this.$login.f.f_allArea[j].label === temp) {
368
- // rs = this.$login.f.f_allArea[j].value
369
- // }
370
- // }
371
- let condition = `f_slice_area = '${temp}' and (f_street is not null or f_street!='')`
372
- let http = new HttpResetClass()
373
- let res = await http.load('POST','rs/sql/singleTable_Final', {data: {items: 'f_street f_name',tablename: 't_user_address',orderitem: 'f_street',groupitem:'f_street',condition: condition}},{resolveMsg: null, rejectMsg: '获取街道失败!'})
374
- let areas = []
375
- res.data.forEach((row)=>{
376
- areas.push({label:row.f_name, value:row.f_name})
377
- })
378
- console.log('获取街道=>' + JSON.stringify(areas))
379
- this.$refs.serviceview.data.fields[i].options = areas
380
- this.$refs.serviceview.update()
381
- }
382
- }
383
- }
384
- if (this.$refs.serviceview.data.fields[index].label === '街道') {
385
- let temp = this.$refs.serviceview.data.fields[index].value
386
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
387
- // 控制设置级联
388
- // 源select所选的值 this.$refs.serviceview.data.activitys.fields[index].value
389
- if (this.$refs.serviceview.data.fields[i].label === '小区') {
390
- this.$refs.serviceview.data.fields[i].value = ''
391
- this.$refs.serviceview.data.fields[i].options = []
392
- let rs = []
393
- console.log('街道。。。', temp)
394
- // for (let j = 0; j < this.$login.f.f_allArea.length; j++) {
395
- // if (this.$login.f.f_allArea[j].label === temp) {
396
- // rs = this.$login.f.f_allArea[j].value
397
- // }
398
- // }
399
- let condition = `f_street ='${temp}' and (f_residential_area is not null or f_residential_area!='')`
400
- let http = new HttpResetClass()
401
- let res = await http.load('POST','rs/sql/singleTable_Final', {data: {items: 'f_residential_area f_name',tablename: 't_user_address',orderitem: 'f_residential_area',groupitem:'f_residential_area',condition: condition}},{resolveMsg: null, rejectMsg: '获取小区失败!'})
402
- let areas = []
403
- res.data.forEach((row)=>{
404
- areas.push({label:row.f_name, value:row.f_name})
405
- })
406
- console.log('获取小区=>' + JSON.stringify(areas))
407
- this.$refs.serviceview.data.fields[i].options = areas
408
- this.$refs.serviceview.update()
409
- }
410
- }
411
- }
412
- if (this.$refs.serviceview.data.fields[index].label === '小区') {
413
- let temp = this.$refs.serviceview.data.fields[index].value
414
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
415
- // 控制设置级联
416
- // 源select所选的值 this.$refs.serviceview.data.activitys.fields[index].value
417
- if (this.$refs.serviceview.data.fields[i].label === '楼号') {
418
- this.$refs.serviceview.data.fields[i].value = ''
419
- this.$refs.serviceview.data.fields[i].options = []
420
- let rs = []
421
- console.log('小区。。。', temp)
422
- // for (let j = 0; j < this.$login.f.f_allArea.length; j++) {
423
- // if (this.$login.f.f_allArea[j].label === temp) {
424
- // rs = this.$login.f.f_allArea[j].value
425
- // }
426
- // }
427
- let condition = `f_residential_area = '${temp}' and (f_building is not null or f_building!='')`
428
- let http = new HttpResetClass()
429
- let res = await http.load('POST','rs/sql/singleTable_Final', {data: {items: 'f_building f_name',tablename: 't_user_address',orderitem: 'f_building',groupitem:'f_building',condition: condition}},{resolveMsg: null, rejectMsg: '获取楼号失败!'})
430
- let areas = []
431
- res.data.forEach((row)=>{
432
- areas.push({label:row.f_name, value:row.f_name})
433
- })
434
- console.log('获取楼号=>' + JSON.stringify(areas))
435
- this.$refs.serviceview.data.fields[i].options = areas
436
- this.$refs.serviceview.update()
437
- }
438
- }
439
- }
203
+ if (res.data <= 0){
204
+ this.$showMessage('删除失败')
205
+ return
206
+ }
440
207
 
441
- if (this.$refs.serviceview.data.fields[index].label === '楼号') {
442
- let temp = this.$refs.serviceview.data.fields[index].value
443
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
444
- // 控制设置级联
445
- // 源select所选的值 this.$refs.serviceview.data.activitys.fields[index].value
446
- if (this.$refs.serviceview.data.fields[i].label === '单元号') {
447
- this.$refs.serviceview.data.fields[i].value = ''
448
- this.$refs.serviceview.data.fields[i].options = []
449
- let rs = []
450
- console.log('楼号。。。', temp)
451
- let condition = `f_building = '${temp}' and (f_unit is not null or f_unit!='')`
452
- let http = new HttpResetClass()
453
- let res = await http.load('POST','rs/sql/singleTable_Final', {data: {items: 'f_unit f_name',tablename: 't_user_address',orderitem: 'f_unit',groupitem:'f_unit',condition: condition}},{resolveMsg: null, rejectMsg: '获取单元号失败!'})
454
- let areas = []
455
- res.data.forEach((row)=>{
456
- areas.push({label:row.f_name, value:row.f_name})
457
- })
458
- console.log('获取单元号=>' + JSON.stringify(areas))
459
- this.$refs.serviceview.data.fields[i].options = areas
460
- this.$refs.serviceview.update()
461
- }
462
- }
463
- }
208
+ this.$dispatch('breakControl', this.show_data)
209
+ },
210
+ async 'onetomanyadd'(index) {
464
211
 
465
- if (this.$refs.serviceview.data.fields[index].label === '单元号') {
466
- let temp = this.$refs.serviceview.data.fields[index].value
467
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
468
- // 控制设置级联
469
- // 源select所选的值 this.$refs.serviceview.data.activitys.fields[index].value
470
- if (this.$refs.serviceview.data.fields[i].label === '楼层') {
471
- this.$refs.serviceview.data.fields[i].value = ''
472
- this.$refs.serviceview.data.fields[i].options = []
473
- let rs = []
474
- console.log('单元号。。。', temp)
475
- let condition = `f_unit = '${temp}' and (f_floor is not null or f_floor!='')`
476
- let http = new HttpResetClass()
477
- let res = await http.load('POST','rs/sql/singleTable_Final', {data: {items: 'f_floor f_name',tablename: 't_user_address',orderitem: 'f_floor',groupitem:'f_floor',condition: condition}},{resolveMsg: null, rejectMsg: '获取楼层失败!'})
478
- let areas = []
479
- res.data.forEach((row)=>{
480
- areas.push({label:row.f_name, value:row.f_name})
481
- })
482
- console.log('获取楼层=>' + JSON.stringify(areas))
483
- this.$refs.serviceview.data.fields[i].options = areas
484
- this.$refs.serviceview.update()
485
- }
486
- }
487
- }
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]
488
227
 
489
- if (this.$refs.serviceview.data.fields[index].label === '楼层') {
490
- let temp = this.$refs.serviceview.data.fields[index].value
491
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
492
- // 控制设置级联
493
- // 源select所选的值 this.$refs.serviceview.data.activitys.fields[index].value
494
- if (this.$refs.serviceview.data.fields[i].label === '门牌号') {
495
- this.$refs.serviceview.data.fields[i].value = ''
496
- this.$refs.serviceview.data.fields[i].options = []
497
- let rs = []
498
- console.log('楼层。。。', temp)
499
- let condition = `f_floor = '${temp}' and (f_room is not null or f_room!='')`
500
- let http = new HttpResetClass()
501
- let res = await http.load('POST','rs/sql/singleTable_Final', {data: {items: 'f_room f_name',tablename: 't_user_address',orderitem: 'f_room',groupitem:'f_room',condition: condition}},{resolveMsg: null, rejectMsg: '获取门牌号失败!'})
502
- let areas = []
503
- res.data.forEach((row)=>{
504
- areas.push({label:row.f_name, value:row.f_name})
505
- })
506
- console.log('获取门牌号=>' + JSON.stringify(areas))
507
- this.$refs.serviceview.data.fields[i].options = areas
508
- this.$refs.serviceview.update()
509
- }
510
- }
511
- }
512
- // 合成地址
513
- if (
514
- this.$refs.serviceview.data.fields[index].label === '县/区' ||
515
- this.$refs.serviceview.data.fields[index].label === '乡镇' ||
516
- this.$refs.serviceview.data.fields[index].label === '街道' ||
517
- this.$refs.serviceview.data.fields[index].label === '小区' ||
518
- this.$refs.serviceview.data.fields[index].label === '单位名称' ||
519
- this.$refs.serviceview.data.fields[index].label === '楼号' ||
520
- this.$refs.serviceview.data.fields[index].label === '单元号' ||
521
- this.$refs.serviceview.data.fields[index].label === '楼层' ||
522
- this.$refs.serviceview.data.fields[index].label === '门牌号'
523
- ) {
524
- console.log('即将合成地址')
525
- var address = ''
526
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
527
- // 控制设置级联
528
- // 源select所选的值 this.$refs.serviceview.data.activitys.fields[index].value
529
- // xxx xx xxx
530
- if (this.$refs.serviceview.data.fields[i].label === '县/区' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
531
- address += this.$refs.serviceview.data.fields[i].value
532
- }else if(this.$refs.serviceview.data.fields[i].label === '县/区' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object'){
533
- address += this.$refs.serviceview.data.fields[i].value.name
534
- }else {
535
- let a =this.$refs.serviceview.data.fields[i].value
536
- console.log(`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx${JSON.stringify(a)}让`)
537
- }
538
- if (this.$refs.serviceview.data.fields[i].label === '乡镇' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
539
- address += this.$refs.serviceview.data.fields[i].value
540
- }else if (this.$refs.serviceview.data.fields[i].label === '乡镇' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object') {
541
- address += this.$refs.serviceview.data.fields[i].value.name
542
- }
543
- if (this.$refs.serviceview.data.fields[i].label === '街道' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
544
- address += this.$refs.serviceview.data.fields[i].value
545
- }else if (this.$refs.serviceview.data.fields[i].label === '街道' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object'){
546
- address += this.$refs.serviceview.data.fields[i].value.name
547
- }
548
- if (this.$refs.serviceview.data.fields[i].label === '小区' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
549
- address += this.$refs.serviceview.data.fields[i].value
550
- }else if (this.$refs.serviceview.data.fields[i].label === '小区' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object'){
551
- address += this.$refs.serviceview.data.fields[i].value.name
552
- }
553
- if (this.$refs.serviceview.data.fields[i].label === '单位名称' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
554
- address += this.$refs.serviceview.data.fields[i].value
555
- }else if (this.$refs.serviceview.data.fields[i].label === '单位名称' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object'){
556
- address += this.$refs.serviceview.data.fields[i].value.name
557
- }
558
- if (this.$refs.serviceview.data.fields[i].label === '楼号' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
559
- address += this.$refs.serviceview.data.fields[i].value+ '栋'
560
- }else if (this.$refs.serviceview.data.fields[i].label === '楼号' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object'){
561
- address += this.$refs.serviceview.data.fields[i].value.name
562
- }
563
- if (this.$refs.serviceview.data.fields[i].label === '单元号' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
564
- address +=this.$refs.serviceview.data.fields[i].value+ '单元'
565
- }else if (this.$refs.serviceview.data.fields[i].label === '单元号' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object'){
566
- address +=this.$refs.serviceview.data.fields[i].value.name
567
- }
568
- if (this.$refs.serviceview.data.fields[i].label === '楼层' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
569
- address += this.$refs.serviceview.data.fields[i].value+ '层'
570
- }else if (this.$refs.serviceview.data.fields[i].label === '楼层' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object'){
571
- address += this.$refs.serviceview.data.fields[i].value.name
572
- }
573
- if (this.$refs.serviceview.data.fields[i].label === '门牌号' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'string') {
574
- address += this.$refs.serviceview.data.fields[i].value+ '室'
575
- }else if (this.$refs.serviceview.data.fields[i].label === '门牌号' && this.$refs.serviceview.data.fields[i].value && typeof this.$refs.serviceview.data.fields[i].value === 'object'){
576
- address += this.$refs.serviceview.data.fields[i].value.name
577
- }
578
- }
579
- console.log('获取到的address=>' + address)
580
- // 数据获取完毕时放入地址text
581
- for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
582
- if (this.$refs.serviceview.data.fields[i].label === '地址') {
583
- this.$refs.serviceview.data.fields[i].value = address
584
- console.log('修改fields[i].value后的值=>' + this.$refs.serviceview.data.fields[i].value)
585
- }
586
- }
587
- }
588
- this.$refs.serviceview.update()
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)
589
237
  },
590
- // 获取view层button事件
591
- async 'button'(model){
592
- model=Object.assign({},this.selectdata,model)
593
- console.log("button事件接收参数:",model)
594
- // console.log("this.data=>" + JSON.stringify(this.data))
595
- let type = '通用业务'
596
- if(this.data.title == '信息变更'){
597
- type = '信息变更'
598
- }
599
- // 下发,提交,保存,退回都在后台处理
600
- let http = new HttpResetClass();
601
- let res = await http.load('POST','rs/logic/ApplyProductFunctionService',{data:{tables:this.funcdata.tables,model:model,loginUser:this.$login.f, type: type}}, {resolveMsg: null, rejectMsg: '数据保存失败'})
602
- console.log("service处理完成返回数据:",JSON.stringify(res.data))
603
- if(res.code=200){
604
- this.$dispatch('hiddenbtn')
605
- this.showview= false
606
- }else{
607
- throw res.data.msg
608
- }
238
+ // onetomany模态框事件
239
+ async 'onchange_modal'(index, i) {
609
240
  }
610
241
  },
611
- // watch:{
612
- // 'selectdata.f_process_id'(){
613
- // this.selectdata = this.selectdata
614
- // },
615
- // deep:true
616
- // }
242
+ watch:{
243
+ }
617
244
  }
618
245
  </script>