Commit 5c7c3147 authored by danfuman's avatar danfuman

修改

parent dd8a6e50
...@@ -105,8 +105,8 @@ export default { ...@@ -105,8 +105,8 @@ export default {
{ label: '合作项目/工程名称', prop: 'projectName', width: '260', slot: true, showOverflowTooltip: true }, { label: '合作项目/工程名称', prop: 'projectName', width: '260', slot: true, showOverflowTooltip: true },
{ label: '合作时间', prop: 'time', width: '140', sortable: "custom" }, { label: '合作时间', prop: 'time', width: '140', sortable: "custom" },
{ label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' }, { label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' },
{ label: '项目类型', prop: 'counterpartRole', minWidth: '90' }, { label: '项目类型', prop: 'counterpartRole', minWidth: '105' },
{ label: '工程类型', prop: 'projectType', minWidth: '90' }, { label: '工程类型', prop: 'projectType', minWidth: '100' },
{ label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", }, { label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", },
{ label: '项目地区', prop: 'area', width: '245', slot: true }, { label: '项目地区', prop: 'area', width: '245', slot: true },
{ label: '数据来源', prop: 'dataSource', width: '90' }, { label: '数据来源', prop: 'dataSource', width: '90' },
...@@ -181,7 +181,7 @@ export default { ...@@ -181,7 +181,7 @@ export default {
}, },
// 创建列表查询条件 // 创建列表查询条件
createQueryCondition(form) { createQueryCondition(form) {
/** /**
* @type {Array<{ * @type {Array<{
* fieldName : string; * fieldName : string;
* value : any * value : any
......
...@@ -170,8 +170,8 @@ export default { ...@@ -170,8 +170,8 @@ export default {
{ label: '合作时间', prop: 'time', width: '140', sortable: "custom" }, { label: '合作时间', prop: 'time', width: '140', sortable: "custom" },
{ label: '集团成员身份', prop: 'role', width: '140' }, { label: '集团成员身份', prop: 'role', width: '140' },
{ label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' }, { label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' },
{ label: '项目类型', prop: 'counterpartRole', minWidth: '90' }, { label: '项目类型', prop: 'counterpartRole', minWidth: '105' },
{ label: '工程类型', prop: 'projectType', minWidth: '90' }, { label: '工程类型', prop: 'projectType', minWidth: '100' },
{ label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", }, { label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", },
{ label: '项目地区', prop: 'area', width: '245', slot: true }, { label: '项目地区', prop: 'area', width: '245', slot: true },
], ],
...@@ -249,7 +249,7 @@ export default { ...@@ -249,7 +249,7 @@ export default {
}, },
// 创建列表查询条件 // 创建列表查询条件
createQueryCondition(form) { createQueryCondition(form) {
/** /**
* @type {Array<{ * @type {Array<{
* fieldName : string; * fieldName : string;
* value : any * value : any
......
...@@ -105,8 +105,8 @@ export default { ...@@ -105,8 +105,8 @@ export default {
{ label: '合作项目/工程名称', prop: 'projectName', width: '260', slot: true, showOverflowTooltip: true }, { label: '合作项目/工程名称', prop: 'projectName', width: '260', slot: true, showOverflowTooltip: true },
{ label: '合作时间', prop: 'time', width: '140', sortable: "custom" }, { label: '合作时间', prop: 'time', width: '140', sortable: "custom" },
{ label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' }, { label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' },
{ label: '项目类型', prop: 'counterpartRole', minWidth: '90' }, { label: '项目类型', prop: 'counterpartRole', minWidth: '105' },
{ label: '工程类型', prop: 'projectType', minWidth: '90' }, { label: '工程类型', prop: 'projectType', minWidth: '100' },
{ label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", }, { label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", },
{ label: '项目地区', prop: 'area', width: '245', slot: true }, { label: '项目地区', prop: 'area', width: '245', slot: true },
{ label: '数据来源', prop: 'dataSource', width: '90' }, { label: '数据来源', prop: 'dataSource', width: '90' },
...@@ -181,7 +181,7 @@ export default { ...@@ -181,7 +181,7 @@ export default {
}, },
// 创建列表查询条件 // 创建列表查询条件
createQueryCondition(form) { createQueryCondition(form) {
/** /**
* @type {Array<{ * @type {Array<{
* fieldName : string; * fieldName : string;
* value : any * value : any
......
<template> <template>
<div class="app-container part-container details-of-party"> <div class="app-container part-container details-of-party">
<div style="height: 100%;" v-if="!isCompany">
<skeleton style="padding-top: 16px"></skeleton>
</div>
<Header :company-id="companyId" :companyInfo="companyInfo" :cooDetail="cooDetail" v-if="companyId" @close-detail="closeDetail" /> <Header :company-id="companyId" :companyInfo="companyInfo" :cooDetail="cooDetail" v-if="companyId" @close-detail="closeDetail" />
<div class="part-main"> <div class="part-main">
<div class="part-left"> <div class="part-left">
<side-bar :statisticObj="statisticObj" ref="sidebar" @currentPath="showPartPage" :pathName="currentPath.pathName" <side-bar :statisticObj="statisticObj" ref="sidebar" @currentPath="showPartPage" :pathName="currentPath.pathName"
:partBoxHeight="partBoxHeight" :customerId="customerId" :isCompany="isCompany" :isCustomer="isCustomer" /> :partBoxHeight="partBoxHeight" :customerId="customerId" :isCompany="isCompany" :isCustomer="isCustomer" />
</div> </div>
<div class="part-right"> <div class="part-right">
<div id="partBox" v-if="companyId" class="part-common-container-style"> <div id="partBox" v-if="companyId" class="part-common-container-style">
...@@ -37,7 +40,7 @@ ...@@ -37,7 +40,7 @@
<cooperative-owner-units v-if="currentPath.pathName=='cooperativeOwnerUnits'" :company-id="companyId"></cooperative-owner-units> <cooperative-owner-units v-if="currentPath.pathName=='cooperativeOwnerUnits'" :company-id="companyId"></cooperative-owner-units>
<!-- 2、常合作施工单位 --> <!-- 2、常合作施工单位 -->
<cooperative-construction-unit v-if="currentPath.pathName=='cooperativeConstructionUnit'" <cooperative-construction-unit v-if="currentPath.pathName=='cooperativeConstructionUnit'"
:company-id="companyId"></cooperative-construction-unit> :company-id="companyId"></cooperative-construction-unit>
<!-- 3、常合作集团 --> <!-- 3、常合作集团 -->
<cooperative-group v-if="currentPath.pathName=='cooperativeGroup'" :company-id="companyId"></cooperative-group> <cooperative-group v-if="currentPath.pathName=='cooperativeGroup'" :company-id="companyId"></cooperative-group>
<!-- 投诚分析 --> <!-- 投诚分析 -->
...@@ -60,12 +63,12 @@ ...@@ -60,12 +63,12 @@
<!-- 内部合作 --> <!-- 内部合作 -->
<!-- 1、咨询机构合作 --> <!-- 1、咨询机构合作 -->
<consulting-agency-cooperation v-if="currentPath.pathName=='consultingAgencyCooperation'" <consulting-agency-cooperation v-if="currentPath.pathName=='consultingAgencyCooperation'"
:company-id="companyId"></consulting-agency-cooperation> :company-id="companyId"></consulting-agency-cooperation>
<!-- 2、准入情况 --> <!-- 2、准入情况 -->
<access-condition v-if="currentPath.pathName=='accessCondition'" :company-id="companyId" :companyInfo="companyInfo"></access-condition> <access-condition v-if="currentPath.pathName=='accessCondition'" :company-id="companyId" :companyInfo="companyInfo"></access-condition>
<!-- 3、供应商合作记录 --> <!-- 3、供应商合作记录 -->
<cooperation-record v-if="currentPath.pathName=='cooperationRecord'" :company-id="companyId" <cooperation-record v-if="currentPath.pathName=='cooperationRecord'" :company-id="companyId"
:company-name="companyName"></cooperation-record> :company-name="companyName"></cooperation-record>
<!-- 4、施工业绩 --> <!-- 4、施工业绩 -->
<construction-performance v-if="currentPath.pathName=='constructionPerformance'" :company-id="companyId"></construction-performance> <construction-performance v-if="currentPath.pathName=='constructionPerformance'" :company-id="companyId"></construction-performance>
<!-- 5、在施工程情况 --> <!-- 5、在施工程情况 -->
...@@ -78,10 +81,10 @@ ...@@ -78,10 +81,10 @@
<Preference v-if="currentPath.pathName=='preference'" :customer-ids="customerId" :customerInfo="customerInfo" /> <Preference v-if="currentPath.pathName=='preference'" :customer-ids="customerId" :customerInfo="customerInfo" />
<!-- 合作情况 --> <!-- 合作情况 -->
<Cooperate v-if="currentPath.pathName=='cooperate'" :customer-ids="customerId" :companyInfo="companyInfo" :cooDetail="cooDetail" <Cooperate v-if="currentPath.pathName=='cooperate'" :customer-ids="customerId" :companyInfo="companyInfo" :cooDetail="cooDetail"
:customerInfo="customerInfo" @detail="cooperateDetail" /> :customerInfo="customerInfo" @detail="cooperateDetail" />
<!-- 决策链条 --> <!-- 决策链条 -->
<DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :customer-ids="customerId" :companyInfo="companyInfo" <DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :customer-ids="customerId" :companyInfo="companyInfo"
:customerInfo="customerInfo" /> :customerInfo="customerInfo" />
<!-- 跟进记录 --> <!-- 跟进记录 -->
<Gjjl v-if="currentPath.pathName=='gjjl'" :isDisabled='false' types="gjdt" :customer-ids="customerId" /> <Gjjl v-if="currentPath.pathName=='gjjl'" :isDisabled='false' types="gjdt" :customer-ids="customerId" />
</template> </template>
...@@ -148,6 +151,7 @@ import ConstructionSituation from "@/views/detail/party-a/internalCooperation/co ...@@ -148,6 +151,7 @@ import ConstructionSituation from "@/views/detail/party-a/internalCooperation/co
import { import {
urbanInvestmentPage, urbanInvestmentPage,
} from '@/api/detail/party-a/urbanLnvestment'; } from '@/api/detail/party-a/urbanLnvestment';
import skeleton from './component/skeleton'
export default { export default {
name: 'PartyA', name: 'PartyA',
components: { components: {
...@@ -198,11 +202,13 @@ export default { ...@@ -198,11 +202,13 @@ export default {
CooperativeConstructionUnit, CooperativeConstructionUnit,
CooperativeGroup, CooperativeGroup,
ConstructionPerformance, ConstructionPerformance,
ConstructionSituation ConstructionSituation,
skeleton
}, },
data() { data() {
return { return {
isSkeleton: true, isSkeleton: true,
isSkeleton1: true,
companyInfo: {}, companyInfo: {},
customerInfo: {}, customerInfo: {},
// 企业名称 // 企业名称
...@@ -303,13 +309,15 @@ export default { ...@@ -303,13 +309,15 @@ export default {
this.companyId = data; this.companyId = data;
await this.$nextTick(); await this.$nextTick();
this.listenSider(); this.listenSider();
await this.getStatistic(this.companyName);
await this.handleQuery(); await this.handleQuery();
await this.getStatistic(this.companyName);
await this.association(this.$route.query.customerId); await this.association(this.$route.query.customerId);
this.$refs.sidebar.getFinancial(data); this.$refs.sidebar.getFinancial(data);
} }
}, },
async getStatistic(companyName) { async getStatistic(companyName) {
let params = { let params = {
companyId: this.companyId companyId: this.companyId
}; };
......
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
menuDetails:{}, menuDetails:{},
menuOptions: { menuOptions: {
nodeName: "menuName", nodeName: "menuName",
nodeValue: "menuId", nodeValue: "menuName",
children : "childrenList" children : "childrenList"
}, },
detailsId:'', detailsId:'',
......
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