diff --git a/1.html b/1.html new file mode 100644 index 0000000..e205cd0 --- /dev/null +++ b/1.html @@ -0,0 +1,47 @@ + + + + Speech Synthesis Example + + +

Speech Synthesis Example

+ +
+ + + + + diff --git a/src/api/waitList.js b/src/api/waitList.js index 775d061..3d245bc 100644 --- a/src/api/waitList.js +++ b/src/api/waitList.js @@ -1,16 +1,27 @@ import _axios from '@/utils/_axios'; /** - * 麻醉管理患者列表 + * 患者等候大屏列表 */ -export const getAnesPatientList = data => { +export const getAnesPatientList = date => { return _axios({ method: 'post', - url: '/api/ScheduleMicroservice/OperationRecord/AnesPatientList', + url: '/api/DoctorMicroservice/AnesthesiaRecord/GetAnesthesiaRecordFamilyWaitingAsync', params: { - pageIndex: 1, - pageSize: 999, + scheduledDatetime: date, + }, + }); +}; + +/** + * 手术排程大屏列表 + */ +export const getOperationList = date => { + return _axios({ + method: 'post', + url: '/api/ScheduleMicroservice/OperationRecord/GetOperationRecordScreenAsync', + params: { + scheduledDatetime: date, }, - data, }); }; diff --git a/src/utils/common.js b/src/utils/common.js index fcbbe50..d518c55 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -83,6 +83,32 @@ export const textToColor = text => { return color; }; +// 根据手术状态输出颜色 +export const textWaitToColor = text => { + let color = '#87ceeb'; + switch (text) { + case '手术前': + color = '#87ceeb'; + break; + case '入手术室': + color = '#f00'; + break; + case '手术中': + color = '#f00'; + break; + case '手术结束': + color = '#67c23a'; + break; + case '复苏中': + color = '#f09b55'; + break; + case '出手术室': + color = '#67c23a'; + break; + } + return color; +}; + // 手术状态清单 export const opStatusList = [ { diff --git a/src/views/scheduleList/index.vue b/src/views/scheduleList/index.vue index 59c6bb9..dbcbda9 100644 --- a/src/views/scheduleList/index.vue +++ b/src/views/scheduleList/index.vue @@ -1,6 +1,6 @@