From 71d4474c23afef1ef58b97ce205fb18ef22ce335 Mon Sep 17 00:00:00 2001 From: VISCARIA01 <1508512256@qq.com> Date: Mon, 29 Jan 2024 21:18:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/test/student/index.vue | 34 -------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/views/test/student/index.vue diff --git a/src/views/test/student/index.vue b/src/views/test/student/index.vue deleted file mode 100644 index c824545..0000000 --- a/src/views/test/student/index.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - - - -- Gitee From 6b9f0420c6b102c51e0feab02c9616e018768b28 Mon Sep 17 00:00:00 2001 From: VISCARIA01 <1508512256@qq.com> Date: Tue, 20 Feb 2024 22:18:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E6=B1=87=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 73 ++++++++++------------- src/utils/payM.js | 9 ++- src/views/test/guahao/applyroom.vue | 48 ++++++++++----- src/views/test/guahao/roomdetail.vue | 88 +++++++++++++++++----------- src/views/test/guahao/tuihao.vue | 10 ++-- 5 files changed, 130 insertions(+), 98 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 6a92d41..742769e 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 d5c18ac..c6bdffd 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 b17b864..286d927 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 32edacf..aff0e4b 100644 --- a/src/views/test/guahao/roomdetail.vue +++ b/src/views/test/guahao/roomdetail.vue @@ -37,43 +37,49 @@ 发布类型:出售
- 申请看房 - 租赁 - 购买 + 申请看房 + 租赁 + 购买
- - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +