diff --git a/src/api/onlineHome/homestead/mortgage.js b/src/api/onlineHome/homestead/mortgage.js new file mode 100644 index 00000000..5d9cf810 --- /dev/null +++ b/src/api/onlineHome/homestead/mortgage.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +//查询列表 +export function getList(data){ + return request({ + url:'/house/mobile/dy/list', + method:'get', + params:data + }) +} + +//删除列表项 +export function removeList(id){ + return request({ + url:'/house/dy/remove/'+id, + method:'get' + }) +} + +//宅基地流转详情 +export function getDy(id){ + return request({ + url:'/house/dy/get/'+id, + method:'get' + }) +} + +//宅基地流转详情 +export function dyAdd(data){ + return request({ + url:'/house/dy/add', + method:'post', + data:data + }) +} + +//宅基地流转保存 +export function dyEdit(data){ + return request({ + url:'/house/dy/edit', + method:'post', + data:data + }) +} + +//宅基地流转提交 +export function dyApply(id){ + return request({ + url:'/house/dy/submitApply/'+id, + method:'post', + }) +} diff --git a/src/router/index.js b/src/router/index.js index bc2bd360..38006378 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -752,6 +752,24 @@ export const constantRoutes = [ hidden: true, }, component: (resolve) => require(['@/views/onlineHome/homestead/circulation/circulationModify'], resolve) + }, + { + path: '/mortgageDetail', + name: 'mortgageDetail', + meta: { + title: '查看使用权抵押', + hidden: true, + }, + component: (resolve) => require(['@/views/onlineHome/homestead/mortgage/mortgageDetail'], resolve) + }, + { + path: '/mortgageModify', + name: 'mortgageModify', + meta: { + title: '修改使用权抵押', + hidden: true, + }, + component: (resolve) => require(['@/views/onlineHome/homestead/mortgage/mortgageModify'], resolve) } ]; diff --git a/src/views/onlineHome/homestead/mortgage/mortgageAdd.vue b/src/views/onlineHome/homestead/mortgage/mortgageAdd.vue index 982282e8..21018172 100644 --- a/src/views/onlineHome/homestead/mortgage/mortgageAdd.vue +++ b/src/views/onlineHome/homestead/mortgage/mortgageAdd.vue @@ -10,186 +10,265 @@

使用抵押权

- -
- + + + - - - - - - - - - + + + + + + + + - - - -
+ + -
- + + + - - - - - + + + + - - - -
+ + -
- + + + - - - - - - - + + + + + + - - - -
+ + -
- - -
+
+ + +
-
- - - 关闭 - - - 保存 - - -
-
- -
+
+ + + 关闭 + + + 保存 + + +
+
diff --git a/src/views/onlineHome/homestead/mortgage/mortgageDetail.vue b/src/views/onlineHome/homestead/mortgage/mortgageDetail.vue new file mode 100644 index 00000000..64bdfac9 --- /dev/null +++ b/src/views/onlineHome/homestead/mortgage/mortgageDetail.vue @@ -0,0 +1,144 @@ + + + + + diff --git a/src/views/onlineHome/homestead/mortgage/mortgageList.vue b/src/views/onlineHome/homestead/mortgage/mortgageList.vue index b4188097..d507faa2 100644 --- a/src/views/onlineHome/homestead/mortgage/mortgageList.vue +++ b/src/views/onlineHome/homestead/mortgage/mortgageList.vue @@ -5,6 +5,7 @@ fixed placeholder @click-left="$router.back(-1)" + @click-right="goAdd" > - - - - @@ -58,7 +126,7 @@ export default { padding: 0.2rem 3%; } /deep/.van-cell__title{ - flex: 0.7; + flex: 0.9; } /deep/.van-cell__title span{ font-family: Arial; @@ -66,7 +134,7 @@ export default { font-weight: normal; } /deep/.van-cell__value{ - flex: 0.3; + flex: 0.1; color: #1D6FE9; font-weight: bold; } diff --git a/src/views/onlineHome/homestead/mortgage/mortgageModify.vue b/src/views/onlineHome/homestead/mortgage/mortgageModify.vue new file mode 100644 index 00000000..9fb4f60d --- /dev/null +++ b/src/views/onlineHome/homestead/mortgage/mortgageModify.vue @@ -0,0 +1,316 @@ + + + + +