|
|
@@ -1,14 +1,13 @@
|
|
|
<template>
|
|
|
<div class="page-detail">
|
|
|
- <page-detail-layout :tabs="tabs" v-model:tab-active-key="tabActiveKey" :index-config="indexConfig" :steps-data="stepsData"
|
|
|
+ <page-detail-layout :tabs="tabs" v-model:tab-active-key="tabActiveKey" :index-config="indexConfig"
|
|
|
+ :steps-data="stepsData"
|
|
|
title="华东电力二期治理项目">
|
|
|
<template #titleRight>
|
|
|
-<!-- <img src="/@/assets/images/page-detail-layout/customer/SS_user.png" alt=""/>-->
|
|
|
+ <!-- <img src="/@/assets/images/page-detail-layout/customer/SS_user.png" alt=""/>-->
|
|
|
<a-tag color="blue">转介绍</a-tag>
|
|
|
</template>
|
|
|
-
|
|
|
<template #toolBtn>
|
|
|
-
|
|
|
<a-button ghost type="primary" size="small">转移</a-button>
|
|
|
<a-button type="primary" size="small">预进场</a-button>
|
|
|
<a-button danger ghost type="primary" size="small">释放公海</a-button>
|
|
|
@@ -23,7 +22,7 @@
|
|
|
</div>
|
|
|
</a-tag>
|
|
|
</template>
|
|
|
- <template #tab1>
|
|
|
+ <template #BasicInformation>
|
|
|
<bs-contents-wrapper>
|
|
|
<!-- 客户信息(动态列数) -->
|
|
|
<bs-descriptions
|
|
|
@@ -40,14 +39,23 @@
|
|
|
</bs-descriptions>
|
|
|
|
|
|
<!-- 管理信息(表格) -->
|
|
|
- <bs-descriptions title="协作团队">
|
|
|
+ <bs-descriptions v-if="tableList&&tableList.length>0" title="协作团队">
|
|
|
<bs-table v-bind="tableOptions" v-if="tableList&&tableList.length>0"/>
|
|
|
</bs-descriptions>
|
|
|
</bs-contents-wrapper>
|
|
|
</template>
|
|
|
|
|
|
- <template #tab2>tab2</template>
|
|
|
- <template #tab3>tab3</template>
|
|
|
+ <template #sectionManagement>
|
|
|
+ <SectionManagement :id="id"/>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template #infoMaterial>
|
|
|
+ <InfoMaterial :id="id"/>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template #cooperativeProject>
|
|
|
+ <CooperativeProject />
|
|
|
+ </template>
|
|
|
</page-detail-layout>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -60,9 +68,13 @@ import BsTable, {useBsTable} from '/@/components/BsUi/Table/index.js';
|
|
|
import {clientManageApi} from '/@/api/market-manage/clue-management/index.js';
|
|
|
import {onMounted,} from 'vue';
|
|
|
import {useRoute} from 'vue-router';
|
|
|
+import SectionManagement from './components/SectionManagement.vue'
|
|
|
+import CooperativeProject from './components/CooperativeProject.vue'
|
|
|
+import InfoMaterial from './components/InfoMaterial.vue'
|
|
|
|
|
|
const route = useRoute();
|
|
|
-const tabActiveKey = ref('tab1');
|
|
|
+const {id} = route.query
|
|
|
+const tabActiveKey = ref('BasicInformation');
|
|
|
const bsDescriptionItems = ref([]);
|
|
|
const tableList = ref([]);
|
|
|
const fetchData = (id) => {
|
|
|
@@ -72,7 +84,7 @@ const fetchData = (id) => {
|
|
|
setValue('gridOptions.data', res.data.teamDTOList)
|
|
|
const customerData = res.data;
|
|
|
bsDescriptionItems.value = [
|
|
|
- {label: '项目类型', value: customerData.projectType?.[0].valueName|| '--'},
|
|
|
+ {label: '项目类型', value: customerData.projectType?.[0].valueName || '--'},
|
|
|
{label: '线索名称', value: customerData.clueName || '--'},
|
|
|
{label: '线索来源', value: customerData.clueSource || '--'},
|
|
|
{label: '服务商名称', value: customerData.providerName || '--'},
|
|
|
@@ -95,8 +107,8 @@ const fetchData = (id) => {
|
|
|
{label: '分厂/几期/机组', value: customerData.shortDescription || '--'},
|
|
|
];
|
|
|
})
|
|
|
- clientManageApi.getQueryHeaderList(id).then((res)=>{
|
|
|
- console.log(res,8885555)
|
|
|
+ clientManageApi.getQueryHeaderList(id).then((res) => {
|
|
|
+ console.log(res, 8885555)
|
|
|
})
|
|
|
}
|
|
|
const getImgUrl = (name) => {
|
|
|
@@ -217,26 +229,18 @@ watch(
|
|
|
}
|
|
|
}
|
|
|
);
|
|
|
-const customerData = ref({
|
|
|
- returnTo: "政府机构",
|
|
|
- level: "A级",
|
|
|
- industry: "行业名称信息展示",
|
|
|
- type: "投资单位",
|
|
|
- region: "归属区域信息展示位置",
|
|
|
- salesPerson: "任颖"
|
|
|
-});
|
|
|
const tabs = ref([
|
|
|
{
|
|
|
title: '基本信息',
|
|
|
- key: 'tab1',
|
|
|
- slotName: 'tab1',
|
|
|
+ key: 'BasicInformation',
|
|
|
+ slotName: 'BasicInformation',
|
|
|
selectedIcon: getImgUrl('icon-jibenxinxi-all'),
|
|
|
unSelectedIcon: getImgUrl('icon-jibenxinxi'),
|
|
|
},
|
|
|
{
|
|
|
- title: '跟进情况',
|
|
|
- key: 'FollowUp',
|
|
|
- slotName: 'FollowUp',
|
|
|
+ title: '标段管理',
|
|
|
+ key: 'sectionManagement',
|
|
|
+ slotName: 'sectionManagement',
|
|
|
selectedIcon: getImgUrl('icon-genjinqingkuang-all'),
|
|
|
unSelectedIcon: getImgUrl('icon-genjinqingkuang'),
|
|
|
},
|
|
|
@@ -257,8 +261,8 @@ const tabs = ref([
|
|
|
|
|
|
{
|
|
|
title: '项目决策链',
|
|
|
- key: 'CooperativeProject',
|
|
|
- slotName: 'CooperativeProject',
|
|
|
+ key: 'cooperativeProject',
|
|
|
+ slotName: 'cooperativeProject',
|
|
|
selectedIcon: getImgUrl('icon-hezuoxiangmu-all'),
|
|
|
unSelectedIcon: getImgUrl('icon-hezuoxiangmu'),
|
|
|
},
|
|
|
@@ -299,8 +303,8 @@ const tabs = ref([
|
|
|
},
|
|
|
{
|
|
|
title: '风险管理',
|
|
|
- key: 'InfoMaterial',
|
|
|
- slotName: 'InfoMaterial',
|
|
|
+ key: 'infoMaterial',
|
|
|
+ slotName: 'infoMaterial',
|
|
|
selectedIcon: getImgUrl('icon-xinxiziliao-all'),
|
|
|
unSelectedIcon: getImgUrl('icon-xinxiziliao'),
|
|
|
},
|