-
处方单
+
{{ prescriptionTabType === 'internal' ? '药房联' : '处方单' }}
服药前请核对姓名、电话、医生等信息以及服法、医嘱等要点
@@ -2020,7 +2026,7 @@
-
药房联
+
{{ prescriptionTabType === 'internal' ? '药房联' : '处方联' }}
Rp.
@@ -2036,8 +2042,10 @@
- {{ h.name }} ({{ h.dosage }}克)
- {{ rxHerbTotal(h.dosage) }}克
+ {{ h.name }} ({{ h.dosage }}克)
+ {{ h.name }}
+ {{ rxHerbTotal(h.dosage) }}克
+ {{ h.dosage }}克
@@ -4408,6 +4416,7 @@ const SLIP_ADDRESS_LINE = '地址:四川省成都市双流区黄甲街道黄
const prescriptionViewVisible = ref(false)
const prescriptionViewLoading = ref(false)
const prescriptionViewData = ref
(null)
+const prescriptionTabType = ref('internal')
const prescriptionSlipPrintRef = ref(null)
const prescriptionSlipExporting = ref(false)
@@ -4674,6 +4683,7 @@ async function openPrescriptionView(row: any) {
prescriptionViewVisible.value = true
prescriptionViewLoading.value = true
prescriptionViewData.value = null
+ prescriptionTabType.value = 'internal'
try {
const res: any = await prescriptionDetail({ id: row.prescription_id })
diff --git a/admin/src/views/fans/yeji.vue b/admin/src/views/fans/yeji.vue
index b2da47d6..063ccd07 100644
--- a/admin/src/views/fans/yeji.vue
+++ b/admin/src/views/fans/yeji.vue
@@ -603,7 +603,13 @@
@click="onYejiDeptRowClick(tb, r)"
>
{{ r.dept_name }} |
- {{ formatInt(r.lead_count) }} |
+
+ {{ formatInt(r.lead_count) }}
+ {{ formatInt(r.lead_count) }}
+ |
{{ formatMoney(r.performance_amount) }} |
{{ formatMoney(r.completed_performance_amount) }} |
{{ formatInt(r.consult_count) }} |
@@ -858,6 +864,58 @@
/>
+
+
+
+
+
进线数据明细
+
{{ leadLinesSubtitle }}
+
+
+ {{ leadLinesApiNote }}
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -874,6 +932,7 @@ import {
yejiStatsMulti,
yejiStatsOverview,
yejiStatsUnassignedBreakdown,
+ yejiStatsLeadLines,
} from '@/api/stats'
import { deptPerformanceTargetMonthMatrix } from '@/api/finance'
import { prescriptionOrderLists } from '@/api/tcm'
@@ -962,6 +1021,17 @@ interface YejiUnassignedBreakdownRow {
amount: number
}
+interface YejiLeadLineRow {
+ id: number
+ event_time: number
+ event_time_text: string
+ external_userid: string
+ user_id: string
+ state: string
+ reception_admin_name: string
+ external_contact_name: string
+}
+
interface YejiRow {
dept_id: number
dept_name: string
@@ -1045,6 +1115,16 @@ const unassignedDialogSubtitle = ref('')
const unassignedDialogNote = ref('')
const unassignedDialogRows = ref