diff --git a/src/router/index.js b/src/router/index.js index 6a92d41afb153be7326583989b69b986acf19a52..742769e0c349325173fc1fc3ee5ea6b98c820219 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -121,58 +121,47 @@ let router = new VueRouter({ component:()=>import('@/views/test/menzhen/xiyaotemplate/xiyao.vue'), }, - {path:'/zhongyao', - component:()=>import('@/views/test/menzhen/zhongyaotemplate/zhongyao.vue'), - - }, - {path:'/yijijianyan', - component:()=>import('@/views/test/yijichuli/jianyan.vue'), - - }, - {path:'/yijijiancha', - component:()=>import('@/views/test/yijichuli/jiancha.vue'), - - }, - {path:'/yijiguanli', - component:()=>import('@/views/test/yijichuli/yijiguanli.vue'), - - }, - {path:'/huanzhechuli', - component:()=>import('@/views/test/yijichuli/huanzhechuli.vue'), - - }, - {path:'/yaofangfayao', - component:()=>import('@/views/test/yaofangguanli/yaofangfayao.vue'), - - }, - {path:'/yaofangtuiyao', - component:()=>import('@/views/test/yaofangguanli/yaofangtuiyao.vue'), - - }, - {path:'/yaopinguanli', - component:()=>import('@/views/test/yaofangguanli/yaopinguanli.vue'), - }, - {path:'/file', - component:()=>import('@/views/file.vue'), + { + path:'/zhongyao', + component:()=>import('@/views/test/menzhen/zhongyaotemplate/zhongyao.vue'), + }, { + path:'/yijijianyan', + component:()=>import('@/views/test/yijichuli/jianyan.vue'), }, { + path:'/yijijiancha', + component:()=>import('@/views/test/yijichuli/jiancha.vue'), + }, { + path:'/yijiguanli', + component:()=>import('@/views/test/yijichuli/yijiguanli.vue'), + }, { + path:'/huanzhechuli', + component:()=>import('@/views/test/yijichuli/huanzhechuli.vue'), + }, { + path:'/yaofangfayao', + component:()=>import('@/views/test/yaofangguanli/yaofangfayao.vue'), + },{ + path:'/yaofangtuiyao', + component:()=>import('@/views/test/yaofangguanli/yaofangtuiyao.vue'), + },{ + path:'/yaopinguanli', + component:()=>import('@/views/test/yaofangguanli/yaopinguanli.vue'), + },{ + path:'/file', + component:()=>import('@/views/file.vue'), + },{ path: '/test/teacher', component: ()=>import('@/views/test/teacher'), - } ,{ - path: '/test/student', - component: ()=>import('@/views/test/student'), - } ,{ + },{ path: '/room/detail', component: ()=>import('@/views/test/guahao/roomdetail'), - } ,{ + },{ path: '/room/applyroom', component: ()=>import('@/views/test/guahao/applyroom'), - } ,{ + },{ path: '/room/purchaseroom', component: ()=>import('@/views/test/guahao/purchaseroom'), - } - // - ,{ + },{ path: '/pendingprocess', component: ()=>import('@/views/test/guahao/pendingprocess'), } diff --git a/src/utils/payM.js b/src/utils/payM.js index d5c18acb90a51344e77be581aa408db9a796a07d..c6bdffd6b4600a37760baf0cf6e2adcfee4fbc64 100644 --- a/src/utils/payM.js +++ b/src/utils/payM.js @@ -16,6 +16,11 @@ export const updateRoom = (params) => { return req("post", "/api/room/update", p //所有房屋汇总查询 export const listAll = (params) => { return req("post", "/api/room/listAll", params)}; + +//所有房屋汇总查询 +export const AllRoom = (params) => { return req("post", "/api/room/AllRoom", params)}; + + //审批房间状态 export const approve = (params) => { return req("post", "/api/room/approve", params)}; @@ -37,4 +42,6 @@ export const judgere = (params) => { return req("post", "/api/roominfo/judgere", //申请看房 export const applicantroom = (params) => { return req("post", "/api/applicant/applicantroom", params)}; // 所有申请列表 listAll -export const applicantlistAll = (params) => { return req("post", "/api/applicant/listAll", params)}; \ No newline at end of file +export const applicantlistAll = (params) => { return req("post", "/api/applicant/listAll", params)}; +//处理申请 +export const handleApply = (params) => { return req("post", "/api/applicant/handle", params)}; \ No newline at end of file diff --git a/src/views/test/guahao/applyroom.vue b/src/views/test/guahao/applyroom.vue index b17b86449b56d7df969dd7b877fc6587761c22d5..286d927bcda1f3fca8b894f1ec1d9ea4efc82038 100644 --- a/src/views/test/guahao/applyroom.vue +++ b/src/views/test/guahao/applyroom.vue @@ -28,6 +28,10 @@ + + + + @@ -46,8 +50,9 @@ @@ -60,7 +65,7 @@ diff --git a/src/views/test/guahao/roomdetail.vue b/src/views/test/guahao/roomdetail.vue index 32edacf408ad8b036ef8e347ef1de48dd124698a..aff0e4bc6296200b3f536b3f738592840a06e93d 100644 --- a/src/views/test/guahao/roomdetail.vue +++ b/src/views/test/guahao/roomdetail.vue @@ -37,43 +37,49 @@ 发布类型:出售
- 申请看房 - 租赁 - 购买 + 申请看房 + 租赁 + 购买
- - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +