Procházet zdrojové kódy

reactor:修复语音转写无法转写的BUG;

zhangchong před 10 měsíci
rodič
revize
6e13ce1496

+ 1 - 1
src/views/business/order/components/Order-history.vue

@@ -94,7 +94,7 @@ const queryList = () => {
 	let request = {
 		...state.queryParams,
 		PhoneNo: state.ruleForm.contact,
-		OrderId: route.params.id ?? '', //传入id 排除重复工单选择自己
+		OrderId: route.query.id ?? '', //传入id 排除重复工单选择自己
 	};
 	historyOrder(request)
 		.then((response: any) => {

+ 2 - 2
src/views/todo/seats/accept/Call-summary.vue

@@ -93,12 +93,12 @@ const route = useRoute();
 const loading = ref(false);
 // 无效id
 const invalidId = computed(() => {
-	return !route.query.callId || route.params.query.length === 13;
+	return !route.query.callId || route.query.callId.length === 13;
 });
 const getRecognize = async () => {
 	loading.value = true;
 	try {
-		const callId = route.params.query;
+		const callId = route.query.callId;
 		if (invalidId.value) {
 			// ElMessage.info('暂未获取到通话ID,请关闭页面重新进入重试');
 			loading.value = false;