diff --git a/TUICallKit-Vue3/App.vue b/TUICallKit-Vue3/App.vue index 9ca60616..7e93b46a 100644 --- a/TUICallKit-Vue3/App.vue +++ b/TUICallKit-Vue3/App.vue @@ -92,16 +92,17 @@ const video =async (data)=>{ const { userSig, SDKAppID } = GenerateTestUserSig.genTestUserSig({ userID:userId, }); - console.log('获取签名成功:',userSig); - getApp().globalData.userID = userId.value; + + getApp().globalData.userID = userId; getApp().globalData.userSig = userSig; getApp().globalData.SDKAppID = SDKAppID; - - await uni.CallManager.init({ + const cc={ sdkAppID: SDKAppID, // 替换为用户自己的 sdkAppID userID: userId, // 替换为用户自己的 userID userSig: userSig, // 替换为用户自己的 userSig globalCallPagePath: "TUICallKit/src/Components/TUICallKit", // 替换为步骤一里注册的全局监听页面 - }); + } + uni.setStorageSync('CallManager', userId) + await uni.CallManager.init(cc); } \ No newline at end of file diff --git a/TUICallKit-Vue3/TUIKit/pages/chat/chat.vue b/TUICallKit-Vue3/TUIKit/pages/chat/chat.vue index c0c7c76f..40deeeb0 100644 --- a/TUICallKit-Vue3/TUIKit/pages/chat/chat.vue +++ b/TUICallKit-Vue3/TUIKit/pages/chat/chat.vue @@ -1,5 +1,9 @@ @@ -58,7 +58,7 @@ const getCases = async () => { const data = await prescriptionListByDiagnosis({ diagnosis_id: props.diagnosisId }) caseList.value = Array.isArray(data) ? data : [] } catch (error) { - console.error('获取病例记录失败:', error) + console.error('获取病历记录失败:', error) caseList.value = [] } finally { loading.value = false diff --git a/admin/src/views/tcm/diagnosis/edit.vue b/admin/src/views/tcm/diagnosis/edit.vue index 9f70903b..0be0f1fd 100644 --- a/admin/src/views/tcm/diagnosis/edit.vue +++ b/admin/src/views/tcm/diagnosis/edit.vue @@ -11,7 +11,7 @@ > - + - + - + - + @@ -194,45 +194,11 @@ - - - - - - - + - - - - - - - + @@ -246,7 +212,7 @@ - + - + - + 糖尿病 高血压 @@ -573,8 +539,8 @@ /> - - + +
@@ -610,18 +576,18 @@
- +
- +
- +