From 83ef13dab87cb59fccf0514d7d47f2ca0cae9f0f Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期六, 21 十二月 2024 23:06:11 +0800
Subject: [PATCH] 更新

---
 src/views/home/components/fangAn/index.vue |   20 ++------------------
 1 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/src/views/home/components/fangAn/index.vue b/src/views/home/components/fangAn/index.vue
index ef48029..99c5162 100644
--- a/src/views/home/components/fangAn/index.vue
+++ b/src/views/home/components/fangAn/index.vue
@@ -150,7 +150,7 @@
         wherecondition:`survery_form_type=2 and patient_code='${patientsInfo.value.code}'`,
         ordercondition: 'survery_time desc'
     }
-    if(state.formInline.date.length===2){
+    if(state.formInline?.date?.length===2){
         pasm.wherecondition+=` and survery_time BETWEEN '${state.formInline.date[0]} 00:00:00' AND '${state.formInline.date[1]} 23:59:59'`
     }
     if(state.formInline.formTableName){
@@ -179,7 +179,7 @@
         wherecondition:`survery_form_type=2 and patient_code='${patientsInfo.value.code}'`,
         ordercondition:'survery_time DESC'
     }
-    if(state.formInline.date.length===2){
+    if(state.formInline?.date?.length===2){
         pasm.wherecondition+=`and survery_time BETWEEN '${state.formInline.date[0]} 00:00:00' AND '${state.formInline.date[1]} 23:59:59'`
     }
     if(state.formInline.formTableName){
@@ -241,22 +241,6 @@
 </script>
 
 <style  lang="scss">
-
-
-    .gridtable {font-family: verdana,arial,sans-serif;font-size:11px;color:#333333;border-width: 1px;border-color: #666666;border-collapse: collapse;width: 100%;}
-
-    .gridtable th {border-width: 1px;padding: 8px;border-style: solid;border-color: #666666;background-color: #dedede;}
-
-    .gridtable td {border-width: 1px;padding: 8px;border-style: solid;border-color: #666666;background-color: #ffffff;min-width: 100px;}
-    .input-underline {
-        border: none; /* 移除所有边框 */
-        border-bottom: 1px solid #ccc; /* 显示下边框 */
-        outline: none; /* 移除点击输入框时浏览器可能会提供的默认轮廓线 */
-        text-align: center;
-    }
-    .width50{
-        width: 50px;
-    }
 .infinite-list {
     overflow: auto;
     padding: 0;

--
Gitblit v1.8.0