|
|
@@ -14,11 +14,11 @@
|
|
|
<UserAddOutlined />
|
|
|
<span>加入黑名单</span>
|
|
|
</a-button>
|
|
|
- <a-button danger ghost type="primary" size="small">
|
|
|
+ <a-button danger ghost type="primary" size="small" @click="handleTransferPublicSea">
|
|
|
<UserDeleteOutlined />
|
|
|
<span>释放公海</span>
|
|
|
</a-button>
|
|
|
- <a-button ghost type="primary" size="small">
|
|
|
+ <a-button ghost type="primary" size="small" @click="customerTransferModalRef.showModal()">
|
|
|
<RightSquareOutlined />
|
|
|
<span> 客户转移 </span></a-button
|
|
|
>
|
|
|
@@ -29,7 +29,7 @@
|
|
|
</template>
|
|
|
|
|
|
<template #titleBottom>
|
|
|
- <a-tag color="#f0f4fe" v-for="(tagItem, tagIndex) in tagList" :key="tagIndex">
|
|
|
+ <a-tag color="#f0f4fe" v-for="(tagItem, tagIndex) in tagList" :key="tagIndex" @click="tagItem?.click(tagItem)" style="cursor: pointer">
|
|
|
<div class="tag-stl">
|
|
|
<img :src="tagItem.icon" alt="" />
|
|
|
<span class="title-render">{{ tagItem.title }}</span>
|
|
|
@@ -58,11 +58,11 @@
|
|
|
</template>
|
|
|
|
|
|
<template #CustomerDecisionChain>
|
|
|
- <CustomerDecisionChain :id="route.query.id"/>
|
|
|
+ <CustomerDecisionChain :id="route.query.id" />
|
|
|
</template>
|
|
|
|
|
|
<template #InvestmentCompetitionManagement>
|
|
|
- <InvestmentCompetitionManagement :id="route.query.id"/>
|
|
|
+ <InvestmentCompetitionManagement :id="route.query.id" />
|
|
|
</template>
|
|
|
|
|
|
<template #InfoMaterial>
|
|
|
@@ -73,6 +73,12 @@
|
|
|
<EditReport :id="route.query.id" />
|
|
|
</template>
|
|
|
</page-detail-layout>
|
|
|
+
|
|
|
+ <TagManageModal ref="tagManageModalRef" />
|
|
|
+ <UsedNameModal ref="usedNameModalRef" />
|
|
|
+ <CustomerTransferModal ref="customerTransferModalRef" />
|
|
|
+
|
|
|
+ <TransferPublicSeaModal ref="transferPublicSeaModalRef" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -86,10 +92,16 @@
|
|
|
import CooperativeProject from '/@/views/customer-manage/customer-detail/components/CooperativeProject/index.vue';
|
|
|
import CustomerDecisionChain from '/@/views/customer-manage/customer-detail/components/CustomerDecisionChain/index.vue';
|
|
|
import FollowUp from '/@/views/customer-manage/customer-detail/components/FollowUp/index.vue';
|
|
|
- import InvestmentCompetitionManagement from "/@/views/customer-manage/customer-detail/components/InvestmentCompetitionManagement/index.vue"
|
|
|
- import InfoMaterial from "/@/views/customer-manage/customer-detail/components/InfoMaterial/index.vue"
|
|
|
- import EditReport from "/@/views/customer-manage/customer-detail/components/EditReport/index.vue"
|
|
|
+ import InvestmentCompetitionManagement from '/@/views/customer-manage/customer-detail/components/InvestmentCompetitionManagement/index.vue';
|
|
|
+ import InfoMaterial from '/@/views/customer-manage/customer-detail/components/InfoMaterial/index.vue';
|
|
|
+ import EditReport from '/@/views/customer-manage/customer-detail/components/EditReport/index.vue';
|
|
|
+ import TagManageModal from './components/TagManageModal/index.vue';
|
|
|
+ import UsedNameModal from './components/UsedNameModal/index.vue';
|
|
|
+ import CustomerTransferModal from './components/CustomerTransferModal/index.vue';
|
|
|
+ import TransferPublicSeaModal from './components/TransferPublicSeaModal/index.vue';
|
|
|
+
|
|
|
import { fetchCustomerHeaderInfo, fetchCustomerDetail } from '/@/api/customer-manage/index.js';
|
|
|
+ import { Modal } from 'ant-design-vue';
|
|
|
|
|
|
const route = useRoute();
|
|
|
const headerIndexData = ref(null);
|
|
|
@@ -140,6 +152,17 @@
|
|
|
lineTopNum: 0,
|
|
|
},
|
|
|
];
|
|
|
+
|
|
|
+ const tagManageModalRef = ref(null);
|
|
|
+ const usedNameModalRef = ref(null);
|
|
|
+ const customerTransferModalRef = ref(null);
|
|
|
+
|
|
|
+ const transferPublicSeaModalRef = ref(null);
|
|
|
+
|
|
|
+ const handleTransferPublicSea = () => {
|
|
|
+ transferPublicSeaModalRef.value.showModal();
|
|
|
+ };
|
|
|
+
|
|
|
const getImgUrl = (name) => {
|
|
|
return new URL('/src/assets/images/page-detail-layout/customer/' + name + '.svg', import.meta.url).href;
|
|
|
};
|
|
|
@@ -156,10 +179,16 @@
|
|
|
{
|
|
|
title: '标签管理',
|
|
|
icon: getImgUrl('icon-biaoqianguanli'),
|
|
|
+ click(it) {
|
|
|
+ tagManageModalRef.value.showModal();
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: '曾用名',
|
|
|
icon: getImgUrl('icon-cengyongming'),
|
|
|
+ click(it) {
|
|
|
+ usedNameModalRef.value.showModal();
|
|
|
+ },
|
|
|
},
|
|
|
];
|
|
|
|