Browse Source

详情

master
主管理员 4 months ago
parent
commit
e4859456c2
5 changed files with 112 additions and 0 deletions
  1. +12
    -0
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/entity/CityHome.java
  2. +18
    -0
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/CityHomeList.vue
  3. +15
    -0
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/modules/CityHomeForm.vue
  4. +30
    -0
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue3/CityHome.data.ts
  5. +37
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/yaoduapi/YaoDuApiController.java

+ 12
- 0
jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/entity/CityHome.java View File

@ -125,4 +125,16 @@ public class CityHome implements Serializable {
@Excel(name = "纬度", width = 15) @Excel(name = "纬度", width = 15)
@ApiModelProperty(value = "纬度") @ApiModelProperty(value = "纬度")
private java.lang.String latitude; 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;
} }

+ 18
- 0
jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/CityHomeList.vue View File

@ -244,6 +244,21 @@
align:"center", align:"center",
dataIndex: 'latitude' dataIndex: 'latitude'
}, },
{
title:'一室一卫',
align:"center",
dataIndex: 'home'
},
{
title:'优选',
align:"center",
dataIndex: 'isGood'
},
{
title:'低价',
align:"center",
dataIndex: 'isMinPrice'
},
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
@ -298,6 +313,9 @@
fieldList.push({type:'string',value:'num',text:'浏览量',dictCode:''}) fieldList.push({type:'string',value:'num',text:'浏览量',dictCode:''})
fieldList.push({type:'string',value:'longitude',text:'经度',dictCode:''}) fieldList.push({type:'string',value:'longitude',text:'经度',dictCode:''})
fieldList.push({type:'string',value:'latitude',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 this.superFieldList = fieldList
} }
} }


+ 15
- 0
jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue/modules/CityHomeForm.vue View File

@ -98,6 +98,21 @@
<a-input v-model="model.latitude" placeholder="请输入纬度" ></a-input> <a-input v-model="model.latitude" placeholder="请输入纬度" ></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="24">
<a-form-model-item label="一室一卫" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="home">
<a-input v-model="model.home" placeholder="请输入一室一卫" ></a-input>
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="优选" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="isGood">
<a-input v-model="model.isGood" placeholder="请输入优选" ></a-input>
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="低价" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="isMinPrice">
<a-input v-model="model.isMinPrice" placeholder="请输入低价" ></a-input>
</a-form-model-item>
</a-col>
</a-row> </a-row>
</a-form-model> </a-form-model>
</j-form-container> </j-form-container>


+ 30
- 0
jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/cityHome/vue3/CityHome.data.ts View File

@ -106,6 +106,21 @@ export const columns: BasicColumn[] = [
align:"center", align:"center",
dataIndex: 'latitude' dataIndex: 'latitude'
}, },
{
title: '一室一卫',
align:"center",
dataIndex: 'home'
},
{
title: '优选',
align:"center",
dataIndex: 'isGood'
},
{
title: '低价',
align:"center",
dataIndex: 'isMinPrice'
},
]; ];
//查询数据 //查询数据
export const searchFormSchema: FormSchema[] = [ export const searchFormSchema: FormSchema[] = [
@ -233,4 +248,19 @@ export const formSchema: FormSchema[] = [
field: 'latitude', field: 'latitude',
component: 'Input', component: 'Input',
}, },
{
label: '一室一卫',
field: 'home',
component: 'Input',
},
{
label: '优选',
field: 'isGood',
component: 'Input',
},
{
label: '低价',
field: 'isMinPrice',
component: 'Input',
},
]; ];

+ 37
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/yaoduapi/YaoDuApiController.java View File

@ -71,6 +71,14 @@ public class YaoDuApiController {
} }
//根据分类获取帖子详情
@ApiOperation(value="根据分类获取帖子详情")
@GetMapping(value = "/getPostDetail")
public Result<?> getPostDetail(String id) {
return yaoDuApiService.getPostDetail(id);
}
//根据分类获取租房信息列表带分页带搜索 //根据分类获取租房信息列表带分页带搜索
@ApiOperation(value="根据分类获取租房信息列表") @ApiOperation(value="根据分类获取租房信息列表")
@GetMapping(value = "/getRentPage") @GetMapping(value = "/getRentPage")
@ -78,6 +86,13 @@ public class YaoDuApiController {
return yaoDuApiService.getRentPage(pageBean); 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); 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); return yaoDuApiService.getStorePage(pageBean);
} }
//根据分类获取门店详情
@ApiOperation(value="根据分类获取门店详情")
@GetMapping(value = "/getStoreDetail")
public Result<?> getStoreDetail(String id) {
return yaoDuApiService.getStoreDetail(id);
}
//获取活动列表信息 //获取活动列表信息
@ApiOperation(value="获取活动列表信息") @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="发布按钮列表") @ApiOperation(value="发布按钮列表")
@GetMapping(value = "/getPublishList") @GetMapping(value = "/getPublishList")


Loading…
Cancel
Save