{{ selectedPatient.name == '' || selectedPatient.name == null ?'—':selectedPatient.name }}
- 用户ID:
+ ID:
{{ selectedPatient.id }}
—
@@ -457,6 +457,14 @@ const loadPatients = async (type) => {
const lastcheck = mh && mh.lastcheck_time ? mh.lastcheck_time : ''
return { ...p, doctor, status, updated_at: lastcheck || p.updated_at }
})
+
+ if(type === '01' && patients.value[rowIndex.value] != null){
+ rowIndex.value = 0
+ tableRef.value?.setCurrentRow(patients.value[0], true); // 第二个参数为 true 表示选中
+ selectedPatient.value = patients.value[0]
+ }
+
+
if(type === '02' && patients.value[rowIndex.value] != null){
tableRef.value?.setCurrentRow(patients.value[rowIndex.value], true); // 第二个参数为 true 表示选中
}
@@ -686,7 +694,9 @@ function editClick(){
.patient-section {
width: calc(100% - 500px);
- background: #1D2330;
+ /* background: #1D2330; */
+ background: linear-gradient(135deg, #1a1e2a 0%, #222b38 100%);
+
border-radius: 8px;
padding: 20px;
/* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
@@ -766,7 +776,8 @@ function editClick(){
width: 500px;
border-radius: 4px;
height: 100%;
- background: #1f2533;
+ background: linear-gradient(135deg, #1a1e2a 0%, #222b38 100%);
+
border-radius: 8px;
padding: 20px 23px;
border:1px solid #292f3c;
@@ -1186,7 +1197,7 @@ function editClick(){
color: rgb(255, 255, 255);
font-size: 24px;
padding-top: 5px;
- padding-bottom: 10px;
+ padding-bottom: 5px;
}
.edit-icon-box{
width: 20px;
@@ -1206,6 +1217,7 @@ function editClick(){
font-weight: 700;
font-style: normal;
font-size: 16px;
+ opacity:0.6;
color: #FFFFFF;
}
.patient-detail-display{
diff --git a/frontend/src/renderer/src/views/Detection.vue b/frontend/src/renderer/src/views/Detection.vue
index 5a017850..58344cf8 100644
--- a/frontend/src/renderer/src/views/Detection.vue
+++ b/frontend/src/renderer/src/views/Detection.vue
@@ -17,9 +17,15 @@
结束检测
- 用户ID:{{ patientInfo.id }}
+ ID:{{ patientInfo.id }}
@@ -440,6 +446,11 @@
+