From fab4d7d62b2039ab8660649d26a8c6f8f32193b5 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 11 一月 2024 17:41:11 +0800
Subject: [PATCH] 1. 初步完成评估任务整体逻辑; 2. 新增评估记录下载功能(待完善)

---
 src/views/fysp/evaluation/components/CompQuickSet.vue |   55 ++++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 44 insertions(+), 11 deletions(-)

diff --git a/src/views/fysp/evaluation/components/CompQuickSet.vue b/src/views/fysp/evaluation/components/CompQuickSet.vue
index 23a99a8..e37fda3 100644
--- a/src/views/fysp/evaluation/components/CompQuickSet.vue
+++ b/src/views/fysp/evaluation/components/CompQuickSet.vue
@@ -1,10 +1,19 @@
 <template>
-  <el-row>
-    <span>蹇嵎閫夋嫨</span>
-    <el-button v-for="(v, i) in quickSetting" :key="i" type="primary" @click="quickSet(v)">{{
+  <el-form-item label="蹇嵎閫夋嫨">
+    <el-space>
+    <el-button v-for="(v, i) in quickSetting" :key="i" type="primary" size="small" @click="quickSet(v)">{{
       v.name
     }}</el-button>
-  </el-row>
+    </el-space>
+  </el-form-item>
+  <!-- <el-row class="row">
+    <el-space>
+    <el-text>蹇嵎閫夋嫨</el-text>
+    <el-button v-for="(v, i) in quickSetting" :key="i" type="primary" size="small" @click="quickSet(v)">{{
+      v.name
+    }}</el-button>
+    </el-space>
+  </el-row> -->
 </template>
 <script>
 export default {
@@ -21,9 +30,10 @@
               cCode: '3100',
               cName: '涓婃捣甯�',
               dCode: '310106',
-              dName: '闈欏畨鍖�'
+              dName: '闈欏畨鍖�',
             },
-            scenetype: { label: '宸ュ湴', value: '1' }
+            scenetype: { label: '宸ュ湴', value: '1' },
+            sourceType: 2,
           },
           {
             name: '寰愭眹椁愰ギ',
@@ -35,7 +45,8 @@
               dCode: '310104',
               dName: '寰愭眹鍖�'
             },
-            scenetype: { label: '椁愰ギ', value: '5' }
+            scenetype: { label: '椁愰ギ', value: '5' },
+            sourceType: 2,
           },
           {
             name: '閲戝北宸ュ湴',
@@ -47,7 +58,8 @@
               dCode: '310116',
               dName: '閲戝北鍖�'
             },
-            scenetype: { label: '宸ュ湴', value: '1' }
+            scenetype: { label: '宸ュ湴', value: '1' },
+            sourceType: 2,
           },
           {
             name: '閲戝北鐮佸ご',
@@ -59,7 +71,8 @@
               dCode: '310116',
               dName: '閲戝北鍖�'
             },
-            scenetype: { label: '鐮佸ご', value: '2' }
+            scenetype: { label: '鐮佸ご', value: '2' },
+            sourceType: 2,
           },
           {
             name: '閲戝北鎼呮媽绔�',
@@ -71,8 +84,22 @@
               dCode: '310116',
               dName: '閲戝北鍖�'
             },
-            scenetype: { label: '鎼呮媽绔�', value: '3' }
-          }
+            scenetype: { label: '鎼呮媽绔�', value: '3' },
+            sourceType: 2,
+          },
+          // {
+          //   name: '寰愭眹姹戒慨',
+          //   locations: {
+          //     pCode: '31',
+          //     pName: '涓婃捣甯�',
+          //     cCode: '3100',
+          //     cName: '涓婃捣甯�',
+          //     dCode: '310104',
+          //     dName: '寰愭眹鍖�'
+          //   },
+          //   scenetype: { label: '姹戒慨', value: '7' },
+          //   sourceType: 1,
+          // }
         ]
       }
     }
@@ -92,3 +119,9 @@
   }
 }
 </script>
+<style scoped>
+.row {
+  padding: 8px 0px;
+  /* background-color: antiquewhite; */
+}
+</style>

--
Gitblit v1.9.3