diff --git a/apps/web-antd/src/components/modal/DoctorQrCodePreview.vue b/apps/web-antd/src/components/modal/DoctorQrCodePreview.vue new file mode 100644 index 00000000..90c75197 --- /dev/null +++ b/apps/web-antd/src/components/modal/DoctorQrCodePreview.vue @@ -0,0 +1,157 @@ + + + + + + 二维码卡片下载 + + + 二维码下载 + + + + + + + + {{ doctorInfo.doctor.name }} {{ doctorInfo.doctor.title.name }} + + + 诊所地址:{{ previewAddress }} + + + + 擅长领域 + + + {{ doctorInfo.doctor.good_at }} + + + + + + + diff --git a/apps/web-antd/src/layouts/basic.vue b/apps/web-antd/src/layouts/basic.vue index 310420df..99823d12 100644 --- a/apps/web-antd/src/layouts/basic.vue +++ b/apps/web-antd/src/layouts/basic.vue @@ -1,7 +1,7 @@ - + + { 详细地址 - - {{ data.province.name - }}{{ data.city.name }}{{ data.position }} + + {{ data.province.name }}{{ data.city.name }}{{ data.position }} @@ -201,6 +210,17 @@ const saveSalePercent = () => { style="font-weight: bold" >{{ data.inquiry_count || 0 }} + + + 医生数量 + {{ data.doctor_count || 0 }} + @@ -222,14 +242,14 @@ const saveSalePercent = () => { - 元 + % - 保存 + 保存 - + - { {{ data.name }} - + 诊所地址:{{ data.province.name }}{{ data.city.name }}{{ data.position }} @@ -258,14 +283,111 @@ const saveSalePercent = () => { + + + + + + + + + {{ doctor.doctor?.name || '未知医生' }} + + ● + + + + 最后登录: + {{ + new Date(doctor.last_login_time * 1000).toLocaleString() + }} + + + 手机号: + {{ doctor.doctor.mobile }} + + + 专业: + + + {{ doctor.identity === 1 ? '中医' : '西医' }} + + + + + + + + 联系二维码: + + + + + + 暂无二维码 + + + + + + + + {{ doctor.is_online ? '在线' : '离线' }} + + + {{ doctor.is_delete ? '已删除' : '正常' }} + + + + + diff --git a/apps/web-antd/src/views/notice/index.vue b/apps/web-antd/src/views/notice/index.vue new file mode 100644 index 00000000..bce1377f --- /dev/null +++ b/apps/web-antd/src/views/notice/index.vue @@ -0,0 +1,586 @@ + + + + + + + 共 {{ total }} 条消息 + + {{ unreadCount }} 未读 + + + + + + + + + + + + {{ currentFilterName }} + + + + + + + + {{ type.name }} + + + + + + + + + + + + + + + + + + + + 标记全部已读 + + + + + + + + + + + + + + 暂无消息 + + 尝试调整筛选条件 + + + + + + + + + + + + + + + + + {{ item.title }} + + {{ item.date }} + + + + + {{ item.type_txt }} + + + + + + {{ item.detail }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 上一页 + + + 下一页 + + + + + + 显示第 + {{ + (currentPage - 1) * pageSize + 1 + }} + 至 + {{ + Math.min(currentPage * pageSize, total) + }} + 条, 共 + {{ total }} + 条 + + + + + + 上一页 + + + + + + + {{ page }} + + + + + ... + + + + + 下一页 + + + + + + + + + + + + diff --git a/packages/effects/layouts/src/widgets/notification/notification.vue b/packages/effects/layouts/src/widgets/notification/notification.vue index 946fdfdf..98c1c178 100644 --- a/packages/effects/layouts/src/widgets/notification/notification.vue +++ b/packages/effects/layouts/src/widgets/notification/notification.vue @@ -103,11 +103,19 @@ function handleClick(item: NotificationItem) { - + + + + + {{ item.title }} diff --git a/packages/effects/layouts/src/widgets/notification/types.ts b/packages/effects/layouts/src/widgets/notification/types.ts index 57e17943..f937d175 100644 --- a/packages/effects/layouts/src/widgets/notification/types.ts +++ b/packages/effects/layouts/src/widgets/notification/types.ts @@ -1,5 +1,8 @@ interface NotificationItem { - avatar: string; + // avatar: string; + id: number; + icon: string; + color: string; date: string; isRead?: boolean; message: string;
+ 最后登录: + {{ + new Date(doctor.last_login_time * 1000).toLocaleString() + }} +
+ 手机号: + {{ doctor.doctor.mobile }} +
+ 专业: + + + {{ doctor.identity === 1 ? '中医' : '西医' }} + +
联系二维码:
暂无消息
+ 尝试调整筛选条件 +
+ {{ item.detail }} +
+ 显示第 + {{ + (currentPage - 1) * pageSize + 1 + }} + 至 + {{ + Math.min(currentPage * pageSize, total) + }} + 条, 共 + {{ total }} + 条 +
{{ item.title }}