diff --git a/apps/web-antd/src/views/doctor/pharmacist/components/detail.vue b/apps/web-antd/src/views/doctor/pharmacist/components/detail.vue new file mode 100644 index 00000000..891be66c --- /dev/null +++ b/apps/web-antd/src/views/doctor/pharmacist/components/detail.vue @@ -0,0 +1,220 @@ + + + + + + + + 正在加载药师信息... + + + + + + + + {{ error }} + + 重试 + + + + + + + + + + + + + + {{ data.name }} + 药师编号: {{ data.id }} + + + 注册时间: {{ formatDate(data.created_at) }} + 最近更新: {{ formatDate(data.updated_at) }} + + + + + + 基础信息 + + + 姓名: + {{ data.name }} + + + 手机号: + {{ data.mobile }} + + + + + + + 门店ID: + {{ data.store_id }} + + + 状态: + + {{ data.service_user?.status === 2 ? '已审核' : '未审核' }} + + + + + + + + 执业证件 + + + + 身份证正面 + + + + + + 身份证反面 + + + + + + + + + {{ index === 0 ? '资格证封面' : '资格证详情页' }} + + + + + + + + + + diff --git a/apps/web-antd/src/views/doctor/pharmacist/index.vue b/apps/web-antd/src/views/doctor/pharmacist/index.vue index 5169578a..72755f4f 100644 --- a/apps/web-antd/src/views/doctor/pharmacist/index.vue +++ b/apps/web-antd/src/views/doctor/pharmacist/index.vue @@ -13,6 +13,7 @@ import { TableAction } from '#/components/table-action'; import { auditApi, openPcWindowsApi, refuseApi } from './api'; import BindStore from './components/BindStoreModal.vue'; import FormModalDemo from './components/modal.vue'; +import PharmacistDetail from './components/detail.vue'; import { formOptions } from './config/search'; import { gridOptions } from './config/table'; @@ -45,6 +46,10 @@ const [BindStoreModal, BindStoreModalApi] = useVbenModal({ connectedComponent: BindStore, }); +const [PharmacistDetailModal, PharmacistDetailModalApi] = useVbenModal({ + connectedComponent: PharmacistDetail, +}); + const showModal = (data = {}, isUpdate = false) => { formModalApi.setData({ // 表单值 @@ -55,6 +60,14 @@ const showModal = (data = {}, isUpdate = false) => { formModalApi.open(); }; +const showPharmacistDetailModal = (data = {}) => { + PharmacistDetailModalApi.setData({ + // 表单值 + values: data, + }); + PharmacistDetailModalApi.open(); +}; + const showBindStoreModal = (data: number) => { BindStoreModalApi.setData({ // 表单值 @@ -90,6 +103,7 @@ const refuse = (id: number) => { + {
正在加载药师信息...
{{ error }}