feat: 联调登录+对话
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<AssessmentPage
|
||||
v-if="showAssessmentPage"
|
||||
@open-settings="emit('open-settings')"
|
||||
@open-profile="emit('open-profile')"
|
||||
@open-profile="openProfile"
|
||||
@go-home="emit('go-home')"
|
||||
/>
|
||||
<view v-else class="treatment-page">
|
||||
@@ -15,7 +15,7 @@
|
||||
<view class="home-icon"></view>
|
||||
</button>
|
||||
<view class="nav-spacer"></view>
|
||||
<button class="icon-button" aria-label="个人中心" @click="emit('open-profile')">
|
||||
<button class="icon-button" aria-label="个人中心" @click="openProfile">
|
||||
<view class="account-icon"></view>
|
||||
</button>
|
||||
</view>
|
||||
@@ -133,6 +133,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, onUnmounted, reactive, ref } from 'vue'
|
||||
import type { ClinicalCase } from '../../api/cases'
|
||||
import { createProfileOpener } from '../../api/navigation'
|
||||
import AssessmentPage from '../assessment/assessment.vue'
|
||||
|
||||
defineProps<{
|
||||
@@ -145,6 +146,8 @@ const emit = defineEmits<{
|
||||
(event: 'go-home'): void
|
||||
}>()
|
||||
|
||||
const openProfile = createProfileOpener(emit)
|
||||
|
||||
const form = reactive({
|
||||
principle: '',
|
||||
measures: ['', ''],
|
||||
|
||||
Reference in New Issue
Block a user