Commit 629b786b by zhangxw

fix(venus-usedcar-quality): 线索详情跟进记录判断修改

1 parent 90eca375
Pipeline #222 for 629b786b failed in 0 seconds
......@@ -79,7 +79,6 @@ async function loadClueDetail() {
if (!cluesId.value) return;
loading.value = true;
try {
// TODO: 对接后端接口获取线索详情
const res = await getClueDetailApi({ id: cluesId.value });
res.data.cluesStatusName = getCluesStatusName(res.data.cluesStatus);
res.data.statusClass = getStatusClass(res.data.cluesStatus);
......@@ -143,7 +142,7 @@ async function loadFollowList() {
5: "其他",
};
item.oneday = timeDiff < ONE_DAY_MS;
item.title = (item.createdDate && timeDiff < ONE_DAY_MS)
item.title = item.followRecordType == 2
? "24小时内跟进线索"
: "跟进线索";
item.followStyleText = followStyleMap[item.followStyle] || "";
......@@ -327,7 +326,7 @@ function onBack() {
:key="item.id"
class="follow-item">
<div class="follow-item__line">
<div class="follow-dot" :class="{ 'circle': item.oneday }"></div>
<div class="follow-dot" :class="{ 'circle': item.followRecordType == 2 }"></div>
<div v-if="index !== followList.length - 1" class="follow-line"></div>
</div>
<div class="follow-item__content">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!