|
@@ -532,14 +532,15 @@ const lookRecords = (row) => {
|
|
contractProductId: row.productId,
|
|
contractProductId: row.productId,
|
|
})
|
|
})
|
|
.then((res) => {
|
|
.then((res) => {
|
|
- if (res.length > 0) {
|
|
+ if (res && res.length > 0) {
|
|
activities.value = res;
|
|
activities.value = res;
|
|
dialogVisibleTwo.value = true;
|
|
dialogVisibleTwo.value = true;
|
|
- } else
|
|
+ } else {
|
|
return ElMessage({
|
|
return ElMessage({
|
|
message: "暂无跟进记录!",
|
|
message: "暂无跟进记录!",
|
|
type: "info",
|
|
type: "info",
|
|
});
|
|
});
|
|
|
|
+ }
|
|
});
|
|
});
|
|
};
|
|
};
|
|
const handleFollow = (row) => {
|
|
const handleFollow = (row) => {
|