|
@@ -51,7 +51,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
<template #operation="{row}">
|
|
<template #operation="{row}">
|
|
|
<div class="table_row_option">
|
|
<div class="table_row_option">
|
|
|
- <span class="option_button_editor" @click="GoToDetail(row)">详情</span>
|
|
|
|
|
|
|
+ <span class="option_button_editor" @click="OpenFollowlFormDialog(row)">详情</span>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<template #paginationDesc>
|
|
<template #paginationDesc>
|
|
@@ -92,6 +92,16 @@
|
|
|
v-model:dialogVisible="operationLogDialogVisible"
|
|
v-model:dialogVisible="operationLogDialogVisible"
|
|
|
interfaceSource="customerFollow">
|
|
interfaceSource="customerFollow">
|
|
|
</CustomerOperationDialog>
|
|
</CustomerOperationDialog>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 客户跟进查看弹窗 -->
|
|
|
|
|
+ <FollowFormDialog
|
|
|
|
|
+ v-if="followVisible"
|
|
|
|
|
+ :itemDisabled="true"
|
|
|
|
|
+ :customerId="followDefaultFormData.customerId"
|
|
|
|
|
+ v-model:visible="followVisible"
|
|
|
|
|
+ :defaultFormData="followDefaultFormData"
|
|
|
|
|
+ @confirm="followDefaultFormData = {}">
|
|
|
|
|
+ </FollowFormDialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -109,6 +119,7 @@ import PreviewDialog from '@/baseComponents/PreviewDialog.vue';
|
|
|
import {tableColumns} from './table'
|
|
import {tableColumns} from './table'
|
|
|
import TabSearch from '@/baseComponents/TabSearch.vue';
|
|
import TabSearch from '@/baseComponents/TabSearch.vue';
|
|
|
import CustomerOperationDialog from '@/components/CustomerOperationDialog/index.vue'
|
|
import CustomerOperationDialog from '@/components/CustomerOperationDialog/index.vue'
|
|
|
|
|
+import FollowFormDialog from '@/components/FollowFormDialog/index.vue'
|
|
|
|
|
|
|
|
import FollowCard from '@/components/FollowCard.vue';
|
|
import FollowCard from '@/components/FollowCard.vue';
|
|
|
import {
|
|
import {
|
|
@@ -307,15 +318,6 @@ const HandlePaginationChange = async (params)=>{
|
|
|
await GetFollowInfo()
|
|
await GetFollowInfo()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// 跳转详情
|
|
|
|
|
-const GoToDetail = (row)=>{
|
|
|
|
|
- sessionStorage.setItem('customerMsg',JSON.stringify({
|
|
|
|
|
- ...row,
|
|
|
|
|
- name:row.customerName,
|
|
|
|
|
- lastFollowDatetime:row.lastClaimDatetime
|
|
|
|
|
- }))
|
|
|
|
|
- router.push(`myCustomerDetail?id=${row.id}`)
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 3.默认列表 筛选项有关数据 及操作
|
|
* 3.默认列表 筛选项有关数据 及操作
|
|
@@ -464,6 +466,38 @@ const HandleAuditOperation = async (row:any,auditStatus:any)=>{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/** 6. 查看跟进详情弹窗 */
|
|
|
|
|
+const followVisible = ref(false)
|
|
|
|
|
+const followDefaultFormData = ref({})
|
|
|
|
|
+const OpenFollowlFormDialog = (row)=>{
|
|
|
|
|
+ followVisible.value = true
|
|
|
|
|
+ followDefaultFormData.value = {
|
|
|
|
|
+ ...row,
|
|
|
|
|
+ school:row.customerName,
|
|
|
|
|
+ product:JSON.stringify({
|
|
|
|
|
+ label:row.productName,
|
|
|
|
|
+ value:row.productId
|
|
|
|
|
+ }),
|
|
|
|
|
+ status:JSON.stringify({
|
|
|
|
|
+ label:row.followName,
|
|
|
|
|
+ value:row.followId
|
|
|
|
|
+ }),
|
|
|
|
|
+ contact:JSON.stringify({
|
|
|
|
|
+ id:row.customerPersonId,
|
|
|
|
|
+ positionId:row.positionId,
|
|
|
|
|
+ positionName:row.positionName
|
|
|
|
|
+ }),
|
|
|
|
|
+ position:JSON.stringify({
|
|
|
|
|
+ label:row.positionName,
|
|
|
|
|
+ value:row.positionId,
|
|
|
|
|
+ }),
|
|
|
|
|
+ content:row.followContent,
|
|
|
|
|
+ appointmentType:row.orderType,
|
|
|
|
|
+ appointmentTime:row.orderDatetime,
|
|
|
|
|
+ todoTime:row.orderDatetime,
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
onMounted( async ()=>{
|
|
onMounted( async ()=>{
|
|
|
await GetHeaderSearchOptions()
|
|
await GetHeaderSearchOptions()
|
|
|
await GetFollowInfo()
|
|
await GetFollowInfo()
|