瀏覽代碼

reactor:大屏新增泸州环境变量和泸州地图数据;

zhangchong 7 月之前
父節點
當前提交
83a8f51a11
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/views/seats/right.vue

+ 2 - 0
src/views/seats/right.vue

@@ -134,6 +134,8 @@ const startCallTimer = (second: any) => {
 const handleClick = (index: string | number, item: { state: string }) => {
 const handleClick = (index: string | number, item: { state: string }) => {
   textRef.value = textRefs.value[index];
   textRef.value = textRefs.value[index];
   call.value = item;
   call.value = item;
+  talkTime.value = 0;
+  if (talkTimer.value) talkTimer.value.pause();
   if (["busy", "held"].includes(item.state)) {
   if (["busy", "held"].includes(item.state)) {
     getExtensionStatus({ telno: item.telNo }).then((res: any) => {
     getExtensionStatus({ telno: item.telNo }).then((res: any) => {
       hidePopover.value = true;
       hidePopover.value = true;