Commit 7342246d authored by 赵啸非's avatar 赵啸非

修改添加名片相关处理

parent ce62fc32
<template> <template>
<div class="page"> <div class="page">
<LayoutTable ref="layouttable" :data="tableData" :config="tableConfig" notDel notAdd> <LayoutTable ref="layouttable" :data="tableData" :config="tableConfig" >
<!-- 热门0为非热门1为热门 --> <!-- 热门0为非热门1为热门 -->
<div slot="table-search-left" class="onlyhot"> <div slot="table-search-left" class="onlyhot">
<el-checkbox <el-checkbox
......
...@@ -90,6 +90,16 @@ public class CompanyController extends BaseCRUDJsonBodyMappingController<Company ...@@ -90,6 +90,16 @@ public class CompanyController extends BaseCRUDJsonBodyMappingController<Company
return super.editAfter(id, model, entity, context); return super.editAfter(id, model, entity, context);
} }
@Override
protected int viewAfter(Long id, Map<String, Object> model, CompanyEntity entity, Context context) throws AppException {
List<CompanyPatentEntity> companyPatentEntities = companyPatentService.find(new CompanyPatentQuery().companyId(entity.getId()));
entity.setCompanyPatentsList(companyPatentEntities);
return super.viewAfter(id, model, entity, context);
}
/** /**
* 首页统计 * 首页统计
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment