Commit 12832ea1 authored by danfuman's avatar danfuman
parents ef85ccab 9cc44457
...@@ -26,67 +26,67 @@ public class EnterpriseBussinessController { ...@@ -26,67 +26,67 @@ public class EnterpriseBussinessController {
@Autowired @Autowired
EnterpriseBussinessService enterpriseBussinessService; EnterpriseBussinessService enterpriseBussinessService;
@ApiOperation(value = "客户信息列表") @ApiOperation(value = "客户信息列表(openApi)")
@RequestMapping(value = "/clientPage", method = RequestMethod.POST) @RequestMapping(value = "/clientPage", method = RequestMethod.POST)
public TableDataInfo clientPage(@RequestBody Map<String, Object> paramMap) throws Exception { public TableDataInfo clientPage(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.clientPage(paramMap); return enterpriseBussinessService.clientPage(paramMap);
} }
@ApiOperation(value = "客户项目列表") @ApiOperation(value = "客户项目列表(openApi)")
@RequestMapping(value = "/clientProjectPage", method = RequestMethod.POST) @RequestMapping(value = "/clientProjectPage", method = RequestMethod.POST)
public TableDataInfo clientProjectPage(@RequestBody Map<String, Object> paramMap) throws Exception { public TableDataInfo clientProjectPage(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.clientProjectPage(paramMap); return enterpriseBussinessService.clientProjectPage(paramMap);
} }
@ApiOperation(value = "投标记录列表(开标记录)") @ApiOperation(value = "投标记录列表(开标记录)(openApi)")
@RequestMapping(value = "/tenderPage",method = RequestMethod.POST) @RequestMapping(value = "/tenderPage",method = RequestMethod.POST)
public TableDataInfo tenderPage(@RequestBody Map<String, Object> paramMap) throws Exception { public TableDataInfo tenderPage(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.tenderPage(paramMap); return enterpriseBussinessService.tenderPage(paramMap);
} }
@ApiOperation(value = "投标记录详情(开标记录)") @ApiOperation(value = "投标记录详情(开标记录)(openApi)")
@RequestMapping(value = "/tenderDetail",method = RequestMethod.POST) @RequestMapping(value = "/tenderDetail",method = RequestMethod.POST)
public R tenderDetail(@RequestBody Map<String, Object> paramMap) throws Exception { public R tenderDetail(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.tenderDetail(paramMap); return enterpriseBussinessService.tenderDetail(paramMap);
} }
@ApiOperation(value = "供应商列表") @ApiOperation(value = "供应商列表(openApi)")
@RequestMapping(value = "/supplierPage",method = RequestMethod.POST) @RequestMapping(value = "/supplierPage",method = RequestMethod.POST)
public TableDataInfo supplierPage(@RequestBody Map<String, Object> paramMap) throws Exception { public TableDataInfo supplierPage(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.supplierPage(paramMap); return enterpriseBussinessService.supplierPage(paramMap);
} }
@ApiOperation(value = "供应商项目列表") @ApiOperation(value = "供应商项目列表(openApi)")
@RequestMapping(value = "/supplierProjectPage",method = RequestMethod.POST) @RequestMapping(value = "/supplierProjectPage",method = RequestMethod.POST)
public TableDataInfo supplierProjectPage(@RequestBody Map<String, Object> paramMap) throws Exception { public TableDataInfo supplierProjectPage(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.supplierProjectPage(paramMap); return enterpriseBussinessService.supplierProjectPage(paramMap);
} }
@ApiOperation(value = "中标项目详情") @ApiOperation(value = "中标项目详情(openApi)")
@RequestMapping(value = "/projectDetail", method = RequestMethod.POST) @RequestMapping(value = "/projectDetail", method = RequestMethod.POST)
public R projectDetail(@RequestBody Map<String, Object> paramMap) throws Exception { public R projectDetail(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.projectDetail(paramMap); return enterpriseBussinessService.projectDetail(paramMap);
} }
@ApiOperation(value = "招标代理常合作代理机构列表") @ApiOperation(value = "招标代理常合作代理机构列表(openApi)")
@RequestMapping(value = "/oftenAgencyPage",method = RequestMethod.POST) @RequestMapping(value = "/oftenAgencyPage",method = RequestMethod.POST)
public TableDataInfo oftenAgencyPage(@RequestBody Map<String, Object> paramMap) throws Exception { public TableDataInfo oftenAgencyPage(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.oftenAgencyPage(paramMap); return enterpriseBussinessService.oftenAgencyPage(paramMap);
} }
@ApiOperation(value = "招标合作明细列表") @ApiOperation(value = "招标合作明细列表(openApi)")
@RequestMapping(value = "/bidCooperatePage", method = RequestMethod.POST) @RequestMapping(value = "/bidCooperatePage", method = RequestMethod.POST)
public TableDataInfo bidCooperatePage(@RequestBody Map<String, Object> paramMap) throws Exception { public TableDataInfo bidCooperatePage(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.bidCooperatePage(paramMap); return enterpriseBussinessService.bidCooperatePage(paramMap);
} }
@ApiOperation(value = "历史发包列表") @ApiOperation(value = "历史发包列表(openApi)")
@RequestMapping(value = "/historySendPage", method = RequestMethod.POST) @RequestMapping(value = "/historySendPage", method = RequestMethod.POST)
public TableDataInfo historySendPage(@RequestBody Map<String, Object> paramMap) throws Exception { public TableDataInfo historySendPage(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.historySendPage(paramMap); return enterpriseBussinessService.historySendPage(paramMap);
} }
@ApiOperation(value = "历史发包省份") @ApiOperation(value = "历史发包省份(openApi)")
@RequestMapping(value = "/historySendProvince", method = RequestMethod.POST) @RequestMapping(value = "/historySendProvince", method = RequestMethod.POST)
public R historySendProvince(@RequestBody Map<String, Object> paramMap) throws Exception { public R historySendProvince(@RequestBody Map<String, Object> paramMap) throws Exception {
return enterpriseBussinessService.historySendProvince(paramMap); return enterpriseBussinessService.historySendProvince(paramMap);
......
...@@ -29,97 +29,97 @@ public class EnterpriseCreditController { ...@@ -29,97 +29,97 @@ public class EnterpriseCreditController {
EnterpriseCreditService enterpriseCreditService; EnterpriseCreditService enterpriseCreditService;
@RequestMapping(value = "/penalizePage", method = RequestMethod.POST) @RequestMapping(value = "/penalizePage", method = RequestMethod.POST)
@ApiOperation(value = "行政处罚列表") @ApiOperation(value = "行政处罚列表(openApi)")
public TableDataInfo penalizePage(@RequestBody @Valid EnterpriseCreditPenalizePageBody body) throws Exception { public TableDataInfo penalizePage(@RequestBody @Valid EnterpriseCreditPenalizePageBody body) throws Exception {
return enterpriseCreditService.penalizePage(body); return enterpriseCreditService.penalizePage(body);
} }
@RequestMapping(value = "/penalizeReasonType", method = RequestMethod.POST) @RequestMapping(value = "/penalizeReasonType", method = RequestMethod.POST)
@ApiOperation(value = "行政处罚类型") @ApiOperation(value = "行政处罚类型(openApi)")
public R penalizeReasonType(@RequestBody @Valid EnterpriseCreditPenalizeReasonTypeBody body) throws Exception { public R penalizeReasonType(@RequestBody @Valid EnterpriseCreditPenalizeReasonTypeBody body) throws Exception {
return enterpriseCreditService.penalizeReasonType(body); return enterpriseCreditService.penalizeReasonType(body);
} }
@RequestMapping(value = "/abnormalPage", method = RequestMethod.POST) @RequestMapping(value = "/abnormalPage", method = RequestMethod.POST)
@ApiOperation(value = "经营异常列表") @ApiOperation(value = "经营异常列表(openApi)")
public TableDataInfo abnormalPage(@RequestBody @Valid EnterpriseCreditAbnormalPageBody body) throws Exception { public TableDataInfo abnormalPage(@RequestBody @Valid EnterpriseCreditAbnormalPageBody body) throws Exception {
return enterpriseCreditService.abnormalPage(body); return enterpriseCreditService.abnormalPage(body);
} }
@RequestMapping(value = "/abnormalYears", method = RequestMethod.POST) @RequestMapping(value = "/abnormalYears", method = RequestMethod.POST)
@ApiOperation(value = "经营异常年份") @ApiOperation(value = "经营异常年份(openApi)")
public R abnormalYears(@RequestBody @Valid EnterpriseCreditAbnormalYearsBody body) throws Exception { public R abnormalYears(@RequestBody @Valid EnterpriseCreditAbnormalYearsBody body) throws Exception {
return enterpriseCreditService.abnormalYears(body); return enterpriseCreditService.abnormalYears(body);
} }
@RequestMapping(value = "/executedPersonsPage", method = RequestMethod.POST) @RequestMapping(value = "/executedPersonsPage", method = RequestMethod.POST)
@ApiOperation(value = "被执行人列表") @ApiOperation(value = "被执行人列表(openApi)")
public TableDataInfo executedPersonsPage(@RequestBody @Valid EnterpriseCreditExecutedPersonsPageBody body) throws Exception { public TableDataInfo executedPersonsPage(@RequestBody @Valid EnterpriseCreditExecutedPersonsPageBody body) throws Exception {
return enterpriseCreditService.executedPersonsPage(body); return enterpriseCreditService.executedPersonsPage(body);
} }
@RequestMapping(value = "/executedPage", method = RequestMethod.POST) @RequestMapping(value = "/executedPage", method = RequestMethod.POST)
@ApiOperation(value = "失信被执行人列表") @ApiOperation(value = "失信被执行人列表(openApi)")
public TableDataInfo executedPage(@RequestBody @Valid EnterpriseCreditExecutedPageBody body) throws Exception { public TableDataInfo executedPage(@RequestBody @Valid EnterpriseCreditExecutedPageBody body) throws Exception {
return enterpriseCreditService.executedPage(body); return enterpriseCreditService.executedPage(body);
} }
@RequestMapping(value = "/lawsuitsPage", method = RequestMethod.POST) @RequestMapping(value = "/lawsuitsPage", method = RequestMethod.POST)
@ApiOperation(value = "裁判文书列表") @ApiOperation(value = "裁判文书列表(openApi)")
public TableDataInfo lawsuitsPage(@RequestBody @Valid EnterpriseCreditLawsuitsPageBody body) throws Exception { public TableDataInfo lawsuitsPage(@RequestBody @Valid EnterpriseCreditLawsuitsPageBody body) throws Exception {
return enterpriseCreditService.lawsuitsPage(body); return enterpriseCreditService.lawsuitsPage(body);
} }
@RequestMapping(value = "/lawsuitsCauseAction", method = RequestMethod.POST) @RequestMapping(value = "/lawsuitsCauseAction", method = RequestMethod.POST)
@ApiOperation(value = "裁判文书案由") @ApiOperation(value = "裁判文书案由(openApi)")
public R lawsuitsCauseAction(@RequestBody @Valid EnterpriseCreditLawsuitsCauseActionBody body) throws Exception { public R lawsuitsCauseAction(@RequestBody @Valid EnterpriseCreditLawsuitsCauseActionBody body) throws Exception {
return enterpriseCreditService.lawsuitsCauseAction(body); return enterpriseCreditService.lawsuitsCauseAction(body);
} }
@RequestMapping(value = "/lawsuitsRole", method = RequestMethod.POST) @RequestMapping(value = "/lawsuitsRole", method = RequestMethod.POST)
@ApiOperation(value = "裁判文书身份") @ApiOperation(value = "裁判文书身份(openApi)")
public R lawsuitsRole(@RequestBody @Valid EnterpriseCreditLawsuitsRoleBody body) throws Exception { public R lawsuitsRole(@RequestBody @Valid EnterpriseCreditLawsuitsRoleBody body) throws Exception {
return enterpriseCreditService.lawsuitsRole(body); return enterpriseCreditService.lawsuitsRole(body);
} }
@RequestMapping(value = "/noticesPage", method = RequestMethod.POST) @RequestMapping(value = "/noticesPage", method = RequestMethod.POST)
@ApiOperation(value = "法院公告列表") @ApiOperation(value = "法院公告列表(openApi)")
public TableDataInfo noticesPage(@RequestBody @Valid EnterpriseCreditNoticePageBody body) throws Exception { public TableDataInfo noticesPage(@RequestBody @Valid EnterpriseCreditNoticePageBody body) throws Exception {
return enterpriseCreditService.noticesPage(body); return enterpriseCreditService.noticesPage(body);
} }
@RequestMapping(value = "/noticesType", method = RequestMethod.POST) @RequestMapping(value = "/noticesType", method = RequestMethod.POST)
@ApiOperation(value = "法院公告类型") @ApiOperation(value = "法院公告类型(openApi)")
public R noticesType(@RequestBody @Valid EnterpriseCreditNoticeTypeBody body) throws Exception { public R noticesType(@RequestBody @Valid EnterpriseCreditNoticeTypeBody body) throws Exception {
return enterpriseCreditService.noticesType(body); return enterpriseCreditService.noticesType(body);
} }
@RequestMapping(value = "/noticesRole", method = RequestMethod.POST) @RequestMapping(value = "/noticesRole", method = RequestMethod.POST)
@ApiOperation(value = "法院公告身份") @ApiOperation(value = "法院公告身份(openApi)")
public R noticesRole(@RequestBody @Valid EnterpriseCreditNoticeRoleBody body) throws Exception { public R noticesRole(@RequestBody @Valid EnterpriseCreditNoticeRoleBody body) throws Exception {
return enterpriseCreditService.noticesRole(body); return enterpriseCreditService.noticesRole(body);
} }
@RequestMapping(value = "/noticesCaseReason", method = RequestMethod.POST) @RequestMapping(value = "/noticesCaseReason", method = RequestMethod.POST)
@ApiOperation(value = "法院公告案由") @ApiOperation(value = "法院公告案由(openApi)")
public R noticesCaseReason(@RequestBody @Valid EnterpriseCreditNoticeCaseReasonBody body) throws Exception { public R noticesCaseReason(@RequestBody @Valid EnterpriseCreditNoticeCaseReasonBody body) throws Exception {
return enterpriseCreditService.noticesCaseReason(body); return enterpriseCreditService.noticesCaseReason(body);
} }
@RequestMapping(value = "/kaitingPage", method = RequestMethod.POST) @RequestMapping(value = "/kaitingPage", method = RequestMethod.POST)
@ApiOperation(value = "开庭公告列表") @ApiOperation(value = "开庭公告列表(openApi)")
public TableDataInfo kaitingPage(@RequestBody @Valid EnterpriseCreditKaitingPageBody body) throws Exception { public TableDataInfo kaitingPage(@RequestBody @Valid EnterpriseCreditKaitingPageBody body) throws Exception {
return enterpriseCreditService.kaitingPage(body); return enterpriseCreditService.kaitingPage(body);
} }
@RequestMapping(value = "/kaitingCauseAction", method = RequestMethod.POST) @RequestMapping(value = "/kaitingCauseAction", method = RequestMethod.POST)
@ApiOperation(value = "开庭公告案由") @ApiOperation(value = "开庭公告案由(openApi)")
public R kaitingCauseAction(@RequestBody @Valid EnterpriseCreditKaitingCauseActionBody body) throws Exception { public R kaitingCauseAction(@RequestBody @Valid EnterpriseCreditKaitingCauseActionBody body) throws Exception {
return enterpriseCreditService.kaitingCauseAction(body); return enterpriseCreditService.kaitingCauseAction(body);
} }
@RequestMapping(value = "/kaitingPureRole", method = RequestMethod.POST) @RequestMapping(value = "/kaitingPureRole", method = RequestMethod.POST)
@ApiOperation(value = "开庭公告当事人身份") @ApiOperation(value = "开庭公告当事人身份(openApi)")
public R kaitingPureRole(@RequestBody @Valid EnterpriseCreditKaitingPureRoleBody body) throws Exception { public R kaitingPureRole(@RequestBody @Valid EnterpriseCreditKaitingPureRoleBody body) throws Exception {
return enterpriseCreditService.kaitingPureRole(body); return enterpriseCreditService.kaitingPureRole(body);
} }
......
...@@ -29,133 +29,133 @@ public class EnterpriseProjectController { ...@@ -29,133 +29,133 @@ public class EnterpriseProjectController {
EnterpriseProjectService enterpriseProjectService; EnterpriseProjectService enterpriseProjectService;
@ApiOperation(value = "土地交易列表") @ApiOperation(value = "土地交易列表(openApi)")
@RequestMapping(value = "/landTransactionPage", method = RequestMethod.POST) @RequestMapping(value = "/landTransactionPage", method = RequestMethod.POST)
public TableDataInfo landTransactionPage(@RequestBody @Valid EnterpriseProjectLandTransactionPageBody body) throws Exception { public TableDataInfo landTransactionPage(@RequestBody @Valid EnterpriseProjectLandTransactionPageBody body) throws Exception {
return enterpriseProjectService.landTransactionPage(body); return enterpriseProjectService.landTransactionPage(body);
} }
@ApiOperation(value = "土地用途列表") @ApiOperation(value = "土地用途列表(openApi)")
@RequestMapping(value = "/landUse", method = RequestMethod.POST) @RequestMapping(value = "/landUse", method = RequestMethod.POST)
public R landUse(@RequestBody @Valid EnterpriseProjectLandUseBody body) throws Exception { public R landUse(@RequestBody @Valid EnterpriseProjectLandUseBody body) throws Exception {
return enterpriseProjectService.landUse(body); return enterpriseProjectService.landUse(body);
} }
@ApiOperation(value = "土地信息详情") @ApiOperation(value = "土地信息详情(openApi)")
@RequestMapping(value = "/landDetail",method = RequestMethod.POST) @RequestMapping(value = "/landDetail",method = RequestMethod.POST)
public R landDetail(@RequestBody @Valid EnterpriseProjectLandDetailBody body) throws Exception { public R landDetail(@RequestBody @Valid EnterpriseProjectLandDetailBody body) throws Exception {
return enterpriseProjectService.landDetail(body); return enterpriseProjectService.landDetail(body);
} }
@ApiOperation(value = "拟建项目列表") @ApiOperation(value = "拟建项目列表(openApi)")
@RequestMapping(value = "/approvalProjectPage",method = RequestMethod.POST) @RequestMapping(value = "/approvalProjectPage",method = RequestMethod.POST)
public TableDataInfo approvalProjectPage(@RequestBody @Valid EnterpriseProjectApprovalProjectPageBody body) throws Exception { public TableDataInfo approvalProjectPage(@RequestBody @Valid EnterpriseProjectApprovalProjectPageBody body) throws Exception {
return enterpriseProjectService.approvalProjectPage(body); return enterpriseProjectService.approvalProjectPage(body);
} }
@ApiOperation(value = "拟建项目详情基本信息") @ApiOperation(value = "拟建项目详情基本信息(openApi)")
@RequestMapping(value = "/approvalInfoDetail",method = RequestMethod.POST) @RequestMapping(value = "/approvalInfoDetail",method = RequestMethod.POST)
public R approvalInfoDetail(@RequestBody @Valid EnterpriseProjectApprovalInfoDetailBody body) throws Exception { public R approvalInfoDetail(@RequestBody @Valid EnterpriseProjectApprovalInfoDetailBody body) throws Exception {
return enterpriseProjectService.approvalInfoDetail(body); return enterpriseProjectService.approvalInfoDetail(body);
} }
@ApiOperation(value = "拟建项目详情立项审批列表") @ApiOperation(value = "拟建项目详情立项审批列表(openApi)")
@RequestMapping(value = "/approvalExaminePage",method = RequestMethod.POST) @RequestMapping(value = "/approvalExaminePage",method = RequestMethod.POST)
public TableDataInfo approvalExaminePage(@RequestBody @Valid EnterpriseProjectApprovalExaminePageBody body) throws Exception { public TableDataInfo approvalExaminePage(@RequestBody @Valid EnterpriseProjectApprovalExaminePageBody body) throws Exception {
return enterpriseProjectService.approvalExaminePage(body); return enterpriseProjectService.approvalExaminePage(body);
} }
@ApiOperation(value = "拟建项目详情民间推介列表") @ApiOperation(value = "拟建项目详情民间推介列表(openApi)")
@RequestMapping(value = "/approvalMarketingPage", method = RequestMethod.POST) @RequestMapping(value = "/approvalMarketingPage", method = RequestMethod.POST)
public TableDataInfo approvalMarketingPage(@RequestBody @Valid EnterpriseProjectApprovalMarketingPageBody body) throws Exception { public TableDataInfo approvalMarketingPage(@RequestBody @Valid EnterpriseProjectApprovalMarketingPageBody body) throws Exception {
return enterpriseProjectService.approvalMarketingPage(body); return enterpriseProjectService.approvalMarketingPage(body);
} }
@ApiOperation(value = "专项债项目列表") @ApiOperation(value = "专项债项目列表(openApi)")
@RequestMapping(value = "/specialDebtProjectPage", method = RequestMethod.POST) @RequestMapping(value = "/specialDebtProjectPage", method = RequestMethod.POST)
public TableDataInfo specialDebtProjectPage(@RequestBody @Valid EnterpriseProjectSpecialDebtProjectPageBody body) throws Exception { public TableDataInfo specialDebtProjectPage(@RequestBody @Valid EnterpriseProjectSpecialDebtProjectPageBody body) throws Exception {
return enterpriseProjectService.specialDebtProjectPage(body); return enterpriseProjectService.specialDebtProjectPage(body);
} }
@ApiOperation(value = "专项债项目详情") @ApiOperation(value = "专项债项目详情(openApi)")
@RequestMapping(value = "/specialDebtProjectDetail", method = RequestMethod.POST) @RequestMapping(value = "/specialDebtProjectDetail", method = RequestMethod.POST)
public R specialDebtProjectDetail(@RequestBody @Valid EnterpriseProjectSpecialDebtProjectDetailBody body) throws Exception { public R specialDebtProjectDetail(@RequestBody @Valid EnterpriseProjectSpecialDebtProjectDetailBody body) throws Exception {
return enterpriseProjectService.specialDebtProjectDetail(body); return enterpriseProjectService.specialDebtProjectDetail(body);
} }
@ApiOperation(value = "专项债列表") @ApiOperation(value = "专项债列表(openApi)")
@RequestMapping(value = "/specialDebtPage", method = RequestMethod.POST) @RequestMapping(value = "/specialDebtPage", method = RequestMethod.POST)
public TableDataInfo specialDebtPage(@RequestBody @Valid EnterpriseProjectSpecialDebtPageBody body) throws Exception { public TableDataInfo specialDebtPage(@RequestBody @Valid EnterpriseProjectSpecialDebtPageBody body) throws Exception {
return enterpriseProjectService.specialDebtPage(body); return enterpriseProjectService.specialDebtPage(body);
} }
@ApiOperation(value = "招标公告列表") @ApiOperation(value = "招标公告列表(openApi)")
@RequestMapping(value = "/bidNoticePage",method = RequestMethod.POST) @RequestMapping(value = "/bidNoticePage",method = RequestMethod.POST)
public TableDataInfo bidNoticePage(@RequestBody @Valid EnterpriseProjectBidNoticePageBody body) throws Exception { public TableDataInfo bidNoticePage(@RequestBody @Valid EnterpriseProjectBidNoticePageBody body) throws Exception {
return enterpriseProjectService.bidNoticePage(body); return enterpriseProjectService.bidNoticePage(body);
} }
@ApiOperation(value = "招标公告招标类别") @ApiOperation(value = "招标公告招标类别(openApi)")
@RequestMapping(value = "/bidNoticeTenderStage", method = RequestMethod.POST) @RequestMapping(value = "/bidNoticeTenderStage", method = RequestMethod.POST)
public R bidNoticeTenderStage(@RequestBody @Valid EnterpriseProjectBidNoticeTenderStageBody body) throws Exception { public R bidNoticeTenderStage(@RequestBody @Valid EnterpriseProjectBidNoticeTenderStageBody body) throws Exception {
return enterpriseProjectService.bidNoticeTenderStage(body); return enterpriseProjectService.bidNoticeTenderStage(body);
} }
@ApiOperation(value = "招标公告招标地区") @ApiOperation(value = "招标公告招标地区(openApi)")
@RequestMapping(value = "/bidNoticeArea", method = RequestMethod.POST) @RequestMapping(value = "/bidNoticeArea", method = RequestMethod.POST)
public R bidNoticeArea(@RequestBody @Valid EnterpriseProjectBidNoticeAreaBody body) throws Exception { public R bidNoticeArea(@RequestBody @Valid EnterpriseProjectBidNoticeAreaBody body) throws Exception {
return enterpriseProjectService.bidNoticeArea(body); return enterpriseProjectService.bidNoticeArea(body);
} }
@ApiOperation(value = "招标公告详情") @ApiOperation(value = "招标公告详情(openApi)")
@RequestMapping(value = "/bidNoticeDetail", method = RequestMethod.POST) @RequestMapping(value = "/bidNoticeDetail", method = RequestMethod.POST)
public R bidNoticeDetail(@RequestBody @Valid EnterpriseProjectBidNoticeDetailBody body) throws Exception { public R bidNoticeDetail(@RequestBody @Valid EnterpriseProjectBidNoticeDetailBody body) throws Exception {
return enterpriseProjectService.bidNoticeDetail(body); return enterpriseProjectService.bidNoticeDetail(body);
} }
@ApiOperation(value = "招标计划列表") @ApiOperation(value = "招标计划列表(openApi)")
@RequestMapping(value = "/bidPlanPage",method = RequestMethod.POST) @RequestMapping(value = "/bidPlanPage",method = RequestMethod.POST)
public TableDataInfo bidPlanPage(@RequestBody @Valid EnterpriseProjectBidPlanPageBody body) throws Exception { public TableDataInfo bidPlanPage(@RequestBody @Valid EnterpriseProjectBidPlanPageBody body) throws Exception {
return enterpriseProjectService.bidPlanPage(body); return enterpriseProjectService.bidPlanPage(body);
} }
@ApiOperation(value = "招标计划详情") @ApiOperation(value = "招标计划详情(openApi)")
@RequestMapping(value = "/bidPlanDetail", method = RequestMethod.POST) @RequestMapping(value = "/bidPlanDetail", method = RequestMethod.POST)
public R bidPlanDetail(@RequestBody @Valid EnterpriseProjectBidPlanDetailBody body) throws Exception { public R bidPlanDetail(@RequestBody @Valid EnterpriseProjectBidPlanDetailBody body) throws Exception {
return enterpriseProjectService.bidPlanDetail(body); return enterpriseProjectService.bidPlanDetail(body);
} }
@ApiOperation(value = "标讯pro招标公告列表") @ApiOperation(value = "标讯pro招标公告列表(openApi)")
@RequestMapping(value = "/bidNoticeProPage", method = RequestMethod.POST) @RequestMapping(value = "/bidNoticeProPage", method = RequestMethod.POST)
public TableDataInfo bidNoticeProPage(@RequestBody @Valid EnterpriseProjectBidNoticeProPageBody body) throws Exception { public TableDataInfo bidNoticeProPage(@RequestBody @Valid EnterpriseProjectBidNoticeProPageBody body) throws Exception {
return enterpriseProjectService.bidNoticeProPage(body); return enterpriseProjectService.bidNoticeProPage(body);
} }
@ApiOperation(value = "标讯pro招标公告项目类别") @ApiOperation(value = "标讯pro招标公告项目类别(openApi)")
@RequestMapping(value = "/bidNoticeProProjectType", method = RequestMethod.POST) @RequestMapping(value = "/bidNoticeProProjectType", method = RequestMethod.POST)
public R bidNoticeProProjectType(@RequestBody @Valid EnterpriseProjectBidNoticeProProjectTypeBody body) throws Exception { public R bidNoticeProProjectType(@RequestBody @Valid EnterpriseProjectBidNoticeProProjectTypeBody body) throws Exception {
return enterpriseProjectService.bidNoticeProProjectType(body); return enterpriseProjectService.bidNoticeProProjectType(body);
} }
@ApiOperation(value = "标讯pro招标公告工程类别") @ApiOperation(value = "标讯pro招标公告工程类别(openApi)")
@RequestMapping(value = "/bidNoticeProProjectPurposes", method = RequestMethod.POST) @RequestMapping(value = "/bidNoticeProProjectPurposes", method = RequestMethod.POST)
public R bidNoticeProProjectPurposes(@RequestBody @Valid EnterpriseProjectBidNoticeProProjectPurposesBody body) throws Exception { public R bidNoticeProProjectPurposes(@RequestBody @Valid EnterpriseProjectBidNoticeProProjectPurposesBody body) throws Exception {
return enterpriseProjectService.bidNoticeProProjectPurposes(body); return enterpriseProjectService.bidNoticeProProjectPurposes(body);
} }
@ApiOperation(value = "标讯pro招标公告评标办法") @ApiOperation(value = "标讯pro招标公告评标办法(openApi)")
@RequestMapping(value = "/bidNoticeProAssessmentWay", method = RequestMethod.POST) @RequestMapping(value = "/bidNoticeProAssessmentWay", method = RequestMethod.POST)
public R bidNoticeProAssessmentWay(@RequestBody @Valid EnterpriseProjectBidNoticeProAssessmentWayBody body) throws Exception { public R bidNoticeProAssessmentWay(@RequestBody @Valid EnterpriseProjectBidNoticeProAssessmentWayBody body) throws Exception {
return enterpriseProjectService.bidNoticeProAssessmentWay(body); return enterpriseProjectService.bidNoticeProAssessmentWay(body);
} }
@ApiOperation(value = "标讯pro招标公告详情") @ApiOperation(value = "标讯pro招标公告详情(openApi)")
@RequestMapping(value = "/bidNoticeProDetail", method = RequestMethod.POST) @RequestMapping(value = "/bidNoticeProDetail", method = RequestMethod.POST)
public R bidNoticeProDetail(@RequestBody @Valid EnterpriseProjectBidNoticeProDetailBody body) throws Exception { public R bidNoticeProDetail(@RequestBody @Valid EnterpriseProjectBidNoticeProDetailBody body) throws Exception {
return enterpriseProjectService.bidNoticeProDetail(body); return enterpriseProjectService.bidNoticeProDetail(body);
} }
@ApiOperation(value = "行政许可列表") @ApiOperation(value = "行政许可列表(openApi)")
@RequestMapping(value = "/creditXzxkPage", method = RequestMethod.POST) @RequestMapping(value = "/creditXzxkPage", method = RequestMethod.POST)
public TableDataInfo creditXzxkPage(@RequestBody @Valid EnterpriseProjectCreditXzxkPageBody body) throws Exception { public TableDataInfo creditXzxkPage(@RequestBody @Valid EnterpriseProjectCreditXzxkPageBody body) throws Exception {
return enterpriseProjectService.creditXzxkPage(body); return enterpriseProjectService.creditXzxkPage(body);
......
...@@ -74,4 +74,12 @@ public class BusinessOpportunityRadarController { ...@@ -74,4 +74,12 @@ public class BusinessOpportunityRadarController {
public AjaxResult jskBidPlanPage(@RequestBody ComposeQueryDto compose) { public AjaxResult jskBidPlanPage(@RequestBody ComposeQueryDto compose) {
return opportunityRadarService.jskBidPlanPage(compose); return opportunityRadarService.jskBidPlanPage(compose);
} }
/*
* 投标计划查询
*/
@RequestMapping("/jskBidPlan/getCapitalSourceSelect")
public AjaxResult getCapitalSourceSelect() {
return opportunityRadarService.getCapitalSourceSelect();
}
} }
...@@ -27,4 +27,7 @@ public interface BusinessOpportunityRadarService { ...@@ -27,4 +27,7 @@ public interface BusinessOpportunityRadarService {
AjaxResult bondProjectPage(ComposeQueryDto compose); AjaxResult bondProjectPage(ComposeQueryDto compose);
AjaxResult jskBidPlanPage(ComposeQueryDto compose); AjaxResult jskBidPlanPage(ComposeQueryDto compose);
AjaxResult getCapitalSourceSelect();
} }
...@@ -82,4 +82,10 @@ public class BusinessOpportunityRadarServiceImpl implements BusinessOpportunityR ...@@ -82,4 +82,10 @@ public class BusinessOpportunityRadarServiceImpl implements BusinessOpportunityR
Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/jskBidPlan/page", BeanUtil.beanToMap(compose, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/jskBidPlan/page", BeanUtil.beanToMap(compose, false, false));
return BeanUtil.toBean(map, AjaxResult.class); return BeanUtil.toBean(map, AjaxResult.class);
} }
@Override
public AjaxResult getCapitalSourceSelect() {
Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/jskBidPlan/getCapitalSourceSelect", null);
return BeanUtil.toBean(map, AjaxResult.class);
}
} }
...@@ -3,7 +3,7 @@ import request from "@/utils/request"; ...@@ -3,7 +3,7 @@ import request from "@/utils/request";
// 企业数据统计 // 企业数据统计
export function statistic(data) { export function statistic(data) {
return request({ return request({
url: '/enterprise/statistic(建设库)', url: '/enterprise/statistic',
method: 'post', method: 'post',
data: data data: data
}) })
......
dsk-operate-ui/src/assets/images/add.png

148 Bytes | W: | H:

dsk-operate-ui/src/assets/images/add.png

140 Bytes | W: | H:

dsk-operate-ui/src/assets/images/add.png
dsk-operate-ui/src/assets/images/add.png
dsk-operate-ui/src/assets/images/add.png
dsk-operate-ui/src/assets/images/add.png
  • 2-up
  • Swipe
  • Onion skin
dsk-operate-ui/src/assets/images/delete.png

327 Bytes | W: | H:

dsk-operate-ui/src/assets/images/delete.png

531 Bytes | W: | H:

dsk-operate-ui/src/assets/images/delete.png
dsk-operate-ui/src/assets/images/delete.png
dsk-operate-ui/src/assets/images/delete.png
dsk-operate-ui/src/assets/images/delete.png
  • 2-up
  • Swipe
  • Onion skin
dsk-operate-ui/src/assets/images/edit.png

245 Bytes | W: | H:

dsk-operate-ui/src/assets/images/edit.png

488 Bytes | W: | H:

dsk-operate-ui/src/assets/images/edit.png
dsk-operate-ui/src/assets/images/edit.png
dsk-operate-ui/src/assets/images/edit.png
dsk-operate-ui/src/assets/images/edit.png
  • 2-up
  • Swipe
  • Onion skin
dsk-operate-ui/src/assets/images/follow.png

260 Bytes | W: | H:

dsk-operate-ui/src/assets/images/follow.png

312 Bytes | W: | H:

dsk-operate-ui/src/assets/images/follow.png
dsk-operate-ui/src/assets/images/follow.png
dsk-operate-ui/src/assets/images/follow.png
dsk-operate-ui/src/assets/images/follow.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -244,6 +244,7 @@ ...@@ -244,6 +244,7 @@
>img{ >img{
float: left; float: left;
margin-right: 8px; margin-right: 8px;
width: 56px;
} }
.i{ .i{
font-size: 18px; font-size: 18px;
...@@ -337,6 +338,7 @@ ...@@ -337,6 +338,7 @@
>img{ >img{
float:left; float:left;
margin: 2px 4px 0 0; margin: 2px 4px 0 0;
width: 16px;
} }
} }
.bottems{ .bottems{
...@@ -572,6 +574,16 @@ ...@@ -572,6 +574,16 @@
position: relative; position: relative;
padding-top: 25px; padding-top: 25px;
display: flex; display: flex;
.sels{
position: relative;
>img{
position: absolute;
left: 10px;
z-index: 1;
top: 8px;
width: 16px;
}
}
.el-input{ .el-input{
display: inline-block; display: inline-block;
margin-right: 12px; margin-right: 12px;
...@@ -610,6 +622,7 @@ ...@@ -610,6 +622,7 @@
position: absolute; position: absolute;
left: 8px; left: 8px;
top: 8px; top: 8px;
width: 16px;
z-index: 1; z-index: 1;
} }
.el-input{ .el-input{
...@@ -960,6 +973,7 @@ ...@@ -960,6 +973,7 @@
} }
.up_img{ .up_img{
margin: 56px auto 13px; margin: 56px auto 13px;
width: 50px;
} }
.up_text{ .up_text{
color: #666; color: #666;
......
...@@ -237,7 +237,7 @@ export const constantRoutes = [ ...@@ -237,7 +237,7 @@ export const constantRoutes = [
redirect: 'noredirect', redirect: 'noredirect',
children: [ children: [
{ {
path: '/radar/Bidding/details/:id(\\d+)', path: '/radar/Bidding/details/:id',
component: () => import('@/views/radar/Bidding/details'), component: () => import('@/views/radar/Bidding/details'),
name: 'BiddingDetails', name: 'BiddingDetails',
meta: { title: '招标计划详情', icon: 'radar' } meta: { title: '招标计划详情', icon: 'radar' }
......
...@@ -492,6 +492,7 @@ export default { ...@@ -492,6 +492,7 @@ export default {
.img.img1{ .img.img1{
margin-right: 2px; margin-right: 2px;
background: url('../../../../src/assets/images/project/add_2.png')no-repeat center center; background: url('../../../../src/assets/images/project/add_2.png')no-repeat center center;
background-size: 100%;
} }
.w88{ .w88{
width: 88px; width: 88px;
...@@ -528,7 +529,8 @@ export default { ...@@ -528,7 +529,8 @@ export default {
} }
>img{ >img{
float: right; float: right;
margin: 3px 0 0 4px margin: 3px 0 0 4px;
width: 14px;
} }
} }
} }
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
<template v-if="form.type==4"> <template v-if="form.type==4">
<el-select <el-select
class="form-content-width" class="form-content-width"
:class="form.value.length > 1 ? 'selectTag' : ''"
v-model="form.value" v-model="form.value"
multiple multiple
collapse-tags collapse-tags
...@@ -247,6 +248,22 @@ export default { ...@@ -247,6 +248,22 @@ export default {
::v-deep .form-content-width{ ::v-deep .form-content-width{
width: 170px; width: 170px;
} }
::v-deep .selectTag{
.el-select__tags{
.el-tag{
&:first-child{
width: 90px;
}
}
}
}
::v-deep .el-select__tags{
.el-tag{
&:first-child{
width: 100%;
}
}
}
} }
.ability-total{ .ability-total{
font-size: 12px; font-size: 12px;
......
...@@ -143,12 +143,7 @@ export default { ...@@ -143,12 +143,7 @@ export default {
components: { components: {
Detail Detail
}, },
props: { props: ['customerIds'],
customerIds: {
type: String,
default: ''
}
},
data() { data() {
return { return {
ifEmpty:false, ifEmpty:false,
...@@ -522,7 +517,7 @@ export default { ...@@ -522,7 +517,7 @@ export default {
::v-deep .cooperate-detail{ ::v-deep .cooperate-detail{
.miantitle, .app-container{ .miantitle, .app-container{
margin: 12px 0; //margin: 12px 0;
} }
} }
......
...@@ -81,12 +81,7 @@ export default { ...@@ -81,12 +81,7 @@ export default {
components: { components: {
Tables Tables
}, },
props: { props: ['customerIds'],
customerIds: {
type: String,
default: ''
}
},
data() { data() {
return { return {
ifEmpty:false, ifEmpty:false,
......
...@@ -7,26 +7,26 @@ ...@@ -7,26 +7,26 @@
<el-popover <el-popover
placement="top-start" placement="top-start"
trigger="hover" trigger="hover"
content="历史招标总数"> content="统计企业历年来公开招标总数">
<img src="@/assets/images/detail/overview/zbph_question.png" slot="reference"> <img src="@/assets/images/detail/overview/zbph_question.png" slot="reference">
</el-popover> </el-popover>
<span class="zbph-item-num">{{dataAll.bidAmount || '--'}}</span></div> <span class="zbph-item-num">{{dataAll.totalCount || '--'}}</span></div>
<div>近一年招标总数 <div>近一年招标总数
<el-popover <el-popover
placement="top-start" placement="top-start"
trigger="hover" trigger="hover"
content="近一年招标总数"> content="统计企业近一年公开招标总数">
<img src="@/assets/images/detail/overview/zbph_question.png" slot="reference"> <img src="@/assets/images/detail/overview/zbph_question.png" slot="reference">
</el-popover> </el-popover>
<span class="zbph-item-num">{{dataAll.lastYearCount || '--'}}</span></div> <span class="zbph-item-num">{{dataAll.lastYearCount || '--'}}</span></div>
<div>历史招标总额 <div>历史招标总额(万元)
<el-popover <el-popover
placement="top-start" placement="top-start"
trigger="hover" trigger="hover"
content="历史招标总额"> content="统计企业历年来公开招标项目总金额">
<img src="@/assets/images/detail/overview/zbph_question.png" slot="reference"> <img src="@/assets/images/detail/overview/zbph_question.png" slot="reference">
</el-popover> </el-popover>
<span class="zbph-item-num">{{dataAll.bidAmount || '--'}}</span></div> <span class="zbph-item-num">{{dataAll.bidAmount?parseFloat(dataAll.bidAmount.toFixed(6)):'--'}}</span></div>
</div> </div>
<div class="zbph-account">招标动态 <div class="zbph-account">招标动态
<div class="labels"> <div class="labels">
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
prop="companyName" prop="companyName"
label="公司名称"> label="公司名称">
<template slot-scope="scope"> <template slot-scope="scope">
<router-link to="" tag="a" class="a-link">{{ scope.row.companyName }}</router-link> <router-link :to="`/company/${encodeStr(scope.row.companyId)}`" tag="a" class="a-link">{{ scope.row.companyName }}</router-link>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
</template> </template>
<script> <script>
import {encodeStr} from "@/assets/js/common"
import {bidDataGroup, supplierPage} from '@/api/detail/party-a/overview' import {bidDataGroup, supplierPage} from '@/api/detail/party-a/overview'
import * as echarts from 'echarts' import * as echarts from 'echarts'
export default { export default {
...@@ -83,6 +84,7 @@ export default { ...@@ -83,6 +84,7 @@ export default {
props: ['companyId'], props: ['companyId'],
data() { data() {
return { return {
encodeStr,
datatype:'3',//切换类型 datatype:'3',//切换类型
dataAll: {}, dataAll: {},
dtdata:[],//数据 dtdata:[],//数据
...@@ -96,9 +98,6 @@ export default { ...@@ -96,9 +98,6 @@ export default {
this.handleSupplier() this.handleSupplier()
}, },
mounted() { mounted() {
this.$nextTick(()=>{
this.getDT(3)
})
}, },
methods: { methods: {
async handleBid(){ async handleBid(){
...@@ -106,6 +105,13 @@ export default { ...@@ -106,6 +105,13 @@ export default {
if(res.code==200){ if(res.code==200){
let {totalCount, lastYearCount, bidAmount} = res.data let {totalCount, lastYearCount, bidAmount} = res.data
this.dataAll = {totalCount, lastYearCount, bidAmount} this.dataAll = {totalCount, lastYearCount, bidAmount}
this.dtdata=res.data.groupCount.map(item=>{
return item.count
})
this.dttime=res.data.groupCount.map(item=>{
return item.span
})
this.initDT(this.dtdata,this.dttime)
} }
}, },
async handleSupplier() { async handleSupplier() {
...@@ -113,6 +119,7 @@ export default { ...@@ -113,6 +119,7 @@ export default {
if(res.code==200){ if(res.code==200){
this.tableData = res.rows this.tableData = res.rows
this.tableData.forEach((item, index) => { this.tableData.forEach((item, index) => {
item.amount = item.amount?parseFloat(item.amount.toFixed(6)):0
item.ico = require(`@/assets/images/detail/overview/ywwl_top${index+1}.png`) item.ico = require(`@/assets/images/detail/overview/ywwl_top${index+1}.png`)
}) })
} }
...@@ -180,55 +187,7 @@ export default { ...@@ -180,55 +187,7 @@ export default {
}, },
getDT(type){ getDT(type){
this.datatype = type this.datatype = type
let time = new Date() this.handleBid()
let week = ['周一','周二','周三','周四','周五','周六','周日']
let weekdata = [200,150,300,240,400,380,460]
let monthdata = [400,200,350,170,190,280,260,308,406,387,458,695,125,360,512,546,298,365,458,536,345,200,150,300,240,400,380,460,472,365,547]
let yeardata = [1908,1500,2300,1456,2354,2564,1254,1236,4561,4521,1236,4561,3521]
let datas = []
let labels = []
switch (type) {
case 3:
time = time.getDay()
// week.length = time
weekdata.length = time
for(var i=0;i<7;i++){
if(i > time){
weekdata.push('')
}
}
labels = week
datas = weekdata
break;
case 2:
let days = new Date(time.getFullYear(),time.getMonth()+1,0).getDate()//获取到本月天数
time = time.getDate()
monthdata.length = time
for(var i=1;i<=days;i++){
labels.push(i+'日')
if(i > time){
monthdata.push("")
}
}
datas = monthdata
break;
case 1:
time = time.getMonth()+1
yeardata.length = time
for(var i=1;i<=12;i++){
labels.push(i+'月')
if(i>time){
yeardata.push('')
}
}
datas = yeardata
break;
default:
break;
}
this.dtdata = datas
this.dttime = labels
this.initDT(datas,labels)
} }
} }
} }
......
...@@ -57,7 +57,6 @@ export default { ...@@ -57,7 +57,6 @@ export default {
} }
}, },
created() { created() {
this.handleStatistic()
this.handleQuery() this.handleQuery()
}, },
mounted() { mounted() {
...@@ -120,6 +119,11 @@ export default { ...@@ -120,6 +119,11 @@ export default {
changePath(this, it.pathName) changePath(this, it.pathName)
} }
} }
},
watch: {
statistic(newVal, oldVal) {
this.handleStatistic()
}
} }
} }
</script> </script>
......
...@@ -133,19 +133,20 @@ export default { ...@@ -133,19 +133,20 @@ export default {
props: ['companyId', 'companyInfo', 'statistic'], props: ['companyId', 'companyInfo', 'statistic'],
data() { data() {
return { return {
newStatic: null,
labelList: [], //企业标签 labelList: [], //企业标签
claimLoading: false, claimLoading: false,
ifClaim: false, //是否认领 ifClaim: false, //是否认领
showMore: false, showMore: false,
showState: false, showState: false,
graphList: [ graphList: [
{id: 1, name:'业务往来', intro:[{id: 101, name:'客户', val:0, category:'global', field:'customer'},{id: 102, name:'供应商', val:0, category:'global', field:'supplier'}], ico:require('@/assets/images/detail/overview/company_ywwl.png')}, {id: 1, name:'业务往来', isShow:true, intro:[{id: 101, name:'客户', val:0, category:'global', field:'customer'},{id: 102, name:'供应商', val:0, category:'global', field:'supplier'}], ico:require('@/assets/images/detail/overview/company_ywwl.png')},
{id: 2, name:'商机线索', intro:[{id: 201, name:'专项债项目', val:0, category:'xxx', field:'yy'},{id: 202, name:'招标计划', val:0, category:'xxx', field:'zz'}], ico:require('@/assets/images/detail/overview/company_sjxs.png')}, {id: 2, name:'商机线索', isShow:true, intro:[{id: 201, name:'专项债项目', val:0, category:'xxx', field:'yy'},{id: 202, name:'招标计划', val:0, category:'xxx', field:'zz'}], ico:require('@/assets/images/detail/overview/company_sjxs.png')},
{id: 3, name:'城投拿地', intro:[{id: 301, name:'土地交易', val:0, category:'global', field:'landInfo'},{id: 302, name:'行政许可', val:0, category:'business', field:'adminLicensing'}], ico:require('@/assets/images/detail/overview/company_ctnd.png')}, {id: 3, name:'城投拿地', isShow:true, intro:[{id: 301, name:'土地交易', val:0, category:'global', field:'landInfo'},{id: 302, name:'行政许可', val:0, category:'business', field:'adminLicensing'}], ico:require('@/assets/images/detail/overview/company_ctnd.png')},
{id: 4, name:'对外投资', intro:[{id: 401, name:'企业经营实力展现'}], ico:require('@/assets/images/detail/overview/company_dwtz.png')}, {id: 4, name:'对外投资', isShow:true, intro:[{id: 401, name:'企业经营实力展现'}], ico:require('@/assets/images/detail/overview/company_dwtz.png')},
{id: 5, name:'股权穿透', intro:[{id: 501, name:'瞬息掌握企业关系'}], ico:require('@/assets/images/detail/overview/company_gqct.png')}, {id: 5, name:'股权穿透', isShow:true, intro:[{id: 501, name:'瞬息掌握企业关系'}], ico:require('@/assets/images/detail/overview/company_gqct.png')},
{id: 6, name:'企业架构', intro:[{id: 601, name:'企业架构关联图'}], ico:require('@/assets/images/detail/overview/company_qyjg.png')}, {id: 6, name:'企业架构', isShow:true, intro:[{id: 601, name:'企业架构关联图'}], ico:require('@/assets/images/detail/overview/company_qyjg.png')},
{id: 7, name:'工商信息', intro:[{id: 701, name:'企业基础工商登记信息'}], ico:require('@/assets/images/detail/overview/company_gsxx.png')} {id: 7, name:'工商信息', isShow:true, intro:[{id: 701, name:'企业基础工商登记信息'}], ico:require('@/assets/images/detail/overview/company_gsxx.png')}
], //企业链图 ], //企业链图
//风险扫描 //风险扫描
labelArr:['失信联合惩戒企业','司法纠纷','注销'], //负向经营状态 labelArr:['失信联合惩戒企业','司法纠纷','注销'], //负向经营状态
...@@ -153,13 +154,11 @@ export default { ...@@ -153,13 +154,11 @@ export default {
} }
}, },
created() { created() {
this.handleStatistic()
this.getCompanyInfo() //处理曾用名
}, },
mounted() { mounted() {
this.getClaimStatus() //获取企业认领状态 this.getClaimStatus() //获取企业认领状态
this.companySwiper() //swiper滚动板块
this.handleWidth() //企业背景是否收起 this.handleWidth() //企业背景是否收起
this.companySwiper() //swiper滚动板块
}, },
methods: { methods: {
//认领 //认领
...@@ -186,20 +185,27 @@ export default { ...@@ -186,20 +185,27 @@ export default {
}) })
}, },
getCompanyInfo(){ getCompanyInfo(){
if(this.companyInfo.historyNames && typeof this.companyInfo.historyNames=='string'){ //曾用名 if(this.companyInfo.historyNames && typeof this.companyInfo.historyNames=='string'){ //曾用名)
this.companyInfo.historyNames = JSON.parse(this.companyInfo.historyNames) this.companyInfo.historyNames = JSON.parse(this.companyInfo.historyNames)
} }
}, },
handleStatistic() { handleStatistic() {
this.graphList.forEach((item, index) => { this.graphList.forEach((item, index) => {
let number = null
if(item.intro){ if(item.intro){
item.intro.forEach((it, idx) => { item.intro.forEach((it, idx) => {
if(it.category || it.field){ if(it.category || it.field){
it.val = this.statistic[it.category]?this.statistic[it.category][it.field]:0 it.val = this.statistic[it.category]?this.statistic[it.category][it.field]:0
number +=it.val
} }
}) })
} }
if(number===0){
item.isShow = false
}
}) })
this.graphList = this.graphList.filter(item => item.isShow)
this.companySwiper() //swiper滚动板块
}, },
//获取认领状态 //获取认领状态
async getClaimStatus(){ async getClaimStatus(){
...@@ -259,7 +265,11 @@ export default { ...@@ -259,7 +265,11 @@ export default {
}, },
watch: { watch: {
companyInfo(newVal, oldVal) { companyInfo(newVal, oldVal) {
this.getCompanyInfo() //处理曾用名
this.handleWidth() this.handleWidth()
},
statistic(newVal, oldVal) {
this.handleStatistic()
} }
} }
} }
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
<li class="swiper-slide" v-for="(item, index) in operList" :key="index"> <li class="swiper-slide" v-for="(item, index) in operList" :key="index">
<div class="swiper-div"> <div class="swiper-div">
<div class="operations-title">{{item.bratingSubjectLevel}}-<span>{{item.ratingDate}}</span></div> <div class="operations-title">{{item.bratingSubjectLevel}}-<span>{{item.ratingDate}}</span></div>
<div class="flex-box text-cl1 operations-info"> <div class="flex-box operations-info">
{{item.bondType}} <div>{{item.bondType || '--'}}</div>
<span><img src="@/assets/images/detail/overview/oper_source.png">{{item.creditRatingAgency}}</span> <span class="text-cl1"><img src="@/assets/images/detail/overview/oper_source.png">{{item.creditRatingAgency || '--'}}</span>
</div> </div>
</div> </div>
</li> </li>
...@@ -48,7 +48,6 @@ export default { ...@@ -48,7 +48,6 @@ export default {
}, },
created() { created() {
this.handleQuery() this.handleQuery()
this.handleFinancial()
}, },
mounted() { mounted() {
this.companySwiper() this.companySwiper()
...@@ -68,6 +67,9 @@ export default { ...@@ -68,6 +67,9 @@ export default {
let res = await bondCreditRating({cid: this.companyId}) let res = await bondCreditRating({cid: this.companyId})
if(res.code==200){ if(res.code==200){
this.operList = res.data this.operList = res.data
this.$nextTick(() => {
this.companySwiper()
})
} }
}, },
handleFinancial(){ handleFinancial(){
...@@ -75,10 +77,15 @@ export default { ...@@ -75,10 +77,15 @@ export default {
let { totalAssets, belongNetAssets, creditBalance, operatingIncome, totalLiabilities } = this.financial let { totalAssets, belongNetAssets, creditBalance, operatingIncome, totalLiabilities } = this.financial
let jyqkObj = { totalAssets, belongNetAssets, creditBalance, operatingIncome, totalLiabilities } let jyqkObj = { totalAssets, belongNetAssets, creditBalance, operatingIncome, totalLiabilities }
this.gsjyList.forEach((item, index) => { this.gsjyList.forEach((item, index) => {
item.amount = jyqkObj[Object.keys(jyqkObj)[index]] item.amount = jyqkObj[Object.keys(jyqkObj)[index]]?parseFloat(jyqkObj[Object.keys(jyqkObj)[index]].toFixed(2)):0
}) })
} }
} }
},
watch: {
financial(newVal, oldVal) {
this.handleFinancial()
}
} }
} }
</script> </script>
...@@ -119,8 +126,12 @@ export default { ...@@ -119,8 +126,12 @@ export default {
justify-content: space-between; justify-content: space-between;
font-size: 14px; font-size: 14px;
color: #416587; color: #416587;
div{
flex-shrink: 0;
}
span{ span{
font-size: 12px; font-size: 12px;
margin-left: 6px;
img{ img{
width: 10px; width: 10px;
height: 10px; height: 10px;
......
...@@ -6,24 +6,36 @@ ...@@ -6,24 +6,36 @@
<el-tab-pane label="对外投资" name="second"></el-tab-pane> <el-tab-pane label="对外投资" name="second"></el-tab-pane>
</el-tabs> </el-tabs>
<div class="table-item"> <div class="table-item">
<div class="rela-person" v-if="activeName=='first'">实际控制人:<router-link to="" tag="a" class="a-link">{{financial&&financial.actualController || '--'}}</router-link></div> <div class="rela-person" v-if="activeName=='first'">实际控制人:{{financial&&financial.actualController || '--'}}</div>
<el-table :data="holderData" border style="width: 100%" v-if="activeName=='first'"> <el-table :data="holderData" border style="width: 100%" v-show="activeName=='first'">
<el-table-column label="序号" width="55" align="left" fixed> <el-table-column label="序号" width="55" align="left" fixed>
<template slot-scope="scope">{{ holderParams.pageNum * holderParams.pageSize - holderParams.pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ holderParams.pageNum * holderParams.pageSize - holderParams.pageSize + scope.$index + 1 }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="stockName" min-width="140" label="股东名称"></el-table-column> <el-table-column prop="stockName" min-width="140" label="股东名称"></el-table-column>
<el-table-column prop="xxx" label="持股数量(亿)"></el-table-column> <el-table-column prop="shouldCapiConv" label="持股数量(亿)"></el-table-column>
<el-table-column prop="xxx" label="持股比例"></el-table-column> <el-table-column label="持股比例">
<el-table-column prop="xxx" label="法定代表人"></el-table-column> <template slot-scope="scope">
<el-table-column prop="xxx" label="成立日期"></el-table-column> <span>{{scope.row.stockPercent?parseFloat(Number(scope.row.stockPercent*100).toFixed(4))+'%':'--'}}</span>
</template>
</el-table-column>
<el-table-column label="法定代表人">
<template slot-scope="scope">
<span>{{scope.row.corporatePerson || '--'}}</span>
</template>
</el-table-column>
<el-table-column label="成立日期">
<template slot-scope="scope">
<span>{{scope.row.registeredDate || '--'}}</span>
</template>
</el-table-column>
</el-table> </el-table>
<el-table :data="shipData" border style="width: 100%" v-else> <el-table :data="shipData" border style="width: 100%" v-show="activeName=='second'">
<el-table-column label="序号" width="55" align="left" fixed> <el-table-column label="序号" width="55" align="left" fixed>
<template slot-scope="scope">{{ shipParams.pageNum * shipParams.pageSize - shipParams.pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ shipParams.pageNum * shipParams.pageSize - shipParams.pageSize + scope.$index + 1 }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="investName" min-width="140" label="被投资企业名称"> <el-table-column min-width="140" label="被投资企业名称">
<template slot-scope="scope"> <template slot-scope="scope">
<router-link to="" tag="a" class="a-link" v-if="scope.row.id&&scope.row.investName" v-html="scope.row.investName"></router-link> <router-link :to="`/enterprise/${encodeStr(scope.row.id)}`" tag="a" class="a-link" v-if="scope.row.id&&scope.row.investName" v-html="scope.row.investName"></router-link>
<div v-else v-html="scope.row.investName || '--'"></div> <div v-else v-html="scope.row.investName || '--'"></div>
<div class="tags" v-if="scope.row.businessStatus || scope.row.biddingAnnouncement"> <div class="tags" v-if="scope.row.businessStatus || scope.row.biddingAnnouncement">
<span class="tag style1" v-if="scope.row.businessStatus">{{scope.row.businessStatus}}</span> <span class="tag style1" v-if="scope.row.businessStatus">{{scope.row.businessStatus}}</span>
...@@ -41,18 +53,20 @@ ...@@ -41,18 +53,20 @@
</el-table-column> </el-table-column>
<el-table-column prop="shouldCapi" label="认缴出资额(万元)"></el-table-column> <el-table-column prop="shouldCapi" label="认缴出资额(万元)"></el-table-column>
</el-table> </el-table>
<div class="rela-more" v-if="activeName=='second'&& shipTotal>shipParams.pageSize"><router-link to="" tag="a" class="a-link">查看更多数据 ></router-link></div> <div class="rela-more" v-if="activeName=='second'&& shipTotal>shipParams.pageSize"><span class="a-link" @click="handlePath">查看更多数据 ></span></div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import {encodeStr, changePath} from "@/assets/js/common"
import {bestStockPage, investment} from '@/api/detail/party-a/overview' import {bestStockPage, investment} from '@/api/detail/party-a/overview'
export default { export default {
name: 'Relationship', name: 'Relationship',
props: ['companyId', 'financial'], props: ['companyId', 'financial'],
data() { data() {
return { return {
encodeStr,
activeName:'first', activeName:'first',
//表格数据 //表格数据
holderData:[], holderData:[],
...@@ -60,13 +74,13 @@ export default { ...@@ -60,13 +74,13 @@ export default {
cid: this.companyId, cid: this.companyId,
isHistory: 0, isHistory: 0,
pageNum: 1, pageNum: 1,
pageSize: 20 pageSize: 100
}, },
shipData:[], shipData:[],
shipParams: { shipParams: {
cid: this.companyId, cid: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 5
}, },
shipTotal: 0 shipTotal: 0
} }
...@@ -83,6 +97,9 @@ export default { ...@@ -83,6 +97,9 @@ export default {
this.activeName=='first'?this.holderData = res.rows:this.shipData = res.rows this.activeName=='first'?this.holderData = res.rows:this.shipData = res.rows
} }
this.activeName=='second'?this.shipTotal = res.total:'' this.activeName=='second'?this.shipTotal = res.total:''
},
handlePath(){
changePath(this, 'overseas')
} }
} }
} }
...@@ -135,6 +152,9 @@ export default { ...@@ -135,6 +152,9 @@ export default {
.rela-more{ .rela-more{
padding-top: 16px; padding-top: 16px;
text-align: center; text-align: center;
span{
cursor: pointer;
}
} }
} }
</style> </style>
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
tz:'', tz:'',
bl:'' bl:''
}, },
{ /*{
name:'企业公告', name:'企业公告',
value:'', value:'',
category:'xxx', category:'xxx',
...@@ -67,11 +67,11 @@ export default { ...@@ -67,11 +67,11 @@ export default {
{ {
name:'对外投资变更', name:'对外投资变更',
value:'', value:'',
category:'basic', category:'xxx',
field:'outboundInvestment', field:'yy',
tz:'', tz:'',
bl:'' bl:''
}, },*/
{ {
name:'法院公告', name:'法院公告',
value:'', value:'',
...@@ -80,14 +80,14 @@ export default { ...@@ -80,14 +80,14 @@ export default {
tz:'', tz:'',
bl:'' bl:''
}, },
{ /*{
name:'立案信息', name:'立案信息',
value:'', value:'',
category:'xxx', category:'xxx',
field:'zz', field:'zz',
tz:'', tz:'',
bl:'' bl:''
}, },*/
{ {
name:'被执行人', name:'被执行人',
value:'', value:'',
...@@ -108,12 +108,8 @@ export default { ...@@ -108,12 +108,8 @@ export default {
} }
}, },
created() { created() {
this.handView()
}, },
mounted() { mounted() {
this.$nextTick(()=>{
this.getDT()
})
}, },
methods: { methods: {
handView(){ handView(){
...@@ -126,6 +122,10 @@ export default { ...@@ -126,6 +122,10 @@ export default {
let it = {name:item.name, value:number, tz: '', bl:parseFloat(Number(Number(number)/Number(totalVal)*100).toFixed(2))+'%'} let it = {name:item.name, value:number, tz: '', bl:parseFloat(Number(Number(number)/Number(totalVal)*100).toFixed(2))+'%'}
return it return it
}) })
this.viewData.sort((a, b) => {
return a.value < b.value ? 1 : -1;
})
this.getDT()
}, },
getDT(){ getDT(){
let myChart = echarts.init(document.getElementById("echartsRisk")) let myChart = echarts.init(document.getElementById("echartsRisk"))
...@@ -172,6 +172,11 @@ export default { ...@@ -172,6 +172,11 @@ export default {
} }
myChart.setOption(option) myChart.setOption(option)
} }
},
watch: {
statistic(newVal, oldVal) {
this.handView()
}
} }
} }
</script> </script>
...@@ -185,7 +190,6 @@ export default { ...@@ -185,7 +190,6 @@ export default {
.clue-box{ .clue-box{
width: 100%; width: 100%;
justify-content: space-between; justify-content: space-between;
align-items: normal;
margin-top: 20px; margin-top: 20px;
.clue-echarts{ .clue-echarts{
width: calc(50% - 8px); width: calc(50% - 8px);
......
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
queryParams: { queryParams: {
cid: this.companyId, cid: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 20 pageSize: 100
}, },
//表格数据 //表格数据
tableData:[] tableData:[]
......
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
<div class="tender-list"> <div class="tender-list">
<div class="common-title">招标公告</div> <div class="common-title">招标公告</div>
<div class="tender-item" v-for="(item, index) in zbggList" :key="index"> <div class="tender-item" v-for="(item, index) in zbggList" :key="index">
<div class="flex-box tender-title">{{item.projectName}}<span :class="item.tenderStage=='项目动态'?'style2':item.tag=='招投标'?'style4':'style1'">{{item.tenderStage}}</span></div> <div class="flex-box tender-title"><div class="text-cl1" :title="item.projectName"><router-link :to="'/radar/Bidding/details/'+item.bid" tag="a" class="a-link">{{item.projectName}}</router-link></div><span :class="item.tenderStage=='项目动态'?'style2':item.tag=='招投标'?'style4':'style1'">{{item.tenderStage}}</span></div>
<span class="tender-time">{{item.contact}} {{item.issueTime}}</span> <span class="tender-time">{{item.contact}} {{item.issueTime}}</span>
</div> </div>
</div> </div>
<div class="tender-list"> <div class="tender-list">
<div class="common-title">企业动态</div> <div class="common-title">企业动态</div>
<div class="tender-item" v-for="(item, index) in trendList" :key="index"> <div class="tender-item" v-for="(item, index) in trendList" :key="index">
<div class="flex-box tender-title">{{item.xxx}}<span :class="item.tag=='新增分支机构'?'style2':item.tag=='新增施工工法'?'style3':'style1'">{{item.tag}}</span></div> <div class="flex-box tender-title"><div class="text-cl1" :title="tendTitle(item.details)">{{tendTitle(item.details)}}</div><span :class="item.parentDimension=='新增分支机构'?'style2':item.parentDimension=='新增施工工法'?'style3':'style1'">{{item.parentDimension}}</span></div>
<span class="tender-time">{{item.createTime}}</span> <span class="tender-time">{{item.createTime}}</span>
</div> </div>
</div> </div>
...@@ -34,18 +34,28 @@ export default { ...@@ -34,18 +34,28 @@ export default {
//招标公告数据 //招标公告数据
zbggList:[], zbggList:[],
trendParams: { trendParams: {
companyId: this.companyId, companyId: '2453',
pageNum: 1, pageNum: 1,
pageSize: 5 pageSize: 5
}, },
//企业动态数据 //企业动态数据
trendList:[ trendList:[]
{name: '深圳北站片区正建超大型商场,预计2026年建成', tag: '对外投资变更', time: '03-21'}, }
{name: '深圳北站片区正建超大型商场,预计2026年建成', tag: '新增分支机构', time: '03-21'}, },
{name: '深圳北站片区正建超大型商场,预计2026年建成', tag: '新增分支机构', time: '03-21'}, computed: {
{name: '深圳北站片区正建超大型商场,预计2026年建成', tag: '新增施工工法', time: '03-21'}, tendTitle() {
{name: '深圳北站片区正建超大型商场,预计2026年建成', tag: '新增施工工法', time: '03-21'} return function(val) {
] let str = ''
if(val){
for(let key in val){
str += key+':'+ val[key]+';'
}
str = str.substring(0, str.lastIndexOf(';'))
}else{
str = '--'
}
return str
}
} }
}, },
created() { created() {
...@@ -92,6 +102,9 @@ export default { ...@@ -92,6 +102,9 @@ export default {
color: #232323; color: #232323;
justify-content: space-between; justify-content: space-between;
align-items: normal; align-items: normal;
div{
width: calc(100% - 120px);
}
span{ span{
height: 22px; height: 22px;
line-height: 22px; line-height: 22px;
...@@ -123,6 +136,7 @@ export default { ...@@ -123,6 +136,7 @@ export default {
} }
} }
.tender-time{ .tender-time{
height: 28px;
display: block; display: block;
padding-top: 8px; padding-top: 8px;
color: rgba(35,35,35,0.4); color: rgba(35,35,35,0.4);
......
<template> <template>
<div class="app-container part-container"> <div class="app-container part-container">
<div class="view-content"><Infoheader :companyId="companyId" :companyInfo="companyInfo" :statistic="statistic" v-if="isShow" /></div><!-- 企业信息 --> <div class="view-content"><Infoheader :companyId="companyId" :companyInfo="companyInfo" :statistic="statistic" /></div><!-- 企业信息 -->
<div class="view-content"><Operations :companyId="companyId" :financial="financial" v-if="isShow" /></div><!-- 公司经营 --> <div class="view-content"><Operations :companyId="companyId" :financial="financial" /></div><!-- 公司经营 -->
<div class="view-content"><Bidding :companyId="companyId" /></div><!--招标偏好、业务往来--> <div class="view-content"><Bidding :companyId="companyId" /></div><!--招标偏好、业务往来-->
<div class="view-content"><Busclue :companyId="companyId" :statistic="statistic" v-if="statistic" /></div><!--商机线索--> <div class="view-content"><Busclue :companyId="companyId" :statistic="statistic" /></div><!--商机线索-->
<div class="view-content"><Relationship :companyId="companyId" :financial="financial" v-if="isShow" /></div><!--关系企业--> <div class="view-content"><Relationship :companyId="companyId" :financial="financial" /></div><!--关系企业-->
<div class="view-content"><Senior :companyId="companyId" /></div><!--高管--> <div class="view-content"><Senior :companyId="companyId" /></div><!--高管-->
<div class="view-content"><Risk :companyId="companyId" :statistic="statistic" v-if="isShow" /></div><!--风险概览--> <div class="view-content"><Risk :companyId="companyId" :statistic="statistic" /></div><!--风险概览-->
<div class="view-content"><Tender :companyId="companyId" /></div><!--招标公告、企业动态--> <div class="view-content"><Tender :companyId="companyId" /></div><!--招标公告、企业动态-->
</div> </div>
</template> </template>
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
margin: 0; margin: 0;
padding: 0; padding: 0;
.view-content{ .view-content{
//margin-top: 12px; margin-top: 12px;
} }
} }
</style> </style>
...@@ -160,12 +160,7 @@ export default { ...@@ -160,12 +160,7 @@ export default {
components: { components: {
}, },
props: { props: ['customerIds'],
customerIds: {
type: String,
default: ''
}
},
data() { data() {
return { return {
autosize: { autosize: {
......
...@@ -33,12 +33,7 @@ export default { ...@@ -33,12 +33,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId'],
companyId: {
type: Number,
default: 0
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -35,12 +35,7 @@ export default { ...@@ -35,12 +35,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId'],
companyId: {
type: Number,
default: 0
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -33,12 +33,7 @@ export default { ...@@ -33,12 +33,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId'],
companyId: {
type: Number,
default: 0
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -32,12 +32,7 @@ export default { ...@@ -32,12 +32,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId'],
companyId: {
type: Number,
default: 0
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -41,12 +41,7 @@ export default { ...@@ -41,12 +41,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId'],
companyId: {
type: Number,
default: 0
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -41,12 +41,7 @@ export default { ...@@ -41,12 +41,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId'],
companyId: {
type: Number,
default: 0
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -41,12 +41,7 @@ export default { ...@@ -41,12 +41,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId'],
companyId: {
type: Number,
default: 0
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -37,12 +37,7 @@ export default { ...@@ -37,12 +37,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId'],
companyId: {
type: Number,
default: 0
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -35,16 +35,7 @@ export default { ...@@ -35,16 +35,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId','companyInfo'],
companyId: {
type: Number,
default: 0
},
companyInfo: {
type: Object,
default: {}
}
},
data() { data() {
return { return {
addressList:'', addressList:'',
......
...@@ -118,16 +118,7 @@ export default { ...@@ -118,16 +118,7 @@ export default {
components: { components: {
}, },
props: { props: ['companyId', 'companyInfo'],
companyId: {
type: Number,
default: 0
},
companyInfo: {
type: Object,
default: {}
}
},
data() { data() {
return { return {
queryParams: { queryParams: {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
<div class="top-icons"> <div class="top-icons">
<img class="top-img" src="@/assets/images/project/icon_8.png"> <img class="top-img" src="@/assets/images/project/icon_8.png">
<div class="name">即将开项目</div> <div class="name">即将开项目</div>
<div class="number">39</div> <div class="number">39</div>
<div class="compare">较上月<span class="ss">+3 <img src="@/assets/images/project/ss.png"></span></div> <div class="compare">较上月<span class="ss">+3 <img src="@/assets/images/project/ss.png"></span></div>
</div> </div>
...@@ -504,10 +504,18 @@ export default { ...@@ -504,10 +504,18 @@ export default {
.ss{ .ss{
color: #0CBC6D; color: #0CBC6D;
padding-left: 3px; padding-left: 3px;
>img{
width: 8px;
margin-top: -3px;
}
} }
.xj{ .xj{
color: #FF3C3C; color: #FF3C3C;
padding-left: 3px; padding-left: 3px;
>img{
width: 8px;
margin-top: -3px;
}
} }
} }
} }
...@@ -642,6 +650,9 @@ export default { ...@@ -642,6 +650,9 @@ export default {
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
padding-top: 16px; padding-top: 16px;
>img{
height: 48px;
}
>div{ >div{
line-height: 14px; line-height: 14px;
} }
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<div class="p3"> <div class="p3">
<img src="@/assets/images/project/success.png">查询成功 <img src="@/assets/images/project/success.png">查询成功
</div> </div>
<div class="p2">成功导入{{titletext}}信息</div> <div class="p2">成功导入{{successCount}}{{titletext}}信息</div>
<div class="btns"> <div class="btns">
<div class="btn btn_primary h32" @click="getmsg">查看</div> <div class="btn btn_primary h32" @click="getmsg">查看</div>
</div> </div>
...@@ -73,10 +73,10 @@ ...@@ -73,10 +73,10 @@
}, },
downloadhref:'',//样例地址 downloadhref:'',//样例地址
titletext:'', titletext:'',
successCount:0,//成功条数
} }
}, },
created(){ created(){
console.log(this.importtype )
if(this.importtype == 'project'){//项目管理 if(this.importtype == 'project'){//项目管理
this.downloadhref = '/file/projectTemplate.xlsx' this.downloadhref = '/file/projectTemplate.xlsx'
this.titletext = '商机' this.titletext = '商机'
...@@ -93,15 +93,35 @@ ...@@ -93,15 +93,35 @@
this.$emit('getdatas') this.$emit('getdatas')
}, },
handleFileListChange(file, fileList) { handleFileListChange(file, fileList) {
var testmsg = file.name.substring(file.name.lastIndexOf(".") + 1);
const extension = testmsg === "xlsx";
const extension1 = testmsg === "xls";
if (!extension && !extension1 ) {
this.$message({
message: "上传文件只能是.xls,.xlsx格式!",
type: "warning",
});
return false;
}
const isLt2M = file.size / 1024 / 1024 < 2
if (!isLt2M) {
this.$refs.upload.clearFiles()
this.$message({
message: '上传文件大小不能超过 2MB!',
type: 'warning'
})
return false
}
if (fileList.length > 0) { if (fileList.length > 0) {
this.fileList = [fileList[fileList.length - 1]]; this.fileList = [fileList[fileList.length - 1]];
this.isUpload = true this.isUpload = true
} }
}, },
onSuccess(res, file, fileList) { onSuccess(res, file, fileList) {
if(res.code == 200 ) if (res.code == 200) {
this.successCount = res.successCount
this.addsuccess = true this.addsuccess = true
else { }else {
this.importCancel() this.importCancel()
this.$message.error({ message: res.msg, showClose: true }) this.$message.error({ message: res.msg, showClose: true })
} }
......
...@@ -15,26 +15,34 @@ ...@@ -15,26 +15,34 @@
<el-input v-model="addParam.content" placeholder="新建一条跟进记录,如:周五上午预约客户上门拜访"></el-input> <el-input v-model="addParam.content" placeholder="新建一条跟进记录,如:周五上午预约客户上门拜访"></el-input>
</div> </div>
<div class="wr_bot"> <div class="wr_bot">
<el-select v-model="addParam.visitMode" class="w128" placeholder="拜访方式"> <div class="sels" v-model="addParam.visitMode">
<i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_1.png"></i> <img src="@/assets/images/project/ico_1.png">
<el-select class="w128" placeholder="拜访方式">
<el-option v-for="(item,index) in bffslist" :key="index" :label="item.dictLabel" :value="item.dictValue"></el-option> <el-option v-for="(item,index) in bffslist" :key="index" :label="item.dictLabel" :value="item.dictValue"></el-option>
</el-select> </el-select>
<template v-if="!customerIds"> </div>
<el-select v-if="showtype == 'gjdt'" v-model="addParam.customerId" class="w128" placeholder="关联企业"> <div class="sels" v-if="!customerIds && showtype == 'gjdt'">
<i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_1.png"></i> <img src="@/assets/images/project/ico_1.png">
<el-select v-model="addParam.customerId" class="w128" placeholder="关联企业">
<el-option v-for="(item,index) in glqylist" :key="index" :label="item.companyName" :value="item.customerId"></el-option> <el-option v-for="(item,index) in glqylist" :key="index" :label="item.companyName" :value="item.customerId"></el-option>
</el-select> </el-select>
</template> </div>
<el-select v-if="showtype == 'projectgjdt'" v-model="projectId" class="w128" placeholder="关联项目"> <div class="sels" v-if="showtype == 'projectgjdt'">
<i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_1.png"></i> <img src="@/assets/images/project/ico_1.png">
<el-select v-model="projectId" class="w128" placeholder="关联项目">
<el-option v-for="(item,index) in projectList" :key="index" :label="item.projectName" :value="item.id"></el-option> <el-option v-for="(item,index) in projectList" :key="index" :label="item.projectName" :value="item.id"></el-option>
</el-select> </el-select>
</div>
<div class="sels">
<img src="@/assets/images/project/ico_2.png">
<el-input v-model="addParam.name" placeholder="拜访对象" style="width: 100px;"> <el-input v-model="addParam.name" placeholder="拜访对象" style="width: 100px;">
<i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_2.png"></i>
</el-input> </el-input>
</div>
<div class="sels">
<img src="@/assets/images/project/ico_3.png">
<el-input v-model="addParam.position" placeholder="客户职位" style="width: 100px;"> <el-input v-model="addParam.position" placeholder="客户职位" style="width: 100px;">
<i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_3.png"></i>
</el-input> </el-input>
</div>
<div class="times"><img src="@/assets/images/project/ico_4.png"> <div class="times"><img src="@/assets/images/project/ico_4.png">
<el-date-picker class="w128" <el-date-picker class="w128"
v-model="addParam.nextVisitTime" v-model="addParam.nextVisitTime"
......
...@@ -209,5 +209,6 @@ ...@@ -209,5 +209,6 @@
.img.img1{ .img.img1{
margin-right: 8px; margin-right: 8px;
background: url('../../../../../src/assets/images/project/add_2.png')no-repeat center center; background: url('../../../../../src/assets/images/project/add_2.png')no-repeat center center;
background-size: 100%;
} }
</style> </style>
...@@ -286,10 +286,12 @@ ...@@ -286,10 +286,12 @@
.img.img1{ .img.img1{
margin-right: 4px; margin-right: 4px;
background: url('../../../../../src/assets/images/project/add_2.png')no-repeat center center; background: url('../../../../../src/assets/images/project/add_2.png')no-repeat center center;
background-size: 100%;
} }
.img.img2{ .img.img2{
margin-right: 4px; margin-right: 4px;
background: url('../../../../../src/assets/images/upload.png')no-repeat center center; background: url('../../../../../src/assets/images/upload.png')no-repeat center center;
background-size: 100%;
} }
.box-card{ .box-card{
position: relative; position: relative;
......
...@@ -276,6 +276,8 @@ ...@@ -276,6 +276,8 @@
} }
</script> </script>
<style scoped> <style scoped lang="scss">
.select-popper{
top: 3px;
}
</style> </style>
...@@ -301,6 +301,7 @@ ...@@ -301,6 +301,7 @@
margin-right: 4px; margin-right: 4px;
transform: rotateX(180deg); transform: rotateX(180deg);
background: url('../../../../../src/assets/images/import.png')no-repeat center center; background: url('../../../../../src/assets/images/import.png')no-repeat center center;
background-size: 100%;
} }
.box-card{ .box-card{
position: relative; position: relative;
......
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
} }
}, },
created(){ created(){
this.thistag = this.$route.query.tag this.thistag = this.$route.query.tag ? this.$route.query.tag : this.thistag
this.prvinceTree() this.prvinceTree()
this.id = this.detailId ? this.detailId : this.$route.query.id this.id = this.detailId ? this.detailId : this.$route.query.id
//项目阶段 //项目阶段
...@@ -347,6 +347,9 @@ ...@@ -347,6 +347,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.select-popper{
top: 0;
}
.head{ .head{
.titles{ .titles{
line-height: 31px; line-height: 31px;
...@@ -376,7 +379,7 @@ ...@@ -376,7 +379,7 @@
&:hover{ &:hover{
background-color: #DFE0E2; background-color: #DFE0E2;
} }
>img{ img{
float: left; float: left;
width: 16px; width: 16px;
margin-top: 3px; margin-top: 3px;
...@@ -417,6 +420,7 @@ ...@@ -417,6 +420,7 @@
width: 10px; width: 10px;
height: 32px; height: 32px;
background: url("../../../assets/images/project/icol1.png") no-repeat top center #fff; background: url("../../../assets/images/project/icol1.png") no-repeat top center #fff;
background-size: 100%;
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
...@@ -428,14 +432,17 @@ ...@@ -428,14 +432,17 @@
width: 10px; width: 10px;
height: 32px; height: 32px;
background: url("../../../assets/images/project/icor1.png") no-repeat top center #fff; background: url("../../../assets/images/project/icor1.png") no-repeat top center #fff;
background-size: 100%;
} }
&:hover{ &:hover{
background: #E3E6EA; background: #E3E6EA;
.left{ .left{
background: url("../../../assets/images/project/icol2.png") no-repeat top center #fff; background: url("../../../assets/images/project/icol2.png") no-repeat top center #fff;
background-size: 100%;
} }
.right{ .right{
background: url("../../../assets/images/project/icor2.png") no-repeat top center #fff; background: url("../../../assets/images/project/icor2.png") no-repeat top center #fff;
background-size: 100%;
} }
} }
...@@ -444,9 +451,11 @@ ...@@ -444,9 +451,11 @@
color: #fff; color: #fff;
.left{ .left{
background: url("../../../assets/images/project/icol3.png") no-repeat top center #fff; background: url("../../../assets/images/project/icol3.png") no-repeat top center #fff;
background-size: 100%;
} }
.right{ .right{
background: url("../../../assets/images/project/icor3.png") no-repeat top center #fff; background: url("../../../assets/images/project/icor3.png") no-repeat top center #fff;
background-size: 100%;
} }
} }
} }
......
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
<el-divider v-if="index != datalist.length-1"></el-divider> <el-divider v-if="index != datalist.length-1"></el-divider>
<div class="operates" v-if="activeName=='first'"> <div class="operates" v-if="activeName=='first'">
<div class="i1"><img src="@/assets/images/follow.png" @click="toDetail(item.id,'gjjl')">跟进</div> <div class="i1"><img src="@/assets/images/follow.png" @click="toDetail(item.id,'gjjl')">跟进</div>
<div class="i2"><img src="@/assets/images/edit.png" @click="toDetail(item.id,'xmsl')">编辑</div> <div class="i2"><img src="@/assets/images/edit1.png" @click="toDetail(item.id,'xmsl')">编辑</div>
<div class="i3" @click="deldetail(index)"><img src="@/assets/images/delete.png">删除</div> <div class="i3" @click="deldetail(index)"><img src="@/assets/images/delete.png">删除</div>
</div> </div>
<div class="delform" v-if="activeName=='first' && ondel == index"> <div class="delform" v-if="activeName=='first' && ondel == index">
...@@ -447,14 +447,17 @@ export default { ...@@ -447,14 +447,17 @@ export default {
z-index: 2; z-index: 2;
.img.img1{ .img.img1{
background: url('../../../../src/assets/images/add.png')no-repeat center center; background: url('../../../../src/assets/images/add.png')no-repeat center center;
background-size: 100%;
} }
.btn_default:hover{ .btn_default:hover{
.img1{ .img1{
background: url('../../../../src/assets/images/add_1.png')no-repeat center center; background: url('../../../../src/assets/images/add_1.png')no-repeat center center;
background-size: 100%;
} }
} }
.img.img2{ .img.img2{
background: url('../../../../src/assets/images/import.png')no-repeat center center; background: url('../../../../src/assets/images/import.png')no-repeat center center;
background-size: 100%;
} }
} }
.scbtns{ .scbtns{
...@@ -536,6 +539,7 @@ export default { ...@@ -536,6 +539,7 @@ export default {
>img{ >img{
float: left; float: left;
margin-right: 5px; margin-right: 5px;
width: 16px;
} }
} }
.i1:hover{ .i1:hover{
......
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