feat: 初始化医护端与患者端页面骨架
完成两个 Vite 应用的基础工程化配置、路由、状态管理及第一版业务页面,当前使用演示数据,尚未接入真实后端接口。
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
import { resetSignFlow, signingState } from '@/composables/useSignFlow'
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
function returnToEntry() {
|
||||
resetSignFlow()
|
||||
void router.replace('/entry')
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main class="mobile-shell result-shell">
|
||||
<div class="result-icon">✓</div>
|
||||
<p class="eyebrow">签署完成</p>
|
||||
<h1>知情同意书已提交</h1>
|
||||
<p class="result-copy">本次签署结果已提交至医签通。请按照医务人员指引完成后续诊疗安排。</p>
|
||||
|
||||
<section class="mobile-card result-card">
|
||||
<div>
|
||||
<span>患者</span>
|
||||
<strong>{{ signingState.patientName }}</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>签署人</span>
|
||||
<strong>{{ signingState.signerName }}({{ signingState.relation }})</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>提交时间</span>
|
||||
<strong>{{ signingState.submittedAt }}</strong>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<p class="secure-note">请不要重复提交。如需修改,请联系现场医务人员。</p>
|
||||
<button class="mobile-text-button" type="button" @click="returnToEntry">返回首页</button>
|
||||
</main>
|
||||
</template>
|
||||
Reference in New Issue
Block a user