浏览代码

reactor:弹单页面BUG修复;

zhangchong 9 月之前
父节点
当前提交
0bbb16a3f0

+ 3 - 3
.env.development

@@ -3,11 +3,11 @@ VITE_MODE_NAME=development
 # 防止部署多套系统到同一域名不同目录时,变量共用的问题 设置不同的前缀
 VITE_STORAGE_NAME=dev
 # 基础请求地址
-VITE_API_URL=http://110.188.24.28:50300
+VITE_API_URL=http://110.188.24.28:50100
 # 数据共享平台请求地址
 VITE_DATASHARE_API_YRL=http://ds.12345lm.cn
 # socket API
-VITE_API_SOCKET_URL=http://110.188.24.28:50300/hubs/hotline
+VITE_API_SOCKET_URL=http://110.188.24.28:50100/hubs/hotline
 # 上传 API
 VITE_API_UPLOAD_URL=http://110.188.24.28:50120
 # 文件上传地址前缀
@@ -25,4 +25,4 @@ VITE_JTHS_API_URL=http://118.121.58.161:19021
 # 捷通华声AppKey
 VITE_JTHS_APPKEY=MTAwMDAx
 # 当前地州市
-VITE_CURRENT_CITY=zigong
+VITE_CURRENT_CITY=yibin

+ 0 - 1
src/components/AnnexList/index.vue

@@ -211,7 +211,6 @@ watch(
 		const data = formatData(Other.deepClone(fileList.value));
 		emit('update:format', data);
     emit('change',fileList.value,data)
-    console.log('fileList', fileList.value,data)
 	},
 	{ deep: true, immediate: true }
 );

+ 4 - 4
src/layout/navBars/breadcrumb/ybTel.vue

@@ -734,7 +734,7 @@ const activeArr = computed(() => {
 		onCall: ['hangup', 'hold', 'transfer', 'conference', 'mute'], // 单个通话中
 		onMute: ['hangup', 'transfer', 'mute'], // 静音中
 		onHold: ['hangup', 'hold', 'transfer'], // 保持中
-		onTalkingDeal: ['TalkingDeal'], // 话后整理中
+		onTalkingDeal: ['TalkingDeal', 'rest'], // 话后整理中
 		onConference: ['hangup'], // 三方会议中 只能挂断
 		onThreeWay: ['hangup', 'conference'], // 三方会议呼出中 只能挂断和踢人
 	};
@@ -1041,8 +1041,8 @@ const onMessage = async (event: any) => {
 				break;
 		}
 		if (data.state == 'busy') {
-      useTelStatusStore.setDutyState(true); // 确保一进来消息就是通话中 设置签入状态
-      callCenterIsSignIn.value = true; // 签入状态
+			useTelStatusStore.setDutyState(true); // 确保一进来消息就是通话中 设置签入状态
+			callCenterIsSignIn.value = true; // 签入状态
 			call_direction.value = data.call_direction; // 保存呼叫方向
 			callCenterIsOnThePhone.value = true; // 当前正在通话状态
 			if (['held', 'unheld'].includes(data.private_data)) {
@@ -1186,7 +1186,7 @@ const onMessage = async (event: any) => {
 								callId: data.other_accept,
 								transfer: data.gateway, // 转接来源(如12345,12333)
 								identityType: data.app_data.dtmf_his, // 按键接收(1:市民 2:企业 3:智能应答)
-                timeStamp: new Date().getTime(),
+								timeStamp: new Date().getTime(),
 							},
 						});
 					} else if (data.private_data == 'answered') {

+ 6 - 2
src/views/todo/seats/accept/index.vue

@@ -542,7 +542,7 @@
 </template>
 
 <script setup lang="ts" name="orderAccept">
-import { computed, defineAsyncComponent, nextTick, onMounted, reactive, ref, watch } from 'vue';
+import { computed, defineAsyncComponent, onMounted, reactive, ref, watch } from 'vue';
 import type { FormInstance } from 'element-plus';
 import { ElMessage, ElMessageBox, ElNotification } from 'element-plus';
 import { storeToRefs } from 'pinia';
@@ -1060,6 +1060,10 @@ const handleForm = (orderDetail: any) => {
 		processOrder(orderDetail);
 	}
 };
+// 检测表单数据是否有变化
+watch(state.ruleForm, (newValue) => {
+  console.log('Form data changed:', newValue);
+}, { deep: true });
 // 提交
 const submit = throttle((formEl: FormInstance | undefined) => {
 	if (!formEl) return;
@@ -1079,7 +1083,7 @@ const submit = throttle((formEl: FormInstance | undefined) => {
 const chooseAdvice = (item: any) => {
 	state.ruleForm.content += item.content;
 };
-// 取消
+// 取消并关闭当前页
 const onCancel = () => {
 	mittBus.emit('clearCache', 'todoSeats');
 	mittBus.emit('clearCachePage', ['order', 'todoOrder', 'todoCenter', 'callLog']);