|
|
@ -354,12 +354,12 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
async function reloadTable(){ |
|
|
async function reloadTable(){ |
|
|
const dataSource= await getAppointmentList({datingClueId: details.value.id}) |
|
|
|
|
|
|
|
|
const dataSource= await getAppointmentList({datingClueId: clueId.value}) |
|
|
setTableData(dataSource) |
|
|
setTableData(dataSource) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
async function reloadContractTable(){ |
|
|
async function reloadContractTable(){ |
|
|
const dataSource= await getClueContractList({datingClueId: details.value.id}) |
|
|
|
|
|
|
|
|
const dataSource= await getClueContractList({datingClueId: clueId.value}) |
|
|
setContractData(dataSource) |
|
|
setContractData(dataSource) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -499,7 +499,7 @@ |
|
|
async function onReportChange(){ |
|
|
async function onReportChange(){ |
|
|
if(activeKey2.value == '2'){ |
|
|
if(activeKey2.value == '2'){ |
|
|
spinning.value = true |
|
|
spinning.value = true |
|
|
reportList.value = await getClueRecord(details.value.id) |
|
|
|
|
|
|
|
|
reportList.value = await getClueRecord(clueId.value) |
|
|
spinning.value = false |
|
|
spinning.value = false |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -559,12 +559,14 @@ |
|
|
const result = await getNextClueInfo({id: clueId.value}) |
|
|
const result = await getNextClueInfo({id: clueId.value}) |
|
|
if(clueId.value == result){ |
|
|
if(clueId.value == result){ |
|
|
clueType.value = 0 |
|
|
clueType.value = 0 |
|
|
createMessage.success('暂无下一个客户') |
|
|
|
|
|
|
|
|
createMessage.warning('暂无下一个客户') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
clueId.value = result |
|
|
clueId.value = result |
|
|
createMessage.success(`加载中...`) |
|
|
createMessage.success(`加载中...`) |
|
|
initFetch(clueId.value) |
|
|
initFetch(clueId.value) |
|
|
|
|
|
onTabChange() |
|
|
|
|
|
onReportChange() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |
|
|
|