Browse Source

reactor:来电时填入联系电话;

zhangchong 1 year ago
parent
commit
e1a6f16ef9
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/views/todo/seats/accept/index.vue

+ 5 - 4
src/views/todo/seats/accept/index.vue

@@ -89,7 +89,7 @@
 									<!-- 来电弹单 -->
 									<!-- 来电弹单 -->
 									<template v-if="state.createBy === 'tel'">
 									<template v-if="state.createBy === 'tel'">
 										<el-form-item label="来电号码" prop="fromPhone">
 										<el-form-item label="来电号码" prop="fromPhone">
-											<el-input v-model="state.ruleForm.fromPhone" placeholder="请填写来电号码"> </el-input>
+											<el-input v-model="state.ruleForm.fromPhone" placeholder="请填写来电号码" disabled> </el-input>
 										</el-form-item>
 										</el-form-item>
 									</template>
 									</template>
 									<!-- 互联网来信 -->
 									<!-- 互联网来信 -->
@@ -1030,9 +1030,10 @@ const loadForm = async () => {
 			//通话
 			//通话
 			state.ruleForm.sourceChannel = '电话'; //电话
 			state.ruleForm.sourceChannel = '电话'; //电话
 			state.ruleForm.sourceChannelCode = 'RGDH'; //电话
 			state.ruleForm.sourceChannelCode = 'RGDH'; //电话
-			state.ruleForm.fromPhone = historyParams.fromTel;
-			state.ruleForm.callId = historyParams.telGuid;
-			state.ruleForm.transferPhone = historyParams.transfer;
+			state.ruleForm.fromPhone = historyParams.fromTel; // 来电号码
+      state.ruleForm.contact = historyParams.fromTel; // 联系电话
+			state.ruleForm.callId = historyParams.telGuid; // 通话id
+			state.ruleForm.transferPhone = historyParams.transfer; // 转接来源
 			state.ruleForm.callAddress = historyParams.telArea; // 来电归属地
 			state.ruleForm.callAddress = historyParams.telArea; // 来电归属地
 			state.ruleForm.channel = {
 			state.ruleForm.channel = {
 				// 来源渠道
 				// 来源渠道