update
1.修改im获取gourpId
This commit is contained in:
+1
-2
@@ -196,7 +196,7 @@
|
||||
|
||||
const getDataList = async () => {
|
||||
try {
|
||||
const res = await get('/health-emergency/api/emergency/order/getGroupMemberList', { orderId: store.getters.getOrderId });
|
||||
const res = await get('/health-emergency/api/emergency/order/getGroupMemberList', { sessionId: store.getters.getSessionId });
|
||||
if (res?.code === 200) {
|
||||
dataList.value = (res?.result || []).map((item: any) => {
|
||||
return {
|
||||
@@ -289,7 +289,6 @@
|
||||
loading.value = true;
|
||||
post('/health-emergency/api/emergency/addGroupUser', {
|
||||
groupId: store.getters.getSessionId,
|
||||
orderId: store.getters.getOrderId,
|
||||
memberList: transferSelectedList.value.map((t: any) => {
|
||||
return t?.userID;
|
||||
}),
|
||||
|
||||
@@ -44,6 +44,7 @@ import { ITUIGlobal } from '../interface/ITUIGlobal';
|
||||
import { ITUIStore } from '../interface/ITUIStore';
|
||||
import TuiGlobal from '../TUIGlobal/tuiGlobal';
|
||||
import TuiStore from '../TUIStore/tuiStore';
|
||||
import store from '@/store';
|
||||
const TUIGlobal: ITUIGlobal = TuiGlobal.getInstance();
|
||||
const TUIStore: ITUIStore = TuiStore.getInstance();
|
||||
const version = '2.5.2';
|
||||
@@ -446,6 +447,7 @@ export default class TUICallService implements ITUICallService {
|
||||
console.error(`${NAME.PREFIX}_handleError, errorCode: ${code}; errorMessage: ${callTips || message}.`);
|
||||
}
|
||||
private async _handleNewInvitationReceived(event: any) {
|
||||
store.commit('setSessionId', event?.groupID);
|
||||
console.log(`${NAME.PREFIX}onCallReceived event data: ${JSON.stringify(event)}.`);
|
||||
const { sponsor = '', isFromGroup, callMediaType, inviteData = {}, calleeIdList = [], groupID = '' } = this._analyzeEventData(event);
|
||||
const currentUserInfo: IUserInfo = TUIStore.getData(StoreName.CALL, NAME.LOCAL_USER_INFO);
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
});
|
||||
|
||||
const getDataList = () => {
|
||||
get('/health-emergency/api/emergency/order/getGroupMemberList', { orderId: store.getters.getOrderId })
|
||||
get('/health-emergency/api/emergency/order/getGroupMemberList', { sessionId: store.getters.getSessionId })
|
||||
.then((res: any) => {
|
||||
if (res.code === 200) {
|
||||
data.list = (res.result || []).map((item: any) => {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="icon" href="faviconnew.png"><title>即时通信</title><link href="css/vendors~app.03806786.css" rel="stylesheet"><link href="css/app.b1b3893e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 腾讯云即时通信 Web-IM doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="./TCaptcha.js"></script><script src="./aegis.min.js"></script><script>/**
|
||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="icon" href="faviconnew.png"><title>即时通信</title><link href="css/vendors~app.03806786.css" rel="stylesheet"><link href="css/app.a5965174.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 腾讯云即时通信 Web-IM doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="./TCaptcha.js"></script><script src="./aegis.min.js"></script><script>/**
|
||||
* 根据基础字体大小 和 效果图宽度设置 根节点字体大小
|
||||
* @param baseFontSize 浏览器默认字体大小 [注]浏览器最小字体为12像素,所以该值必需大于等于12
|
||||
* @param baseWidth 设计稿的尺寸
|
||||
@@ -53,4 +53,4 @@
|
||||
},
|
||||
false
|
||||
);
|
||||
};</script><script src="js/vendors~app.de88239f.js"></script><script src="js/app.5eb8e5f9.js"></script></body></html>
|
||||
};</script><script src="js/vendors~app.de88239f.js"></script><script src="js/app.d5a1e691.js"></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
import { getEnvInfo } from '/@/utils/getEnv';
|
||||
export const imAddressSrc = `/static/im-web/index.html?${getUrlP()}`;
|
||||
// export const imAddressSrc = `http://localhost:8080?${getUrlP()}`;
|
||||
// export const imAddressSrc = `/static/im-web/index.html?${getUrlP()}`;
|
||||
export const imAddressSrc = `http://localhost:8080?${getUrlP()}`;
|
||||
|
||||
function getUrlP() {
|
||||
return `vitePlatform=${getEnvInfo().VITE_PLATFORM}&`;
|
||||
|
||||
Reference in New Issue
Block a user