移动端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

application.js 5.8 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. import request from '@/utils/request'
  2. //查询列表
  3. export function getList(data){
  4. return request({
  5. url:'/open/home/mobile/proposer/list',
  6. method:'get',
  7. params:data
  8. })
  9. }
  10. // 查询用地建房申请公示列表
  11. export function getGsList(query) {
  12. return request({
  13. url: '/home/homeapplyydjfsq/gsList',
  14. method: 'get',
  15. params: query
  16. })
  17. }
  18. //获取申请单明细
  19. export function allInformation(id){
  20. return request({
  21. url:'/home/allinformation/'+id,
  22. method:'get',
  23. })
  24. }
  25. // 获取用地建房申请证书
  26. export function getCertificate(id) {
  27. return request({
  28. url: '/home/homeapplyydjfsq/certificate/' + id,
  29. method: 'get'
  30. })
  31. }
  32. //获取申请单明细
  33. export function allInformationAnnounce(id){
  34. return request({
  35. url:'/home/allinformation/'+id+'?type=announce',
  36. method:'get',
  37. })
  38. }
  39. //获取文件配置
  40. export function treeSingleProcessView(data){
  41. return request({
  42. url:'/open/home/mobile/treeSingleProcessView',
  43. method:'get',
  44. params:data
  45. })
  46. }
  47. //获取上传附件
  48. export function attachmentFind(data){
  49. return request({
  50. url:'/open/home/mobile/find',
  51. method:'get',
  52. params:data
  53. })
  54. }
  55. //保存申请
  56. export function saveHomeBaseInfo(data){
  57. return request({
  58. url:'/open/home/mobile/saveHomeBaseInfo',
  59. method:'post',
  60. data:data
  61. })
  62. }
  63. //提交申请
  64. export function saveHouseBaseInfoThenSubmit(data){
  65. return request({
  66. url:'/home/custom/saveHouseBaseInfoThenSubmit',
  67. method:'post',
  68. data:data
  69. })
  70. }
  71. //同意审批
  72. export function agreeApply(data){
  73. return request({
  74. url:'/open/home/mobile/agreeApply',
  75. method:'post',
  76. data:data
  77. })
  78. }
  79. //驳回审批
  80. export function rejectApply(data){
  81. return request({
  82. url:'/open/home/mobile/rejectApply',
  83. method:'post',
  84. data:data
  85. })
  86. }
  87. //上传图片
  88. export function attach(data){
  89. console.log(data)
  90. return request({
  91. url:'/common/attach',
  92. method:'post',
  93. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  94. data:data
  95. })
  96. }
  97. //批量上传图片
  98. export function attachs(data){
  99. return request({
  100. url:'/common/attachs',
  101. method:'post',
  102. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  103. data:data
  104. })
  105. }
  106. //删除列表项
  107. export function removeList(id){
  108. return request({
  109. url:'/open/home/mobile/proposer/remove/'+id,
  110. method:'get'
  111. })
  112. }
  113. //删除附件
  114. export function removeFile(id){
  115. return request({
  116. url:'/open/home/mobile/fileRemove/'+id,
  117. method:'get'
  118. })
  119. }
  120. //获取户主信息
  121. export function getHomeMembers(data){
  122. return request({
  123. url:'/open/home/mobile/getHomeMembers',
  124. method:'get',
  125. params:data
  126. })
  127. }
  128. //获取申请单明细 WLHT
  129. export function allInformationWLHT(id){
  130. return request({
  131. url:'/open/home/mobile/getYdjfsq/'+id,
  132. method:'get',
  133. })
  134. }
  135. // 查询文件配置树
  136. export function getAttachmentConfigTree(query) {
  137. return request({
  138. url: '/open/home/mobile/getAttachmentConfigTree',
  139. method: 'get',
  140. params: query
  141. })
  142. }
  143. // 新增地房申请-申请人
  144. export function addProposer(data) {
  145. return request({
  146. url: '/home/custom/saveHouseBaseInfo',
  147. method: 'post',
  148. data: data
  149. })
  150. }
  151. //检查是否重复建房
  152. export function checkDuplicateBuilding(query) {
  153. return request({
  154. url: '/open/home/mobile/checkDuplicateBuilding',
  155. method: 'get',
  156. params: query
  157. })
  158. }
  159. // 查询农房户型列表
  160. export function listHomeapplytype(query) {
  161. return request({
  162. url: '/open/home/mobile/tytzList',
  163. method: 'get',
  164. params: query
  165. })
  166. }
  167. //查询宅地信息
  168. export function checkDuplicateBuildingQuery(idcard) {
  169. return request({
  170. url: '/open/home/mobile/applyDetail/' + idcard,
  171. method: 'get'
  172. })
  173. }
  174. //乌兰浩特申请单人操作
  175. export function customSubmitWLHT(id) {
  176. return request({
  177. url: '/open/home/mobile/publish/' + id,
  178. method: 'post'
  179. })
  180. }
  181. //新增地房申请(新)
  182. export function submitApplication(id) {
  183. return request({
  184. url: '/open/home/mobile/submitApplication/' + id,
  185. method: 'post'
  186. })
  187. }
  188. // 新增地房申请-开工申请(新)
  189. export function submitStart(id) {
  190. return request({
  191. url: '/open/home/mobile/submitStart/'+id,
  192. method: 'post',
  193. })
  194. }
  195. // 新增地房申请-开工申请
  196. export function submitStartWLHT(id) {
  197. return request({
  198. url: '/open/home/mobile/publishStart/'+id,
  199. method: 'post',
  200. })
  201. }
  202. // 修改地房申请-开工申请
  203. export function updateStart(data) {
  204. return request({
  205. url: '/home/start/edit',
  206. method: 'post',
  207. data: data
  208. })
  209. }
  210. // 提交地房申请-验收意见(新)
  211. export function submitCheck(id) {
  212. return request({
  213. url: '/open/home/mobile/submitCheck/'+id,
  214. method: 'post',
  215. })
  216. }
  217. // 提交地房申请-验收意见(乌兰浩特 简化流程)
  218. export function submitEndWLHT(id) {
  219. return request({
  220. url: '/open/home/mobile/publishCheck/'+id,
  221. method: 'post',
  222. })
  223. }
  224. // 获取用地建房申请状态信息
  225. export function getHomeapplyydjfsqStatus(id) {
  226. return request({
  227. url: '/open/home/mobile/homeApplyStatus/' + id,
  228. method: 'get'
  229. })
  230. }
  231. //查询当前登录账号坐标
  232. export function getQueryLand(id) {
  233. return request({
  234. url: '/open/home/mobile/get/current/' + id,
  235. method: 'get'
  236. })
  237. }
  238. //查询当前登录账号坐标
  239. export function getWorkflow(deptId) {
  240. return request({
  241. url: '/open/home/mobile/workflow?deptId='+deptId,
  242. method: 'get'
  243. })
  244. }
  245. // 查询农户信息
  246. export function selectProposerNh(data) {
  247. return request({
  248. url: '/open/home/mobile/queryHomeBaseNh' ,
  249. method: 'get',
  250. params: data
  251. })
  252. }
  253. //驳回提交清空历史审批记录
  254. export function updateOpretion(id) {
  255. return request({
  256. url: '/home/custom/updateOpretion/' + id,
  257. method: 'post'
  258. })
  259. }
  260. //获取用地建房申请状态信息
  261. export function getHomeApplyStatus(id) {
  262. return request({
  263. url: '/open/home/mobile/homeApplyStatusNew/'+id,
  264. method: 'get'
  265. })
  266. }