|
@@ -634,6 +634,15 @@
|
|
|
<div class="customer-detail">
|
|
<div class="customer-detail">
|
|
|
<div class="customer-name-row">
|
|
<div class="customer-name-row">
|
|
|
<span class="customer-name">{{ record.customerName }}</span>
|
|
<span class="customer-name">{{ record.customerName }}</span>
|
|
|
|
|
+
|
|
|
|
|
+ <el-tag
|
|
|
|
|
+ v-if="record.intention"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ type="info"
|
|
|
|
|
+ class="status-tag">
|
|
|
|
|
+ 意向度:{{ getIntentionLabel(record.intention) }}
|
|
|
|
|
+ </el-tag>
|
|
|
|
|
+
|
|
|
<el-tag
|
|
<el-tag
|
|
|
:type="getWorkflowStatusType(record.workflowStatus)"
|
|
:type="getWorkflowStatusType(record.workflowStatus)"
|
|
|
size="small"
|
|
size="small"
|
|
@@ -1538,7 +1547,8 @@ export default {
|
|
|
})
|
|
})
|
|
|
this.execLogs.list = (res.rows || []).map(item => ({
|
|
this.execLogs.list = (res.rows || []).map(item => ({
|
|
|
...item,
|
|
...item,
|
|
|
- contentList: item.contentList || ''
|
|
|
|
|
|
|
+ contentList: item.contentList || '',
|
|
|
|
|
+ intention: item.intention || ''
|
|
|
}))
|
|
}))
|
|
|
this.execLogs.total = res.total || 0
|
|
this.execLogs.total = res.total || 0
|
|
|
// this.execLogs.stats = res.stats || {
|
|
// this.execLogs.stats = res.stats || {
|
|
@@ -1669,7 +1679,15 @@ export default {
|
|
|
} catch (e) {
|
|
} catch (e) {
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ getIntentionLabel(val) {
|
|
|
|
|
+ if (val === null || val === undefined || val === '') {
|
|
|
|
|
+ return '-'
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ const item = (this.levelList || []).find(e => String(e.dictValue) === String(val))
|
|
|
|
|
+ return item ? item.dictLabel : val
|
|
|
|
|
+ },
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|