更新
This commit is contained in:
@@ -84,10 +84,18 @@
|
||||
<el-icon v-else><ChatDotRound /></el-icon>
|
||||
</button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="发起通话" placement="top">
|
||||
<button class="row-icon-btn call" :disabled="webConsultationBlocked" @click="handleCall(row)">
|
||||
<el-icon><Phone /></el-icon>
|
||||
</button>
|
||||
<el-tooltip :content="webConsultationBlocked ? webConsultationMessage : '发起通话'" placement="top">
|
||||
<span class="row-call-action">
|
||||
<button
|
||||
class="row-icon-btn call"
|
||||
:disabled="webConsultationBlocked"
|
||||
:aria-label="webConsultationBlocked ? webConsultationMessage : '发起通话'"
|
||||
@click="handleCall(row)"
|
||||
>
|
||||
<el-icon><Phone /></el-icon>
|
||||
<span v-if="webConsultationBlocked">已停用</span>
|
||||
</button>
|
||||
</span>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
@@ -214,7 +222,7 @@ const DiagnosisEdit = defineAsyncComponent(() => import('@/views/tcm/diagnosis/e
|
||||
|
||||
const POLL_MS = 5_000
|
||||
const PAGE_SIZE = 15
|
||||
const { webConsultationBlocked, ensureWebConsultationAllowed } = useDoctorWebConsultation()
|
||||
const { webConsultationBlocked, webConsultationMessage, ensureWebConsultationAllowed } = useDoctorWebConsultation()
|
||||
|
||||
interface QueueRow {
|
||||
id: number
|
||||
@@ -1010,16 +1018,25 @@ onUnmounted(() => {
|
||||
font-size: 15px;
|
||||
padding: 0;
|
||||
}
|
||||
.row-icon-btn:hover {
|
||||
.row-call-action {
|
||||
display: inline-flex;
|
||||
}
|
||||
.row-icon-btn.call:disabled {
|
||||
width: auto;
|
||||
gap: 4px;
|
||||
padding: 0 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.row-icon-btn:hover:not(:disabled) {
|
||||
background: var(--rx-accent-soft);
|
||||
color: var(--rx-accent-strong);
|
||||
border-color: var(--rx-accent);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
.row-icon-btn:active {
|
||||
.row-icon-btn:active:not(:disabled) {
|
||||
transform: scale(0.92);
|
||||
}
|
||||
.row-icon-btn.notify:hover {
|
||||
.row-icon-btn.notify:hover:not(:disabled) {
|
||||
background: #fff7e6;
|
||||
color: var(--rx-warning);
|
||||
border-color: var(--rx-warning);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div class="tcm-diagnosis">
|
||||
<DoctorWebConsultationNotice />
|
||||
<el-card class="filter-card !border-none" shadow="never">
|
||||
<!-- 第一行:日期 + 患者搜索 -->
|
||||
<div class="filter-main">
|
||||
@@ -768,7 +767,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="tcmDiagnosis">
|
||||
import DoctorWebConsultationNotice from '@/components/doctor-web-consultation-notice/index.vue'
|
||||
import { tcmDiagnosisLists, tcmDiagnosisDelete, tcmDiagnosisAssign, tcmDiagnosisGuahaoLogList, getAssistants, generateMiniProgramQrcode, generateOrderQrcode, getWechatChatRecords, addWechatChatRecord, deleteWechatChatRecord, getWechatExternalContact, fillIdCard, diagnosisReadonlyDetail } from '@/api/tcm'
|
||||
import { orderCreate } from '@/api/order'
|
||||
import { cancelAppointment } from '@/api/doctor'
|
||||
|
||||
Reference in New Issue
Block a user