From 3d7bf6dff3d1e2f12c4ecd0120ee110348ccdf49 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 21 十二月 2023 16:27:09 +0800
Subject: [PATCH] 1. 自评预检查功能修改中

---
 src/views/fysp/evaluation/components/CompPreCheck.vue |   60 ++++++++++--------------------------------------------------
 1 files changed, 10 insertions(+), 50 deletions(-)

diff --git a/src/views/fysp/evaluation/components/CompPreCheck.vue b/src/views/fysp/evaluation/components/CompPreCheck.vue
index f99b60b..ad11ba1 100644
--- a/src/views/fysp/evaluation/components/CompPreCheck.vue
+++ b/src/views/fysp/evaluation/components/CompPreCheck.vue
@@ -5,71 +5,31 @@
     <el-step title="璞佸厤鏉$洰" />
     <el-step title="鑷姩璇勪及" />
   </el-steps>
-
-  <el-card v-if="stepIndex == 0" shadow="never">
-    <template #header>
-      <div><el-text tag="b" size="large">閫夋嫨璇勪及鑼冨洿</el-text></div>
-      <el-text size="small" type="info">鍖呮嫭鍖哄幙銆佸満鏅被鍨嬩互鍙婃湀浠�</el-text>
-    </template>
-    <FYForm :form-info="evaConditon" :rules="evaConditionRules" :showButtons="false">
-      <template #form-item="{ formObj }">
-        <!-- 鍖哄幙 -->
-        <FYOptionLocation
-          :allOption="false"
-          :level="3"
-          :checkStrictly="false"
-          v-model:value="formObj.locations"
-        ></FYOptionLocation>
-        <!-- 鍦烘櫙绫诲瀷 -->
-        <FYOptionScene
-          :allOption="false"
-          :type="2"
-          v-model:value="formObj.scenetype"
-        ></FYOptionScene>
-        <!-- 鏃堕棿 -->
-        <FYOptionTime
-          :initValue="true"
-          type="month"
-          v-model:value="formObj.time"
-        ></FYOptionTime>
-      </template>
-    </FYForm>
-    <template #footer>
-      <el-row justify="space-around">
-        <el-button type="primary" size="default">涓嬩竴姝�</el-button>
-      </el-row>
-    </template>
-  </el-card>
-  <el-card v-if="stepIndex == 1" shadow="never"> Never2 </el-card>
-  <el-card v-if="stepIndex == 2" shadow="never"> Never3 </el-card>
-  <el-card v-if="stepIndex == 3" shadow="never"> Never4 </el-card>
+  <CompCheckArea v-show="stepIndex == 0" v-model="stepIndex"></CompCheckArea>
+  <CompCheckSource v-show="stepIndex == 1" v-model="stepIndex"></CompCheckSource>
+  <CompCheckExemption v-show="stepIndex == 2" v-model="stepIndex"></CompCheckExemption>
+  <CompCheckConfirm v-show="stepIndex == 3" v-model="stepIndex"></CompCheckConfirm>
 </template>
 
 <script>
 import dayjs from 'dayjs';
+import CompCheckArea from './precheck/CompCheckArea.vue';
+import CompCheckSource from './precheck/CompCheckSource.vue';
+import CompCheckExemption from './precheck/CompCheckExemption.vue';
+import CompCheckConfirm from './precheck/CompCheckConfirm.vue';
 
 /**
  * 鑷姩璇勪及鏉′欢鍚堣鎬ф鏌�
  */
 export default {
   name: 'CompPreCheck',
+  components: { CompCheckArea, CompCheckSource, CompCheckExemption, CompCheckConfirm },
   props: {},
   emits: ['preCheck'],
   data() {
     return {
       // 鎿嶄綔姝ラ涓嬫爣
-      stepIndex: 0,
-      // 璇勪及浠诲姟鑼冨洿
-      evaConditon: {},
-      evaConditionRules: {
-        acountname: [
-          {
-            required: true,
-            message: '璐︽埛鍚嶄笉鑳戒负绌�',
-            trigger: 'blur'
-          }
-        ]
-      }
+      stepIndex: 0
     };
   },
   methods: {

--
Gitblit v1.9.3