|
@@ -665,7 +665,7 @@
|
|
|
<i class="el-icon-s-operation"></i>
|
|
<i class="el-icon-s-operation"></i>
|
|
|
当前节点:<strong>{{ record.currentNodeTypeName }}</strong>
|
|
当前节点:<strong>{{ record.currentNodeTypeName }}</strong>
|
|
|
|
|
|
|
|
- <el-button
|
|
|
|
|
|
|
+ <!-- <el-button
|
|
|
v-if="hasContent(record)"
|
|
v-if="hasContent(record)"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="primary"
|
|
type="primary"
|
|
@@ -674,7 +674,7 @@
|
|
|
style="margin-left: 8px;"
|
|
style="margin-left: 8px;"
|
|
|
@click.stop="handleShowContent(record)">
|
|
@click.stop="handleShowContent(record)">
|
|
|
查看对话内容
|
|
查看对话内容
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ </el-button> -->
|
|
|
<!-- 外呼未执行标识 -->
|
|
<!-- 外呼未执行标识 -->
|
|
|
<el-button
|
|
<el-button
|
|
|
v-if="record.waitCallNode"
|
|
v-if="record.waitCallNode"
|
|
@@ -718,6 +718,16 @@
|
|
|
<div class="node-info">
|
|
<div class="node-info">
|
|
|
<i :class="getNodeIcon(log.nodeKey)" class="node-icon"></i>
|
|
<i :class="getNodeIcon(log.nodeKey)" class="node-icon"></i>
|
|
|
<span class="node-name">{{ log.nodeName }}</span>
|
|
<span class="node-name">{{ log.nodeName }}</span>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="hasContent(log)"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ plain
|
|
|
|
|
+ icon="el-icon-chat-dot-round"
|
|
|
|
|
+ style="margin-left: 8px;"
|
|
|
|
|
+ @click.stop="handleShowContent(record,log)">
|
|
|
|
|
+ 查看对话内容
|
|
|
|
|
+ </el-button>
|
|
|
</div>
|
|
</div>
|
|
|
<el-tag
|
|
<el-tag
|
|
|
:type="getStatusTagType(log.statusName)"
|
|
:type="getStatusTagType(log.statusName)"
|
|
@@ -1629,10 +1639,10 @@ export default {
|
|
|
this.manualCallDialog.companyUserId = null;
|
|
this.manualCallDialog.companyUserId = null;
|
|
|
this.manualCallDialog.workflowInstanceId = null;
|
|
this.manualCallDialog.workflowInstanceId = null;
|
|
|
},
|
|
},
|
|
|
- handleShowContent(record) {
|
|
|
|
|
|
|
+ handleShowContent(record,log) {
|
|
|
this.contentDialog.customerName = record.customerName || '';
|
|
this.contentDialog.customerName = record.customerName || '';
|
|
|
this.contentDialog.customerPhone = record.customerPhone || '';
|
|
this.contentDialog.customerPhone = record.customerPhone || '';
|
|
|
- this.contentDialog.content = record.contentList || '';
|
|
|
|
|
|
|
+ this.contentDialog.content = log.nodeContentList || '';
|
|
|
this.contentDialog.visible = true;
|
|
this.contentDialog.visible = true;
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -1660,12 +1670,12 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
hasContent(record) {
|
|
hasContent(record) {
|
|
|
- if (!record || !record.contentList) return false
|
|
|
|
|
|
|
+ if (!record || !record.nodeContentList) return false
|
|
|
|
|
|
|
|
try {
|
|
try {
|
|
|
- const parsed = typeof record.contentList === 'string'
|
|
|
|
|
- ? JSON.parse(record.contentList)
|
|
|
|
|
- : record.contentList
|
|
|
|
|
|
|
+ const parsed = typeof record.nodeContentList === 'string'
|
|
|
|
|
+ ? JSON.parse(record.nodeContentList)
|
|
|
|
|
+ : record.nodeContentList
|
|
|
|
|
|
|
|
if (!Array.isArray(parsed)) return false
|
|
if (!Array.isArray(parsed)) return false
|
|
|
|
|
|