|
|
@@ -436,6 +436,18 @@
|
|
|
<el-input v-model="customerForm.communicationHistory" type="textarea" :rows="4" placeholder="历史沟通记录" disabled style="background-color: #f5f7fa;" />
|
|
|
</el-form-item>
|
|
|
|
|
|
+ <el-row :gutter="20">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="意向度">
|
|
|
+ <el-select v-model="intent" placeholder="请选择用户意向" style="width: 100%;">
|
|
|
+ <el-option label="A" value="A" />
|
|
|
+ <el-option label="B" value="B" />
|
|
|
+ <el-option label="C" value="C" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
<el-form-item>
|
|
|
<el-button type="primary" @click="saveCustomerForm">保存</el-button>
|
|
|
<el-button @click="closeCustomerForm">关闭</el-button>
|
|
|
@@ -471,6 +483,21 @@ export default {
|
|
|
initPhoneNumber: {
|
|
|
type: String,
|
|
|
default: ''
|
|
|
+ },roboticId: {
|
|
|
+ type: [Number, String],
|
|
|
+ default: null
|
|
|
+ },
|
|
|
+ companyId: {
|
|
|
+ type: [Number, String],
|
|
|
+ default: null
|
|
|
+ },
|
|
|
+ companyUserId: {
|
|
|
+ type: [Number, String],
|
|
|
+ default: null
|
|
|
+ },
|
|
|
+ workflowInstanceId: {
|
|
|
+ type: [Number, String],
|
|
|
+ default: null
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
|
@@ -569,7 +596,8 @@ export default {
|
|
|
province: '',
|
|
|
city: '',
|
|
|
county: '',
|
|
|
- communicationHistory: ''
|
|
|
+ communicationHistory: '',
|
|
|
+ intent: ''
|
|
|
},
|
|
|
currentCallUuid: '', // 当前通话的 uuid
|
|
|
callFinishedAt: '', // 通话结束时间
|
|
|
@@ -1306,7 +1334,12 @@ export default {
|
|
|
const req = {
|
|
|
uuid: this.currentCallUuid,
|
|
|
callType: '03',
|
|
|
- status: status
|
|
|
+ status: status,
|
|
|
+ intent: this.customerForm.intent,
|
|
|
+ companyId: this.companyId,
|
|
|
+ companyUserId: this.companyUserId,
|
|
|
+ workflowInstanceId: this.workflowInstanceId,
|
|
|
+ roboticId: this.roboticId
|
|
|
};
|
|
|
|
|
|
console.log('[syncByUuid] 准备调用后端记录:', {
|