From 60b5fd30e81a51ad0299179782fbf515b855f32c Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 26 四月 2024 11:30:19 +0800
Subject: [PATCH] 修复工地信息表单没有显示初始数据问题

---
 src/views/fysp/scene/CompSceneImport.vue           |    2 +-
 src/views/fysp/evaluation/EvalutationEdit.vue      |    5 ++++-
 src/views/fysp/scene/CompSceneConstructionInfo.vue |    3 ++-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/fysp/evaluation/EvalutationEdit.vue b/src/views/fysp/evaluation/EvalutationEdit.vue
index 19702da..f5a2159 100644
--- a/src/views/fysp/evaluation/EvalutationEdit.vue
+++ b/src/views/fysp/evaluation/EvalutationEdit.vue
@@ -1,5 +1,8 @@
 <template>
   <FYPageHeader title="璇勪及缁撴灉璇︽儏"></FYPageHeader>
+  <el-row v-for="item in evaluation" :key="item.id">
+    
+  </el-row>
 </template>
 
 <script>
@@ -13,7 +16,7 @@
   },
   data() {
     return {
-      evaluation: {}
+      evaluation: []
     };
   },
   created() {
diff --git a/src/views/fysp/scene/CompSceneConstructionInfo.vue b/src/views/fysp/scene/CompSceneConstructionInfo.vue
index 2eae0ba..4ff7cfb 100644
--- a/src/views/fysp/scene/CompSceneConstructionInfo.vue
+++ b/src/views/fysp/scene/CompSceneConstructionInfo.vue
@@ -255,7 +255,8 @@
         new Date(formObj.value.csEndTime),
       ];
     }
-  }
+  },
+  { deep: false, immediate: true }
 );
 </script>
 
diff --git a/src/views/fysp/scene/CompSceneImport.vue b/src/views/fysp/scene/CompSceneImport.vue
index 2bbc4bc..bd3bf3e 100644
--- a/src/views/fysp/scene/CompSceneImport.vue
+++ b/src/views/fysp/scene/CompSceneImport.vue
@@ -1,5 +1,5 @@
 <template>
-  <el-button icon="Upload" type="success" @click="dialogVisible = true">鎵归噺瀵煎叆</el-button>
+  <el-button disabled icon="Upload" type="success" @click="dialogVisible = true">鎵归噺瀵煎叆</el-button>
   <el-dialog
     v-model="dialogVisible"
     title="鍦烘櫙淇℃伅鎵归噺瀵煎叆"

--
Gitblit v1.9.3