fix(modal): 修正隐藏页脚属性为 no-footer,去除弹窗重复确认按钮

This commit is contained in:
lik
2026-11-11 15:50:09 +08:00
parent 4936167f64
commit 0a5ad69bcb
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -283,7 +283,7 @@
</BCardFooter> </BCardFooter>
</BCard> </BCard>
<BModal v-model="formVisible" :title="editingId ? '编辑陪诊师' : '新增陪诊师'" size="xl" hide-footer> <BModal v-model="formVisible" :title="editingId ? '编辑陪诊师' : '新增陪诊师'" size="xl" no-footer>
<BAlert v-if="formError" variant="danger" show class="py-2">{{ formError }}</BAlert> <BAlert v-if="formError" variant="danger" show class="py-2">{{ formError }}</BAlert>
<h6 class="text-uppercase text-muted fs-12 mt-1">基础信息</h6> <h6 class="text-uppercase text-muted fs-12 mt-1">基础信息</h6>
@@ -418,7 +418,7 @@
<p class="text-muted mb-0 fs-12">停用后将不再出现在用户端陪诊师公示列表中。</p> <p class="text-muted mb-0 fs-12">停用后将不再出现在用户端陪诊师公示列表中。</p>
</ConfirmModal> </ConfirmModal>
<BModal v-model="materialsVisible" title="申请材料" size="lg" hide-footer> <BModal v-model="materialsVisible" title="申请材料" size="lg" no-footer>
<div v-if="materialsLoading" class="text-center py-4"> <div v-if="materialsLoading" class="text-center py-4">
<BSpinner variant="primary" /> <BSpinner variant="primary" />
</div> </div>
@@ -452,7 +452,7 @@
</template> </template>
</BModal> </BModal>
<BModal v-model="rejectVisible" title="驳回申请" hide-footer> <BModal v-model="rejectVisible" title="驳回申请" no-footer>
<p class="mb-2">申请人:<strong>{{ rejectTarget?.applicant?.name || '-' }}</strong></p> <p class="mb-2">申请人:<strong>{{ rejectTarget?.applicant?.name || '-' }}</strong></p>
<label class="form-label">驳回原因 <span class="text-danger">*</span></label> <label class="form-label">驳回原因 <span class="text-danger">*</span></label>
<BFormTextarea <BFormTextarea
@@ -482,7 +482,7 @@
</p> </p>
</ConfirmModal> </ConfirmModal>
<BModal v-model="levelVisible" title="阶段与等级" hide-footer> <BModal v-model="levelVisible" title="阶段与等级" no-footer>
<p class="mb-3">陪诊师:<strong>{{ levelTarget?.profile?.name || '-' }}</strong></p> <p class="mb-3">陪诊师:<strong>{{ levelTarget?.profile?.name || '-' }}</strong></p>
<BRow class="g-3"> <BRow class="g-3">
<BCol md="6"> <BCol md="6">
+1 -1
View File
@@ -333,7 +333,7 @@
<BButton variant="primary" @click="router.replace('/orders')">返回订单列表</BButton> <BButton variant="primary" @click="router.replace('/orders')">返回订单列表</BButton>
</div> </div>
<BModal v-model="assignVisible" title="分配陪诊师" hide-footer> <BModal v-model="assignVisible" title="分配陪诊师" no-footer>
<div v-if="assignLoading" class="text-center py-4"> <div v-if="assignLoading" class="text-center py-4">
<BSpinner variant="primary" /> <BSpinner variant="primary" />
</div> </div>
+1 -1
View File
@@ -117,7 +117,7 @@
</BCardFooter> </BCardFooter>
</BCard> </BCard>
<BModal v-model="formVisible" :title="editingId ? '编辑就诊人' : '新增就诊人'" size="lg" hide-footer> <BModal v-model="formVisible" :title="editingId ? '编辑就诊人' : '新增就诊人'" size="lg" no-footer>
<BAlert v-if="formError" variant="danger" show class="py-2">{{ formError }}</BAlert> <BAlert v-if="formError" variant="danger" show class="py-2">{{ formError }}</BAlert>
<BRow class="g-3"> <BRow class="g-3">