| | |
| | | width="60%" |
| | | > |
| | | <CallCenterLs |
| | | ref="callCenterModal" |
| | | ref="CallCenterLs" |
| | | :initial-phone="currentPhoneNumber" |
| | | /> |
| | | </el-dialog> |
| | |
| | | isEndingCall: false, |
| | | CaldialogVisible: false, |
| | | currentCall: null, // 当前通话对象 |
| | | // 路由监听相关 |
| | | routeWatcher: null, |
| | | lastRoutePath: this.$route.path, |
| | | input: "今天身体还不错", |
| | | radio: "2", |
| | | taskname: "", |
| | |
| | | patid: null, |
| | | }; |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | | callStatusText() { |
| | | const statusMap = { |
| | |
| | | // }, |
| | | beforeRouteLeave(to, from, next) { |
| | | this.$refs.callButton.cleanupResources(); |
| | | if (this.$refs.CallCenterLs) { |
| | | console.log(1); |
| | | |
| | | this.$refs.CallCenterLs.handleSeatLogout(); |
| | | } |
| | | next(); // 确保调用 nex |
| | | }, |
| | | // beforeRouteUpdate() { |
| | |
| | | .CONTENT { |
| | | padding: 10px; |
| | | height: 100%; |
| | | min-height: 660px; /* 设置最小高度 */ |
| | | min-height: 738px; /* 设置最小高度 */ |
| | | |
| | | .title { |
| | | font-size: 22px; |
| | |
| | | padding: 30px; |
| | | border: 1px solid #dcdfe6; |
| | | box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | max-height: 580px; /* 设置最大高度 */ |
| | | max-height: 618px; /* 设置最大高度 */ |
| | | overflow-y: auto; /* 内容超过高度时显示滚动条 */ |
| | | |
| | | .topic-dev { |