From e4859456c25e5cae37b2899d6140dd01d046d08b Mon Sep 17 00:00:00 2001 From: lzx_mac <2602107437@qq.com> Date: Sat, 26 Oct 2024 15:42:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/cityHome/entity/CityHome.java | 12 +++++++ .../jeecg/modules/cityHome/vue/CityHomeList.vue | 18 +++++++++++ .../modules/cityHome/vue/modules/CityHomeForm.vue | 15 +++++++++ .../jeecg/modules/cityHome/vue3/CityHome.data.ts | 30 ++++++++++++++++++ .../modules/api/yaoduapi/YaoDuApiController.java | 37 ++++++++++++++++++++++ 5 files changed, 112 insertions(+) diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/entity/CityHome.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/entity/CityHome.java index 0b4f9ee..02bf9eb 100644 --- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/entity/CityHome.java +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/entity/CityHome.java @@ -125,4 +125,16 @@ public class CityHome implements Serializable { @Excel(name = "纬度", width = 15) @ApiModelProperty(value = "纬度") private java.lang.String latitude; + /**一室一卫*/ + @Excel(name = "一室一卫", width = 15) + @ApiModelProperty(value = "一室一卫") + private java.lang.String home; + /**优选*/ + @Excel(name = "优选", width = 15) + @ApiModelProperty(value = "优选") + private java.lang.String isGood; + /**低价*/ + @Excel(name = "低价", width = 15) + @ApiModelProperty(value = "低价") + private java.lang.String isMinPrice; } diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/CityHomeList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/CityHomeList.vue index 9f1d22d..c7e9403 100644 --- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/CityHomeList.vue +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/CityHomeList.vue @@ -244,6 +244,21 @@ align:"center", dataIndex: 'latitude' }, + { + title:'一室一卫', + align:"center", + dataIndex: 'home' + }, + { + title:'优选', + align:"center", + dataIndex: 'isGood' + }, + { + title:'低价', + align:"center", + dataIndex: 'isMinPrice' + }, { title: '操作', dataIndex: 'action', @@ -298,6 +313,9 @@ fieldList.push({type:'string',value:'num',text:'浏览量',dictCode:''}) fieldList.push({type:'string',value:'longitude',text:'经度',dictCode:''}) fieldList.push({type:'string',value:'latitude',text:'纬度',dictCode:''}) + fieldList.push({type:'string',value:'home',text:'一室一卫',dictCode:''}) + fieldList.push({type:'string',value:'isGood',text:'优选',dictCode:''}) + fieldList.push({type:'string',value:'isMinPrice',text:'低价',dictCode:''}) this.superFieldList = fieldList } } diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/modules/CityHomeForm.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/modules/CityHomeForm.vue index 120e35d..860bd6a 100644 --- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/modules/CityHomeForm.vue +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/modules/CityHomeForm.vue @@ -98,6 +98,21 @@ + + + + + + + + + + + + + + + diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue3/CityHome.data.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue3/CityHome.data.ts index 04793b1..12956fb 100644 --- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue3/CityHome.data.ts +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue3/CityHome.data.ts @@ -106,6 +106,21 @@ export const columns: BasicColumn[] = [ align:"center", dataIndex: 'latitude' }, + { + title: '一室一卫', + align:"center", + dataIndex: 'home' + }, + { + title: '优选', + align:"center", + dataIndex: 'isGood' + }, + { + title: '低价', + align:"center", + dataIndex: 'isMinPrice' + }, ]; //查询数据 export const searchFormSchema: FormSchema[] = [ @@ -233,4 +248,19 @@ export const formSchema: FormSchema[] = [ field: 'latitude', component: 'Input', }, + { + label: '一室一卫', + field: 'home', + component: 'Input', + }, + { + label: '优选', + field: 'isGood', + component: 'Input', + }, + { + label: '低价', + field: 'isMinPrice', + component: 'Input', + }, ]; diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/yaoduapi/YaoDuApiController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/yaoduapi/YaoDuApiController.java index dbdb4b9..e73f5d7 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/yaoduapi/YaoDuApiController.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/yaoduapi/YaoDuApiController.java @@ -71,6 +71,14 @@ public class YaoDuApiController { } + //根据分类获取帖子详情 + @ApiOperation(value="根据分类获取帖子详情") + @GetMapping(value = "/getPostDetail") + public Result getPostDetail(String id) { + return yaoDuApiService.getPostDetail(id); + } + + //根据分类获取租房信息列表带分页带搜索 @ApiOperation(value="根据分类获取租房信息列表") @GetMapping(value = "/getRentPage") @@ -78,6 +86,13 @@ public class YaoDuApiController { return yaoDuApiService.getRentPage(pageBean); } + //根据分类获取租房详情 + @ApiOperation(value="根据分类获取租房详情") + @GetMapping(value = "/getRentDetail") + public Result getRentDetail(String id) { + return yaoDuApiService.getRentDetail(id); + } + //根据分类获取工作信息列表带分页带搜索 @@ -87,6 +102,13 @@ public class YaoDuApiController { return yaoDuApiService.getJobPage(pageBean); } + //根据分类获取工作详情 + @ApiOperation(value="根据分类获取工作详情") + @GetMapping(value = "/getJobDetail") + public Result getJobDetail(String id) { + return yaoDuApiService.getJobDetail(id); + } + //根据分类获取门店信息列表带分页带搜索 @@ -96,6 +118,13 @@ public class YaoDuApiController { return yaoDuApiService.getStorePage(pageBean); } + //根据分类获取门店详情 + @ApiOperation(value="根据分类获取门店详情") + @GetMapping(value = "/getStoreDetail") + public Result getStoreDetail(String id) { + return yaoDuApiService.getStoreDetail(id); + } + //获取活动列表信息 @ApiOperation(value="获取活动列表信息") @@ -105,6 +134,14 @@ public class YaoDuApiController { } + //获取活动详情 + @ApiOperation(value="获取活动详情") + @GetMapping(value = "/getActivityDetail") + public Result getActivityDetail(String id) { + return yaoDuApiService.getActivityDetail(id); + } + + //发布按钮列表 @ApiOperation(value="发布按钮列表") @GetMapping(value = "/getPublishList")