1.im聊天可以添加其他用户(专业人员)
2.更新im打包文件
This commit is contained in:
2025-11-11 16:43:21 +08:00
parent 66a0c2f4d6
commit 0b9c9d497e
279 changed files with 23084 additions and 2531 deletions
@@ -8,12 +8,12 @@
<!-- {{ oneNumber > 99 ? '99+' : oneNumber }}-->
<!-- </div>-->
</div>
<!-- <div :class="['button-t', checked ? '' : 'choose-this']" @click="clickThis(false)">-->
<!-- 大病就医-->
<!-- &lt;!&ndash; <div v-show="twoNumber > 0" class="number-d">&ndash;&gt;-->
<!-- &lt;!&ndash; {{ twoNumber > 99 ? '99+' : twoNumber }}&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- </div>-->
<!-- <div :class="['button-t', checked ? '' : 'choose-this']" @click="clickThis(false)">-->
<!-- 大病就医-->
<!-- &lt;!&ndash; <div v-show="twoNumber > 0" class="number-d">&ndash;&gt;-->
<!-- &lt;!&ndash; {{ twoNumber > 99 ? '99+' : twoNumber }}&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- </div>-->
</a-col>
<a-col :span="12" style="display: flex; justify-content: flex-end; padding-right: 60px">
<a-row class="top-right-row" style="color: #ffa845">
@@ -22,12 +22,12 @@
{{ stat.emeResRate + '%' }}
</div>
</a-row>
<!-- <a-row class="top-right-row" style="color: #4ad246">-->
<!-- <div> 大病就医率</div>-->
<!-- <div>-->
<!-- {{ stat.seriousRate + '%' }}-->
<!-- </div>-->
<!-- </a-row>-->
<!-- <a-row class="top-right-row" style="color: #4ad246">-->
<!-- <div> 大病就医率</div>-->
<!-- <div>-->
<!-- {{ stat.seriousRate + '%' }}-->
<!-- </div>-->
<!-- </a-row>-->
</a-col>
</a-row>
<a-row class="bottom-row">
@@ -50,6 +50,8 @@
id="iframeRef"
ref="iframeRef"
class="iframe"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-camera allow-microphone"
allow="camera; microphone"
:src="`${imAddressSrc}isSpecialized=false&${qs.stringify(props.imProps)}`"
></iframe>
<bigInformationDetail
@@ -173,7 +175,6 @@
};
window.onmessage = (msg) => {
const result = JSON.parse(msg.data);
console.log(result);
switch (result.code) {
case 'forHelp':
forHelp(result.userId);
@@ -190,6 +191,9 @@
case 'endStatus':
endB(result.orderInfo);
break;
case 'permissionError':
message.error(result.msg);
break;
}
};
const closeLoading = () => {
@@ -21,6 +21,8 @@
id="iframeRef"
ref="iframeRef"
class="iframe"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-camera allow-microphone"
allow="camera; microphone"
:src="`${imAddressSrc}isSpecialized=true&${qs.stringify(props.imProps)}&sessionId=${route.query?.sessionId}`"
></iframe>
</div>
@@ -166,6 +168,7 @@
import { imAddressSrc } from '/@/utils/imAddressSrc';
import { useRoute } from 'vue-router';
import { message } from 'ant-design-vue';
const props = defineProps({
imProps: Object,
});
@@ -216,6 +219,9 @@
case 'closeLoading':
closeLoading();
break;
case 'permissionError':
message.error(result.msg);
break;
}
};
const closeLoading = () => {
@@ -14,6 +14,7 @@
import { getToken } from '/@/utils/auth';
import { useGlobSetting } from '/@/hooks/setting';
import { useUserStore } from '/@/store/modules/user';
import { message } from 'ant-design-vue';
const isSpecialized = ref<String>('');
const imProps = ref<Object>({
@@ -31,6 +32,17 @@
const apiUrl = globSetting.apiUrl;
imProps.value.urlF = apiUrl.replace('://', 'lol');
window.onmessage = (msg) => {
const result = JSON.parse(msg.data);
if (result.code === 'message') {
message.warning(result.msg);
}
if (result.code === 'permissionError') {
message.error(result.msg);
}
};
const getSig = () => {
userSigAndroidApi({})
.then((res) => {