|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="title_wrap">
|
|
|
- <!-- <el-button
|
|
|
+ <el-button
|
|
|
round
|
|
|
class="title_wrap_btn"
|
|
|
@click="signIn"
|
|
@@ -15,7 +15,7 @@
|
|
|
v-else
|
|
|
:icon="PhoneFilled"
|
|
|
>签出</el-button
|
|
|
- >-->
|
|
|
+ >
|
|
|
<div class="title">
|
|
|
<span class="title-text">{{ title }}</span>
|
|
|
</div>
|
|
@@ -124,7 +124,7 @@ import { ElMessageBox, FormInstance } from "element-plus";
|
|
|
import { Phone, PhoneFilled } from "@element-plus/icons-vue";
|
|
|
import { useThemeConfig } from "@/stores/themeConfig";
|
|
|
import { storeToRefs } from "pinia";
|
|
|
-import { getListenExtension } from "api/seats";
|
|
|
+import { getListenExtensionXt } from "api/seats";
|
|
|
import mittBus from "@/utils/mitt";
|
|
|
|
|
|
const storesThemeConfig = useThemeConfig();
|
|
@@ -320,16 +320,17 @@ watch(
|
|
|
{ immediate: true }
|
|
|
);
|
|
|
// 获取可以监听的分机列表
|
|
|
-/*const getSeatsList = async () => {
|
|
|
+const getSeatsList = async () => {
|
|
|
try {
|
|
|
- const { result } = await getListenExtension();
|
|
|
+ const { result } = await getListenExtensionXt();
|
|
|
state.telsList = result;
|
|
|
} catch (e) {
|
|
|
console.log(e);
|
|
|
}
|
|
|
-};*/
|
|
|
+};
|
|
|
const title = ref("12345坐席监控中心");
|
|
|
onMounted(() => {
|
|
|
+ getSeatsList();
|
|
|
// 接收消息
|
|
|
mittBus.on("monitorInfoTel", (data: any) => {
|
|
|
const item = seatsList.value.find(
|