fix: 手术医嘱类型显示修复 - SQL返回category_enum作为advice_type,前端添加手术类型选项
This commit is contained in:
@@ -281,7 +281,7 @@
|
||||
AND T1.refund_device_id IS NULL
|
||||
ORDER BY T1.status_enum)
|
||||
UNION ALL
|
||||
(SELECT 3 AS advice_type,
|
||||
(SELECT COALESCE(T1.category_enum, 3) AS advice_type,
|
||||
T1.id AS request_id,
|
||||
T1.id || '-3' AS unique_key,
|
||||
T1.requester_id AS requester_id,
|
||||
|
||||
@@ -449,6 +449,10 @@ const adviceTypeList = ref([
|
||||
label: '诊疗',
|
||||
value: 3,
|
||||
},
|
||||
{
|
||||
label: '手术',
|
||||
value: 4,
|
||||
},
|
||||
{
|
||||
label: '全部',
|
||||
value: '',
|
||||
|
||||
Reference in New Issue
Block a user