Ver código fonte

🎨 按要求调整审核TAB

快乐的梦鱼 4 semanas atrás
pai
commit
22376b88a1
1 arquivos alterados com 18 adições e 18 exclusões
  1. 18 18
      src/pages/collect/assessment/evaluation-form-list.vue

+ 18 - 18
src/pages/collect/assessment/evaluation-form-list.vue

@@ -1,16 +1,10 @@
 <template>
   <a-tabs v-model:activeKey="activeKey" centered type="card">
-    <a-tab-pane key="1" tab="传承人列表">
-      <template v-if="activeKey==='1'">
-        <EvaluationFormListSummary @changeProgressFilter="subListRef?.changeProgressFilter" />
-        <EvaluationFormListBlock ref="subListRef" />
-      </template>
-    </a-tab-pane>
-    <a-tab-pane key="2" tab="国家级传承人">
-      <template v-if="activeKey==='2'">
-        <EvaluationFormListSummary :level="LEVEL_NATIONAL" @changeProgressFilter="subListRef?.changeProgressFilter" />
-        <EvaluationFormListBlock ref="subListRef" :level="LEVEL_NATIONAL" />
-      </template>
+    <a-tab-pane key="4" tab="市级传承人">
+      <template v-if="activeKey==='4'">
+        <EvaluationFormListSummary :level="LEVEL_DISTRICT" @changeProgressFilter="subListRef?.changeProgressFilter" />
+        <EvaluationFormListBlock ref="subListRef" :level="LEVEL_DISTRICT" />
+      </template> 
     </a-tab-pane>
     <a-tab-pane key="3" tab="省级传承人">
       <template v-if="activeKey==='3'">
@@ -18,13 +12,19 @@
         <EvaluationFormListBlock ref="subListRef" :level="LEVEL_PROVINCE" />
       </template> 
     </a-tab-pane>
-    <a-tab-pane key="4" tab="市级传承人">
-      <template v-if="activeKey==='4'">
-        <EvaluationFormListSummary :level="LEVEL_DISTRICT" @changeProgressFilter="subListRef?.changeProgressFilter" />
-        <EvaluationFormListBlock ref="subListRef" :level="LEVEL_DISTRICT" />
-      </template> 
+    <a-tab-pane key="2" tab="国家级传承人">
+      <template v-if="activeKey==='2'">
+        <EvaluationFormListSummary :level="LEVEL_NATIONAL" @changeProgressFilter="subListRef?.changeProgressFilter" />
+        <EvaluationFormListBlock ref="subListRef" :level="LEVEL_NATIONAL" />
+      </template>
+    </a-tab-pane>
+    <a-tab-pane key="1" tab="全部传承人">
+      <template v-if="activeKey==='1'">
+        <EvaluationFormListSummary @changeProgressFilter="subListRef?.changeProgressFilter" />
+        <EvaluationFormListBlock ref="subListRef" />
+      </template>
     </a-tab-pane>
-    <a-tab-pane key="10" tab="审核记录">
+    <a-tab-pane v-if="false" key="10" tab="审核记录">
       <CommonListBlock
         ref="listRef"
         :show-total="true"
@@ -67,7 +67,7 @@ import { LEVEL_NATIONAL, LEVEL_PROVINCE, LEVEL_DISTRICT } from '@/api/collect/As
 
 const route = useRoute();
 
-const activeKey = ref('1');
+const activeKey = ref('4');
 const listRef = ref<InstanceType<typeof CommonListBlock>>();
 const subListRef = ref<InstanceType<typeof EvaluationFormListBlock>>();